Interface_Frontend_Default_Iphone - Version 1.4.1.0

Version Notes

1.4.1.0

Download this release

Release Info

Developer Magento Core Team
Extension Interface_Frontend_Default_Iphone
Version 1.4.1.0
Comparing to
See all releases


Version 1.4.1.0

Files changed (297) hide show
  1. app/design/frontend/default/iphone/etc/widget.xml +166 -0
  2. app/design/frontend/default/iphone/layout/bundle.xml +312 -0
  3. app/design/frontend/default/iphone/layout/catalog.xml +402 -0
  4. app/design/frontend/default/iphone/layout/catalogsearch.xml +126 -0
  5. app/design/frontend/default/iphone/layout/checkout.xml +369 -0
  6. app/design/frontend/default/iphone/layout/cms.xml +79 -0
  7. app/design/frontend/default/iphone/layout/contacts.xml +44 -0
  8. app/design/frontend/default/iphone/layout/core.xml +33 -0
  9. app/design/frontend/default/iphone/layout/customer.xml +222 -0
  10. app/design/frontend/default/iphone/layout/directory.xml +60 -0
  11. app/design/frontend/default/iphone/layout/downloadable.xml +182 -0
  12. app/design/frontend/default/iphone/layout/giftmessage.xml +71 -0
  13. app/design/frontend/default/iphone/layout/googleanalytics.xml +41 -0
  14. app/design/frontend/default/iphone/layout/newsletter.xml +69 -0
  15. app/design/frontend/default/iphone/layout/page.xml +146 -0
  16. app/design/frontend/default/iphone/layout/poll.xml +57 -0
  17. app/design/frontend/default/iphone/layout/productalert.xml +40 -0
  18. app/design/frontend/default/iphone/layout/reports.xml +37 -0
  19. app/design/frontend/default/iphone/layout/review.xml +110 -0
  20. app/design/frontend/default/iphone/layout/rss.xml +93 -0
  21. app/design/frontend/default/iphone/layout/sales.xml +257 -0
  22. app/design/frontend/default/iphone/layout/sendfriend.xml +40 -0
  23. app/design/frontend/default/iphone/layout/shipping.xml +51 -0
  24. app/design/frontend/default/iphone/layout/tag.xml +130 -0
  25. app/design/frontend/default/iphone/layout/wishlist.xml +106 -0
  26. app/design/frontend/default/iphone/locale/en_US/translate.csv +1 -0
  27. app/design/frontend/default/iphone/template/catalog/category/page.phtml +32 -0
  28. app/design/frontend/default/iphone/template/catalog/category/view.phtml +48 -0
  29. app/design/frontend/default/iphone/template/catalog/layer/filter.phtml +45 -0
  30. app/design/frontend/default/iphone/template/catalog/layer/state.phtml +46 -0
  31. app/design/frontend/default/iphone/template/catalog/layer/view.phtml +62 -0
  32. app/design/frontend/default/iphone/template/catalog/navigation/left.phtml +61 -0
  33. app/design/frontend/default/iphone/template/catalog/navigation/top.phtml +44 -0
  34. app/design/frontend/default/iphone/template/catalog/product/compare/list.phtml +131 -0
  35. app/design/frontend/default/iphone/template/catalog/product/compare/sidebar.phtml +54 -0
  36. app/design/frontend/default/iphone/template/catalog/product/gallery.phtml +52 -0
  37. app/design/frontend/default/iphone/template/catalog/product/list.phtml +81 -0
  38. app/design/frontend/default/iphone/template/catalog/product/list/crosssell.phtml +51 -0
  39. app/design/frontend/default/iphone/template/catalog/product/list/related.phtml +99 -0
  40. app/design/frontend/default/iphone/template/catalog/product/list/toolbar.phtml +47 -0
  41. app/design/frontend/default/iphone/template/catalog/product/list/toolbar/pager.phtml +68 -0
  42. app/design/frontend/default/iphone/template/catalog/product/list/upsell.phtml +48 -0
  43. app/design/frontend/default/iphone/template/catalog/product/new.phtml +65 -0
  44. app/design/frontend/default/iphone/template/catalog/product/price.phtml +358 -0
  45. app/design/frontend/default/iphone/template/catalog/product/send.phtml +141 -0
  46. app/design/frontend/default/iphone/template/catalog/product/view.phtml +121 -0
  47. app/design/frontend/default/iphone/template/catalog/product/view/additional.phtml +31 -0
  48. app/design/frontend/default/iphone/template/catalog/product/view/addto.phtml +37 -0
  49. app/design/frontend/default/iphone/template/catalog/product/view/addtocart.phtml +40 -0
  50. app/design/frontend/default/iphone/template/catalog/product/view/attributes.phtml +45 -0
  51. app/design/frontend/default/iphone/template/catalog/product/view/bundle.phtml +205 -0
  52. app/design/frontend/default/iphone/template/catalog/product/view/description.phtml +35 -0
  53. app/design/frontend/default/iphone/template/catalog/product/view/media.phtml +66 -0
  54. app/design/frontend/default/iphone/template/catalog/product/view/options.phtml +180 -0
  55. app/design/frontend/default/iphone/template/catalog/product/view/options/js.phtml +63 -0
  56. app/design/frontend/default/iphone/template/catalog/product/view/options/type/date.phtml +90 -0
  57. app/design/frontend/default/iphone/template/catalog/product/view/options/type/default.phtml +28 -0
  58. app/design/frontend/default/iphone/template/catalog/product/view/options/type/file.phtml +41 -0
  59. app/design/frontend/default/iphone/template/catalog/product/view/options/type/select.phtml +37 -0
  60. app/design/frontend/default/iphone/template/catalog/product/view/options/type/text.phtml +39 -0
  61. app/design/frontend/default/iphone/template/catalog/product/view/options/wrapper.phtml +36 -0
  62. app/design/frontend/default/iphone/template/catalog/product/view/options/wrapper/bottom.phtml +30 -0
  63. app/design/frontend/default/iphone/template/catalog/product/view/price.phtml +30 -0
  64. app/design/frontend/default/iphone/template/catalog/product/view/price_clone.phtml +28 -0
  65. app/design/frontend/default/iphone/template/catalog/product/view/tierprices.phtml +181 -0
  66. app/design/frontend/default/iphone/template/catalog/product/view/type/configurable.phtml +41 -0
  67. app/design/frontend/default/iphone/template/catalog/product/view/type/grouped.phtml +80 -0
  68. app/design/frontend/default/iphone/template/catalog/product/view/type/options/configurable.phtml +46 -0
  69. app/design/frontend/default/iphone/template/catalog/product/view/type/simple.phtml +40 -0
  70. app/design/frontend/default/iphone/template/catalog/product/view/type/virtual.phtml +40 -0
  71. app/design/frontend/default/iphone/template/catalog/seo/sitemap.phtml +45 -0
  72. app/design/frontend/default/iphone/template/catalog/seo/sitemap/container.phtml +36 -0
  73. app/design/frontend/default/iphone/template/catalog/seo/tree.phtml +43 -0
  74. app/design/frontend/default/iphone/template/catalogsearch/advanced/form.phtml +90 -0
  75. app/design/frontend/default/iphone/template/catalogsearch/advanced/result.phtml +67 -0
  76. app/design/frontend/default/iphone/template/catalogsearch/form.mini.phtml +43 -0
  77. app/design/frontend/default/iphone/template/catalogsearch/result.phtml +56 -0
  78. app/design/frontend/default/iphone/template/catalogsearch/term.phtml +44 -0
  79. app/design/frontend/default/iphone/template/checkout/cart.phtml +87 -0
  80. app/design/frontend/default/iphone/template/checkout/cart/coupon.phtml +66 -0
  81. app/design/frontend/default/iphone/template/checkout/cart/crosssell.phtml +56 -0
  82. app/design/frontend/default/iphone/template/checkout/cart/item/default.phtml +247 -0
  83. app/design/frontend/default/iphone/template/checkout/cart/noItems.phtml +33 -0
  84. app/design/frontend/default/iphone/template/checkout/cart/render/default.phtml +59 -0
  85. app/design/frontend/default/iphone/template/checkout/cart/render/simple.phtml +59 -0
  86. app/design/frontend/default/iphone/template/checkout/cart/shipping.phtml +106 -0
  87. app/design/frontend/default/iphone/template/checkout/cart/sidebar.phtml +91 -0
  88. app/design/frontend/default/iphone/template/checkout/cart/totals.phtml +42 -0
  89. app/design/frontend/default/iphone/template/checkout/links.phtml +26 -0
  90. app/design/frontend/default/iphone/template/checkout/multishipping/address/select.phtml +60 -0
  91. app/design/frontend/default/iphone/template/checkout/multishipping/addresses.phtml +80 -0
  92. app/design/frontend/default/iphone/template/checkout/multishipping/billing.phtml +116 -0
  93. app/design/frontend/default/iphone/template/checkout/multishipping/item/default.phtml +47 -0
  94. app/design/frontend/default/iphone/template/checkout/multishipping/link.phtml +27 -0
  95. app/design/frontend/default/iphone/template/checkout/multishipping/overview.phtml +203 -0
  96. app/design/frontend/default/iphone/template/checkout/multishipping/shipping.phtml +139 -0
  97. app/design/frontend/default/iphone/template/checkout/multishipping/state.phtml +44 -0
  98. app/design/frontend/default/iphone/template/checkout/multishipping/success.phtml +54 -0
  99. app/design/frontend/default/iphone/template/checkout/onepage.phtml +62 -0
  100. app/design/frontend/default/iphone/template/checkout/onepage/billing.phtml +215 -0
  101. app/design/frontend/default/iphone/template/checkout/onepage/link.phtml +27 -0
  102. app/design/frontend/default/iphone/template/checkout/onepage/login.phtml +119 -0
  103. app/design/frontend/default/iphone/template/checkout/onepage/payment.phtml +77 -0
  104. app/design/frontend/default/iphone/template/checkout/onepage/payment/methods.phtml +53 -0
  105. app/design/frontend/default/iphone/template/checkout/onepage/progress.phtml +99 -0
  106. app/design/frontend/default/iphone/template/checkout/onepage/review.phtml +48 -0
  107. app/design/frontend/default/iphone/template/checkout/onepage/review/info.phtml +49 -0
  108. app/design/frontend/default/iphone/template/checkout/onepage/review/item.phtml +236 -0
  109. app/design/frontend/default/iphone/template/checkout/onepage/review/totals.phtml +43 -0
  110. app/design/frontend/default/iphone/template/checkout/onepage/shipping.phtml +176 -0
  111. app/design/frontend/default/iphone/template/checkout/onepage/shipping_method.phtml +54 -0
  112. app/design/frontend/default/iphone/template/checkout/onepage/shipping_method/additional.phtml +29 -0
  113. app/design/frontend/default/iphone/template/checkout/onepage/shipping_method/available.phtml +63 -0
  114. app/design/frontend/default/iphone/template/checkout/success.phtml +39 -0
  115. app/design/frontend/default/iphone/template/cms/content.phtml +27 -0
  116. app/design/frontend/default/iphone/template/cms/content_heading.phtml +27 -0
  117. app/design/frontend/default/iphone/template/cms/default/home.phtml +1 -0
  118. app/design/frontend/default/iphone/template/cms/default/no-route.phtml +1 -0
  119. app/design/frontend/default/iphone/template/cms/meta.phtml +32 -0
  120. app/design/frontend/default/iphone/template/contacts/form.phtml +70 -0
  121. app/design/frontend/default/iphone/template/core/formkey.phtml +27 -0
  122. app/design/frontend/default/iphone/template/core/link.phtml +27 -0
  123. app/design/frontend/default/iphone/template/core/messages.phtml +46 -0
  124. app/design/frontend/default/iphone/template/customer/account/dashboard.phtml +37 -0
  125. app/design/frontend/default/iphone/template/customer/account/dashboard/address.phtml +49 -0
  126. app/design/frontend/default/iphone/template/customer/account/dashboard/hello.phtml +30 -0
  127. app/design/frontend/default/iphone/template/customer/account/dashboard/info.phtml +58 -0
  128. app/design/frontend/default/iphone/template/customer/account/dashboard/newsletter.phtml +33 -0
  129. app/design/frontend/default/iphone/template/customer/account/dashboard/sidebar.phtml +26 -0
  130. app/design/frontend/default/iphone/template/customer/account/link/back.phtml +29 -0
  131. app/design/frontend/default/iphone/template/customer/account/navigation.phtml +44 -0
  132. app/design/frontend/default/iphone/template/customer/address.phtml +92 -0
  133. app/design/frontend/default/iphone/template/customer/address/book.phtml +107 -0
  134. app/design/frontend/default/iphone/template/customer/address/edit.phtml +165 -0
  135. app/design/frontend/default/iphone/template/customer/balance.phtml +31 -0
  136. app/design/frontend/default/iphone/template/customer/dashboard.phtml +85 -0
  137. app/design/frontend/default/iphone/template/customer/form/address.phtml +126 -0
  138. app/design/frontend/default/iphone/template/customer/form/changepassword.phtml +58 -0
  139. app/design/frontend/default/iphone/template/customer/form/edit.phtml +130 -0
  140. app/design/frontend/default/iphone/template/customer/form/forgotpassword.phtml +62 -0
  141. app/design/frontend/default/iphone/template/customer/form/login.phtml +90 -0
  142. app/design/frontend/default/iphone/template/customer/form/mini.login.phtml +33 -0
  143. app/design/frontend/default/iphone/template/customer/form/mini.newsletter.phtml +42 -0
  144. app/design/frontend/default/iphone/template/customer/form/newsletter.phtml +48 -0
  145. app/design/frontend/default/iphone/template/customer/form/register.phtml +190 -0
  146. app/design/frontend/default/iphone/template/customer/logout.phtml +36 -0
  147. app/design/frontend/default/iphone/template/customer/order/view.phtml +89 -0
  148. app/design/frontend/default/iphone/template/customer/orders.phtml +63 -0
  149. app/design/frontend/default/iphone/template/customer/widget/dob.phtml +94 -0
  150. app/design/frontend/default/iphone/template/customer/widget/gender.phtml +34 -0
  151. app/design/frontend/default/iphone/template/customer/widget/name.phtml +120 -0
  152. app/design/frontend/default/iphone/template/customer/widget/taxvat.phtml +39 -0
  153. app/design/frontend/default/iphone/template/customer/wishlist.phtml +60 -0
  154. app/design/frontend/default/iphone/template/giftmessage/form.phtml +81 -0
  155. app/design/frontend/default/iphone/template/giftmessage/helper.phtml +80 -0
  156. app/design/frontend/default/iphone/template/giftmessage/inline.phtml +266 -0
  157. app/design/frontend/default/iphone/template/googlecheckout/link.phtml +36 -0
  158. app/design/frontend/default/iphone/template/newsletter/subscribe.phtml +44 -0
  159. app/design/frontend/default/iphone/template/page/1column.phtml +63 -0
  160. app/design/frontend/default/iphone/template/page/2columns-left.phtml +62 -0
  161. app/design/frontend/default/iphone/template/page/2columns-right.phtml +61 -0
  162. app/design/frontend/default/iphone/template/page/3columns.phtml +62 -0
  163. app/design/frontend/default/iphone/template/page/dashboard.phtml +64 -0
  164. app/design/frontend/default/iphone/template/page/html/breadcrumbs.phtml +45 -0
  165. app/design/frontend/default/iphone/template/page/html/footer.phtml +32 -0
  166. app/design/frontend/default/iphone/template/page/html/head.phtml +37 -0
  167. app/design/frontend/default/iphone/template/page/html/header.phtml +46 -0
  168. app/design/frontend/default/iphone/template/page/html/notices.phtml +44 -0
  169. app/design/frontend/default/iphone/template/page/html/pager.phtml +116 -0
  170. app/design/frontend/default/iphone/template/page/html/top.links.phtml +34 -0
  171. app/design/frontend/default/iphone/template/page/html/wrapper.phtml +45 -0
  172. app/design/frontend/default/iphone/template/page/js/calendar.phtml +94 -0
  173. app/design/frontend/default/iphone/template/page/one-column.phtml +45 -0
  174. app/design/frontend/default/iphone/template/page/print.phtml +53 -0
  175. app/design/frontend/default/iphone/template/page/switch/flags.phtml +33 -0
  176. app/design/frontend/default/iphone/template/page/switch/languages.phtml +45 -0
  177. app/design/frontend/default/iphone/template/page/switch/stores.phtml +48 -0
  178. app/design/frontend/default/iphone/template/page/template/container.phtml +35 -0
  179. app/design/frontend/default/iphone/template/page/template/links.phtml +41 -0
  180. app/design/frontend/default/iphone/template/payment/form/cc.phtml +85 -0
  181. app/design/frontend/default/iphone/template/payment/form/ccsave.phtml +84 -0
  182. app/design/frontend/default/iphone/template/payment/form/checkmo.phtml +43 -0
  183. app/design/frontend/default/iphone/template/payment/form/purchaseorder.phtml +36 -0
  184. app/design/frontend/default/iphone/template/payment/info/checkmo.phtml +38 -0
  185. app/design/frontend/default/iphone/template/payment/info/purchaseorder.phtml +29 -0
  186. app/design/frontend/default/iphone/template/poll/active.phtml +66 -0
  187. app/design/frontend/default/iphone/template/poll/result.phtml +50 -0
  188. app/design/frontend/default/iphone/template/productalert/price.phtml +29 -0
  189. app/design/frontend/default/iphone/template/productalert/stock.phtml +29 -0
  190. app/design/frontend/default/iphone/template/rating/detailed.phtml +44 -0
  191. app/design/frontend/default/iphone/template/rating/empty.phtml +27 -0
  192. app/design/frontend/default/iphone/template/reports/home_product_compared.phtml +65 -0
  193. app/design/frontend/default/iphone/template/reports/home_product_viewed.phtml +70 -0
  194. app/design/frontend/default/iphone/template/reports/product_compared.phtml +44 -0
  195. app/design/frontend/default/iphone/template/reports/product_viewed.phtml +44 -0
  196. app/design/frontend/default/iphone/template/review/customer/list.phtml +63 -0
  197. app/design/frontend/default/iphone/template/review/customer/recent.phtml +53 -0
  198. app/design/frontend/default/iphone/template/review/customer/view.phtml +68 -0
  199. app/design/frontend/default/iphone/template/review/form.phtml +119 -0
  200. app/design/frontend/default/iphone/template/review/helper/summary.phtml +40 -0
  201. app/design/frontend/default/iphone/template/review/helper/summary_short.phtml +39 -0
  202. app/design/frontend/default/iphone/template/review/list.phtml +65 -0
  203. app/design/frontend/default/iphone/template/review/product/detailed.phtml +183 -0
  204. app/design/frontend/default/iphone/template/review/view.phtml +61 -0
  205. app/design/frontend/default/iphone/template/rss/list.phtml +61 -0
  206. app/design/frontend/default/iphone/template/rss/nofeed.phtml +1 -0
  207. app/design/frontend/default/iphone/template/rss/order/details.phtml +102 -0
  208. app/design/frontend/default/iphone/template/sales/order/creditmemo.phtml +111 -0
  209. app/design/frontend/default/iphone/template/sales/order/details.phtml +107 -0
  210. app/design/frontend/default/iphone/template/sales/order/history.phtml +66 -0
  211. app/design/frontend/default/iphone/template/sales/order/info.phtml +92 -0
  212. app/design/frontend/default/iphone/template/sales/order/invoice.phtml +107 -0
  213. app/design/frontend/default/iphone/template/sales/order/items.phtml +69 -0
  214. app/design/frontend/default/iphone/template/sales/order/items/renderer/default.phtml +317 -0
  215. app/design/frontend/default/iphone/template/sales/order/print.phtml +84 -0
  216. app/design/frontend/default/iphone/template/sales/order/print/creditmemo.phtml +112 -0
  217. app/design/frontend/default/iphone/template/sales/order/print/invoice.phtml +95 -0
  218. app/design/frontend/default/iphone/template/sales/order/print/shipment.phtml +117 -0
  219. app/design/frontend/default/iphone/template/sales/order/recent.phtml +67 -0
  220. app/design/frontend/default/iphone/template/sales/order/shipment.phtml +128 -0
  221. app/design/frontend/default/iphone/template/sales/order/totals.phtml +52 -0
  222. app/design/frontend/default/iphone/template/sales/order/trackinginfo.phtml +68 -0
  223. app/design/frontend/default/iphone/template/sales/order/view.phtml +98 -0
  224. app/design/frontend/default/iphone/template/sales/reorder/sidebar.phtml +72 -0
  225. app/design/frontend/default/iphone/template/sendfriend/send.phtml +142 -0
  226. app/design/frontend/default/iphone/template/shipping/tracking/ajax.phtml +1 -0
  227. app/design/frontend/default/iphone/template/shipping/tracking/popup.phtml +172 -0
  228. app/design/frontend/default/iphone/template/tag/cloud.phtml +42 -0
  229. app/design/frontend/default/iphone/template/tag/customer/edit.phtml +49 -0
  230. app/design/frontend/default/iphone/template/tag/customer/recent.phtml +48 -0
  231. app/design/frontend/default/iphone/template/tag/customer/tags.phtml +47 -0
  232. app/design/frontend/default/iphone/template/tag/customer/view.phtml +75 -0
  233. app/design/frontend/default/iphone/template/tag/list.phtml +32 -0
  234. app/design/frontend/default/iphone/template/tag/mytags.phtml +75 -0
  235. app/design/frontend/default/iphone/template/tag/popular.phtml +41 -0
  236. app/design/frontend/default/iphone/template/tag/product/result.phtml +66 -0
  237. app/design/frontend/default/iphone/template/tag/result.phtml +42 -0
  238. app/design/frontend/default/iphone/template/tag/search.phtml +42 -0
  239. app/design/frontend/default/iphone/template/tax/checkout/discount.phtml +25 -0
  240. app/design/frontend/default/iphone/template/tax/checkout/grandtotal.phtml +58 -0
  241. app/design/frontend/default/iphone/template/tax/checkout/shipping.phtml +66 -0
  242. app/design/frontend/default/iphone/template/tax/checkout/subtotal.phtml +57 -0
  243. app/design/frontend/default/iphone/template/tax/checkout/tax.phtml +74 -0
  244. app/design/frontend/default/iphone/template/tax/order/tax.phtml +81 -0
  245. app/design/frontend/default/iphone/template/wishlist/email/items.phtml +53 -0
  246. app/design/frontend/default/iphone/template/wishlist/email/rss.phtml +31 -0
  247. app/design/frontend/default/iphone/template/wishlist/shared.phtml +76 -0
  248. app/design/frontend/default/iphone/template/wishlist/sharing.phtml +89 -0
  249. app/design/frontend/default/iphone/template/wishlist/sidebar.phtml +66 -0
  250. app/design/frontend/default/iphone/template/wishlist/view.phtml +100 -0
  251. package.xml +18 -0
  252. skin/frontend/default/iphone/css/clears.css +71 -0
  253. skin/frontend/default/iphone/css/iphone.css +440 -0
  254. skin/frontend/default/iphone/favicon.ico +0 -0
  255. skin/frontend/default/iphone/images/btn_google_checkout.gif +0 -0
  256. skin/frontend/default/iphone/images/btn_paypal_checkout.gif +0 -0
  257. skin/frontend/default/iphone/images/btn_place_order.gif +0 -0
  258. skin/frontend/default/iphone/images/btn_proceed_to_checkout.gif +0 -0
  259. skin/frontend/default/iphone/images/btn_proceed_to_checkout.png +0 -0
  260. skin/frontend/default/iphone/images/btn_proceed_to_checkout_bg.gif +0 -0
  261. skin/frontend/default/iphone/images/btn_proceed_to_checkout_rad.gif +0 -0
  262. skin/frontend/default/iphone/images/btn_trash.gif +0 -0
  263. skin/frontend/default/iphone/images/btn_window_close.gif +0 -0
  264. skin/frontend/default/iphone/images/chart_remove.gif +0 -0
  265. skin/frontend/default/iphone/images/error_msg_icon.gif +0 -0
  266. skin/frontend/default/iphone/images/footer-bg.gif +0 -0
  267. skin/frontend/default/iphone/images/free_shipping_callout.jpg +0 -0
  268. skin/frontend/default/iphone/images/gift-message-close.gif +0 -0
  269. skin/frontend/default/iphone/images/header-bg.gif +0 -0
  270. skin/frontend/default/iphone/images/i_notice.gif +0 -0
  271. skin/frontend/default/iphone/images/link_separator.gif +0 -0
  272. skin/frontend/default/iphone/images/list_remove_btn.gif +0 -0
  273. skin/frontend/default/iphone/images/logo.gif +0 -0
  274. skin/frontend/default/iphone/images/logo_email.gif +0 -0
  275. skin/frontend/default/iphone/images/logo_print.gif +0 -0
  276. skin/frontend/default/iphone/images/menu-arrow.gif +0 -0
  277. skin/frontend/default/iphone/images/menu-bg.gif +0 -0
  278. skin/frontend/default/iphone/images/np_cart_thumb.gif +0 -0
  279. skin/frontend/default/iphone/images/np_more_img.gif +0 -0
  280. skin/frontend/default/iphone/images/np_product_main.gif +0 -0
  281. skin/frontend/default/iphone/images/np_thumb.gif +0 -0
  282. skin/frontend/default/iphone/images/np_thumb2.gif +0 -0
  283. skin/frontend/default/iphone/images/opc-ajax-loader.gif +0 -0
  284. skin/frontend/default/iphone/images/opc_off_head_bg.gif +0 -0
  285. skin/frontend/default/iphone/images/opc_on_box_bg.gif +0 -0
  286. skin/frontend/default/iphone/images/page-bg.gif +0 -0
  287. skin/frontend/default/iphone/images/pager_arrow_left.gif +0 -0
  288. skin/frontend/default/iphone/images/pager_arrow_right.gif +0 -0
  289. skin/frontend/default/iphone/images/pager_bg.gif +0 -0
  290. skin/frontend/default/iphone/images/ph.gif +0 -0
  291. skin/frontend/default/iphone/images/place_order_container_bg.gif +0 -0
  292. skin/frontend/default/iphone/images/product_rating_blank_star.gif +0 -0
  293. skin/frontend/default/iphone/images/product_rating_full_star.gif +0 -0
  294. skin/frontend/default/iphone/images/search-bg.gif +0 -0
  295. skin/frontend/default/iphone/images/search-close-but.gif +0 -0
  296. skin/frontend/default/iphone/images/search-end.gif +0 -0
  297. skin/frontend/default/{iphone/images/search-go-but.gif → i} +0 -0
app/design/frontend/default/iphone/etc/widget.xml ADDED
@@ -0,0 +1,166 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ /**
4
+ * Magento
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the Academic Free License (AFL 3.0)
9
+ * that is bundled with this package in the file LICENSE_AFL.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://opensource.org/licenses/afl-3.0.php
12
+ * If you did not receive a copy of the license and are unable to
13
+ * obtain it through the world-wide-web, please send an email
14
+ * to license@magentocommerce.com so we can send you a copy immediately.
15
+ *
16
+ * DISCLAIMER
17
+ *
18
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
19
+ * versions in the future. If you wish to customize Magento for your
20
+ * needs please refer to http://www.magentocommerce.com for more information.
21
+ *
22
+ * @category design
23
+ * @package default_iphone
24
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
25
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
26
+ */
27
+ -->
28
+ <widgets>
29
+ <new_products>
30
+ <parameters>
31
+ <template>
32
+ <values>
33
+ <list_default translate="label">
34
+ <value>catalog/product/widget/new/column/new_default_list.phtml</value>
35
+ <label>New Products Images and Names Template</label>
36
+ </list_default>
37
+ <list_names translate="label">
38
+ <value>catalog/product/widget/new/column/new_names_list.phtml</value>
39
+ <label>New Products Names Only Template</label>
40
+ </list_names>
41
+ <list_images translate="label">
42
+ <value>catalog/product/widget/new/column/new_images_list.phtml</value>
43
+ <label>New Products Images Only Template</label>
44
+ </list_images>
45
+ </values>
46
+ </template>
47
+ </parameters>
48
+ <supported_blocks>
49
+ <left_column>
50
+ <block_name>left</block_name>
51
+ <template>
52
+ <default>list_default</default>
53
+ <names_only>list_names</names_only>
54
+ <images_only>list_images</images_only>
55
+ </template>
56
+ </left_column>
57
+ <main_content>
58
+ <block_name>content</block_name>
59
+ <template>
60
+ <grid>default</grid>
61
+ <list>list</list>
62
+ </template>
63
+ </main_content>
64
+ <right_column>
65
+ <block_name>right</block_name>
66
+ <template>
67
+ <default>list_default</default>
68
+ <names_only>list_names</names_only>
69
+ <images_only>list_images</images_only>
70
+ </template>
71
+ </right_column>
72
+ </supported_blocks>
73
+ </new_products>
74
+
75
+ <recently_viewed>
76
+ <parameters>
77
+ <template>
78
+ <values>
79
+ <list_default translate="label">
80
+ <value>reports/widget/viewed/column/viewed_default_list.phtml</value>
81
+ <label>Viewed Products Images and Names Template</label>
82
+ </list_default>
83
+ <list_names translate="label">
84
+ <value>reports/widget/viewed/column/viewed_names_list.phtml</value>
85
+ <label>Viewed Products Names Only Template</label>
86
+ </list_names>
87
+ <list_images translate="label">
88
+ <value>reports/widget/viewed/column/viewed_images_list.phtml</value>
89
+ <label>Viewed Products Images Only Template</label>
90
+ </list_images>
91
+ </values>
92
+ </template>
93
+ </parameters>
94
+ <supported_blocks>
95
+ <left_column>
96
+ <block_name>left</block_name>
97
+ <template>
98
+ <default>list_default</default>
99
+ <names_only>list_names</names_only>
100
+ <images_only>list_images</images_only>
101
+ </template>
102
+ </left_column>
103
+ <main_content>
104
+ <block_name>content</block_name>
105
+ <template>
106
+ <grid>default</grid>
107
+ <list>list</list>
108
+ </template>
109
+ </main_content>
110
+ <right_column>
111
+ <block_name>right</block_name>
112
+ <template>
113
+ <default>list_default</default>
114
+ <names_only>list_names</names_only>
115
+ <images_only>list_images</images_only>
116
+ </template>
117
+ </right_column>
118
+ </supported_blocks>
119
+ </recently_viewed>
120
+
121
+ <recently_compared>
122
+ <parameters>
123
+ <template>
124
+ <values>
125
+ <list_default translate="label">
126
+ <value>reports/widget/compared/column/compared_default_list.phtml</value>
127
+ <label>Compared Products Images and Names Template</label>
128
+ </list_default>
129
+ <list_names translate="label">
130
+ <value>reports/widget/compared/column/compared_names_list.phtml</value>
131
+ <label>Compared Product Names Only Template</label>
132
+ </list_names>
133
+ <list_images translate="label">
134
+ <value>reports/widget/compared/column/compared_images_list.phtml</value>
135
+ <label>Compared Product Images Only Template</label>
136
+ </list_images>
137
+ </values>
138
+ </template>
139
+ </parameters>
140
+ <supported_blocks>
141
+ <left_column>
142
+ <block_name>left</block_name>
143
+ <template>
144
+ <default>list_default</default>
145
+ <names_only>list_names</names_only>
146
+ <images_only>list_images</images_only>
147
+ </template>
148
+ </left_column>
149
+ <main_content>
150
+ <block_name>content</block_name>
151
+ <template>
152
+ <grid>default</grid>
153
+ <list>list</list>
154
+ </template>
155
+ </main_content>
156
+ <right_column>
157
+ <block_name>right</block_name>
158
+ <template>
159
+ <default>list_default</default>
160
+ <names_only>list_names</names_only>
161
+ <images_only>list_images</images_only>
162
+ </template>
163
+ </right_column>
164
+ </supported_blocks>
165
+ </recently_compared>
166
+ </widgets>
app/design/frontend/default/iphone/layout/bundle.xml ADDED
@@ -0,0 +1,312 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ /**
4
+ * Magento
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the Academic Free License (AFL 3.0)
9
+ * that is bundled with this package in the file LICENSE_AFL.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://opensource.org/licenses/afl-3.0.php
12
+ * If you did not receive a copy of the license and are unable to
13
+ * obtain it through the world-wide-web, please send an email
14
+ * to license@magentocommerce.com so we can send you a copy immediately.
15
+ *
16
+ * DISCLAIMER
17
+ *
18
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
19
+ * versions in the future. If you wish to customize Magento for your
20
+ * needs please refer to http://www.magentocommerce.com for more information.
21
+ *
22
+ * @category design
23
+ * @package default_iphone
24
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
25
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
26
+ */
27
+
28
+ -->
29
+ <layout version="0.1.0">
30
+
31
+ <!--
32
+ Adding custom product price block
33
+ -->
34
+
35
+ <catalog_category_default>
36
+ <reference name="product_list">
37
+ <action method="addPriceBlockType"><type>bundle</type><block>bundle/catalog_product_price</block><template>bundle/catalog/product/price.phtml</template></action>
38
+ </reference>
39
+ </catalog_category_default>
40
+
41
+ <catalog_category_view>
42
+ <reference name="product_list">
43
+ <action method="addPriceBlockType"><type>bundle</type><block>bundle/catalog_product_price</block><template>bundle/catalog/product/price.phtml</template></action>
44
+ </reference>
45
+ </catalog_category_view>
46
+
47
+ <catalog_category_layered>
48
+ <reference name="product_list">
49
+ <action method="addPriceBlockType"><type>bundle</type><block>bundle/catalog_product_price</block><template>bundle/catalog/product/price.phtml</template></action>
50
+ </reference>
51
+ </catalog_category_layered>
52
+
53
+ <catalog_product_compare_index>
54
+ <reference name="catalog.compare.list">
55
+ <action method="addPriceBlockType"><type>bundle</type><block>bundle/catalog_product_price</block><template>bundle/catalog/product/price.phtml</template></action>
56
+ </reference>
57
+ </catalog_product_compare_index>
58
+
59
+ <catalogsearch_result_index>
60
+ <reference name="search_result_list">
61
+ <action method="addPriceBlockType"><type>bundle</type><block>bundle/catalog_product_price</block><template>bundle/catalog/product/price.phtml</template></action>
62
+ </reference>
63
+ </catalogsearch_result_index>
64
+
65
+ <catalogsearch_advanced_result>
66
+ <reference name="search_result_list">
67
+ <action method="addPriceBlockType"><type>bundle</type><block>bundle/catalog_product_price</block><template>bundle/catalog/product/price.phtml</template></action>
68
+ </reference>
69
+ </catalogsearch_advanced_result>
70
+
71
+ <tag_product_list>
72
+ <reference name="search_result_list">
73
+ <action method="addPriceBlockType"><type>bundle</type><block>bundle/catalog_product_price</block><template>bundle/catalog/product/price.phtml</template></action>
74
+ </reference>
75
+ </tag_product_list>
76
+
77
+ <tag_customer_view>
78
+ <reference name="customer_view">
79
+ <action method="addPriceBlockType"><type>bundle</type><block>bundle/catalog_product_price</block><template>bundle/catalog/product/price.phtml</template></action>
80
+ </reference>
81
+ </tag_customer_view>
82
+
83
+ <default>
84
+ <reference name="wishlist_sidebar">
85
+ <action method="addPriceBlockType"><type>bundle</type><block>bundle/catalog_product_price</block><template>bundle/catalog/product/price.phtml</template></action>
86
+ </reference>
87
+ <reference name="catalog_product_price_template">
88
+ <action method="addPriceBlockType"><type>bundle</type><block>bundle/catalog_product_price</block><template>bundle/catalog/product/price.phtml</template></action>
89
+ </reference>
90
+ </default>
91
+
92
+ <wishlist_index_index>
93
+ <reference name="customer.wishlist">
94
+ <action method="addPriceBlockType"><type>bundle</type><block>bundle/catalog_product_price</block><template>bundle/catalog/product/price.phtml</template></action>
95
+ </reference>
96
+ </wishlist_index_index>
97
+
98
+ <wishlist_shared_index>
99
+ <reference name="customer.wishlist">
100
+ <action method="addPriceBlockType"><type>bundle</type><block>bundle/catalog_product_price</block><template>bundle/catalog/product/price.phtml</template></action>
101
+ </reference>
102
+ </wishlist_shared_index>
103
+
104
+ <catalog_product_view>
105
+ <reference name="catalog.product.related">
106
+ <action method="addPriceBlockType"><type>bundle</type><block>bundle/catalog_product_price</block><template>bundle/catalog/product/price.phtml</template></action>
107
+ </reference>
108
+ </catalog_product_view>
109
+
110
+ <!--
111
+ Partof block for simple products
112
+ -->
113
+
114
+ <PRODUCT_TYPE_simple>
115
+ <!--
116
+ <reference name="product.info.additional">
117
+
118
+ <block type="bundle/catalog_product_list_partof" before="-" name="product.info.partof" as="partof_products" template="bundle/catalog/product/list/partof.phtml">
119
+ <action method="addPriceBlockType"><type>bundle</type><block>bundle/catalog_product_price</block><template>bundle/catalog/product/price.phtml</template></action>
120
+ </block>
121
+ -->
122
+ <reference name="product.info.upsell">
123
+ <action method="addPriceBlockType"><type>bundle</type><block>bundle/catalog_product_price</block><template>bundle/catalog/product/price.phtml</template></action>
124
+ <action method="setItemLimit"><type>bundle</type><limit>4</limit></action>
125
+ </reference>
126
+ </PRODUCT_TYPE_simple>
127
+
128
+ <!--
129
+ Shopping cart item renderer (sidebar)
130
+ -->
131
+
132
+ <default>
133
+ <reference name="cart_sidebar">
134
+ <action method="addItemRender"><type>bundle</type><block>bundle/checkout_cart_item_renderer</block><template>checkout/cart/sidebar/default.phtml</template></action>
135
+ </reference>
136
+ </default>
137
+
138
+ <customer_account>
139
+ <reference name="cart_sidebar">
140
+ <action method="addItemRender"><type>bundle</type><block>bundle/checkout_cart_item_renderer</block><template>checkout/cart/sidebar/default.phtml</template></action>
141
+ </reference>
142
+ </customer_account>
143
+
144
+ <!--
145
+ Shopping cart item renderer
146
+ -->
147
+
148
+ <checkout_cart_index>
149
+ <reference name="checkout.cart">
150
+ <action method="addItemRender"><type>bundle</type><block>bundle/checkout_cart_item_renderer</block><template>checkout/cart/item/default.phtml</template></action>
151
+ </reference>
152
+ <reference name="checkout.cart.crosssell">
153
+ <action method="addPriceBlockType"><type>bundle</type><block>bundle/catalog_product_price</block><template>bundle/catalog/product/price.phtml</template></action>
154
+ </reference>
155
+ </checkout_cart_index>
156
+
157
+ <!--
158
+ Onepage Checkout Review Page
159
+ -->
160
+
161
+ <checkout_onepage_review>
162
+ <reference name="root">
163
+ <action method="addItemRender"><type>bundle</type><block>bundle/checkout_cart_item_renderer</block><template>checkout/onepage/review/item.phtml</template></action>
164
+ </reference>
165
+ </checkout_onepage_review>
166
+
167
+ <checkout_multishipping_addresses>
168
+ <reference name="checkout_addresses">
169
+ <action method="addItemRender"><type>bundle</type><block>bundle/checkout_cart_item_renderer</block><template>checkout/multishipping/item/default.phtml</template></action>
170
+ </reference>
171
+ </checkout_multishipping_addresses>
172
+
173
+ <checkout_multishipping_shipping>
174
+ <reference name="checkout_shipping">
175
+ <action method="addItemRender"><type>bundle</type><block>bundle/checkout_cart_item_renderer</block><template>checkout/multishipping/item/default.phtml</template></action>
176
+ </reference>
177
+ <reference name="checkout_billing_items">
178
+ <action method="addItemRender"><type>bundle</type><block>bundle/checkout_cart_item_renderer</block><template>checkout/multishipping/item/default.phtml</template></action>
179
+ </reference>
180
+ </checkout_multishipping_shipping>
181
+
182
+ <checkout_multishipping_overview>
183
+ <reference name="checkout_overview">
184
+ <action method="addItemRender"><type>bundle</type><block>bundle/checkout_cart_item_renderer</block><template>checkout/multishipping/item/default.phtml</template></action>
185
+ </reference>
186
+ </checkout_multishipping_overview>
187
+
188
+ <paypal_express_review>
189
+ <reference name="paypal.express.review.details">
190
+ <action method="addItemRender"><type>bundle</type><block>bundle/checkout_cart_item_renderer</block><template>checkout/onepage/review/item.phtml</template></action>
191
+ </reference>
192
+ </paypal_express_review>
193
+ <paypal_express_review_details>
194
+ <reference name="root">
195
+ <action method="addItemRender"><type>bundle</type><block>bundle/checkout_cart_item_renderer</block><template>checkout/onepage/review/item.phtml</template></action>
196
+ </reference>
197
+ </paypal_express_review_details>
198
+
199
+ <!--
200
+ Additional block for bundle product type
201
+ -->
202
+
203
+ <PRODUCT_TYPE_bundle>
204
+ <reference name="head">
205
+ <action method="addItem"><type>skin_js</type><name>js/bundle.js</name></action>
206
+ </reference>
207
+ <reference name="product.info">
208
+ <block type="bundle/catalog_product_view_type_bundle" name="product.info.bundle" as="product_type_data" template="bundle/catalog/product/view/type/bundle.phtml">
209
+ <action method="addPriceBlockType"><type>bundle</type><block>bundle/catalog_product_price</block><template>bundle/catalog/product/price.phtml</template></action>
210
+ <block type="bundle/catalog_product_price" name="bundle.prices" as="bundle_prices" template="bundle/catalog/product/view/price.phtml" />
211
+ </block>
212
+ </reference>
213
+ <reference name="product.info.options.wrapper">
214
+ <block type="bundle/catalog_product_view_type_bundle" name="product.info.bundle.options" as="type_bundle_options" template="bundle/catalog/product/view/type/bundle/options.phtml">
215
+ <action method="addRenderer"><type>select</type><block>bundle/catalog_product_view_type_bundle_option_select</block></action>
216
+ <action method="addRenderer"><type>multi</type><block>bundle/catalog_product_view_type_bundle_option_multi</block></action>
217
+ <action method="addRenderer"><type>radio</type><block>bundle/catalog_product_view_type_bundle_option_radio</block></action>
218
+ <action method="addRenderer"><type>checkbox</type><block>bundle/catalog_product_view_type_bundle_option_checkbox</block></action>
219
+ </block>
220
+ <action method="insert"><block>product.info.bundle.options</block></action>
221
+ </reference>
222
+ <reference name="product.info.options.wrapper.bottom">
223
+ <remove name="product.tierprices" />
224
+ <block type="bundle/catalog_product_view" name="bundle.tierprices" as="tierprices" before="-" template="bundle/catalog/product/view/tierprices.phtml"/>
225
+ <block type="cataloginventory/qtyincrements" name="product.info.extrahint" as="extrahint" template="cataloginventory/qtyincrements.phtml"/>
226
+ </reference>
227
+ <reference name="product.clone_prices">
228
+ <action method="addPriceBlockType"><type>bundle</type><block>bundle/catalog_product_price</block><template>bundle/catalog/product/view/price.phtml</template></action>
229
+ </reference>
230
+ </PRODUCT_TYPE_bundle>
231
+
232
+ <sales_order_view>
233
+ <reference name="order_items">
234
+ <action method="addItemRender"><type>bundle</type><block>bundle/sales_order_items_renderer</block><template>bundle/sales/order/items/renderer.phtml</template></action>
235
+ </reference>
236
+ </sales_order_view>
237
+
238
+ <sales_order_invoice>
239
+ <reference name="invoice_items">
240
+ <action method="addItemRender"><type>bundle</type><block>bundle/sales_order_items_renderer</block><template>bundle/sales/order/invoice/items/renderer.phtml</template></action>
241
+ </reference>
242
+ </sales_order_invoice>
243
+
244
+ <sales_order_shipment>
245
+ <reference name="shipment_items">
246
+ <action method="addItemRender"><type>bundle</type><block>bundle/sales_order_items_renderer</block><template>bundle/sales/order/shipment/items/renderer.phtml</template></action>
247
+ </reference>
248
+ </sales_order_shipment>
249
+
250
+ <sales_order_creditmemo>
251
+ <reference name="creditmemo_items">
252
+ <action method="addItemRender"><type>bundle</type><block>bundle/sales_order_items_renderer</block><template>bundle/sales/order/creditmemo/items/renderer.phtml</template></action>
253
+ </reference>
254
+ </sales_order_creditmemo>
255
+
256
+ <!--
257
+ Print pages
258
+ -->
259
+
260
+ <sales_order_print>
261
+ <reference name="sales.order.print">
262
+ <action method="addItemRender"><type>bundle</type><block>bundle/sales_order_items_renderer</block><template>bundle/sales/order/items/renderer.phtml</template></action>
263
+ </reference>
264
+ </sales_order_print>
265
+
266
+ <sales_order_printinvoice>
267
+ <reference name="sales.order.print.invoice">
268
+ <action method="addItemRender"><type>bundle</type><block>bundle/sales_order_items_renderer</block><template>bundle/sales/order/invoice/items/renderer.phtml</template></action>
269
+ </reference>
270
+ </sales_order_printinvoice>
271
+
272
+ <sales_order_printshipment>
273
+ <reference name="sales.order.print.shipment">
274
+ <action method="addItemRender"><type>bundle</type><block>bundle/sales_order_items_renderer</block><template>bundle/sales/order/shipment/items/renderer.phtml</template></action>
275
+ </reference>
276
+ </sales_order_printshipment>
277
+
278
+ <sales_order_printcreditmemo>
279
+ <reference name="sales.order.print.creditmemo">
280
+ <action method="addItemRender"><type>bundle</type><block>bundle/sales_order_items_renderer</block><template>bundle/sales/order/creditmemo/items/renderer.phtml</template></action>
281
+ </reference>
282
+ </sales_order_printcreditmemo>
283
+
284
+ <!--
285
+ Emails
286
+ -->
287
+ <sales_email_order_items>
288
+ <reference name="items">
289
+ <action method="addItemRender"><type>bundle</type><block>bundle/sales_order_items_renderer</block><template>bundle/email/order/items/order/default.phtml</template></action>
290
+ </reference>
291
+ </sales_email_order_items>
292
+
293
+ <sales_email_order_invoice_items>
294
+ <reference name="items">
295
+ <action method="addItemRender"><type>bundle</type><block>bundle/sales_order_items_renderer</block><template>bundle/email/order/items/invoice/default.phtml</template></action>
296
+ </reference>
297
+ </sales_email_order_invoice_items>
298
+
299
+
300
+ <sales_email_order_shipment_items>
301
+ <reference name="items">
302
+ <action method="addItemRender"><type>bundle</type><block>bundle/sales_order_items_renderer</block><template>bundle/email/order/items/shipment/default.phtml</template></action>
303
+ </reference>
304
+ </sales_email_order_shipment_items>
305
+
306
+ <sales_email_order_creditmemo_items>
307
+ <reference name="items">
308
+ <action method="addItemRender"><type>bundle</type><block>bundle/sales_order_items_renderer</block><template>bundle/email/order/items/creditmemo/default.phtml</template></action>
309
+ </reference>
310
+ </sales_email_order_creditmemo_items>
311
+
312
+ </layout>
app/design/frontend/default/iphone/layout/catalog.xml ADDED
@@ -0,0 +1,402 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ /**
4
+ * Magento
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the Academic Free License (AFL 3.0)
9
+ * that is bundled with this package in the file LICENSE_AFL.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://opensource.org/licenses/afl-3.0.php
12
+ * If you did not receive a copy of the license and are unable to
13
+ * obtain it through the world-wide-web, please send an email
14
+ * to license@magentocommerce.com so we can send you a copy immediately.
15
+ *
16
+ * DISCLAIMER
17
+ *
18
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
19
+ * versions in the future. If you wish to customize Magento for your
20
+ * needs please refer to http://www.magentocommerce.com for more information.
21
+ *
22
+ * @category design
23
+ * @package default_iphone
24
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
25
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
26
+ */
27
+
28
+ Supported layout update handles (action):
29
+ - catalog_product_gallery
30
+ - catalog_product_compare_index
31
+
32
+ Supported layout update handles (special):
33
+ - default
34
+ - catalog_category_default
35
+ - catalog_category_layered
36
+ - catalog_product_view
37
+
38
+ -->
39
+ <layout version="0.1.0">
40
+
41
+ <!--
42
+ Default layout, loads most of the pages
43
+ -->
44
+
45
+ <default>
46
+
47
+ <!-- Mage_Catalog -->
48
+ <reference name="top.menu">
49
+ <block type="catalog/navigation" name="catalog.topnav" template="catalog/navigation/top.phtml"/>
50
+ </reference>
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>
58
+ <reference name="right">
59
+ <block type="catalog/product_compare_sidebar" before="cart_sidebar" name="catalog.compare.sidebar" template="catalog/product/compare/sidebar.phtml"/>
60
+ <block type="core/template" name="right.permanent.callout" template="callouts/right_col.phtml"/>
61
+ </reference>
62
+ <reference name="footer_links">
63
+ <action method="addLink" translate="label title" module="catalog" ifconfig="catalog/seo/site_map"><label>Site Map</label><url helper="catalog/map/getCategoryUrl" /><title>Site Map</title></action>
64
+ </reference>
65
+ <block type="catalog/product_price_template" name="catalog_product_price_template" />
66
+ </default>
67
+
68
+
69
+ <!--
70
+ Category default layout
71
+ -->
72
+
73
+ <catalog_category_default>
74
+ <reference name="left">
75
+ <block type="catalog/navigation" name="catalog.leftnav" after="currency" template="catalog/navigation/left.phtml"/>
76
+ </reference>
77
+ <reference name="content">
78
+ <block type="catalog/category_view" name="category.products" template="catalog/category/view.phtml">
79
+ <block type="catalog/product_list" name="product_list" template="catalog/product/list.phtml">
80
+ <block type="catalog/product_list_toolbar" name="product_list_toolbar" template="catalog/product/list/toolbar.phtml">
81
+ <block type="catalog/product_list_toolbar_pager" name="product_list_toolbar_pager"/>
82
+ <!-- The following code shows how to set your own pager increments -->
83
+ <!--
84
+ <action method="setDefaultListPerPage"><limit>4</limit></action>
85
+ <action method="setDefaultGridPerPage"><limit>9</limit></action>
86
+ <action method="addPagerLimit"><mode>list</mode><limit>2</limit></action>
87
+ <action method="addPagerLimit"><mode>list</mode><limit>4</limit></action>
88
+ <action method="addPagerLimit"><mode>list</mode><limit>6</limit></action>
89
+ <action method="addPagerLimit"><mode>list</mode><limit>8</limit></action>
90
+ <action method="addPagerLimit" translate="label"><mode>list</mode><limit>all</limit><label>All</label></action>
91
+ -->
92
+ <action method="addPagerLimit"><mode>list</mode><limit>5</limit></action>
93
+ </block>
94
+ <action method="setToolbarBlockName"><name>product_list_toolbar</name></action>
95
+ </block>
96
+ </block>
97
+ </reference>
98
+ </catalog_category_default>
99
+
100
+ <!--
101
+ Category layered navigation layout
102
+ -->
103
+
104
+ <catalog_category_layered>
105
+ <reference name="left">
106
+ <block type="catalog/layer_view" name="catalog.leftnav" after="currency" template="catalog/layer/view.phtml"/>
107
+ </reference>
108
+ <reference name="content">
109
+ <block type="catalog/category_view" name="category.products" template="catalog/category/view.phtml">
110
+ <block type="catalog/product_list" name="product_list" template="catalog/product/list.phtml">
111
+ <block type="catalog/product_list_toolbar" name="product_list_toolbar" template="catalog/product/list/toolbar.phtml">
112
+ <block type="catalog/product_list_toolbar_pager" name="product_list_toolbar_pager"/>
113
+ <!-- The following code shows how to set your own pager increments -->
114
+ <!--
115
+ <action method="setDefaultListPerPage"><limit>4</limit></action>
116
+ <action method="setDefaultGridPerPage"><limit>3</limit></action>
117
+ <action method="addPagerLimit"><mode>list</mode><limit>2</limit></action>
118
+ <action method="addPagerLimit"><mode>list</mode><limit>4</limit></action>
119
+ <action method="addPagerLimit"><mode>list</mode><limit>6</limit></action>
120
+ <action method="addPagerLimit"><mode>list</mode><limit>8</limit></action>
121
+ <action method="addPagerLimit" translate="label"><mode>list</mode><limit>all</limit><label>All</label></action>
122
+ <action method="addPagerLimit"><mode>grid</mode><limit>3</limit></action>
123
+ <action method="addPagerLimit"><mode>grid</mode><limit>6</limit></action>
124
+ <action method="addPagerLimit"><mode>grid</mode><limit>9</limit></action>
125
+ <action method="addPagerLimit"><mode>grid</mode><limit>all</limit><label>All</label></action>
126
+ -->
127
+ <action method="addPagerLimit"><mode>list</mode><limit>5</limit></action>
128
+ </block>
129
+ <action method="setToolbarBlockName"><name>product_list_toolbar</name></action>
130
+ </block>
131
+ </block>
132
+ </reference>
133
+ </catalog_category_layered>
134
+
135
+ <catalog_category_layered_nochildren>
136
+ <remove name="right.reports.product.viewed" />
137
+ <reference name="right">
138
+ <block type="reports/product_viewed" before="right.permanent.callout" name="left.reports.product.viewed" template="reports/product_viewed.phtml" />
139
+ </reference>
140
+ </catalog_category_layered_nochildren>
141
+
142
+ <!--
143
+ Compare products page
144
+ -->
145
+
146
+ <catalog_product_compare_index>
147
+ <!-- Mage_Catalog -->
148
+ <reference name="root">
149
+ <action method="setTemplate"><template>page/one-column.phtml</template></action>
150
+ </reference>
151
+ <reference name="head">
152
+ <action method="addJs"><script>scriptaculous/scriptaculous.js</script></action>
153
+ <action method="addJs"><script>varien/product.js</script></action>
154
+ </reference>
155
+ <reference name="content">
156
+ <block type="catalog/product_compare_list" name="catalog.compare.list" template="catalog/product/compare/list.phtml"/>
157
+ </reference>
158
+ </catalog_product_compare_index>
159
+
160
+ <customer_account_index>
161
+
162
+ <reference name="right">
163
+ <action method="unsetChild"><name>catalog_compare_sidebar</name></action>
164
+ </reference>
165
+ </customer_account_index>
166
+
167
+ <!--
168
+ Product view
169
+ -->
170
+
171
+ <catalog_product_view>
172
+ <!-- Mage_Catalog -->
173
+ <reference name="root">
174
+ <action method="setTemplate"><template>page/1column.phtml</template></action>
175
+ </reference>
176
+ <reference name="head">
177
+ <action method="addJs"><script>varien/product.js</script></action>
178
+
179
+ <action method="addItem"><type>js_css</type><name>calendar/calendar-win2k-1.css</name><params/><!--<if/><condition>can_load_calendar_js</condition>--></action>
180
+ <action method="addItem"><type>js</type><name>calendar/calendar.js</name><!--<params/><if/><condition>can_load_calendar_js</condition>--></action>
181
+ <action method="addItem"><type>js</type><name>calendar/calendar-setup.js</name><!--<params/><if/><condition>can_load_calendar_js</condition>--></action>
182
+ </reference>
183
+ <reference name="content">
184
+ <!-- block type="catalog/product_view" name="product.info" template="catalog/product/view.phtml">
185
+ <block type="catalog/product_view_media" name="product.info.media" as="media" template="catalog/product/view/media.phtml"/>
186
+ <block type="core/text_list" name="alert.urls" as="alert_urls" />
187
+ <block type="catalog/product_list_upsell" name="product.info.upsell" as="upsell_products" template="catalog/product/list/upsell.phtml"/>
188
+ <block type="catalog/product_view_additional" name="product.info.additional" as="product_additional_data" />
189
+ </block -->
190
+ <block type="catalog/product_view" name="product.info" template="catalog/product/view.phtml">
191
+ <!--
192
+ <action method="addReviewSummaryTemplate"><type>default</type><template>review/helper/summary.phtml</template></action>
193
+ <action method="addReviewSummaryTemplate"><type>short</type><template>review/helper/summary_short.phtml</template></action>
194
+ <action method="addReviewSummaryTemplate"><type>...</type><template>...</template></action>
195
+ -->
196
+ <block type="catalog/product_view_media" name="product.info.media" as="media" template="catalog/product/view/media.phtml"/>
197
+ <block type="core/text_list" name="alert.urls" as="alert_urls" />
198
+ <block type="catalog/product_view" name="product.tierprices" as="tierprices" template="catalog/product/view/tierprices.phtml"/>
199
+
200
+ <block type="catalog/product_list_upsell" name="product.info.upsell" as="upsell_products" template="catalog/product/list/upsell.phtml">
201
+ <action method="setColumnCount"><columns>4</columns></action>
202
+ <action method="setItemLimit"><type>upsell</type><limit>4</limit></action>
203
+ </block>
204
+
205
+ <block type="catalog/product_view_additional" name="product.info.additional" as="product_additional_data" />
206
+ <block type="catalog/product_view_description" name="product.description" as="description" template="catalog/product/view/description.phtml">
207
+ <action method="addToParentGroup"><group>detailed_info</group></action>
208
+ <action method="setTitle" translate="value"><value>Details</value></action>
209
+ </block>
210
+ <block type="catalog/product_view_attributes" name="product.attributes" as="additional" template="catalog/product/view/attributes.phtml"/>
211
+ <block type="catalog/product_view" name="product.info.addto" as="addto" template="catalog/product/view/addto.phtml"/>
212
+ <block type="catalog/product_view" name="product.info.addtocart" as="addtocart" template="catalog/product/view/addtocart.phtml"/>
213
+
214
+ <block type="core/text_list" name="product.info.extrahint" as="extrahint" translate="label">
215
+ <label>Product View Extra Hint</label>
216
+ </block>
217
+
218
+ <block type="catalog/product_view" name="product.info.options.wrapper" as="product_options_wrapper" template="catalog/product/view/options/wrapper.phtml">
219
+ <block type="core/template" name="options_js" template="catalog/product/view/options/js.phtml"/>
220
+ <block type="catalog/product_view_options" name="product.info.options" as="product_options" template="catalog/product/view/options.phtml">
221
+ <action method="addOptionRenderer"><type>text</type><block>catalog/product_view_options_type_text</block><template>catalog/product/view/options/type/text.phtml</template></action>
222
+ <action method="addOptionRenderer"><type>file</type><block>catalog/product_view_options_type_file</block><template>catalog/product/view/options/type/file.phtml</template></action>
223
+ <action method="addOptionRenderer"><type>select</type><block>catalog/product_view_options_type_select</block><template>catalog/product/view/options/type/select.phtml</template></action>
224
+ <action method="addOptionRenderer"><type>date</type><block>catalog/product_view_options_type_date</block><template>catalog/product/view/options/type/date.phtml</template></action>
225
+ <block type="core/html_calendar" name="html_calendar" as="html_calendar" template="page/js/calendar.phtml"/>
226
+ </block>
227
+ </block>
228
+ <block type="catalog/product_view" name="product.info.options.wrapper.bottom" as="product_options_wrapper_bottom" template="catalog/product/view/options/wrapper/bottom.phtml">
229
+ <action method="insert"><block>product.tierprices</block></action>
230
+ <block type="catalog/product_view" name="product.clone_prices" as="prices" template="catalog/product/view/price_clone.phtml"/>
231
+ <action method="append"><block>product.info.addtocart</block></action>
232
+ </block>
233
+
234
+ <block type="core/template_facade" name="product.info.container1" as="container1">
235
+ <action method="setDataByKey"><key>alias_in_layout</key><value>container1</value></action>
236
+ <action method="setDataByKeyFromRegistry"><key>options_container</key><key_in_registry>product</key_in_registry></action>
237
+ <action method="append"><block>product.info.options.wrapper</block></action>
238
+ <action method="append"><block>product.info.options.wrapper.bottom</block></action>
239
+ </block>
240
+ <block type="core/template_facade" name="product.info.container2" as="container2">
241
+ <action method="setDataByKey"><key>alias_in_layout</key><value>container2</value></action>
242
+ <action method="setDataByKeyFromRegistry"><key>options_container</key><key_in_registry>product</key_in_registry></action>
243
+ <action method="append"><block>product.info.options.wrapper</block></action>
244
+ <action method="append"><block>product.info.options.wrapper.bottom</block></action>
245
+ </block>
246
+ <action method="unsetCallChild"><child>container1</child><call>ifEquals</call><if>0</if><key>alias_in_layout</key><key>options_container</key></action>
247
+ <action method="unsetCallChild"><child>container2</child><call>ifEquals</call><if>0</if><key>alias_in_layout</key><key>options_container</key></action>
248
+ </block>
249
+ </reference>
250
+ <reference name="right">
251
+ <block type="catalog/product_list_related" name="catalog.product.related" before="-" template="catalog/product/list/related.phtml"/>
252
+ </reference>
253
+ </catalog_product_view>
254
+
255
+ <!--
256
+ Additional block dependant on product type
257
+ -->
258
+ <PRODUCT_TYPE_simple>
259
+ <reference name="product.info">
260
+ <block type="catalog/product_view_type_simple" name="product.info.simple" as="product_type_data" template="catalog/product/view/type/simple.phtml">
261
+ <block type="core/text_list" name="product.info.simple.extra" as="product_type_data_extra"/>
262
+ </block>
263
+ </reference>
264
+ </PRODUCT_TYPE_simple>
265
+ <PRODUCT_TYPE_configurable>
266
+ <reference name="product.info">
267
+ <block type="catalog/product_view_type_configurable" name="product.info.configurable" as="product_type_data" template="catalog/product/view/type/configurable.phtml">
268
+ <block type="core/text_list" name="product.info.configurable.extra" as="product_type_data_extra"/>
269
+ </block>
270
+ </reference>
271
+ <reference name="product.info.options.wrapper">
272
+ <block type="catalog/product_view_type_configurable" name="product.info.options.configurable" as="options_configurable" before="-" template="catalog/product/view/type/options/configurable.phtml"/>
273
+ </reference>
274
+ </PRODUCT_TYPE_configurable>
275
+ <PRODUCT_TYPE_grouped>
276
+ <reference name="product.info">
277
+ <block type="catalog/product_view_type_grouped" name="product.info.grouped" as="product_type_data" template="catalog/product/view/type/grouped.phtml">
278
+ <block type="core/text_list" name="product.info.grouped.extra" as="product_type_data_extra"/>
279
+ </block>
280
+ </reference>
281
+ </PRODUCT_TYPE_grouped>
282
+ <PRODUCT_TYPE_virtual>
283
+ <reference name="product.info">
284
+ <block type="catalog/product_view_type_virtual" name="product.info.virtual" as="product_type_data" template="catalog/product/view/type/virtual.phtml">
285
+ <block type="core/text_list" name="product.info.virtual.extra" as="product_type_data_extra"/>
286
+ </block>
287
+ </reference>
288
+ </PRODUCT_TYPE_virtual>
289
+
290
+ <!--
291
+ Product send to friend
292
+ -->
293
+
294
+ <catalog_product_send>
295
+ <!-- Mage_Catalog -->
296
+ <reference name="root">
297
+ <action method="setTemplate"><template>page/1column.phtml</template></action>
298
+ </reference>
299
+ <reference name="head">
300
+ <action method="addJs"><script>varien/product.js</script></action>
301
+ </reference>
302
+ <reference name="content">
303
+ <block type="catalog/product_send" name="product.send" template="catalog/product/send.phtml">
304
+ </block>
305
+ </reference>
306
+ </catalog_product_send>
307
+
308
+ <!--
309
+ Product additional images gallery popup
310
+ -->
311
+
312
+ <catalog_product_gallery>
313
+ <!-- Mage_Catalog -->
314
+ <reference name="root">
315
+ <action method="setTemplate"><template>page/one-column.phtml</template></action>
316
+ </reference>
317
+ <reference name="content">
318
+ <block type="catalog/product_gallery" name="catalog_product_gallery" template="catalog/product/gallery.phtml"/>
319
+ </reference>
320
+ </catalog_product_gallery>
321
+
322
+ <!--
323
+ SEO Site Map
324
+ -->
325
+
326
+ <catalog_seo_sitemap>
327
+ <remove name="right"/>
328
+ <remove name="left"/>
329
+
330
+ <reference name="root">
331
+ <action method="setTemplate"><template>page/1column.phtml</template></action>
332
+ </reference>
333
+ <reference name="content">
334
+ <block type="page/template_container" name="seo.sitemap.container" template="catalog/seo/sitemap/container.phtml">
335
+ <block type="page/template_links" name="seo.sitemap.links" as="links" template="page/template/links.phtml"/>
336
+ <block type="page/html_pager" name="seo.sitemap.pager.top" as="pager_top" template="page/html/pager.phtml"/>
337
+ <block type="page/html_pager" name="seo.sitemap.pager.bottom" as="pager_bottom" template="page/html/pager.phtml"/>
338
+ </block>
339
+ </reference>
340
+ </catalog_seo_sitemap>
341
+
342
+ <catalog_seo_sitemap_category>
343
+ <update handle="catalog_seo_sitemap" />
344
+ <reference name="seo.sitemap.container">
345
+ <action method="setTitle" translate="title" module="catalog"><title>Categories</title></action>
346
+ <block type="catalog/seo_sitemap_category" name="seo.sitemap.sitemap" as="sitemap" after="pager_top" template="catalog/seo/sitemap.phtml">
347
+ <action method="bindPager"><pager>seo.sitemap.pager.top</pager></action>
348
+ <action method="bindPager"><pager>seo.sitemap.pager.bottom</pager></action>
349
+ <action method="setItemsTitle" translate="title" module="catalog"><title>categories</title></action>
350
+ </block>
351
+ </reference>
352
+ <reference name="seo.sitemap.links">
353
+ <action method="addLink" translate="label title" module="catalog"><label>Products Sitemap</label><url helper="catalog/map/getProductUrl"/><title>Products Sitemap</title></action>
354
+ </reference>
355
+ </catalog_seo_sitemap_category>
356
+
357
+ <catalog_seo_sitemap_category_tree>
358
+ <reference name="seo.sitemap.container">
359
+ <remove name="seo.sitemap.pager.top" />
360
+ <remove name="seo.sitemap.pager.bottom" />
361
+ <block type="catalog/seo_sitemap_tree_pager" name="seo.sitemap.tree.pager.top" as="pager_top" template="page/html/pager.phtml"/>
362
+ <block type="catalog/seo_sitemap_tree_pager" name="seo.sitemap.tree.pager.bottom" as="pager_bottom" template="page/html/pager.phtml"/>
363
+ <remove name="seo.sitemap.sitemap" />
364
+ <block type="catalog/seo_sitemap_tree_category" name="seo.sitemap.sitemap_tree" as="sitemap" after="pager_top" template="catalog/seo/tree.phtml">
365
+ <action method="bindPager"><pager>seo.sitemap.tree.pager.top</pager></action>
366
+ <action method="bindPager"><pager>seo.sitemap.tree.pager.bottom</pager></action>
367
+ </block>
368
+ </reference>
369
+ </catalog_seo_sitemap_category_tree>
370
+
371
+ <catalog_seo_sitemap_product>
372
+ <update handle="catalog_seo_sitemap" />
373
+ <reference name="seo.sitemap.container">
374
+ <action method="setTitle" translate="title" module="catalog"><title>Products</title></action>
375
+ <block type="catalog/seo_sitemap_product" name="seo.sitemap.sitemap" as="sitemap" after="pager_top" template="catalog/seo/sitemap.phtml">
376
+ <action method="bindPager"><pager>seo.sitemap.pager.top</pager></action>
377
+ <action method="bindPager"><pager>seo.sitemap.pager.bottom</pager></action>
378
+ <action method="setItemsTitle" translate="title" module="catalog"><title>products</title></action>
379
+ </block>
380
+ </reference>
381
+ <reference name="seo.sitemap.links">
382
+ <action method="addLink" translate="label title" module="catalog"><label>Categories Sitemap</label><url helper="catalog/map/getCategoryUrl"/><title>Categories Sitemap</title></action>
383
+ </reference>
384
+ </catalog_seo_sitemap_product>
385
+
386
+
387
+ <!--
388
+ Catalog search terms block
389
+ -->
390
+
391
+ <catalog_seo_searchterm_popular>
392
+ <remove name="right"/>
393
+ <remove name="left"/>
394
+ <reference name="root">
395
+ <action method="setTemplate"><template>page/1column.phtml</template></action>
396
+ </reference>
397
+ <reference name="content">
398
+ <block type="catalog/seo_searchterm" name="seo.searchterm" template="catalog/seo/searchterm.phtml"/>
399
+ </reference>
400
+ </catalog_seo_searchterm_popular>
401
+
402
+ </layout>
app/design/frontend/default/iphone/layout/catalogsearch.xml ADDED
@@ -0,0 +1,126 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ /**
4
+ * Magento
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the Academic Free License (AFL 3.0)
9
+ * that is bundled with this package in the file LICENSE_AFL.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://opensource.org/licenses/afl-3.0.php
12
+ * If you did not receive a copy of the license and are unable to
13
+ * obtain it through the world-wide-web, please send an email
14
+ * to license@magentocommerce.com so we can send you a copy immediately.
15
+ *
16
+ * DISCLAIMER
17
+ *
18
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
19
+ * versions in the future. If you wish to customize Magento for your
20
+ * needs please refer to http://www.magentocommerce.com for more information.
21
+ *
22
+ * @category design
23
+ * @package default_iphone
24
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
25
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
26
+ */
27
+
28
+ -->
29
+ <layout version="0.1.0">
30
+
31
+ <default>
32
+ <reference name="header">
33
+ <block type="core/template" name="top.search" as="topSearch" template="catalogsearch/form.mini.phtml"/>
34
+ </reference>
35
+ <reference name="footer_links">
36
+ <action method="addLink" translate="label title" module="catalogsearch" ifconfig="catalog/seo/search_terms"><label>Search Terms</label><url helper="catalogsearch/getSearchTermUrl" /><title>Search Terms</title></action>
37
+ <action method="addLink" translate="label title" module="catalogsearch"><label>Advanced Search</label><url helper="catalogsearch/getAdvancedSearchUrl" /><title>Advanced Search</title></action>
38
+ </reference>
39
+ </default>
40
+
41
+ <catalogsearch_result_index>
42
+ <remove name="right.newsletter" />
43
+ <remove name="right.reports.product.viewed" />
44
+ <reference name="root">
45
+ <action method="setTemplate"><template>page/3columns.phtml</template></action>
46
+ </reference>
47
+ <reference name="left">
48
+ <block type="newsletter/subscribe" name="left.newsletter" template="newsletter/subscribe.phtml"/>
49
+ </reference>
50
+ <reference name="content">
51
+ <block type="catalogsearch/result" name="search.result" template="catalogsearch/result.phtml">
52
+ <block type="catalog/product_list" name="search_result_list" template="catalog/product/list.phtml">
53
+ <block type="catalog/product_list_toolbar" name="product_list_toolbar" template="catalog/product/list/toolbar.phtml">
54
+ <block type="page/html_pager" name="product_list_toolbar_pager"/>
55
+ </block>
56
+ <action method="addColumnCountLayoutDepend"><layout>empty</layout><count>6</count></action>
57
+ <action method="addColumnCountLayoutDepend"><layout>one_column</layout><count>5</count></action>
58
+ <action method="addColumnCountLayoutDepend"><layout>two_columns_left</layout><count>4</count></action>
59
+ <action method="addColumnCountLayoutDepend"><layout>two_columns_right</layout><count>4</count></action>
60
+ <action method="addColumnCountLayoutDepend"><layout>three_columns</layout><count>3</count></action>
61
+ <action method="setToolbarBlockName"><name>product_list_toolbar</name></action>
62
+ </block>
63
+ <action method="setListOrders"/>
64
+ <action method="setListModes"/>
65
+ <action method="setListCollection"/>
66
+ </block>
67
+ </reference>
68
+
69
+ <reference name="right">
70
+ <block type="reports/product_viewed" before="right.permanent.callout" name="left.reports.product.viewed" template="reports/product_viewed.phtml" />
71
+ </reference>
72
+ </catalogsearch_result_index>
73
+
74
+ <catalogsearch_advanced_index>
75
+ <!-- Mage_Catalogsearch -->
76
+ <reference name="root">
77
+ <action method="setTemplate"><template>page/2columns-right.phtml</template></action>
78
+ </reference>
79
+ <reference name="head">
80
+ <action method="addItem"><type>js_css</type><name>calendar/calendar-win2k-1.css</name><params/><!--<if/><condition>can_load_calendar_js</condition>--></action>
81
+ <action method="addItem"><type>js</type><name>calendar/calendar.js</name><!--<params/><if/><condition>can_load_calendar_js</condition>--></action>
82
+ <action method="addItem"><type>js</type><name>calendar/calendar-setup.js</name><!--<params/><if/><condition>can_load_calendar_js</condition>--></action>
83
+ </reference>
84
+ <reference name="content">
85
+ <block type="catalogsearch/advanced_form" name="catalogsearch_advanced_form" template="catalogsearch/advanced/form.phtml"/>
86
+ <block type="core/html_calendar" name="html_calendar" as="html_calendar" template="page/js/calendar.phtml"/>
87
+ </reference>
88
+ </catalogsearch_advanced_index>
89
+
90
+ <!--
91
+ Advanced search results
92
+ -->
93
+
94
+ <catalogsearch_advanced_result>
95
+ <!-- Mage_Catalogsearch -->
96
+ <reference name="root">
97
+ <action method="setTemplate"><template>page/2columns-right.phtml</template></action>
98
+ </reference>
99
+ <reference name="content">
100
+ <block type="catalogsearch/advanced_result" name="catalogsearch_advanced_result" template="catalogsearch/advanced/result.phtml">
101
+ <block type="catalog/product_list" name="search_result_list" template="catalog/product/list.phtml">
102
+ <block type="catalog/product_list_toolbar" name="product_list_toolbar" template="catalog/product/list/toolbar.phtml">
103
+ <block type="page/html_pager" name="product_list_toolbar_pager"/>
104
+ </block>
105
+ <action method="setToolbarBlockName"><name>product_list_toolbar</name></action>
106
+ </block>
107
+ <action method="setListOrders"/>
108
+ <action method="setListModes"/>
109
+ <action method="setListCollection"/>
110
+ </block>
111
+ </reference>
112
+ </catalogsearch_advanced_result>
113
+
114
+ <catalogsearch_term_popular>
115
+ <remove name="right"/>
116
+ <remove name="left"/>
117
+
118
+ <reference name="root">
119
+ <action method="setTemplate"><template>page/1column.phtml</template></action>
120
+ </reference>
121
+ <reference name="content">
122
+ <block type="catalogsearch/term" name="seo.searchterm" template="catalogsearch/term.phtml"/>
123
+ </reference>
124
+ </catalogsearch_term_popular>
125
+
126
+ </layout>
app/design/frontend/default/iphone/layout/checkout.xml ADDED
@@ -0,0 +1,369 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ /**
4
+ * Magento
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the Academic Free License (AFL 3.0)
9
+ * that is bundled with this package in the file LICENSE_AFL.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://opensource.org/licenses/afl-3.0.php
12
+ * If you did not receive a copy of the license and are unable to
13
+ * obtain it through the world-wide-web, please send an email
14
+ * to license@magentocommerce.com so we can send you a copy immediately.
15
+ *
16
+ * DISCLAIMER
17
+ *
18
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
19
+ * versions in the future. If you wish to customize Magento for your
20
+ * needs please refer to http://www.magentocommerce.com for more information.
21
+ *
22
+ * @category design
23
+ * @package default_iphone
24
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
25
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
26
+ */
27
+
28
+ -->
29
+ <layout version="0.1.0">
30
+
31
+ <!--
32
+ Default layout, loads most of the pages
33
+ -->
34
+
35
+ <default>
36
+
37
+ <!-- Mage_Checkout -->
38
+ <reference name="top.links">
39
+ <block type="checkout/links" name="checkout_cart_link">
40
+ <action method="addCartLink"></action>
41
+ <action method="addCheckoutLink"></action>
42
+ </block>
43
+ </reference>
44
+ <reference name="right">
45
+ <block type="checkout/cart_sidebar" name="cart_sidebar" before="-" template="checkout/cart/sidebar.phtml">
46
+ <block type="core/text_list" name="cart_sidebar.extra_actions" as="extra_actions"/>
47
+ </block>
48
+ </reference>
49
+ <reference name="head">
50
+ <block type="core/template" name="optional_zip_countries" as="optional_zip_countries" template="directory/js/optional_zip_countries.phtml" />
51
+ </reference>
52
+
53
+ </default>
54
+
55
+ <checkout_cart_index>
56
+ <remove name="right"/>
57
+ <remove name="left"/>
58
+ <!-- Mage_Checkout -->
59
+ <reference name="root">
60
+ <action method="setTemplate"><template>page/1column.phtml</template></action>
61
+ </reference>
62
+ <reference name="content">
63
+ <block type="checkout/cart" name="checkout.cart">
64
+ <action method="setCartTemplate"><value>checkout/cart.phtml</value></action>
65
+ <action method="setEmptyTemplate"><value>checkout/cart/noItems.phtml</value></action>
66
+ <action method="chooseTemplate"/>
67
+
68
+ <block type="core/text_list" name="checkout.cart.top_methods" as="top_methods">
69
+ <block type="checkout/onepage_link" name="checkout.cart.methods.onepage" template="checkout/onepage/link.phtml"/>
70
+ </block>
71
+
72
+ <block type="core/text_list" name="checkout.cart.methods" as="methods">
73
+ <block type="checkout/onepage_link" name="checkout.cart.methods.onepage" template="checkout/onepage/link.phtml"/>
74
+ <block type="checkout/multishipping_link" name="checkout.cart.methods.multishipping" template="checkout/multishipping/link.phtml"/>
75
+ </block>
76
+
77
+ <block type="checkout/cart_totals" name="checkout.cart.totals" as="totals" template="checkout/cart/totals.phtml"/>
78
+
79
+ <block type="checkout/cart_coupon" name="checkout.cart.coupon" as="coupon" template="checkout/cart/coupon.phtml"/>
80
+ <block type="checkout/cart_shipping" name="checkout.cart.shipping" as="shipping" template="checkout/cart/shipping.phtml"/>
81
+ <block type="checkout/cart_crosssell" name="checkout.cart.crosssell" as="crosssell" template="checkout/cart/crosssell.phtml"/>
82
+ </block>
83
+ </reference>
84
+ </checkout_cart_index>
85
+
86
+ <!--
87
+ Multi address shipping checkout main layout,
88
+ will be rendered on all checkout pages
89
+ -->
90
+
91
+ <checkout_multishipping>
92
+ <!-- Mage_Checkout -->
93
+ <remove name="right"/>
94
+ <remove name="left"/>
95
+
96
+ <reference name="root">
97
+ <action method="setTemplate"><template>page/1column.phtml</template></action>
98
+ </reference>
99
+ <reference name="content">
100
+ <block type="checkout/multishipping_state" name="checkout_state" template="checkout/multishipping/state.phtml"/>
101
+ </reference>
102
+ </checkout_multishipping>
103
+
104
+ <checkout_multishipping_login>
105
+ <update handle="customer_account_login"/>
106
+ </checkout_multishipping_login>
107
+
108
+ <checkout_multishipping_register>
109
+ <update handle="customer_account_create"/>
110
+ </checkout_multishipping_register>
111
+
112
+ <!--
113
+ Multi address shipping checkout selection of address per item page
114
+ -->
115
+
116
+ <checkout_multishipping_address_select>
117
+ <update handle="checkout_multishipping"/>
118
+ <!-- Mage_Checkout -->
119
+ <reference name="content">
120
+ <block type="checkout/multishipping_address_select" name="checkout_address_select" template="checkout/multishipping/address/select.phtml"/>
121
+ </reference>
122
+ </checkout_multishipping_address_select>
123
+
124
+ <checkout_multishipping_address_selectbilling>
125
+ <update handle="checkout_multishipping"/>
126
+ <!-- Mage_Checkout -->
127
+ <reference name="content">
128
+ <block type="checkout/multishipping_address_select" name="checkout_address_select" template="checkout/multishipping/address/select.phtml"/>
129
+ </reference>
130
+ </checkout_multishipping_address_selectbilling>
131
+
132
+
133
+ <checkout_multishipping_address_newshipping>
134
+ <update handle="checkout_multishipping"/>
135
+ <update handle="checkout_multishipping_customer_address"/>
136
+ </checkout_multishipping_address_newshipping>
137
+
138
+ <checkout_multishipping_address_newbilling>
139
+ <update handle="checkout_multishipping"/>
140
+ <update handle="checkout_multishipping_customer_address"/>
141
+ </checkout_multishipping_address_newbilling>
142
+
143
+ <checkout_multishipping_address_editshipping>
144
+ <update handle="checkout_multishipping"/>
145
+ <update handle="checkout_multishipping_customer_address"/>
146
+ </checkout_multishipping_address_editshipping>
147
+
148
+ <checkout_multishipping_address_editaddress>
149
+ <update handle="checkout_multishipping"/>
150
+ <update handle="checkout_multishipping_customer_address"/>
151
+ </checkout_multishipping_address_editaddress>
152
+
153
+ <checkout_multishipping_address_editbilling>
154
+ <update handle="checkout_multishipping"/>
155
+ <update handle="checkout_multishipping_customer_address"/>
156
+ </checkout_multishipping_address_editbilling>
157
+
158
+ <checkout_multishipping_customer_address>
159
+ <reference name="content">
160
+ <block type="customer/address_edit" name="customer_address_edit" template="customer/address/edit.phtml"/>
161
+ </reference>
162
+ </checkout_multishipping_customer_address>
163
+
164
+ <!--
165
+ Multi address shipping checkout address page
166
+ -->
167
+
168
+ <checkout_multishipping_addresses>
169
+ <update handle="checkout_multishipping"/>
170
+ <!-- Mage_Checkout -->
171
+ <reference name="content">
172
+ <block type="checkout/multishipping_addresses" name="checkout_addresses" template="checkout/multishipping/addresses.phtml">
173
+ <action method="addItemRender"><type>default</type><block>checkout/cart_item_renderer</block><template>checkout/multishipping/item/default.phtml</template></action>
174
+ <action method="addItemRender"><type>grouped</type><block>checkout/cart_item_renderer_grouped</block><template>checkout/multishipping/item/default.phtml</template></action>
175
+ <action method="addItemRender"><type>configurable</type><block>checkout/cart_item_renderer_configurable</block><template>checkout/multishipping/item/default.phtml</template></action>
176
+ </block>
177
+ </reference>
178
+ </checkout_multishipping_addresses>
179
+
180
+ <!--
181
+ Multi address shipping checkout shipping information
182
+ -->
183
+
184
+ <checkout_multishipping_shipping>
185
+ <update handle="checkout_multishipping"/>
186
+ <!-- Mage_Checkout -->
187
+ <reference name="content">
188
+ <block type="checkout/multishipping_shipping" name="checkout_shipping" template="checkout/multishipping/shipping.phtml">
189
+ <action method="addItemRender"><type>default</type><block>checkout/cart_item_renderer</block><template>checkout/multishipping/item/default.phtml</template></action>
190
+ <action method="addItemRender"><type>grouped</type><block>checkout/cart_item_renderer_grouped</block><template>checkout/multishipping/item/default.phtml</template></action>
191
+ <action method="addItemRender"><type>configurable</type><block>checkout/cart_item_renderer_configurable</block><template>checkout/multishipping/item/default.phtml</template></action>
192
+
193
+ <block type="checkout/multishipping_billing_items" name="checkout_billing_items" template="checkout/multishipping/billing/items.phtml">
194
+ <action method="addItemRender"><type>default</type><block>checkout/cart_item_renderer</block><template>checkout/multishipping/item/default.phtml</template></action>
195
+ <action method="addItemRender"><type>grouped</type><block>checkout/cart_item_renderer_grouped</block><template>checkout/multishipping/item/default.phtml</template></action>
196
+ <action method="addItemRender"><type>configurable</type><block>checkout/cart_item_renderer_configurable</block><template>checkout/multishipping/item/default.phtml</template></action>
197
+ </block>
198
+ </block>
199
+ </reference>
200
+ </checkout_multishipping_shipping>
201
+
202
+ <!--
203
+ Multi address shipping checkout billing information
204
+ -->
205
+
206
+ <checkout_multishipping_billing>
207
+ <update handle="checkout_multishipping"/>
208
+ <!-- Mage_Checkout -->
209
+ <reference name="content">
210
+ <block type="checkout/multishipping_billing" name="checkout_billing" template="checkout/multishipping/billing.phtml">
211
+ <action method="setMethodFormTemplate"><method>purchaseorder</method><template>payment/form/purchaseorder.phtml</template></action>
212
+ </block>
213
+ </reference>
214
+ </checkout_multishipping_billing>
215
+
216
+ <!--
217
+ Multi address shipping checkout overview
218
+ -->
219
+
220
+ <checkout_multishipping_overview>
221
+ <update handle="checkout_multishipping"/>
222
+ <!-- Mage_Checkout -->
223
+ <reference name="content">
224
+ <block type="checkout/multishipping_overview" name="checkout_overview" template="checkout/multishipping/overview.phtml">
225
+ <action method="addItemRender"><type>default</type><block>checkout/cart_item_renderer</block><template>checkout/multishipping/item/default.phtml</template></action>
226
+ <action method="addItemRender"><type>grouped</type><block>checkout/cart_item_renderer_grouped</block><template>checkout/multishipping/item/default.phtml</template></action>
227
+ <action method="addItemRender"><type>configurable</type><block>checkout/cart_item_renderer_configurable</block><template>checkout/multishipping/item/default.phtml</template></action>
228
+ <block type="checkout/multishipping_payment_info" name="payment_info">
229
+ <action method="setInfoTemplate"><method></method><template></template></action>
230
+ </block>
231
+ <block type="checkout/agreements" name="checkout.multishipping.agreements" as="agreements" template="checkout/multishipping/agreements.phtml"/>
232
+ <block type="checkout/cart_totals" name="totals" />
233
+ <block type="core/text_list" name="checkout.multishipping.overview.items.after" as="items_after"/>
234
+ </block>
235
+ </reference>
236
+ </checkout_multishipping_overview>
237
+
238
+ <!--
239
+ Multi address shipping checkout success
240
+ -->
241
+
242
+ <checkout_multishipping_success>
243
+ <update handle="checkout_multishipping"/>
244
+ <!-- Mage_Checkout -->
245
+ <reference name="content">
246
+ <block type="checkout/multishipping_success" name="checkout_success" template="checkout/multishipping/success.phtml"/>
247
+ </reference>
248
+ </checkout_multishipping_success>
249
+
250
+ <!--
251
+ One page checkout main layout
252
+ -->
253
+
254
+ <checkout_onepage_index>
255
+ <!-- Mage_Checkout -->
256
+ <remove name="left"/>
257
+
258
+ <reference name="root">
259
+ <action method="setTemplate"><template>page/1column.phtml</template></action>
260
+ </reference>
261
+ <reference name="content">
262
+ <block type="checkout/onepage" name="checkout.onepage" template="checkout/onepage.phtml">
263
+ <block type="checkout/onepage_login" name="checkout.onepage.login" as="login" template="checkout/onepage/login.phtml"/>
264
+ <block type="checkout/onepage_billing" name="checkout.onepage.billing" as="billing" template="checkout/onepage/billing.phtml"/>
265
+ <block type="checkout/onepage_shipping" name="checkout.onepage.shipping" as="shipping" template="checkout/onepage/shipping.phtml"/>
266
+ <block type="checkout/onepage_shipping_method" name="checkout.onepage.shipping_method" as="shipping_method" template="checkout/onepage/shipping_method.phtml">
267
+ <block type="checkout/onepage_shipping_method_available" name="checkout.onepage.shipping_method.available" as="available" template="checkout/onepage/shipping_method/available.phtml"/>
268
+ <block type="checkout/onepage_shipping_method_additional" name="checkout.onepage.shipping_method.additional" as="additional" template="checkout/onepage/shipping_method/additional.phtml"/>
269
+ </block>
270
+ <block type="checkout/onepage_payment" name="checkout.onepage.payment" as="payment" template="checkout/onepage/payment.phtml">
271
+ <block type="checkout/onepage_payment_methods" name="checkout.payment.methods" as="methods" template="checkout/onepage/payment/methods.phtml">
272
+ <action method="setMethodFormTemplate"><method>purchaseorder</method><template>payment/form/purchaseorder.phtml</template></action>
273
+ </block>
274
+ </block>
275
+ <block type="checkout/onepage_review" name="checkout.onepage.review" as="review" template="checkout/onepage/review.phtml">
276
+ <block type="checkout/agreements" name="checkout.onepage.agreements" as="agreements" template="checkout/onepage/agreements.phtml"/>
277
+ </block>
278
+ </block>
279
+ </reference>
280
+ </checkout_onepage_index>
281
+
282
+ <!--
283
+ One page checkout progress block
284
+ -->
285
+
286
+ <checkout_onepage_progress>
287
+ <!-- Mage_Checkout -->
288
+ <remove name="right"/>
289
+ <remove name="left"/>
290
+
291
+ <block type="checkout/onepage_progress" name="root" output="toHtml" template="checkout/onepage/progress.phtml">
292
+ <block type="checkout/onepage_payment_info" name="payment_info">
293
+ <action method="setInfoTemplate"><method></method><template></template></action>
294
+ </block>
295
+ </block>
296
+ </checkout_onepage_progress>
297
+
298
+ <!--
299
+ One page checkout payment methods block
300
+ -->
301
+ <checkout_onepage_paymentmethod>
302
+ <remove name="right"/>
303
+ <remove name="left"/>
304
+
305
+ <block type="checkout/onepage_payment_methods" name="root" output="toHtml" template="checkout/onepage/payment/methods.phtml">
306
+ <action method="setMethodFormTemplate"><method>purchaseorder</method><template>payment/form/purchaseorder.phtml</template></action>
307
+ </block>
308
+ </checkout_onepage_paymentmethod>
309
+
310
+
311
+ <!--
312
+ One page checkout shipping methods block
313
+ -->
314
+
315
+ <checkout_onepage_shippingmethod>
316
+ <!-- Mage_Checkout -->
317
+ <remove name="right"/>
318
+ <remove name="left"/>
319
+
320
+ <block type="checkout/onepage_shipping_method_available" name="root" output="toHtml" template="checkout/onepage/shipping_method/available.phtml"/>
321
+ </checkout_onepage_shippingmethod>
322
+
323
+ <checkout_onepage_additional>
324
+ <!-- Mage_Checkout -->
325
+ <remove name="right"/>
326
+ <remove name="left"/>
327
+
328
+ <block type="checkout/onepage_shipping_method_additional" name="root" output="toHtml" template="checkout/onepage/shipping_method/additional.phtml">
329
+ <action method="setDontDisplayContainer"><param>1</param></action>
330
+ </block>
331
+ </checkout_onepage_additional>
332
+
333
+ <!--
334
+ One page checkout order review block
335
+ -->
336
+
337
+ <checkout_onepage_review>
338
+ <!-- Mage_Checkout -->
339
+ <remove name="right"/>
340
+ <remove name="left"/>
341
+
342
+ <block type="checkout/onepage_review_info" name="root" output="toHtml" template="checkout/onepage/review/info.phtml">
343
+ <action method="addItemRender"><type>default</type><block>checkout/cart_item_renderer</block><template>checkout/onepage/review/item.phtml</template></action>
344
+ <action method="addItemRender"><type>grouped</type><block>checkout/cart_item_renderer_grouped</block><template>checkout/onepage/review/item.phtml</template></action>
345
+ <action method="addItemRender"><type>configurable</type><block>checkout/cart_item_renderer_configurable</block><template>checkout/onepage/review/item.phtml</template></action>
346
+ <block type="checkout/cart_totals" name="checkout.onepage.review.info.totals" as="totals" template="checkout/onepage/review/totals.phtml"/>
347
+ <block type="core/text_list" name="checkout.onepage.review.info.items.before" as="items_before"/>
348
+ </block>
349
+ </checkout_onepage_review>
350
+
351
+ <checkout_onepage_success>
352
+ <reference name="root">
353
+ <action method="setTemplate"><template>page/1column.phtml</template></action>
354
+ </reference>
355
+ <reference name="content">
356
+ <block type="checkout/onepage_success" name="checkout.success" template="checkout/success.phtml"/>
357
+ </reference>
358
+ </checkout_onepage_success>
359
+
360
+ <checkout_onepage_failure>
361
+ <reference name="root">
362
+ <action method="setTemplate"><template>page/1column.phtml</template></action>
363
+ </reference>
364
+ <reference name="content">
365
+ <block type="checkout/onepage_failure" name="checkout.failure" template="checkout/onepage/failure.phtml"/>
366
+ </reference>
367
+ </checkout_onepage_failure>
368
+
369
+ </layout>
app/design/frontend/default/iphone/layout/cms.xml ADDED
@@ -0,0 +1,79 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ /**
4
+ * Magento
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the Academic Free License (AFL 3.0)
9
+ * that is bundled with this package in the file LICENSE_AFL.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://opensource.org/licenses/afl-3.0.php
12
+ * If you did not receive a copy of the license and are unable to
13
+ * obtain it through the world-wide-web, please send an email
14
+ * to license@magentocommerce.com so we can send you a copy immediately.
15
+ *
16
+ * DISCLAIMER
17
+ *
18
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
19
+ * versions in the future. If you wish to customize Magento for your
20
+ * needs please refer to http://www.magentocommerce.com for more information.
21
+ *
22
+ * @category design
23
+ * @package default_iphone
24
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
25
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
26
+ */
27
+ -->
28
+ <layout version="0.1.0">
29
+ <!--
30
+ Default layout, loads most of the pages
31
+ -->
32
+ <default>
33
+ <reference name="footer">
34
+ <block type="cms/block" name="cms_footer_links" before="footer_links">
35
+ <!--
36
+ The content of this block is taken from the database by its block_id.
37
+ You can manage it in admin CMS -> Static Blocks
38
+ -->
39
+ <action method="setBlockId"><block_id>footer_links</block_id></action>
40
+ </block>
41
+ </reference>
42
+ </default>
43
+
44
+ <cms_index_index>
45
+ <block type="catalog/navigation" name="cms_page" template="catalog/navigation/top.phtml" />
46
+ </cms_index_index>
47
+
48
+ <cms_page>
49
+ <reference name="content">
50
+ <block type="core/template" name="page_content_heading" template="cms/content_heading.phtml"/>
51
+ <block type="cms/page" name="cms_page"/>
52
+ </reference>
53
+ </cms_page>
54
+
55
+ <cms_index_defaultindex>
56
+ <remove name="right"/>
57
+ <remove name="left"/>
58
+
59
+ <reference name="root">
60
+ <action method="setTemplate"><template>page/1column.phtml</template></action>
61
+ </reference>
62
+ <reference name="content">
63
+ <block type="core/template" name="default_home_page" template="cms/default/home.phtml"/>
64
+ </reference>
65
+ </cms_index_defaultindex>
66
+
67
+ <cms_index_defaultnoroute>
68
+ <remove name="right"/>
69
+ <remove name="left"/>
70
+
71
+ <reference name="root">
72
+ <action method="setTemplate"><template>page/1column.phtml</template></action>
73
+ </reference>
74
+ <reference name="content">
75
+ <block type="core/template" name="default_no_route" template="cms/default/no-route.phtml"/>
76
+ </reference>
77
+ </cms_index_defaultnoroute>
78
+
79
+ </layout>
app/design/frontend/default/iphone/layout/contacts.xml ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ /**
4
+ * Magento
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the Academic Free License (AFL 3.0)
9
+ * that is bundled with this package in the file LICENSE_AFL.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://opensource.org/licenses/afl-3.0.php
12
+ * If you did not receive a copy of the license and are unable to
13
+ * obtain it through the world-wide-web, please send an email
14
+ * to license@magentocommerce.com so we can send you a copy immediately.
15
+ *
16
+ * DISCLAIMER
17
+ *
18
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
19
+ * versions in the future. If you wish to customize Magento for your
20
+ * needs please refer to http://www.magentocommerce.com for more information.
21
+ *
22
+ * @category design
23
+ * @package default_iphone
24
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
25
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
26
+ */
27
+ -->
28
+ <layout version="0.1.0">
29
+ <default>
30
+ <reference name="footer_links">
31
+ <action method="addLink" translate="label title" module="contacts" ifconfig="contacts/contacts/enabled"><label>Contact Us</label><url>contacts</url><title>Contact Us</title><prepare>true</prepare></action>
32
+ </reference>
33
+ </default>
34
+
35
+ <contacts_index_index>
36
+ <reference name="root">
37
+ <action method="setTemplate"><template>page/1column.phtml</template></action>
38
+ <action method="setHeaderTitle" translate="title" module="contacts"><title>Contact Us</title></action>
39
+ </reference>
40
+ <reference name="content">
41
+ <block type="core/template" name="contactForm" template="contacts/form.phtml"/>
42
+ </reference>
43
+ </contacts_index_index>
44
+ </layout>
app/design/frontend/default/iphone/layout/core.xml ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ /**
4
+ * Magento
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the Academic Free License (AFL 3.0)
9
+ * that is bundled with this package in the file LICENSE_AFL.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://opensource.org/licenses/afl-3.0.php
12
+ * If you did not receive a copy of the license and are unable to
13
+ * obtain it through the world-wide-web, please send an email
14
+ * to license@magentocommerce.com so we can send you a copy immediately.
15
+ *
16
+ * DISCLAIMER
17
+ *
18
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
19
+ * versions in the future. If you wish to customize Magento for your
20
+ * needs please refer to http://www.magentocommerce.com for more information.
21
+ *
22
+ * @category design
23
+ * @package default_iphone
24
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
25
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
26
+ */
27
+
28
+ -->
29
+ <layout version="0.1.0">
30
+ <default>
31
+ <block name="formkey" type="core/template" template="core/formkey.phtml" />
32
+ </default>
33
+ </layout>
app/design/frontend/default/iphone/layout/customer.xml ADDED
@@ -0,0 +1,222 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ /**
4
+ * Magento
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the Academic Free License (AFL 3.0)
9
+ * that is bundled with this package in the file LICENSE_AFL.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://opensource.org/licenses/afl-3.0.php
12
+ * If you did not receive a copy of the license and are unable to
13
+ * obtain it through the world-wide-web, please send an email
14
+ * to license@magentocommerce.com so we can send you a copy immediately.
15
+ *
16
+ * DISCLAIMER
17
+ *
18
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
19
+ * versions in the future. If you wish to customize Magento for your
20
+ * needs please refer to http://www.magentocommerce.com for more information.
21
+ *
22
+ * @category design
23
+ * @package default_iphone
24
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
25
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
26
+ */
27
+
28
+ Supported layout update handles (action):
29
+ - customer_account_index
30
+ - customer_address_index
31
+ - customer_address_view
32
+ - customer_account_login
33
+ - customer_account_logoutsuccess
34
+ - customer_account_create
35
+ - customer_account_forgotpassword
36
+ - customer_account_edit
37
+
38
+ Supported layout update handles (special):
39
+ - default
40
+
41
+ -->
42
+ <layout version="0.1.0">
43
+ <!--
44
+ Default layout, loads most of the pages
45
+ -->
46
+ <default>
47
+ <!-- Mage_Customer -->
48
+ <reference name="top.links">
49
+ <action method="addLink" translate="label title" module="customer"><label>Catalog</label><url>{{baseUrl}}</url><title>Catalog</title><prepare/><urlParams/><position>9</position></action>
50
+ </reference>
51
+ <reference name="user_links">
52
+ <action method="addLink" translate="label title" module="customer"><label>Account</label><url helper="customer/getAccountUrl"/><title>My Account</title><prepare/><urlParams/><position>2</position></action>
53
+ </reference>
54
+ <reference name="user_links">
55
+ <action method="addLink" translate="label title" module="customer"><label>Search</label><url>javascript:void(0);</url>><title>Search</title><prepare/><urlParams/><position>0</position><li/><a>onClick="showSearchForm(1);"</a></action>
56
+ </reference>
57
+ </default>
58
+ <!--
59
+ Load this update on every page when customer is logged in
60
+ -->
61
+ <customer_logged_in>
62
+ <reference name="user_links">
63
+ <action method="addLink" translate="label title" module="customer"><label>Log Out</label><url helper="customer/getLogoutUrl"/><title>Log Out</title><prepare/><urlParams/><position>1</position></action>
64
+ </reference>
65
+ </customer_logged_in>
66
+ <!--
67
+ Load this update on every page when customer is logged out
68
+ -->
69
+ <customer_logged_out>
70
+ <reference name="user_links">
71
+ <action method="addLink" translate="label title" module="customer"><label>Log In</label><url helper="customer/getLoginUrl"/><title>Log In</title><prepare/><urlParams/><position>1</position></action>
72
+ </reference>
73
+ <remove name="wishlist_sidebar"></remove>
74
+ <remove name="reorder"></remove>
75
+ </customer_logged_out>
76
+ <!--
77
+ Layout for customer login page
78
+ -->
79
+ <customer_account_login>
80
+ <!-- Mage_Customer -->
81
+ <remove name="right"/>
82
+ <remove name="left"/>
83
+
84
+ <reference name="root">
85
+ <action method="setTemplate"><template>page/1column.phtml</template></action>
86
+ </reference>
87
+ <reference name="content">
88
+ <block type="customer/form_login" name="customer_form_login" template="customer/form/login.phtml"/>
89
+ </reference>
90
+ </customer_account_login>
91
+ <!--
92
+ Layout for customer log out page
93
+ -->
94
+ <customer_account_logoutsuccess>
95
+ <!-- Mage_Customer -->
96
+ <remove name="right"/>
97
+ <remove name="left"/>
98
+
99
+ <reference name="root">
100
+ <action method="setTemplate"><template>page/1column.phtml</template></action>
101
+ </reference>
102
+ <reference name="content">
103
+ <block type="core/template" name="customer_logout" template="customer/logout.phtml"/>
104
+ </reference>
105
+ </customer_account_logoutsuccess>
106
+ <!--
107
+ New customer registration
108
+ -->
109
+ <customer_account_create>
110
+ <!-- Mage_Customer -->
111
+ <remove name="right"/>
112
+ <remove name="left"/>
113
+
114
+ <reference name="head">
115
+ <block type="core/template" name="optional_zip_countries" as="optional_zip_countries" template="directory/js/optional_zip_countries.phtml" />
116
+ </reference>
117
+ <reference name="root">
118
+ <action method="setTemplate"><template>page/1column.phtml</template></action>
119
+ </reference>
120
+ <reference name="content">
121
+ <block type="customer/form_register" name="customer_form_register" template="customer/form/register.phtml"/>
122
+ </reference>
123
+ </customer_account_create>
124
+
125
+ <customer_account_forgotpassword>
126
+ <remove name="right"/>
127
+ <remove name="left"/>
128
+
129
+ <reference name="root">
130
+ <action method="setTemplate"><template>page/1column.phtml</template></action>
131
+ <action method="setHeaderTitle" translate="title" module="customer"><title>Password forgotten</title></action>
132
+ </reference>
133
+ <reference name="content">
134
+ <!--<block type="core/template" name="forgotPassword" template="customer/form/forgotpassword.phtml"/>-->
135
+ <block type="customer/account_forgotpassword" name="forgotPassword" template="customer/form/forgotpassword.phtml"/>
136
+ </reference>
137
+ </customer_account_forgotpassword>
138
+
139
+ <customer_account_edit>
140
+ <update handle="customer_account"/>
141
+ <reference name="root">
142
+ <action method="setHeaderTitle" translate="title" module="customer"><title>Edit Account Info</title></action>
143
+ </reference>
144
+ <reference name="content">
145
+ <block type="customer/form_edit" name="customer_edit" template="customer/form/edit.phtml"/>
146
+ </reference>
147
+
148
+ <reference name="left">
149
+ <action method="unsetChild"><name>left.permanent.callout</name></action>
150
+ </reference>
151
+ </customer_account_edit>
152
+ <!--
153
+ Customer account pages, rendered for all tabs in dashboard
154
+ -->
155
+ <customer_account>
156
+ <!-- Mage_Customer -->
157
+ <reference name="root">
158
+ <action method="setTemplate"><template>page/1column.phtml</template></action>
159
+ </reference>
160
+
161
+ <reference name="left">
162
+ <block type="customer/account_navigation" name="customer_account_navigation" before="-" template="customer/account/navigation.phtml">
163
+ <action method="addLink" translate="label" module="customer"><name>account</name><path>customer/account/</path><label>Account Dashboard</label></action>
164
+ <action method="addLink" translate="label" module="customer"><name>account_edit</name><path>customer/account/edit/</path><label>Account Information</label></action>
165
+ <action method="addLink" translate="label" module="customer"><name>address_book</name><path>customer/address/</path><label>Address Book</label></action>
166
+ </block>
167
+ <reference name="left">
168
+
169
+ <block type="checkout/cart_sidebar" name="cart_sidebar" template="checkout/cart/sidebar.phtml"/>
170
+ <block type="catalog/product_compare_sidebar" name="catalog.compare.sidebar" template="catalog/product/compare/sidebar.phtml"/>
171
+ <block type="sales/reorder_sidebar" name="sale.reorder.sidebar" as="reorder" template="sales/reorder/sidebar.phtml"/>
172
+ <action method="unsetChild"><name>tags_popular</name></action>
173
+ </reference>
174
+ </reference>
175
+ </customer_account>
176
+ <!--
177
+ Customer account home dashboard layout
178
+ -->
179
+ <customer_account_index>
180
+ <update handle="customer_account"/>
181
+ <!-- Mage_Customer -->
182
+ <reference name="root">
183
+ <action method="setTemplate"><template>page/1column.phtml</template></action>
184
+ </reference>
185
+ <reference name="content">
186
+ <block type="customer/account_dashboard" name="customer_account_dashboard" template="customer/account/dashboard.phtml">
187
+ <block type="customer/account_dashboard_hello" name="customer_account_dashboard_hello" as="hello" template="customer/account/dashboard/hello.phtml"/>
188
+ <block type="core/template" name="customer_account_dashboard_top" as="top" />
189
+ <block type="customer/account_dashboard_info" name="customer_account_dashboard_info" as="info" template="customer/account/dashboard/info.phtml"/>
190
+ <block type="customer/account_dashboard_newsletter" name="customer_account_dashboard_newsletter" as="newsletter" template="customer/account/dashboard/newsletter.phtml"/>
191
+ <block type="customer/account_dashboard_address" name="customer_account_dashboard_address" as="address" template="customer/account/dashboard/address.phtml"/>
192
+ <block type="core/template" name="customer_account_dashboard_info1" as="info1" />
193
+ <block type="core/template" name="customer_account_dashboard_info2" as="info2" />
194
+ </block>
195
+ </reference>
196
+
197
+ </customer_account_index>
198
+ <!--
199
+ Customer account address book
200
+ -->
201
+ <customer_address_index>
202
+ <!-- Mage_Customer -->
203
+ <update handle="customer_account"/>
204
+ <reference name="content">
205
+ <block type="customer/address_book" name="address_book" before="-" template="customer/address/book.phtml"/>
206
+ </reference>
207
+ </customer_address_index>
208
+ <!--
209
+ Customer account address edit page
210
+ -->
211
+ <customer_address_form>
212
+ <!-- Mage_Customer -->
213
+ <update handle="customer_account"/>
214
+ <reference name="head">
215
+ <block type="core/template" name="optional_zip_countries" as="optional_zip_countries" template="directory/js/optional_zip_countries.phtml" />
216
+ </reference>
217
+ <reference name="content">
218
+ <block type="customer/address_edit" name="customer_address_edit" template="customer/address/edit.phtml"/>
219
+ </reference>
220
+ </customer_address_form>
221
+
222
+ </layout>
app/design/frontend/default/iphone/layout/directory.xml ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ /**
4
+ * Magento
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the Academic Free License (AFL 3.0)
9
+ * that is bundled with this package in the file LICENSE_AFL.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://opensource.org/licenses/afl-3.0.php
12
+ * If you did not receive a copy of the license and are unable to
13
+ * obtain it through the world-wide-web, please send an email
14
+ * to license@magentocommerce.com so we can send you a copy immediately.
15
+ *
16
+ * DISCLAIMER
17
+ *
18
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
19
+ * versions in the future. If you wish to customize Magento for your
20
+ * needs please refer to http://www.magentocommerce.com for more information.
21
+ *
22
+ * @category design
23
+ * @package default_iphone
24
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
25
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
26
+ */
27
+
28
+ -->
29
+ <layout version="0.1.0">
30
+
31
+ <!--
32
+ Category default layout
33
+ -->
34
+
35
+ <catalog_category_default>
36
+ <reference name="left">
37
+ <block type="directory/currency" name="currency" before="catalog.leftnav" template="directory/currency.phtml"/>
38
+ </reference>
39
+ </catalog_category_default>
40
+
41
+ <!--
42
+ Category layered navigation layout
43
+ -->
44
+
45
+ <catalog_category_layered>
46
+ <reference name="left">
47
+ <block type="directory/currency" name="currency" before="catalog.leftnav" template="directory/currency.phtml"/>
48
+ </reference>
49
+ </catalog_category_layered>
50
+
51
+ <!--
52
+ Catalog Search layout
53
+ -->
54
+
55
+ <catalogsearch_advanced_index>
56
+ <reference name="right">
57
+ <block type="directory/currency" name="right_currency" before="-" template="directory/currency.phtml"/>
58
+ </reference>
59
+ </catalogsearch_advanced_index>
60
+ </layout>
app/design/frontend/default/iphone/layout/downloadable.xml ADDED
@@ -0,0 +1,182 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ /**
4
+ * Magento
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the Academic Free License (AFL 3.0)
9
+ * that is bundled with this package in the file LICENSE_AFL.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://opensource.org/licenses/afl-3.0.php
12
+ * If you did not receive a copy of the license and are unable to
13
+ * obtain it through the world-wide-web, please send an email
14
+ * to license@magentocommerce.com so we can send you a copy immediately.
15
+ *
16
+ * DISCLAIMER
17
+ *
18
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
19
+ * versions in the future. If you wish to customize Magento for your
20
+ * needs please refer to http://www.magentocommerce.com for more information.
21
+ *
22
+ * @category design
23
+ * @package default_iphone
24
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
25
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
26
+ */
27
+
28
+ -->
29
+ <layout version="0.1.0">
30
+
31
+ <customer_account>
32
+ <reference name="customer_account_navigation">
33
+ <action method="addLink" translate="label" module="downloadable"><name>downloadable_products</name><path>downloadable/customer/products</path><label>My Downloadable Products</label></action>
34
+ </reference>
35
+ </customer_account>
36
+
37
+ <downloadable_customer_products>
38
+ <update handle="customer_account"/>
39
+ <reference name="content">
40
+ <block type="downloadable/customer_products_list" name="downloadable_customer_products_list" template="downloadable/customer/products/list.phtml" />
41
+ </reference>
42
+ <reference name="root">
43
+ <action method="setHeaderTitle" translate="title" module="downloadable"><title>My Downloadable Products</title></action>
44
+ </reference>
45
+ </downloadable_customer_products>
46
+
47
+ <checkout_cart_index>
48
+ <reference name="checkout.cart">
49
+ <action method="addItemRender"><type>downloadable</type><block>downloadable/checkout_cart_item_renderer</block><template>downloadable/checkout/cart/item/default.phtml</template></action>
50
+ </reference>
51
+ </checkout_cart_index>
52
+
53
+ <checkout_onepage_review>
54
+ <reference name="root">
55
+ <action method="addItemRender"><type>downloadable</type><block>downloadable/checkout_cart_item_renderer</block><template>downloadable/checkout/onepage/review/item.phtml</template></action>
56
+ </reference>
57
+ </checkout_onepage_review>
58
+
59
+ <checkout_onepage_success>
60
+ <reference name="checkout.success">
61
+ <block type="downloadable/checkout_success" name="downloadable.checkout.success" template="downloadable/checkout/success.phtml"/>
62
+ </reference>
63
+ </checkout_onepage_success>
64
+
65
+ <checkout_multishipping_addresses>
66
+ <reference name="checkout_addresses">
67
+ <action method="addItemRender"><type>downloadable</type><block>downloadable/checkout_cart_item_renderer</block><template>downloadable/checkout/multishipping/item/downloadable.phtml</template></action>
68
+ </reference>
69
+ </checkout_multishipping_addresses>
70
+
71
+ <checkout_multishipping_shipping>
72
+ <reference name="checkout_billing_items">
73
+ <action method="addItemRender"><type>downloadable</type><block>downloadable/checkout_cart_item_renderer</block><template>downloadable/checkout/multishipping/item/downloadable.phtml</template></action>
74
+ </reference>
75
+ </checkout_multishipping_shipping>
76
+
77
+ <checkout_multishipping_overview>
78
+ <reference name="checkout_overview">
79
+ <action method="addItemRender"><type>downloadable</type><block>downloadable/checkout_cart_item_renderer</block><template>downloadable/checkout/multishipping/item/downloadable.phtml</template></action>
80
+ </reference>
81
+ </checkout_multishipping_overview>
82
+
83
+ <checkout_multishipping_success>
84
+ <reference name="checkout_success">
85
+ <block type="downloadable/checkout_success" name="downloadable.checkout.success" template="downloadable/checkout/success.phtml"/>
86
+ </reference>
87
+ </checkout_multishipping_success>
88
+
89
+ <paypal_express_review>
90
+ <reference name="paypal.express.review.details">
91
+ <action method="addItemRender"><type>downloadable</type><block>downloadable/checkout_cart_item_renderer</block><template>downloadable/checkout/onepage/review/item.phtml</template></action>
92
+ </reference>
93
+ </paypal_express_review>
94
+ <paypal_express_review_details>
95
+ <reference name="root">
96
+ <action method="addItemRender"><type>downloadable</type><block>downloadable/checkout_cart_item_renderer</block><template>downloadable/checkout/onepage/review/item.phtml</template></action>
97
+ </reference>
98
+ </paypal_express_review_details>
99
+
100
+ <sales_order_view>
101
+ <reference name="order_items">
102
+ <action method="addItemRender"><type>downloadable</type><block>downloadable/sales_order_item_renderer_downloadable</block><template>downloadable/sales/order/items/renderer/downloadable.phtml</template></action>
103
+ </reference>
104
+ </sales_order_view>
105
+
106
+ <sales_order_invoice>
107
+ <reference name="invoice_items">
108
+ <action method="addItemRender"><type>downloadable</type><block>downloadable/sales_order_item_renderer_downloadable</block><template>downloadable/sales/order/invoice/items/renderer/downloadable.phtml</template></action>
109
+ </reference>
110
+ </sales_order_invoice>
111
+
112
+ <sales_order_creditmemo>
113
+ <reference name="creditmemo_items">
114
+ <action method="addItemRender"><type>downloadable</type><block>downloadable/sales_order_item_renderer_downloadable</block><template>downloadable/sales/order/creditmemo/items/renderer/downloadable.phtml</template></action>
115
+ </reference>
116
+ </sales_order_creditmemo>
117
+
118
+ <!--
119
+ Print pages
120
+ -->
121
+
122
+ <sales_order_print>
123
+ <reference name="sales.order.print">
124
+ <action method="addItemRender"><type>downloadable</type><block>downloadable/sales_order_item_renderer_downloadable</block><template>downloadable/sales/order/items/renderer/downloadable.phtml</template></action>
125
+ </reference>
126
+ </sales_order_print>
127
+
128
+ <sales_order_printinvoice>
129
+ <reference name="sales.order.print.invoice">
130
+ <action method="addItemRender"><type>downloadable</type><block>downloadable/sales_order_item_renderer_downloadable</block><template>downloadable/sales/order/invoice/items/renderer/downloadable.phtml</template></action>
131
+ </reference>
132
+ </sales_order_printinvoice>
133
+
134
+ <sales_order_printcreditmemo>
135
+ <reference name="sales.order.print.creditmemo">
136
+ <action method="addItemRender"><type>downloadable</type><block>downloadable/sales_order_item_renderer_downloadable</block><template>downloadable/sales/order/creditmemo/items/renderer/downloadable.phtml</template></action>
137
+ </reference>
138
+ </sales_order_printcreditmemo>
139
+
140
+ <!--
141
+ EOF Print pages
142
+ -->
143
+
144
+ <!--
145
+ Emails
146
+ -->
147
+
148
+ <sales_email_order_items>
149
+ <reference name="items">
150
+ <action method="addItemRender"><type>downloadable</type><block>downloadable/sales_order_email_items_order_downloadable</block><template>downloadable/email/order/items/order/downloadable.phtml</template></action>
151
+ </reference>
152
+ </sales_email_order_items>
153
+
154
+ <sales_email_order_invoice_items>
155
+ <reference name="items">
156
+ <action method="addItemRender"><type>downloadable</type><block>downloadable/sales_order_email_items_downloadable</block><template>downloadable/email/order/items/invoice/downloadable.phtml</template></action>
157
+ </reference>
158
+ </sales_email_order_invoice_items>
159
+
160
+ <sales_email_order_creditmemo_items>
161
+ <reference name="items">
162
+ <action method="addItemRender"><type>downloadable</type><block>downloadable/sales_order_email_items_downloadable</block><template>downloadable/email/order/items/creditmemo/downloadable.phtml</template></action>
163
+ </reference>
164
+ </sales_email_order_creditmemo_items>
165
+
166
+ <PRODUCT_TYPE_downloadable>
167
+ <reference name="product.info">
168
+ <block type="downloadable/catalog_product_view_type" name="product.info.downloadable" as="product_type_data" template="downloadable/catalog/product/type.phtml">
169
+ <block type="downloadable/catalog_product_samples" name="product.info.downloadable.samples" as="samples" template="downloadable/catalog/product/samples.phtml"/>
170
+ <block type="core/text_list" name="product.info.downloadable.extra" as="product_type_data_extra"/>
171
+ </block>
172
+ </reference>
173
+ <reference name="product.info.options.wrapper">
174
+ <block type="downloadable/catalog_product_links" name="product.info.downloadable.options" as="type_downloadable_options" before="-" template="downloadable/catalog/product/links.phtml"/>
175
+ <action method="insert"><block>product.info.downloadable.options</block></action>
176
+ </reference>
177
+ <reference name="product.info.downloadable.extra">
178
+ <block type="cataloginventory/stockqty_default" template="cataloginventory/stockqty/default.phtml"/>
179
+ </reference>
180
+ </PRODUCT_TYPE_downloadable>
181
+
182
+ </layout>
app/design/frontend/default/iphone/layout/giftmessage.xml ADDED
@@ -0,0 +1,71 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ /**
4
+ * Magento
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the Academic Free License (AFL 3.0)
9
+ * that is bundled with this package in the file LICENSE_AFL.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://opensource.org/licenses/afl-3.0.php
12
+ * If you did not receive a copy of the license and are unable to
13
+ * obtain it through the world-wide-web, please send an email
14
+ * to license@magentocommerce.com so we can send you a copy immediately.
15
+ *
16
+ * DISCLAIMER
17
+ *
18
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
19
+ * versions in the future. If you wish to customize Magento for your
20
+ * needs please refer to http://www.magentocommerce.com for more information.
21
+ *
22
+ * @category design
23
+ * @package default_iphone
24
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
25
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
26
+ */
27
+
28
+ -->
29
+ <layout version="0.1.0">
30
+
31
+ <!--
32
+ Gift message add/edit form
33
+ -->
34
+ <giftmessage_index_edit>
35
+ <reference name="root">
36
+ <action method="setTemplate"><template>page/one-column.phtml</template></action>
37
+ </reference>
38
+ <reference name="content">
39
+ <block type="giftmessage/message_form" name="giftmessage.form" template="giftmessage/form.phtml"/>
40
+ </reference>
41
+ </giftmessage_index_edit>
42
+
43
+ <!--
44
+ Gift message save result
45
+ -->
46
+ <giftmessage_index_save>
47
+ <reference name="root">
48
+ <action method="setTemplate"><template>page/one-column.phtml</template></action>
49
+ </reference>
50
+ <reference name="content">
51
+ <block type="giftmessage/message_form" name="giftmessage.form" template="giftmessage/form.phtml" >
52
+ <action method="setSaveMode"><mode>save</mode></action>
53
+ </block>
54
+ </reference>
55
+ </giftmessage_index_save>
56
+
57
+ <!--
58
+ Gift message remove result
59
+ -->
60
+ <giftmessage_index_remove>
61
+ <reference name="root">
62
+ <action method="setTemplate"><template>page/one-column.phtml</template></action>
63
+ </reference>
64
+ <reference name="content">
65
+ <block type="giftmessage/message_form" name="giftmessage.form" template="giftmessage/form.phtml" >
66
+ <action method="setSaveMode"><mode>remove</mode></action>
67
+ </block>
68
+ </reference>
69
+ </giftmessage_index_remove>
70
+
71
+ </layout>
app/design/frontend/default/iphone/layout/googleanalytics.xml ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ /**
4
+ * Magento
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the Academic Free License (AFL 3.0)
9
+ * that is bundled with this package in the file LICENSE_AFL.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://opensource.org/licenses/afl-3.0.php
12
+ * If you did not receive a copy of the license and are unable to
13
+ * obtain it through the world-wide-web, please send an email
14
+ * to license@magentocommerce.com so we can send you a copy immediately.
15
+ *
16
+ * DISCLAIMER
17
+ *
18
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
19
+ * versions in the future. If you wish to customize Magento for your
20
+ * needs please refer to http://www.magentocommerce.com for more information.
21
+ *
22
+ * @category design
23
+ * @package default_iphone
24
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
25
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
26
+ */
27
+
28
+ -->
29
+ <layout version="0.1.0">
30
+
31
+ <!--
32
+ Default layout, loads most of the pages
33
+ -->
34
+
35
+ <default>
36
+ <!-- Mage_GoogleAnalytics -->
37
+ <reference name="after_body_start">
38
+ <block type="googleanalytics/ga" name="google_analytics" as="google_analytics" />
39
+ </reference>
40
+ </default>
41
+ </layout>
app/design/frontend/default/iphone/layout/newsletter.xml ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ /**
4
+ * Magento
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the Academic Free License (AFL 3.0)
9
+ * that is bundled with this package in the file LICENSE_AFL.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://opensource.org/licenses/afl-3.0.php
12
+ * If you did not receive a copy of the license and are unable to
13
+ * obtain it through the world-wide-web, please send an email
14
+ * to license@magentocommerce.com so we can send you a copy immediately.
15
+ *
16
+ * DISCLAIMER
17
+ *
18
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
19
+ * versions in the future. If you wish to customize Magento for your
20
+ * needs please refer to http://www.magentocommerce.com for more information.
21
+ *
22
+ * @category design
23
+ * @package default_iphone
24
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
25
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
26
+ */
27
+
28
+ -->
29
+ <layout version="0.1.0">
30
+
31
+ <!--
32
+ Default layout, loads most of the pages
33
+ -->
34
+
35
+ <default>
36
+
37
+ <!-- Mage_Newsletter -->
38
+ <!-- reference name="left">
39
+ <block type="newsletter/subscribe" name="right.newsletter" template="newsletter/subscribe.phtml"/>
40
+ </reference -->
41
+
42
+ </default>
43
+
44
+ <!--
45
+ Customer account pages, rendered for all tabs in dashboard
46
+ -->
47
+
48
+ <customer_account>
49
+ <!-- Mage_Newsletter -->
50
+ <reference name="customer_account_navigation">
51
+ <action method="addLink" translate="label" module="newsletter"><name>newsletter</name><path>newsletter/manage/</path><label>Newsletter Subscriptions</label></action>
52
+ </reference>
53
+ </customer_account>
54
+
55
+ <customer_account_index>
56
+
57
+ <reference name="right">
58
+ <action method="unsetChild"><name>right.newsletter</name></action>
59
+ </reference>
60
+ </customer_account_index>
61
+
62
+ <newsletter_manage_index>
63
+ <update handle="customer_account"/>
64
+ <reference name="content">
65
+ <block type="customer/newsletter" name="customer_newsletter"/>
66
+ </reference>
67
+ </newsletter_manage_index>
68
+
69
+ </layout>
app/design/frontend/default/iphone/layout/page.xml ADDED
@@ -0,0 +1,146 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ /**
4
+ * Magento
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the Academic Free License (AFL 3.0)
9
+ * that is bundled with this package in the file LICENSE_AFL.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://opensource.org/licenses/afl-3.0.php
12
+ * If you did not receive a copy of the license and are unable to
13
+ * obtain it through the world-wide-web, please send an email
14
+ * to license@magentocommerce.com so we can send you a copy immediately.
15
+ *
16
+ * DISCLAIMER
17
+ *
18
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
19
+ * versions in the future. If you wish to customize Magento for your
20
+ * needs please refer to http://www.magentocommerce.com for more information.
21
+ *
22
+ * @category design
23
+ * @package default_iphone
24
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
25
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
26
+ */
27
+ -->
28
+ <layout version="0.1.0">
29
+ <!--
30
+ Default layout, loads most of the pages
31
+ -->
32
+ <default>
33
+ <block type="page/html" name="root" output="toHtml" template="page/1column.phtml">
34
+ <block type="page/html_head" name="head" as="head">
35
+ <action method="addJs"><script>prototype/prototype.js</script></action>
36
+ <action method="addJs"><script>lib/ccard.js</script></action>
37
+ <action method="addJs"><script>prototype/validation.js</script></action>
38
+ <action method="addJs"><script>scriptaculous/builder.js</script></action>
39
+ <action method="addJs"><script>scriptaculous/effects.js</script></action>
40
+ <action method="addJs"><script>scriptaculous/dragdrop.js</script></action>
41
+ <action method="addJs"><script>scriptaculous/controls.js</script></action>
42
+ <action method="addJs"><script>scriptaculous/slider.js</script></action>
43
+ <action method="addJs"><script>varien/js.js</script></action>
44
+ <action method="addJs"><script>varien/form.js</script></action>
45
+ <action method="addJs"><script>varien/menu.js</script></action>
46
+ <action method="addJs"><script>mage/translate.js</script></action>
47
+ <action method="addJs"><script>mage/cookies.js</script></action>
48
+
49
+ <action method="addCss"><stylesheet>css/iphone.css</stylesheet></action>
50
+
51
+ </block>
52
+
53
+ <block type="core/text_list" name="after_body_start" as="after_body_start"/>
54
+
55
+ <block type="page/html_notices" name="global_notices" as="global_notices" template="page/html/notices.phtml" />
56
+
57
+ <block type="page/html_header" name="header" as="header">
58
+ <block name="user_links" as="user_links" type="page/template_links" />
59
+ <block type="page/template_links" name="top.links" as="topLinks"/>
60
+ <!-- block type="core/text_list" name="top.menu" as="topMenu"/ -->
61
+ </block>
62
+ <block type="page/html_breadcrumbs" name="breadcrumbs" as="breadcrumbs"/>
63
+
64
+ <!-- block type="core/text_list" name="left" as="left"/ -->
65
+
66
+ <block type="core/messages" name="global_messages" as="global_messages"/>
67
+ <block type="core/messages" name="messages" as="messages"/>
68
+
69
+ <block type="core/text_list" name="content" as="content"/>
70
+
71
+ <!-- block type="core/text_list" name="right" as="right"/ -->
72
+
73
+ <block type="page/html_footer" name="footer" as="footer" template="page/html/footer.phtml">
74
+ <block type="page/switch" name="store_switcher" as="store_switcher" template="page/switch/stores.phtml"/>
75
+ <block type="page/template_links" name="footer_links" as="footer_links" template="page/template/links.phtml"/>
76
+ <block type="page/switch" name="store_language" as="store_language" template="page/switch/languages.phtml"/>
77
+ </block>
78
+
79
+ <block type="core/text_list" name="before_body_end" as="before_body_end"/>
80
+ </block>
81
+
82
+ <block type="core/profiler" output="toHtml" name="core_profiler"/>
83
+ </default>
84
+
85
+ <print>
86
+ <!-- Mage_Page -->
87
+ <block type="page/html" name="root" output="toHtml" template="page/print.phtml">
88
+
89
+ <block type="page/html_head" name="head" as="head">
90
+ <action method="addJs"><script>prototype/prototype.js</script></action>
91
+ <action method="addJs"><script>mage/translate.js</script></action>
92
+
93
+ <action method="addCss"><stylesheet>css/reset.css</stylesheet></action>
94
+ <action method="addCss"><stylesheet>css/boxes.css</stylesheet></action>
95
+ <action method="addCss"><stylesheet>css/clears.css</stylesheet></action>
96
+ <action method="addCss"><stylesheet>css/menu.css</stylesheet></action>
97
+
98
+ <action method="addCss"><stylesheet>css/print.css</stylesheet><params>media="print"</params></action>
99
+ </block>
100
+
101
+ <block type="core/text_list" name="content" as="content"/>
102
+
103
+ </block>
104
+ </print>
105
+
106
+ <!-- Custom page layout handles -->
107
+ <page_empty>
108
+ <reference name="root">
109
+ <action method="setTemplate"><template>page/one-column.phtml</template></action>
110
+ <!-- Mark root page block that template is applied -->
111
+ <action method="setIsHandle"><applied>1</applied></action>
112
+ </reference>
113
+ </page_empty>
114
+
115
+ <page_one_column>
116
+ <reference name="root">
117
+ <action method="setTemplate"><template>page/1column.phtml</template></action>
118
+ <!-- Mark root page block that template is applied -->
119
+ <action method="setIsHandle"><applied>1</applied></action>
120
+ </reference>
121
+ </page_one_column>
122
+
123
+ <page_two_columns_left>
124
+ <reference name="root">
125
+ <action method="setTemplate"><template>page/2columns-left.phtml</template></action>
126
+ <!-- Mark root page block that template is applied -->
127
+ <action method="setIsHandle"><applied>1</applied></action>
128
+ </reference>
129
+ </page_two_columns_left>
130
+
131
+ <page_two_columns_right>
132
+ <reference name="root">
133
+ <action method="setTemplate"><template>page/2columns-right.phtml</template></action>
134
+ <!-- Mark root page block that template is applied -->
135
+ <action method="setIsHandle"><applied>1</applied></action>
136
+ </reference>
137
+ </page_two_columns_right>
138
+
139
+ <page_three_columns>
140
+ <reference name="root">
141
+ <action method="setTemplate"><template>page/3columns.phtml</template></action>
142
+ <!-- Mark root page block that template is applied -->
143
+ <action method="setIsHandle"><applied>1</applied></action>
144
+ </reference>
145
+ </page_three_columns>
146
+ </layout>
app/design/frontend/default/iphone/layout/poll.xml ADDED
@@ -0,0 +1,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ /**
4
+ * Magento
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the Academic Free License (AFL 3.0)
9
+ * that is bundled with this package in the file LICENSE_AFL.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://opensource.org/licenses/afl-3.0.php
12
+ * If you did not receive a copy of the license and are unable to
13
+ * obtain it through the world-wide-web, please send an email
14
+ * to license@magentocommerce.com so we can send you a copy immediately.
15
+ *
16
+ * DISCLAIMER
17
+ *
18
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
19
+ * versions in the future. If you wish to customize Magento for your
20
+ * needs please refer to http://www.magentocommerce.com for more information.
21
+ *
22
+ * @category design
23
+ * @package default_iphone
24
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
25
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
26
+ */
27
+
28
+ -->
29
+ <layout version="0.1.0">
30
+
31
+ <!--
32
+ Default layout, loads most of the pages
33
+ -->
34
+
35
+ <default>
36
+
37
+ <!-- Mage_Poll -->
38
+ <!-- reference name="right">
39
+ <block type="poll/activePoll" name="right.poll">
40
+ <action method="setPollTemplate"><template>poll/active.phtml</template><type>poll</type></action>
41
+ <action method="setPollTemplate"><template>poll/result.phtml</template><type>results</type></action>
42
+ </block>
43
+ </reference -->
44
+
45
+ </default>
46
+
47
+ <!--
48
+ Customer account home dashboard layout
49
+ -->
50
+
51
+ <customer_account_index>
52
+ <reference name="right">
53
+ <action method="unsetChild"><name>right.poll</name></action>
54
+ </reference>
55
+ </customer_account_index>
56
+
57
+ </layout>
app/design/frontend/default/iphone/layout/productalert.xml ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ /**
4
+ * Magento
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the Academic Free License (AFL 3.0)
9
+ * that is bundled with this package in the file LICENSE_AFL.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://opensource.org/licenses/afl-3.0.php
12
+ * If you did not receive a copy of the license and are unable to
13
+ * obtain it through the world-wide-web, please send an email
14
+ * to license@magentocommerce.com so we can send you a copy immediately.
15
+ *
16
+ * DISCLAIMER
17
+ *
18
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
19
+ * versions in the future. If you wish to customize Magento for your
20
+ * needs please refer to http://www.magentocommerce.com for more information.
21
+ *
22
+ * @category design
23
+ * @package default_iphone
24
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
25
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
26
+ */
27
+
28
+ -->
29
+ <layout version="0.1.0">
30
+ <catalog_product_view>
31
+ <reference name="content">
32
+ <reference name="product.info">
33
+ <reference name="alert.urls">
34
+ <block type="productalert/price" name="productalert.price" as="productalert_price" template="productalert/price.phtml" />
35
+ <block type="productalert/stock" name="productalert.stock" as="productalert_stock" />
36
+ </reference>
37
+ </reference>
38
+ </reference>
39
+ </catalog_product_view>
40
+ </layout>
app/design/frontend/default/iphone/layout/reports.xml ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ /**
4
+ * Magento
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the Academic Free License (AFL 3.0)
9
+ * that is bundled with this package in the file LICENSE_AFL.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://opensource.org/licenses/afl-3.0.php
12
+ * If you did not receive a copy of the license and are unable to
13
+ * obtain it through the world-wide-web, please send an email
14
+ * to license@magentocommerce.com so we can send you a copy immediately.
15
+ *
16
+ * DISCLAIMER
17
+ *
18
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
19
+ * versions in the future. If you wish to customize Magento for your
20
+ * needs please refer to http://www.magentocommerce.com for more information.
21
+ *
22
+ * @category design
23
+ * @package default_iphone
24
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
25
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
26
+ */
27
+
28
+ -->
29
+ <layout version="0.1.0">
30
+ <default>
31
+ <!-- Mage_Reports -->
32
+ <reference name="right">
33
+ <block type="reports/product_viewed" before="right.permanent.callout" name="right.reports.product.viewed" template="reports/product_viewed.phtml" />
34
+ <block type="reports/product_compared" before="right.permanent.callout" name="right.reports.product.compared" template="reports/product_compared.phtml" />
35
+ </reference>
36
+ </default>
37
+ </layout>
app/design/frontend/default/iphone/layout/review.xml ADDED
@@ -0,0 +1,110 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ /**
4
+ * Magento
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the Academic Free License (AFL 3.0)
9
+ * that is bundled with this package in the file LICENSE_AFL.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://opensource.org/licenses/afl-3.0.php
12
+ * If you did not receive a copy of the license and are unable to
13
+ * obtain it through the world-wide-web, please send an email
14
+ * to license@magentocommerce.com so we can send you a copy immediately.
15
+ *
16
+ * DISCLAIMER
17
+ *
18
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
19
+ * versions in the future. If you wish to customize Magento for your
20
+ * needs please refer to http://www.magentocommerce.com for more information.
21
+ *
22
+ * @category design
23
+ * @package default_iphone
24
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
25
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
26
+ */
27
+
28
+ -->
29
+ <layout version="0.1.0">
30
+
31
+ <customer_account>
32
+ <!-- Mage_Review -->
33
+ <reference name="customer_account_navigation">
34
+ <action method="addLink" translate="label" module="review"><name>reviews</name><path>customer/review/</path><label>My Product Reviews</label></action>
35
+ </reference>
36
+
37
+ </customer_account>
38
+
39
+ <!--
40
+ Customer account home dashboard layout
41
+ -->
42
+
43
+ <customer_account_index>
44
+
45
+ <!-- Mage_Review -->
46
+ <!-- reference name="customer_account_dashboard">
47
+ <action method="unsetChild"><name>customer_account_dashboard_info1</name></action>
48
+ <block type="review/customer_recent" name="customer_account_dashboard_info1" as="info1" template="review/customer/recent.phtml"/>
49
+ </reference -->
50
+
51
+ </customer_account_index>
52
+
53
+
54
+ <!--
55
+ Product reviews page (?)
56
+ -->
57
+
58
+ <reviews>
59
+ <!-- Mage_Review -->
60
+ <reference name="root">
61
+ <action method="setTemplate"><template>page/1column.phtml</template></action>
62
+ </reference>
63
+ </reviews>
64
+
65
+ <!--
66
+ Product reviews page
67
+ -->
68
+
69
+ <review_product_list>
70
+ <!-- Mage_Review -->
71
+ <reference name="root">
72
+ <action method="setTemplate"><template>page/1column.phtml</template></action>
73
+ </reference>
74
+ <reference name="head">
75
+ <action method="addJs"><script>varien/product.js</script></action>
76
+ </reference>
77
+ <reference name="content">
78
+ <block type="review/list_detailed" name="product.info" template="review/product/detailed.phtml">
79
+ <!--<action method="setTemplate"><param>1</param></action> -->
80
+ <action method="setUsePager"><param>1</param></action>
81
+ <block type="catalog/product_view_super_config" name="product.info.config" as="super_config" template="catalog/product/view/super/config.phtml"/>
82
+ <block type="catalog/product_view_super_group" name="product.info.group" as="super_group" template="catalog/product/view/super/group.phtml"/>
83
+ </block>
84
+ </reference>
85
+ </review_product_list>
86
+
87
+ <review_product_view>
88
+ <reference name="root">
89
+ <action method="setTemplate"><template>page/1column.phtml</template></action>
90
+ </reference>
91
+ <reference name="content">
92
+ <block type="review/view" name="review_view"/>
93
+ </reference>
94
+ </review_product_view>
95
+
96
+ <review_customer_index>
97
+ <update handle="customer_account"/>
98
+ <reference name="content">
99
+ <block type="review/customer_list" name="review_customer_list" template="review/customer/list.phtml"/>
100
+ </reference>
101
+ </review_customer_index>
102
+
103
+ <review_customer_view>
104
+ <update handle="customer_account"/>
105
+ <reference name="content">
106
+ <block type="review/customer_view" name="customers_review"/>
107
+ </reference>
108
+ </review_customer_view>
109
+
110
+ </layout>
app/design/frontend/default/iphone/layout/rss.xml ADDED
@@ -0,0 +1,93 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ /**
4
+ * Magento
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the Academic Free License (AFL 3.0)
9
+ * that is bundled with this package in the file LICENSE_AFL.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://opensource.org/licenses/afl-3.0.php
12
+ * If you did not receive a copy of the license and are unable to
13
+ * obtain it through the world-wide-web, please send an email
14
+ * to license@magentocommerce.com so we can send you a copy immediately.
15
+ *
16
+ * DISCLAIMER
17
+ *
18
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
19
+ * versions in the future. If you wish to customize Magento for your
20
+ * needs please refer to http://www.magentocommerce.com for more information.
21
+ *
22
+ * @category design
23
+ * @package default_iphone
24
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
25
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
26
+ */
27
+ -->
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
+ <block type="rss/list" name="head_rss" ifconfig="rss/config/active" />
34
+ </default>
35
+ <!--
36
+ Default layout, loads most of the pages
37
+ -->
38
+ <rss_index_index>
39
+ <reference name="root">
40
+ <action method="setTemplate"><template>page/1column.phtml</template></action>
41
+ </reference>
42
+ <reference name="content">
43
+ <block type="rss/list" name="rss.list" template="rss/list.phtml"/>
44
+ </reference>
45
+ </rss_index_index>
46
+
47
+ <rss_index_nofeed>
48
+ <block type="core/template" name="root" output="toHtml" template="rss/nofeed.phtml"/>
49
+ </rss_index_nofeed>
50
+
51
+ <rss_index_wishlist>
52
+ <block type="rss/wishlist" name="rss.wishlist" output="toHtml"/>
53
+ </rss_index_wishlist>
54
+ <!--
55
+ Catalog layout
56
+ -->
57
+ <rss_catalog_new>
58
+ <block type="rss/catalog_new" output="toHtml" name="rss.catalog.new"/>
59
+ </rss_catalog_new>
60
+
61
+ <rss_catalog_special>
62
+ <block type="rss/catalog_special" output="toHtml" name="rss.catalog.special"/>
63
+ </rss_catalog_special>
64
+
65
+ <rss_catalog_salesrule>
66
+ <block type="rss/catalog_salesrule" output="toHtml" name="rss.catalog.salesrule"/>
67
+ </rss_catalog_salesrule>
68
+
69
+ <rss_catalog_tag>
70
+ <block type="rss/catalog_tag" output="toHtml" name="rss.catalog.tag" />
71
+ </rss_catalog_tag>
72
+
73
+ <rss_catalog_notifystock>
74
+ <block type="rss/catalog_notifyStock" output="toHtml" name="rss.catalog.notifystock" />
75
+ </rss_catalog_notifystock>
76
+
77
+ <rss_catalog_review>
78
+ <block type="rss/catalog_review" output="toHtml" name="rss.catalog.review" />
79
+ </rss_catalog_review>
80
+
81
+ <rss_catalog_category>
82
+ <block type="rss/catalog_category" output="toHtml" name="rss.catalog.category" />
83
+ </rss_catalog_category>
84
+ <!--
85
+ Order layout
86
+ -->
87
+ <rss_order_new>
88
+ <block type="rss/order_new" output="toHtml" name="rss.order.new"/>
89
+ </rss_order_new>
90
+ <rss_order_status>
91
+ <block type="rss/order_status" output="toHtml" name="rss.order.status"/>
92
+ </rss_order_status>
93
+ </layout>
app/design/frontend/default/iphone/layout/sales.xml ADDED
@@ -0,0 +1,257 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ /**
4
+ * Magento
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the Academic Free License (AFL 3.0)
9
+ * that is bundled with this package in the file LICENSE_AFL.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://opensource.org/licenses/afl-3.0.php
12
+ * If you did not receive a copy of the license and are unable to
13
+ * obtain it through the world-wide-web, please send an email
14
+ * to license@magentocommerce.com so we can send you a copy immediately.
15
+ *
16
+ * DISCLAIMER
17
+ *
18
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
19
+ * versions in the future. If you wish to customize Magento for your
20
+ * needs please refer to http://www.magentocommerce.com for more information.
21
+ *
22
+ * @category design
23
+ * @package default_iphone
24
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
25
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
26
+ */
27
+
28
+ -->
29
+ <layout version="0.1.0">
30
+
31
+ <!--
32
+ Customer account pages, rendered for all tabs in dashboard
33
+ -->
34
+
35
+
36
+ <default>
37
+ <reference name="right">
38
+ <block type="sales/reorder_sidebar" name="sale.reorder.sidebar" as="reorder" template="sales/reorder/sidebar.phtml"/>
39
+ </reference>
40
+ </default>
41
+
42
+ <checkout_onepage_reorder>
43
+ <reference name="right">
44
+ <action method="unsetChild"><name>reorder</name></action>
45
+ </reference>
46
+ </checkout_onepage_reorder>
47
+
48
+ <customer_account>
49
+ <!-- Mage_Sales -->
50
+ <reference name="customer_account_navigation">
51
+ <action method="addLink" translate="label" module="sales"><name>orders</name><path>sales/order/history/</path><label>My Orders</label></action>
52
+ </reference>
53
+
54
+ </customer_account>
55
+
56
+ <!--
57
+ Customer account home dashboard layout
58
+ -->
59
+
60
+ <customer_account_index>
61
+ <!-- Mage_Sales -->
62
+ <reference name="customer_account_dashboard">
63
+ <action method="unsetChild"><name>top</name></action>
64
+ <block type="sales/order_recent" name="customer_account_dashboard_top" as="top" template="sales/order/recent.phtml"/>
65
+ </reference>
66
+
67
+ </customer_account_index>
68
+
69
+ <sales_order_history>
70
+ <update handle="customer_account"/>
71
+ <reference name="content">
72
+ <block type="sales/order_history" name="sales.order.history">
73
+ <block type="core/text_list" name="sales.order.history.info" as="info"/>
74
+ </block>
75
+ <block type="customer/account_link" name="customer.account.link.back" template="customer/account/link/back.phtml"/>
76
+ </reference>
77
+ </sales_order_history>
78
+
79
+
80
+ <sales_order_view>
81
+ <update handle="customer_account"/>
82
+ <reference name="content">
83
+ <block type="sales/order_info" as="info" name="sales.order.info"/>
84
+ <block type="sales/order_view" name="sales.order.view">
85
+ <block type="sales/order_items" name="order_items" template="sales/order/items.phtml">
86
+ <action method="addItemRender"><type>default</type><block>sales/order_item_renderer_default</block><template>sales/order/items/renderer/default.phtml</template></action>
87
+ <block type="sales/order_totals" name="order_totals" template="sales/order/totals.phtml">
88
+ <action method="setLabelProperties"><value>colspan="4" class="a-right"</value></action>
89
+ <action method="setValueProperties"><value>class="last a-right"</value></action>
90
+ <block type="tax/sales_order_tax" name="tax" template="tax/order/tax.phtml" />
91
+ </block>
92
+ </block>
93
+ </block>
94
+ </reference>
95
+ <reference name="sales.order.info">
96
+ <action method="addLink" translate="label" module="sales"><name>view</name><path></path><label>Order Information</label></action>
97
+ <action method="addLink" translate="label" module="sales"><name>invoice</name><path>*/*/invoice</path><label>Invoices</label></action>
98
+ <action method="addLink" translate="label" module="sales"><name>shipment</name><path>*/*/shipment</path><label>Shipments</label></action>
99
+ <action method="addLink" translate="label" module="sales"><name>creditmemo</name><path>*/*/creditmemo</path><label>Refunds</label></action>
100
+ </reference>
101
+ </sales_order_view>
102
+
103
+ <sales_order_invoice>
104
+ <update handle="customer_account"/>
105
+ <reference name="content">
106
+ <block type="sales/order_info" as="info" name="sales.order.info"/>
107
+ <block type="sales/order_invoice" name="sales.order.invoice">
108
+ <block type="sales/order_invoice_totals" name="invoice_totals" template="sales/order/totals.phtml">
109
+ <action method="setLabelProperties"><value>colspan="4" class="a-right"</value></action>
110
+ <action method="setValueProperties"><value>class="last a-right"</value></action>
111
+ <block type="tax/sales_order_tax" name="tax" template="tax/order/tax.phtml" />
112
+ </block>
113
+ </block>
114
+ </reference>
115
+ <reference name="sales.order.info">
116
+ <action method="addLink" translate="label" module="sales"><name>view</name><path>*/*/view</path><label>Order Information</label></action>
117
+ <action method="addLink" translate="label" module="sales"><name>invoice</name><path></path><label>Invoices</label></action>
118
+ <action method="addLink" translate="label" module="sales"><name>shipment</name><path>*/*/shipment</path><label>Shipments</label></action>
119
+ <action method="addLink" translate="label" module="sales"><name>creditmemo</name><path>*/*/creditmemo</path><label>Refunds</label></action>
120
+ </reference>
121
+ </sales_order_invoice>
122
+
123
+ <sales_order_shipment>
124
+ <update handle="customer_account"/>
125
+ <reference name="content">
126
+ <block type="sales/order_info" as="info" name="sales.order.info"/>
127
+ <block type="sales/order_shipment" name="sales.order.shipment"/>
128
+ </reference>
129
+ <reference name="sales.order.info">
130
+ <action method="addLink" translate="label" module="sales"><name>view</name><path>*/*/view</path><label>Order Information</label></action>
131
+ <action method="addLink" translate="label" module="sales"><name>invoice</name><path>*/*/invoice</path><label>Invoices</label></action>
132
+ <action method="addLink" translate="label" module="sales"><name>shipment</name><path></path><label>Shipments</label></action>
133
+ <action method="addLink" translate="label" module="sales"><name>creditmemo</name><path>*/*/creditmemo</path><label>Refunds</label></action>
134
+ </reference>
135
+ </sales_order_shipment>
136
+
137
+ <sales_order_creditmemo>
138
+ <update handle="customer_account"/>
139
+ <reference name="content">
140
+ <block type="sales/order_info" as="info" name="sales.order.info"/>
141
+ <block type="sales/order_creditmemo" name="sales.order.creditmemo">
142
+ <block type="sales/order_creditmemo_totals" name="creditmemo_totals" template="sales/order/totals.phtml">
143
+ <action method="setLabelProperties"><value>colspan="7" align="right"</value></action>
144
+ <action method="setValueProperties"><value>align="right"</value></action>
145
+ <block type="tax/sales_order_tax" name="tax" template="tax/order/tax.phtml"/>
146
+ </block>
147
+ </block>
148
+ </reference>
149
+ <reference name="sales.order.info">
150
+ <action method="addLink" translate="label" module="sales"><name>view</name><path>*/*/view</path><label>Order Information</label></action>
151
+ <action method="addLink" translate="label" module="sales"><name>invoice</name><path>*/*/invoice</path><label>Invoices</label></action>
152
+ <action method="addLink" translate="label" module="sales"><name>shipment</name><path>*/*/shipment</path><label>Shipments</label></action>
153
+ <action method="addLink" translate="label" module="sales"><name>creditmemo</name><path></path><label>Refunds</label></action>
154
+ </reference>
155
+ </sales_order_creditmemo>
156
+
157
+ <sales_order_reorder>
158
+ <update handle="customer_account"/>
159
+ <reference name="content">
160
+ <block type="sales/order_view" name="sales.order.view"/>
161
+ </reference>
162
+ </sales_order_reorder>
163
+
164
+ <sales_order_print>
165
+ <reference name="content">
166
+ <block type="sales/order_print" name="sales.order.print" template="sales/order/print.phtml">
167
+ <action method="addItemRender"><type>default</type><block>sales/order_item_renderer_default</block><template>sales/order/items/renderer/default.phtml</template></action>
168
+ <action method="addItemRender"><type>grouped</type><block>sales/order_item_renderer_grouped</block><template>sales/order/items/renderer/default.phtml</template></action>
169
+ <block type="sales/order_totals" name="order_totals" template="sales/order/totals.phtml">
170
+ <action method="setLabelProperties"><value>colspan="4" class="a-right"</value></action>
171
+ <action method="setValueProperties"><value>class="last a-right"</value></action>
172
+ <block type="tax/sales_order_tax" name="tax" template="tax/order/tax.phtml">
173
+ <action method="setIsPlaneMode"><value>1</value></action>
174
+ </block>
175
+ </block>
176
+ </block>
177
+ </reference>
178
+ </sales_order_print>
179
+
180
+ <sales_order_printinvoice>
181
+ <reference name="content">
182
+ <block type="sales/order_print_invoice" name="sales.order.print.invoice" template="sales/order/print/invoice.phtml">
183
+ <action method="addItemRender"><type>default</type><block>sales/order_item_renderer_default</block><template>sales/order/invoice/items/renderer/default.phtml</template></action>
184
+ <action method="addItemRender"><type>grouped</type><block>sales/order_item_renderer_grouped</block><template>sales/order/invoice/items/renderer/default.phtml</template></action>
185
+ <block type="sales/order_invoice_totals" name="invoice_totals" template="sales/order/totals.phtml">
186
+ <action method="setLabelProperties"><value>colspan="4" class="a-right"</value></action>
187
+ <action method="setValueProperties"><value>class="last a-right"</value></action>
188
+ <block type="tax/sales_order_tax" name="tax" template="tax/order/tax.phtml" />
189
+ </block>
190
+ </block>
191
+ </reference>
192
+ </sales_order_printinvoice>
193
+
194
+ <sales_order_printshipment>
195
+ <reference name="content">
196
+ <block type="sales/order_print_shipment" name="sales.order.print.shipment" template="sales/order/print/shipment.phtml"/>
197
+ </reference>
198
+ </sales_order_printshipment>
199
+
200
+ <sales_order_printcreditmemo>
201
+ <reference name="content">
202
+ <block type="sales/order_print_creditmemo" name="sales.order.print.creditmemo" template="sales/order/print/creditmemo.phtml">
203
+ <action method="addItemRender"><type>default</type><block>sales/order_item_renderer_default</block><template>sales/order/creditmemo/items/renderer/default.phtml</template></action>
204
+ <action method="addItemRender"><type>grouped</type><block>sales/order_item_renderer_grouped</block><template>sales/order/creditmemo/items/renderer/default.phtml</template></action>
205
+ <block type="sales/order_creditmemo_totals" name="creditmemo_totals" template="sales/order/totals.phtml">
206
+ <action method="setLabelProperties"><value>colspan="7" align="right" style="padding:3px 9px"</value></action>
207
+ <action method="setValueProperties"><value>align="right" style="padding:3px 9px"</value></action>
208
+ <block type="tax/sales_order_tax" name="tax" template="tax/order/tax.phtml"/>
209
+ </block>
210
+ </block>
211
+ </reference>
212
+ </sales_order_printcreditmemo>
213
+
214
+ <sales_email_order_items>
215
+ <block type="sales/order_email_items" name="items" template="email/order/items.phtml">
216
+ <action method="addItemRender"><type>default</type><block>sales/order_email_items_order_default</block><template>email/order/items/order/default.phtml</template></action>
217
+ <action method="addItemRender"><type>grouped</type><block>sales/order_email_items_order_grouped</block><template>email/order/items/order/default.phtml</template></action>
218
+ <block type="sales/order_totals" name="order_totals" template="sales/order/totals.phtml">
219
+ <action method="setLabelProperties"><value>colspan="3" align="right" style="padding:3px 9px"</value></action>
220
+ <action method="setValueProperties"><value>align="right" style="padding:3px 9px"</value></action>
221
+ <block type="tax/sales_order_tax" name="tax" template="tax/order/tax.phtml">
222
+ <action method="setIsPlaneMode"><value>1</value></action>
223
+ </block>
224
+ </block>
225
+ </block>
226
+ </sales_email_order_items>
227
+
228
+ <sales_email_order_invoice_items>
229
+ <block type="sales/order_email_invoice_items" name="items" template="email/order/invoice/items.phtml">
230
+ <action method="addItemRender"><type>default</type><block>sales/order_email_items_default</block><template>email/order/items/invoice/default.phtml</template></action>
231
+ <action method="addItemRender"><type>grouped</type><block>sales/order_email_items_order_grouped</block><template>email/order/items/invoice/default.phtml</template></action>
232
+ <block type="sales/order_invoice_totals" name="invoice_totals" template="sales/order/totals.phtml">
233
+ <action method="setLabelProperties"><value>colspan="3" align="right" style="padding:3px 9px"</value></action>
234
+ <action method="setValueProperties"><value>align="right" style="padding:3px 9px"</value></action>
235
+ <block type="tax/sales_order_tax" name="tax" template="tax/order/tax.phtml"/>
236
+ </block>
237
+ </block>
238
+ </sales_email_order_invoice_items>
239
+
240
+ <sales_email_order_shipment_items>
241
+ <block type="sales/order_email_shipment_items" name="items" template="email/order/shipment/items.phtml">
242
+ <action method="addItemRender"><type>default</type><block>sales/order_email_items_default</block><template>email/order/items/shipment/default.phtml</template></action>
243
+ </block>
244
+ </sales_email_order_shipment_items>
245
+
246
+ <sales_email_order_creditmemo_items>
247
+ <block type="sales/order_email_creditmemo_items" name="items" template="email/order/creditmemo/items.phtml">
248
+ <action method="addItemRender"><type>default</type><block>sales/order_email_items_default</block><template>email/order/items/creditmemo/default.phtml</template></action>
249
+ <action method="addItemRender"><type>grouped</type><block>sales/order_email_items_order_grouped</block><template>email/order/items/creditmemo/default.phtml</template></action>
250
+ <block type="sales/order_creditmemo_totals" name="creditmemo_totals" template="sales/order/totals.phtml">
251
+ <action method="setLabelProperties"><value>colspan="3" align="right" style="padding:3px 9px"</value></action>
252
+ <action method="setValueProperties"><value>align="right" style="padding:3px 9px"</value></action>
253
+ <block type="tax/sales_order_tax" name="tax" template="tax/order/tax.phtml"/>
254
+ </block>
255
+ </block>
256
+ </sales_email_order_creditmemo_items>
257
+ </layout>
app/design/frontend/default/iphone/layout/sendfriend.xml ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ /**
4
+ * Magento
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the Academic Free License (AFL 3.0)
9
+ * that is bundled with this package in the file LICENSE_AFL.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://opensource.org/licenses/afl-3.0.php
12
+ * If you did not receive a copy of the license and are unable to
13
+ * obtain it through the world-wide-web, please send an email
14
+ * to license@magentocommerce.com so we can send you a copy immediately.
15
+ *
16
+ * DISCLAIMER
17
+ *
18
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
19
+ * versions in the future. If you wish to customize Magento for your
20
+ * needs please refer to http://www.magentocommerce.com for more information.
21
+ *
22
+ * @category design
23
+ * @package default_iphone
24
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
25
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
26
+ */
27
+ -->
28
+ <layout version="0.1.0">
29
+ <sendfriend_product_send>
30
+ <reference name="root">
31
+ <action method="setTemplate"><template>page/1column.phtml</template></action>
32
+ </reference>
33
+ <reference name="head">
34
+ <action method="addJs"><script>varien/product.js</script></action>
35
+ </reference>
36
+ <reference name="content">
37
+ <block type="sendfriend/send" name="sendfriend.send" template="sendfriend/send.phtml" />
38
+ </reference>
39
+ </sendfriend_product_send>
40
+ </layout>
app/design/frontend/default/iphone/layout/shipping.xml ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ /**
4
+ * Magento
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the Academic Free License (AFL 3.0)
9
+ * that is bundled with this package in the file LICENSE_AFL.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://opensource.org/licenses/afl-3.0.php
12
+ * If you did not receive a copy of the license and are unable to
13
+ * obtain it through the world-wide-web, please send an email
14
+ * to license@magentocommerce.com so we can send you a copy immediately.
15
+ *
16
+ * DISCLAIMER
17
+ *
18
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
19
+ * versions in the future. If you wish to customize Magento for your
20
+ * needs please refer to http://www.magentocommerce.com for more information.
21
+ *
22
+ * @category design
23
+ * @package default_iphone
24
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
25
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
26
+ */
27
+
28
+ -->
29
+ <layout version="0.1.0">
30
+
31
+ <shipping_tracking_ajax>
32
+ <reference name="root">
33
+ <action method="setTemplate"><template></template></action>
34
+ </reference>
35
+ <reference name="content">
36
+ <block type="shipping/tracking_ajax" name="shipping.tracking.ajax" template="shipping/tracking/ajax.phtml" />
37
+ </reference>
38
+ </shipping_tracking_ajax>
39
+ <shipping_tracking_popup>
40
+ <reference name="root">
41
+ <action method="setTemplate"><template>page/one-column.phtml</template></action>
42
+ </reference>
43
+ <!--<reference name="head">
44
+ <action method="addJs"><script>scriptaculous/scriptaculous.js</script></action>
45
+ </reference>-->
46
+ <reference name="content">
47
+ <block type="shipping/tracking_popup" name="shipping.tracking.popup" template="shipping/tracking/popup.phtml" />
48
+ </reference>
49
+ </shipping_tracking_popup>
50
+ </layout>
51
+
app/design/frontend/default/iphone/layout/tag.xml ADDED
@@ -0,0 +1,130 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ /**
4
+ * Magento
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the Academic Free License (AFL 3.0)
9
+ * that is bundled with this package in the file LICENSE_AFL.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://opensource.org/licenses/afl-3.0.php
12
+ * If you did not receive a copy of the license and are unable to
13
+ * obtain it through the world-wide-web, please send an email
14
+ * to license@magentocommerce.com so we can send you a copy immediately.
15
+ *
16
+ * DISCLAIMER
17
+ *
18
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
19
+ * versions in the future. If you wish to customize Magento for your
20
+ * needs please refer to http://www.magentocommerce.com for more information.
21
+ *
22
+ * @category design
23
+ * @package default_iphone
24
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
25
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
26
+ */
27
+
28
+ -->
29
+ <layout version="0.1.0">
30
+
31
+ <!--
32
+ Default layout, loads most of the pages
33
+ -->
34
+
35
+ <default>
36
+ <!-- Mage_Tag -->
37
+ <reference name="left">
38
+ <block type="tag/popular" name="tags_popular" template="tag/popular.phtm">
39
+ <action method="setTemplate"><template>tag/popular.phtml</template></action>
40
+ </block>
41
+ </reference>
42
+
43
+ </default>
44
+
45
+ <!--
46
+ Customer account pages, rendered for all tabs in dashboard
47
+ -->
48
+
49
+ <customer_account>
50
+ <!-- Mage_Tag -->
51
+ <reference name="customer_account_navigation">
52
+ <action method="addLink" translate="label" module="tag"><name>tags</name><path>tag/customer/</path><label>My Tags</label></action>
53
+ </reference>
54
+ </customer_account>
55
+
56
+ <!--
57
+ Customer account home dashboard layout
58
+ -->
59
+
60
+ <customer_account_index>
61
+ <!-- Mage_Tag -->
62
+ <!-- reference name="customer_account_dashboard">
63
+ <action method="unsetChild"><name>customer_account_dashboard_info2</name></action>
64
+ <block type="tag/customer_recent" name="customer_account_dashboard_info2" as="info2" template="tag/customer/recent.phtml"/>
65
+ </reference -->
66
+ </customer_account_index>
67
+
68
+ <catalog_product_view>
69
+ <!-- Mage_Tag -->
70
+ <reference name="product.info.additional">
71
+ <block type="tag/product_list" name="product_tag_list" before="-" template="tag/list.phtml"></block>
72
+ </reference>
73
+ </catalog_product_view>
74
+
75
+ <!--
76
+ All tags page
77
+ -->
78
+
79
+ <tag_list_index>
80
+ <!-- Mage_Tag -->
81
+ <reference name="root">
82
+ <action method="setTemplate"><template>page/1column.phtml</template></action>
83
+ </reference>
84
+ <reference name="content">
85
+ <block type="tag/all" name="tags_all" template="tag/cloud.phtml"/>
86
+ </reference>
87
+ </tag_list_index>
88
+
89
+ <tag_product_list>
90
+ <!-- Mage_Tag -->
91
+ <reference name="content">
92
+ <block type="tag/product_result" name="tag_products" template="catalogsearch/result.phtml">
93
+ <block type="catalog/product_list" name="search_result_list" template="catalog/product/list.phtml"></block>
94
+ <action method="setListOrders"/>
95
+ <action method="setListModes"/>
96
+ <action method="setListCollection"/>
97
+ </block>
98
+ </reference>
99
+ </tag_product_list>
100
+
101
+ <tag_customer_index>
102
+ <update handle="customer_account"/>
103
+ <reference name="root">
104
+ <action method="setHeaderTitle" translate="title" module="customer"><title>My Account</title></action>
105
+ </reference>
106
+ <reference name="content">
107
+ <block type="tag/customer_tags" name="customer_tags" template="tag/customer/tags.phtml"/>
108
+ </reference>
109
+ </tag_customer_index>
110
+
111
+ <tag_customer_view>
112
+ <update handle="customer_account"/>
113
+ <reference name="root">
114
+ <action method="setHeaderTitle" translate="title" module="customer"><title>My Account</title></action>
115
+ </reference>
116
+ <reference name="content">
117
+ <block type="tag/customer_view" name="customer_view" template="tag/customer/view.phtml"/>
118
+ </reference>
119
+ </tag_customer_view>
120
+
121
+ <tag_customer_edit>
122
+ <update handle="customer_account"/>
123
+ <reference name="root">
124
+ <action method="setHeaderTitle" translate="title" module="customer"><title>My Account</title></action>
125
+ </reference>
126
+ <reference name="content">
127
+ <block type="tag/customer_edit" name="customer_edit" template="tag/customer/edit.phtml"/>
128
+ </reference>
129
+ </tag_customer_edit>
130
+ </layout>
app/design/frontend/default/iphone/layout/wishlist.xml ADDED
@@ -0,0 +1,106 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <!--
3
+ /**
4
+ * Magento
5
+ *
6
+ * NOTICE OF LICENSE
7
+ *
8
+ * This source file is subject to the Academic Free License (AFL 3.0)
9
+ * that is bundled with this package in the file LICENSE_AFL.txt.
10
+ * It is also available through the world-wide-web at this URL:
11
+ * http://opensource.org/licenses/afl-3.0.php
12
+ * If you did not receive a copy of the license and are unable to
13
+ * obtain it through the world-wide-web, please send an email
14
+ * to license@magentocommerce.com so we can send you a copy immediately.
15
+ *
16
+ * DISCLAIMER
17
+ *
18
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
19
+ * versions in the future. If you wish to customize Magento for your
20
+ * needs please refer to http://www.magentocommerce.com for more information.
21
+ *
22
+ * @category design
23
+ * @package default_iphone
24
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
25
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
26
+ */
27
+
28
+ -->
29
+ <layout version="0.1.0">
30
+
31
+ <!--
32
+ Default layout, loads most of the pages
33
+ -->
34
+
35
+ <default>
36
+ <reference name="user_links">
37
+ <action method="addLink" translate="label title" module="customer"><label>Wishlist</label><url>{{baseUrl}}wishlist/</url><title>Wishlist</title><prepare/><urlParams/><position>3</position></action>
38
+ </reference>
39
+ <!-- reference name="top.links">
40
+ <block type="wishlist/links" name="wishlist_link">
41
+ <action method="addWishlistLink"></action>
42
+ </block>
43
+ </reference -->
44
+
45
+ <!-- Mage_Wishlist -->
46
+ <!-- reference name="right">
47
+ <block type="wishlist/customer_sidebar" name="wishlist_sidebar" as="wishlist" after="cart_sidebar" template="wishlist/sidebar.phtml"/>
48
+ </reference -->
49
+
50
+ </default>
51
+
52
+ <!--
53
+ Customer account pages, rendered for all tabs in dashboard
54
+ -->
55
+
56
+ <customer_account>
57
+ <!-- Mage_Wishlist -->
58
+ <!-- reference name="customer_account_navigation">
59
+ <action method="addLink" translate="label" module="wishlist"><name>wishlist</name><path>wishlist/</path><label>My Wishlist</label></action>
60
+ </reference -->
61
+ </customer_account>
62
+
63
+ <!--
64
+ Customer account home dashboard layout
65
+ -->
66
+
67
+ <customer_account_index>
68
+
69
+ <!-- reference name="right">
70
+ <action method="unsetChild"><name>wishlist</name></action>
71
+ </reference -->
72
+ </customer_account_index>
73
+
74
+ <!--
75
+ Wishlist pages
76
+ -->
77
+
78
+ <wishlist_index_index>
79
+ <!-- Mage_Wishlist -->
80
+ <update handle="customer_account"/>
81
+ <reference name="content">
82
+ <block type="wishlist/customer_wishlist" name="customer.wishlist" template="wishlist/view.phtml"/>
83
+ </reference>
84
+ <reference name="right">
85
+ <action method="unsetChild"><name>wishlist_customer_sidebar</name></action>
86
+ </reference>
87
+ </wishlist_index_index>
88
+
89
+ <wishlist_index_share>
90
+ <!-- Mage_Wishlist -->
91
+ <update handle="customer_account"/>
92
+ <reference name="content">
93
+ <block type="wishlist/customer_sharing" name="wishlist.sharing" template="wishlist/sharing.phtml"/>
94
+ </reference>
95
+ <reference name="right">
96
+ <action method="unsetChild"><name>wishlist_customer_sidebar</name></action>
97
+ </reference>
98
+ </wishlist_index_share>
99
+
100
+ <wishlist_shared_index>
101
+ <!-- Mage_Wishlist -->
102
+ <reference name="content">
103
+ <block type="wishlist/share_wishlist" name="customer.wishlist" template="wishlist/shared.phtml"/>
104
+ </reference>
105
+ </wishlist_shared_index>
106
+ </layout>
app/design/frontend/default/iphone/locale/en_US/translate.csv ADDED
@@ -0,0 +1 @@
 
1
+ "Keep your eyes open for our special Back to School items and save A LOT!","Keep your eyes open for our special Back to School items and save A LOT!"
app/design/frontend/default/iphone/template/catalog/category/page.phtml ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <div class="page-head-alt">
28
+ <h2><?php echo $this->getTitle() ?></h2>
29
+ </div>
30
+ <div>
31
+ <?php echo $this->getContent() ?>
32
+ </div>
app/design/frontend/default/iphone/template/catalog/category/view.phtml ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php
28
+ /**
29
+ * Category view template
30
+ *
31
+ * @see Mage_Catalog_Block_Category_View
32
+ */
33
+ ?>
34
+ <div class="category-block">
35
+ <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
36
+ <div class="category-head">
37
+ <!--
38
+ <?php if($this->IsRssCatalogEnable() && $this->IsTopCategory()): ?>
39
+ <a href="<?php echo $this->getRssLink() ?>" class="link-feed right"><?php echo $this->__('Subscribe to RSS Feed') ?></a>
40
+ <?php endif; ?>
41
+ -->
42
+ <h2><?php echo $this->htmlEscape($this->getCurrentCategory()->getName()) ?></h2>
43
+ </div>
44
+ <?php if($_description=$this->getCurrentCategory()->getDescription()): ?>
45
+ <p class="category-description"><?php echo $_helper->categoryAttribute($this->getCurrentCategory(), $_description, 'description') ?></p>
46
+ <?php endif; ?>
47
+ <?php echo $this->getProductListHtml() ?>
48
+ </div>
app/design/frontend/default/iphone/template/catalog/layer/filter.phtml ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php
28
+ /**
29
+ * Template for filter items block
30
+ *
31
+ * @see Mage_Catalog_Block_Layer_Filter
32
+ */
33
+ ?>
34
+
35
+ <ol>
36
+ <?php foreach ($this->getItems() as $_item): ?>
37
+ <li>
38
+ <?php if ($_item->getCount() > 0): ?>
39
+ <a href="<?php echo $this->urlEscape($_item->getUrl()) ?>"><?php echo $_item->getLabel() ?></a>
40
+ <?php else: echo $_item->getLabel() ?>
41
+ <?php endif; ?>
42
+ (<?php echo $_item->getCount() ?>)
43
+ </li>
44
+ <?php endforeach ?>
45
+ </ol>
app/design/frontend/default/iphone/template/catalog/layer/state.phtml ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php
28
+ /**
29
+ * Category layered navigation state
30
+ *
31
+ * @see Mage_Catalog_Block_Layer_State
32
+ */
33
+ ?>
34
+ <?php $_filters = $this->getActiveFilters() ?>
35
+ <?php if(!empty($_filters)): ?>
36
+ <h4><?php echo $this->__('Currently Shopping By') ?></h4>
37
+ <ol class="narrowed-category">
38
+ <?php foreach ($_filters as $_filter): ?>
39
+ <li>
40
+ <a href="<?php echo $_filter->getRemoveUrl() ?>" class="widget-btn"><img src="<?php echo $this->getSkinUrl('images/list_remove_btn.gif') ?>" alt="<?php echo $this->__('Remove This Item') ?>" /></a>
41
+ <span class="label"><?php echo $this->__($_filter->getName()) ?>: </span><?php echo $_filter->getLabel() ?>
42
+ </li>
43
+ <?php endforeach; ?>
44
+ </ol>
45
+ <div class="actions"><a href="<?php echo $this->getClearUrl() ?>"><?php echo $this->__('Clear All Items') ?></a></div>
46
+ <?php endif; ?>
app/design/frontend/default/iphone/template/catalog/layer/view.phtml ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php
28
+ /**
29
+ * Category layered navigation
30
+ *
31
+ * @see Mage_Catalog_Block_Layer_View
32
+ */
33
+ ?>
34
+ <?php if($this->canShowBlock()): ?>
35
+ <div class="box layered-nav">
36
+ <div class="head">
37
+ <h3><?php echo $this->__('Shop By') ?></h3>
38
+ </div>
39
+
40
+ <div class="border-creator">
41
+ <?php echo $this->getStateHtml() ?>
42
+ <?php if($this->canShowOptions()): ?>
43
+ <div class="narrow-by">
44
+ <h4><?php echo $this->__('Shopping Options') ?></h4>
45
+ <dl id="narrow-by-list">
46
+ <?php $_filters = $this->getFilters() ?>
47
+ <?php foreach ($_filters as $_filter): ?>
48
+ <?php if($_filter->getItemsCount()): ?>
49
+ <dt><?php echo $this->__($_filter->getName()) ?></dt>
50
+ <dd>
51
+ <?php echo $_filter->getHtml() ?>
52
+ </dd>
53
+ <?php endif; ?>
54
+ <?php endforeach; ?>
55
+ </dl>
56
+ <script type="text/javascript">decorateDataList('narrow-by-list')</script>
57
+ </div>
58
+ <?php endif; ?>
59
+ </div>
60
+ </div>
61
+ <?php endif; ?>
62
+ <!-- [ends] .browse-by // -->
app/design/frontend/default/iphone/template/catalog/navigation/left.phtml ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php
28
+ /**
29
+ * Category left navigation
30
+ *
31
+ * @see Mage_Catalog_Block_Navigation
32
+ */
33
+ ?>
34
+ <?php $_categories=$this->getCurrentChildCategories() ?>
35
+ <?php $_count = is_array($_categories)?count($_categories):$_categories->count(); ?>
36
+ <?php if($_count): ?>
37
+ <div class="box layered-nav">
38
+ <div class="head">
39
+ <h3><?php echo $this->__('Browse By') ?></h3>
40
+ </div>
41
+ <div class="border-creator">
42
+ <div class="narrow-by">
43
+ <dl id="narrow-by-list">
44
+ <dt><?php echo $this->__('Category') ?></dt>
45
+ <dd>
46
+ <ol>
47
+ <?php foreach ($_categories as $_category): ?>
48
+ <?php if($_category->getIsActive()): ?>
49
+ <li>
50
+ <a href="<?php echo $this->getCategoryUrl($_category) ?>"<?php if ($this->isCategoryActive($_category)): ?> class="active"<?php endif ?>><?php echo $this->htmlEscape($_category->getName()) ?></a> (<?php echo $_category->getProductCount() ?>)
51
+ </li>
52
+ <?php endif; ?>
53
+ <?php endforeach ?>
54
+ </ol>
55
+ </dd>
56
+ </dl><script type="text/javascript">decorateDataList('narrow-by-list')</script>
57
+ </div>
58
+ </div>
59
+ </div>
60
+ <?php endif; ?>
61
+ <!-- [ends] .browse-by // -->
app/design/frontend/default/iphone/template/catalog/navigation/top.phtml ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php
28
+ /**
29
+ * Top menu for store
30
+ *
31
+ * @see Mage_Catalog_Block_Navigation
32
+ */
33
+ ?>
34
+ <div class="header-nav-container">
35
+ <div class="header-nav">
36
+ <?php // if (count($this->getStoreCategories()) > 0): ?>
37
+ <ul id="nav">
38
+ <?php foreach ($this->getStoreCategories() as $_category): ?>
39
+ <?php echo $this->drawItem($_category) ?>
40
+ <?php endforeach ?>
41
+ </ul>
42
+ <?php // endif; ?>
43
+ </div>
44
+ </div>
app/design/frontend/default/iphone/template/catalog/product/compare/list.phtml ADDED
@@ -0,0 +1,131 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ /* @var $this Mage_Catalog_Block_Product_Compare_List */
27
+ ?>
28
+ <div class="page-head button-level">
29
+ <h3><?php echo $this->__('Compare Products') ?></h3>
30
+ <a href="#" class="link-print right" onclick="print();"><?php echo $this->__('Print This Page') ?></a>
31
+ </div>
32
+ <?php $_total=$this->getItems()->getSize() ?>
33
+ <?php if($_total): ?>
34
+ <div class="compare-products">
35
+ <table cellspacing="0" class="data-table box-table catalog-listing" id="product_comparison">
36
+ <?php if ($_total>2): ?>
37
+ <tbody class="remove-buttons">
38
+ <tr>
39
+ <?php $_i=0 ?>
40
+ <?php foreach($this->getItems() as $_item): ?>
41
+ <?php if($_i++%10==0): ?>
42
+ <td>&nbsp;</td>
43
+ <?php endif; ?>
44
+ <td><a href="#" onclick="setLocation('<?php echo $this->getRemoveUrl($_item) ?>');window.opener.location.reload();"><img src="<?php echo $this->getSkinUrl('images/chart_remove.gif') ?>" alt="<?php echo $this->__('Remove Product') ?>" /></a></td>
45
+ <?php endforeach; ?>
46
+ </tr>
47
+ </tbody>
48
+ <?php endif ?>
49
+ <tbody>
50
+ <tr class="first">
51
+ <?php $_i=0 ?>
52
+ <?php foreach($this->getItems() as $_item): ?>
53
+ <?php if($_i++%10==0): ?>
54
+ <td class="label">&nbsp;</td>
55
+ <?php endif; ?>
56
+ <td>
57
+ <a href="#" onclick="setPLocation('<?php echo $this->getProductUrl($_item) ?>', true)" title="<?php echo $this->stripTags($_item->getName(), null, true) ?>"><img src="<?php echo $this->helper('catalog/image')->init($_item, 'small_image')->resize(125, 125); ?>" width="125" height="125" alt="<?php echo $this->stripTags($_item->getName(), null, true) ?>" /></a>
58
+ <h5><a href="#" onclick="setPLocation('<?php echo $this->getProductUrl($_item) ?>', true)" title="<?php echo $this->stripTags($_item->getName(), null, true) ?>"><?php echo $this->helper('catalog/output')->productAttribute($_item, $_item->getName(), 'name') ?></a></h5>
59
+ <?php echo $this->helper('review/product')->getSummaryHtml($_item, 'short') ?>
60
+ <?php echo $this->getPriceHtml($_item, false, '-compare-list-top') ?>
61
+ <?php if($_item->isSaleable()): ?>
62
+ <button class="form-button" onclick="setPLocation('<?php echo $this->getAddToCartUrl($_item) ?>', true)"><span><?php echo $this->__('Add to Cart') ?></span></button><br/>
63
+ <?php else: ?>
64
+ <div class="out-of-stock"><?php echo $this->__('Out of stock') ?></div>
65
+ <?php endif; ?>
66
+ <?php if ($this->helper('wishlist')->isAllow()) : ?>
67
+ <a href="#" onclick="setPLocation('<?php echo $this->getAddToWishlistUrl($_item) ?>', true)" class="link-cart"><small><?php echo $this->__('Add to Wishlist') ?></small></a>
68
+ <?php endif; ?>
69
+ </td>
70
+ <?php endforeach; ?>
71
+ </tr>
72
+ </tbody>
73
+ <tbody>
74
+ <?php foreach ($this->getAttributes() as $_attribute): ?>
75
+ <tr>
76
+ <?php $_i=0 ?>
77
+ <?php foreach($this->getItems() as $_item): ?>
78
+ <?php if($_i++%10==0): ?>
79
+ <td class="label"><?php echo $_attribute->getStoreLabel() ?></td>
80
+ <?php endif; ?>
81
+ <td>
82
+ <?php switch ($_attribute->getAttributeCode()) {
83
+ case "price": ?>
84
+ <?php echo $this->getPriceHtml($_item, false, '-compare-list-' . $_attribute->getCode()) ?>
85
+ <?php break;
86
+ case "small_image": ?>
87
+ <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()) ?>" />
88
+ <?php break;
89
+ default: ?>
90
+ <?php echo $_helper->productAttribute($_item, $this->getProductAttributeValue($_item, $_attribute), $_attribute->getCode()) ?>
91
+ <?php break;
92
+ } ?>
93
+ </td>
94
+ <?php endforeach; ?>
95
+ </tr>
96
+ <?php endforeach; ?>
97
+ </tbody>
98
+ <tbody class="attribute-cart">
99
+ <tr>
100
+ <?php $_i=0 ?>
101
+ <?php foreach($this->getItems() as $_item): ?>
102
+ <?php if($_i++%10==0): ?>
103
+ <td class="label">&nbsp;</td>
104
+ <?php endif; ?>
105
+ <td>
106
+ <?php echo $this->getPriceHtml($_item, false, '-compare-list-bottom') ?>
107
+ <?php if($_item->isSaleable()): ?>
108
+ <button class="form-button" onclick="setPLocation('<?php echo $this->getAddToCartUrl($_item) ?>', true)"><span><?php echo $this->__('Add to Cart') ?></span></button><br/>
109
+ <?php else: ?>
110
+ <div class="out-of-stock"><?php echo $this->__('Out of stock') ?></div>
111
+ <?php endif; ?>
112
+ <?php if ($this->helper('wishlist')->isAllow()) : ?>
113
+ <a href="#" onclick="setPLocation('<?php echo $this->getAddToWishlistUrl($_item) ?>', true)" class="link-cart"><small><?php echo $this->__('Add to Wishlist') ?></small></a>
114
+ <?php endif; ?>
115
+ </td>
116
+ <?php endforeach; ?>
117
+ </tr>
118
+ </tbody>
119
+ </table>
120
+ <div class="button-set">
121
+ <button class="form-button" onclick="window.close();window.opener.focus();"><span><?php echo $this->__('Close Window') ?></span></button>
122
+ </div>
123
+ </div>
124
+ <script type="text/javascript">
125
+ decorateTable('product_comparison');
126
+ </script>
127
+ <?php else: ?>
128
+ <script type="text/javascript">
129
+ window.close();
130
+ </script>
131
+ <?php endif; ?>
app/design/frontend/default/iphone/template/catalog/product/compare/sidebar.phtml ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ /* @var $this Mage_Catalog_Block_Product_Compare_Sidebar */
27
+ ?>
28
+ <div class="box base-mini mini-compare-products">
29
+ <div class="head">
30
+ <?php if ($this->helper('catalog/product_compare')->getItemCount() > 0): ?>
31
+ <h4><?php echo $this->__('Compare Products - %d Items', $this->helper('catalog/product_compare')->getItemCount()) ?></h4>
32
+ <?php else: ?>
33
+ <h4><?php echo $this->__('Compare Products') ?></h4>
34
+ <?php endif; ?>
35
+ </div>
36
+ <?php if ($this->helper('catalog/product_compare')->getItemCount() > 0): ?>
37
+ <ol id="compare-items">
38
+ <?php foreach($this->helper('catalog/product_compare')->getItemCollection() as $_index=>$_item): ?>
39
+ <li class="block-compare-item">
40
+ <input type="hidden" class="compare-item-id" value="<?php echo $_item->getId() ?>" />
41
+ <a href="<?php echo $this->helper('catalog/product_compare')->getRemoveUrl($_item) ?>" class="widget-btn"><img src="<?php echo $this->getSkinUrl('images/list_remove_btn.gif') ?>" alt="<?php echo $this->__('Remove This Item') ?>" onclick="return confirm('<?php echo $this->__('Are you sure you would like to remove this item from the compare products?') ?>');" /></a>
42
+ <a href="<?php echo $this->getProductUrl($_item) ?>"><?php echo $this->helper('catalog/output')->productAttribute($_item, $_item->getName(), 'name') ?></a>
43
+ </li>
44
+ <?php endforeach; ?>
45
+ </ol>
46
+ <script type="text/javascript">decorateList('compare-items')</script>
47
+ <div class="actions">
48
+ <a href="<?php echo $this->helper('catalog/product_compare')->getClearListUrl() ?>" class="left" onclick="return confirm('<?php echo $this->__('Are you sure you would like to remove all products from your comparison?') ?>');"><?php echo $this->__('Clear All Items') ?></a>
49
+ <button type="button" class="form-button-alt" onclick="popWin('<?php echo $this->helper('catalog/product_compare')->getListUrl() ?>','compare','width=800,height=600,resizable=yes,scrollbars=yes')"><span><?php echo $this->__('Compare Items') ?></span></button>
50
+ </div>
51
+ <?php else: ?>
52
+ <div class="content"><p><?php echo $this->__('You have no items to compare.') ?></p></div>
53
+ <?php endif; ?>
54
+ </div>
app/design/frontend/default/iphone/template/catalog/product/gallery.phtml ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <div class="a-right"><a href="" onclick="window.close();return false;"><?php echo $this->__('Close Window') ?></a></div>
28
+ <?php $_width=$this->getImageWidth() ?>
29
+ <div class="a-center"><?php if($_prevUrl = $this->getPreviusImageUrl()): ?>
30
+ <a href="<?php echo $_prevUrl ?>" class="product-gallery-nav"><strong>&laquo; <?php echo $this->__('Prev') ?></strong></a>
31
+ <?php endif; ?>
32
+ <?php if($_nextUrl = $this->getNextImageUrl()): ?>
33
+ <a href="<?php echo $_nextUrl ?>" class="product-gallery-nav"><strong><?php echo $this->__('Next') ?> &raquo;</strong></a>
34
+ <?php endif; ?>
35
+ </div>
36
+ <div class="a-left"><?php echo $this->htmlEscape($this->getCurrentImage()->getLabel()) ?></div>
37
+ <div class="clear"></div>
38
+ <p><img<?php if($_width): ?> width="<?php echo $_width ?>"<?php endif; ?> src="<?php echo $this->helper('catalog/image')->init($this->getProduct(), 'image', $this->getImageFile()); ?>" alt="<?php echo $this->htmlEscape($this->getCurrentImage()->getLabel()) ?>" title="<?php echo $this->htmlEscape($this->getCurrentImage()->getLabel()) ?>" id="product-gallery-image" /></p>
39
+ <div class="a-center"><?php if($_prevUrl = $this->getPreviusImageUrl()): ?>
40
+ <a href="<?php echo $_prevUrl ?>" class="product-gallery-nav"><strong>&laquo; <?php echo $this->__('Prev') ?></strong></a>
41
+ <?php endif; ?>
42
+ <?php if($_nextUrl = $this->getNextImageUrl()): ?>
43
+ <a href="<?php echo $_nextUrl ?>" class="product-gallery-nav"><strong><?php echo $this->__('Next') ?> &raquo;</strong></a>
44
+ <?php endif; ?>
45
+ </div>
46
+ <div class="a-right"><a href="" onclick="window.close();return false;"><?php echo $this->__('Close Window') ?></a></div>
47
+ <script type="text/javascript">
48
+ Event.observe(window, 'load', function(){
49
+ var demensions = $('product-gallery-image').getDimensions();
50
+ window.resizeTo(demensions.width+100, demensions.height+160);
51
+ });
52
+ </script>
app/design/frontend/default/iphone/template/catalog/product/list.phtml ADDED
@@ -0,0 +1,81 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php
28
+ /**
29
+ * Product list template
30
+ *
31
+ * @see Mage_Catalog_Block_Product_List
32
+ */
33
+ ?>
34
+ <?php $_productCollection=$this->getLoadedProductCollection() ?>
35
+ <?php if(!$_productCollection->count()): ?>
36
+ <div class="note-msg">
37
+ <?php echo $this->__('There are no products matching the selection.') ?>
38
+ </div>
39
+ <?php else: ?>
40
+
41
+ <?php echo $this->getToolbarHtml() ?>
42
+ <?php // List mode ?>
43
+
44
+ <?php $_iterator = 0; ?>
45
+ <div class="listing-type-list catalog-listing">
46
+ <ul class="c-list">
47
+ <?php foreach ($_productCollection as $_product): ?>
48
+ <li>
49
+ <div class="col2-alt-set">
50
+ <div class="col-1">
51
+ <?php // Product Image ?>
52
+ <div class="product-image">
53
+ <a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->stripTags($this->getImageLabel($_product, 'small_image'), null, true) ?>">
54
+ <img src="<?php echo $this->helper('catalog/image')->init($_product, 'small_image')->resize(65, 65); ?>" width="65" height="65" alt="<?php echo $this->stripTags($this->getImageLabel($_product, 'small_image'), null, true) ?>" title="<?php echo $this->stripTags($this->getImageLabel($_product, 'small_image'), null, true) ?>" />
55
+ </a>
56
+ </div>
57
+ </div>
58
+ <div class="col-2">
59
+ <?php // Product description ?>
60
+ <div class="product-shop">
61
+ <h5><a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->stripTags($_product->getName(), null, true) ?>"><?php echo $this->helper('catalog/output')->productAttribute($_product, $_product->getName(), 'name') ?></a></h5>
62
+ <div class="product-price"><?php echo $this->getPriceHtml($_product, true) ?></div>
63
+ <?php if($_product->isSaleable()): ?>
64
+ <button type="button" class="form-button" onclick="setLocation('<?php echo $this->getAddToCartUrl($_product) ?>')"><span><?php echo $this->__('Add to Cart') ?></span></button>
65
+ <?php else: ?>
66
+ <div class="out-of-stock"><?php echo $this->__('Out of stock') ?></div>
67
+ <?php endif; ?>
68
+ </div>
69
+ </div><div class="clear"></div>
70
+ <div class="description">
71
+ <?php echo $this->helper('catalog/output')->productAttribute($_product, $_product->getShortDescription(), 'short_description') ?>
72
+ <a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->stripTags($_product->getName(), null, true) ?>"><small><?php echo $this->__('Learn More') ?></small></a>
73
+ </div>
74
+ </div>
75
+ </li>
76
+ <?php endforeach; ?>
77
+ </ul>
78
+ </div>
79
+
80
+ <?php echo $this->getToolbarHtml() ?>
81
+ <?php endif; ?>
app/design/frontend/default/iphone/template/catalog/product/list/crosssell.phtml ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php if($this->getItems()->getSize()): ?>
28
+ <div class="box base-mini cross-sell">
29
+ <div class="head">
30
+ <h4><span><?php echo $this->__('Cross-sell Products') ?></span></h4>
31
+ </div>
32
+ <ol id="cross-sell-products">
33
+ <?php foreach($this->getItems() as $_item): ?>
34
+ <li>
35
+ <div class="product-images">
36
+ <a href="<?php echo $_item->getProductUrl() ?>"><img src="<?php echo $this->helper('catalog/image')->init($_item, 'thumbnail')->resize(38) ?>" alt="<?php echo $this->htmlEscape($_item->getName()) ?>" width="38" height="38" /></a>
37
+ </div>
38
+ <div class="product-details">
39
+ <a href="<?php echo $_item->getProductUrl() ?>"><?php echo $this->htmlEscape($_item->getName()) ?></a>
40
+ <?php echo $this->helper('catalog/product')->getPriceHtml($_item) ?>
41
+ <a href="<?php echo $this->getAddToCartUrl($_item) ?>"><?php echo $this->__('Add to Cart') ?></a>
42
+ <?php if ($this->helper('wishlist')->isAllow()) : ?>
43
+ <a href="<?php echo $this->getAddToWishlistUrl($_item) ?>"><?php echo $this->__('Add to Wishlist') ?></a>
44
+ <?php endif; ?>
45
+ </div>
46
+ </li>
47
+ <?php endforeach; ?>
48
+ </ol>
49
+ <script type="text/javascript">decorateList('cross-sell-products')</script>
50
+ </div>
51
+ <?php endif ?>
app/design/frontend/default/iphone/template/catalog/product/list/related.phtml ADDED
@@ -0,0 +1,99 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php if($this->getItems()->getSize()): ?>
28
+ <div class="box base-mini mini-related-items">
29
+ <div class="head">
30
+ <h4><?php echo $this->__('Related Products') ?></h4>
31
+ </div>
32
+ <div class="content">
33
+ <p><strong><?php echo $this->__('Check items to add to the cart or') ?>&nbsp;<a href="#" onclick="selectAllRelated(this);return false;"><?php echo $this->__('select all') ?></a></strong></p>
34
+ <ol>
35
+ <?php foreach($this->getItems() as $_item): ?>
36
+ <li<?php if($_item->isSuper() || !$_item->isSaleable()): ?> class="super-products"<?php endif; ?>>
37
+ <div class="product-images">
38
+ <?php if(!$_item->isSuper() && $_item->isSaleable()): ?>
39
+ <span class="checkbox-container">
40
+ <input type="checkbox" class="related-checkbox left" id="related-checkbox<?php echo $_item->getId() ?>" name="related_products[]" value="<?php echo $_item->getId() ?>" />
41
+ </span>
42
+ <?php else: ?>
43
+ <span class="checkbox-container">&nbsp;</span>
44
+ <?php endif; ?>
45
+ <a href="<?php echo $_item->getProductUrl() ?>"><img src="<?php echo $this->helper('catalog/image')->init($_item, 'thumbnail')->resize(50) ?>" alt="<?php echo $this->htmlEscape($_item->getName()) ?>" width="50" height="50" /></a>
46
+ </div>
47
+ <div class="product-details">
48
+ <a href="<?php echo $_item->getProductUrl() ?>"><?php echo $this->htmlEscape($_item->getName()) ?></a>
49
+ <?php echo $this->getPriceHtml($_item, true, '-related') ?>
50
+ <?php if($_item->isSuper()): ?>
51
+ <a href="<?php echo $_item->getProductUrl() ?>"><?php echo $this->__('View Details') ?></a><br/>
52
+ <?php else: ?>
53
+ <?php if ($this->helper('wishlist')->isAllow()) : ?>
54
+ <a href="<?php echo $this->getAddToWishlistUrl($_item) ?>" class="link-cart"><?php echo $this->__('Add to Wishlist') ?></a>
55
+ <?php endif; ?>
56
+ <?php endif; ?>
57
+ </div>
58
+ </li>
59
+ <?php endforeach ?>
60
+ </ol>
61
+ </div>
62
+ </div>
63
+ <script type="text/javascript">
64
+ <!--
65
+ $$('.related-checkbox').each(function(elem){
66
+ Event.observe(elem, 'click', addRelatedToProduct)
67
+ });
68
+
69
+ var relatedProductsCheckFlag = false;
70
+ function selectAllRelated(txt){
71
+ if (relatedProductsCheckFlag == false) {
72
+ $$('.related-checkbox').each(function(elem){
73
+ elem.checked = true;
74
+ });
75
+ relatedProductsCheckFlag = true;
76
+ txt.innerHTML="<?php echo $this->__('unselect all') ?>";
77
+ } else {
78
+ $$('.related-checkbox').each(function(elem){
79
+ elem.checked = false;
80
+ });
81
+ relatedProductsCheckFlag = false;
82
+ txt.innerHTML="<?php echo $this->__('select all') ?>";
83
+ }
84
+ addRelatedToProduct();
85
+ }
86
+
87
+ function addRelatedToProduct(){
88
+ var checkboxes = $$('.related-checkbox');
89
+ var values = [];
90
+ for(var i=0;i<checkboxes.length;i++){
91
+ if(checkboxes[i].checked) values.push(checkboxes[i].value);
92
+ }
93
+ if($('related-products-field')){
94
+ $('related-products-field').value = values.join(',');
95
+ }
96
+ }
97
+ //-->
98
+ </script>
99
+ <?php endif ?>
app/design/frontend/default/iphone/template/catalog/product/list/toolbar.phtml ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php
28
+ /**
29
+ * Product list toolbar
30
+ *
31
+ * @see Mage_Catalog_Block_Product_List_Toolbar
32
+ */
33
+ ?>
34
+ <?php if($this->getCollection()->getSize()): ?>
35
+ <div class="col2-set pager">
36
+ <div class="col-1">
37
+ <?php if($this->getLastPageNum()>1): ?>
38
+ <?php echo $this->__('%s to %s of %s', $this->getFirstNum(), $this->getLastNum(), $this->getTotalNum()) ?>
39
+ <?php else: ?>
40
+ <strong><?php echo $this->__('%s Item(s)', $this->getTotalNum()) ?></strong>
41
+ <?php endif; ?>
42
+ </div>
43
+ <div class="col-2 page-num a-right">
44
+ <?php echo $this->getPagerHtml() ?>
45
+ </div><div class="clear"></div>
46
+ </div>
47
+ <?php endif ?>
app/design/frontend/default/iphone/template/catalog/product/list/toolbar/pager.phtml ADDED
@@ -0,0 +1,68 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php
28
+ /**
29
+ * Products list Pagination
30
+ *
31
+ * @see Mage_Catalog_Block_Product_List_Toolbar_Pager
32
+ */
33
+ ?>
34
+
35
+ <ol>
36
+ <?php if (!$this->isFirstPage()): ?>
37
+ <li><a class="previous" href="<?php echo $this->getPreviousPageUrl() ?>" title="<?php echo $this->__('Previous') ?>"><img src="<?php echo $this->getSkinUrl('images/pager_arrow_left.gif') ?>" alt="<?php echo $this->__('Previous') ?>" class="v-middle" /></a></li>
38
+ <?php endif;?>
39
+
40
+ <?php if ($this->canShowFirst()): ?>
41
+ <li><a class="first" href="<?php echo $this->getFirstPageUrl() ?>">1</a></li>
42
+ <?php endif;?>
43
+
44
+ <?php if ($this->canShowPreviousJump()): ?>
45
+ <li><a class="previous_jump" title="" href="<?php echo $this->getPreviousJumpUrl() ?>">...</a></li>
46
+ <?php endif;?>
47
+
48
+ <?php foreach ($this->getFramePages() as $_page): ?>
49
+ <?php if ($this->isPageCurrent($_page)): ?>
50
+ <li class="current"><?php echo $_page ?></li>
51
+ <?php else: ?>
52
+ <li><a href="<?php echo $this->getPageUrl($_page) ?>"><?php echo $_page ?></a></li>
53
+ <?php endif;?>
54
+ <?php endforeach;?>
55
+
56
+
57
+ <?php if ($this->canShowNextJump()): ?>
58
+ <li><a class="next_jump" title="" href="<?php echo $this->getNextJumpUrl() ?>">...</a></li>
59
+ <?php endif;?>
60
+
61
+ <?php if ($this->canShowLast()): ?>
62
+ <li><a class="last" href="<?php echo $this->getLastPageUrl() ?>"><?php echo $this->getLastPageNum() ?></a><li>
63
+ <?php endif;?>
64
+
65
+ <?php if (!$this->isLastPage()): ?>
66
+ <li><a class="next" href="<?php echo $this->getNextPageUrl() ?>" title="<?php echo $this->__('Next') ?>"><img src="<?php echo $this->getSkinUrl('images/pager_arrow_right.gif') ?>" alt="<?php echo $this->__('Next') ?>" class="v-middle" /></a></li>
67
+ <?php endif;?>
68
+ </ol>
app/design/frontend/default/iphone/template/catalog/product/list/upsell.phtml ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php if($this->getItemCollection()->getSize()): ?>
28
+ <br />
29
+ <h4><?php echo $this->__('You may also be interested in the following product(s)') ?></h4>
30
+ <table cellspacing="0" class="up-sell">
31
+ <?php $this->resetItemsIterator() ?>
32
+ <?php for($_i=0;$_i<$this->getRowCount();$_i++): ?>
33
+ <tr>
34
+ <?php for($_j=0;$_j<$this->getColumnCount();$_j++): ?>
35
+ <?php if($_link=$this->getIterableItem()): ?>
36
+ <td style="padding-right:5px;" valign="top">
37
+ <p class="product-image"><a href="<?php echo $_link->getProductUrl() ?>"><img src="<?php echo $this->helper('catalog/image')->init($_link, 'small_image')->resize(90) ?>" width="90" height="90" alt="<?php echo $this->htmlEscape($_link->getName()) ?>" title="<?php echo $this->htmlEscape($_link->getName()) ?>" /></a></p>
38
+ <h5><a href="<?php echo $_link->getProductUrl() ?>"><?php echo $this->htmlEscape($_link->getName()) ?></a></h5>
39
+ <?php echo $this->getPriceHtml($_link, true, '-upsell') ?>
40
+ </td>
41
+ <?php else: ?>
42
+ <td class="empty-product">&nbsp;</td>
43
+ <?php endif; ?>
44
+ <?php endfor; ?>
45
+ </tr>
46
+ <?php endfor; ?>
47
+ </table>
48
+ <?php endif; ?>
app/design/frontend/default/iphone/template/catalog/product/new.phtml ADDED
@@ -0,0 +1,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php if (($_products = $this->getProductCollection()) && $_products->getSize()): ?>
28
+ <div class="box recently">
29
+ <h3><?php echo $this->__('New Products') ?></h3>
30
+ <table cellspacing="0" class="recently-list" id="new-products-list-table">
31
+ <tr>
32
+ <?php $i=0; foreach ($_products->getItems() as $_product): ?>
33
+ <?php if ($i>5): continue; endif; ?>
34
+
35
+ <td>
36
+ <div>
37
+ <a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->htmlEscape($_product->getName()) ?>">
38
+ <img class="product-image" src="<?php echo $this->helper('catalog/image')->init($_product, 'small_image')->resize(80, 77) ?>" width="80" height="77" alt="<?php echo $this->htmlEscape($_product->getName()) ?>" />
39
+ </a>
40
+ </div>
41
+ <p><a class="product-name" href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->htmlEscape($_product->getName()) ?>)"><?php echo $this->htmlEscape($_product->getName()) ?></a></p>
42
+ <?php echo $this->getReviewsSummaryHtml($_product, 'short') ?>
43
+ <?php echo $this->getPriceHtml($_product, true, '-new') ?>
44
+ <?php if($_product->isSaleable()): ?>
45
+ <button type="button" class="form-button" onclick="setLocation('<?php echo $this->getAddToCartUrl($_product) ?>')"><span><?php echo $this->__('Add to Cart') ?></span></button>
46
+ <?php else: ?>
47
+ <div class="out-of-stock"><?php echo $this->__('Out of stock') ?></div>
48
+ <?php endif; ?>
49
+ <div class="clear"></div>
50
+ <p class="add-to">
51
+ <?php if ($this->helper('wishlist')->isAllow()) : ?>
52
+ <a href="<?php echo $this->getAddToWishlistUrl($_product) ?>" class="link-cart"><?php echo $this->__('Add to Wishlist') ?></a>
53
+ <?php endif; ?>
54
+ <?php if($_compareUrl=$this->getAddToCompareUrl($_product)): ?><br />
55
+ <a href="<?php echo $_compareUrl ?>"><?php echo $this->__('Add to Compare') ?></a>
56
+ <?php endif; ?>
57
+ </p>
58
+ </td>
59
+ <?php $i++; endforeach; ?>
60
+ <?php for($i;$i%5!=0;$i++): ?>
61
+ <td>&nbsp;</td>
62
+ <?php endfor ?>
63
+ </tr>
64
+ </table></div>
65
+ <?php endif; ?>
app/design/frontend/default/iphone/template/catalog/product/price.phtml ADDED
@@ -0,0 +1,358 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+
28
+ <?php
29
+ /**
30
+ * Template for displaying product price in different places (products grid, product view page etc)
31
+ *
32
+ * @see Mage_Catalog_Block_Product_Abstract
33
+ */
34
+ ?>
35
+
36
+ <?php $_product = $this->getProduct() ?>
37
+ <?php $_id = $_product->getId() ?>
38
+
39
+ <?php $_weeeSeparator = ''; ?>
40
+
41
+ <?php $simplePricesTax = ($this->helper('tax')->displayPriceIncludingTax() || $this->helper('tax')->displayBothPrices()); ?>
42
+
43
+ <?php $_minimalPriceValue = $_product->getMinimalPrice() ?>
44
+ <?php $_minimalPrice = $this->helper('tax')->getPrice($_product, $_minimalPriceValue, $simplePricesTax) ?>
45
+
46
+ <?php if (!$_product->isGrouped()): ?>
47
+ <?php $_weeeTaxAmount = Mage::helper('weee')->getAmountForDisplay($_product); ?>
48
+ <?php if (Mage::helper('weee')->typeOfDisplay($_product, array(1,2,4))): ?>
49
+ <?php $_weeeTaxAmount = Mage::helper('weee')->getAmount($_product); ?>
50
+ <?php $_weeeTaxAttributes = Mage::helper('weee')->getProductWeeeAttributesForDisplay($_product); ?>
51
+ <?php endif; ?>
52
+
53
+ <div class="price-box">
54
+ <?php $_price = $this->helper('tax')->getPrice($_product, $_product->getPrice()) ?>
55
+ <?php $_regularPrice = $this->helper('tax')->getPrice($_product, $_product->getPrice(), $simplePricesTax) ?>
56
+ <?php $_finalPrice = $this->helper('tax')->getPrice($_product, $_product->getFinalPrice()) ?>
57
+ <?php $_finalPriceInclTax = $this->helper('tax')->getPrice($_product, $_product->getFinalPrice(), true) ?>
58
+ <?php $_weeeDisplayType = Mage::helper('weee')->getPriceDisplayType(); ?>
59
+ <?php if ($_finalPrice == $_price): ?>
60
+ <?php if ($this->helper('tax')->displayBothPrices()): ?>
61
+ <?php if ($_weeeTaxAmount && Mage::helper('weee')->typeOfDisplay($_product, 0)): // including ?>
62
+ <span class="price-excluding-tax">
63
+ <span class="label"><?php echo Mage::helper('tax')->__('Excl. Tax:') ?></span>
64
+ <span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>"><?php echo Mage::helper('core')->currency($_price+$_weeeTaxAmount,true,false) ?></span>
65
+ </span>
66
+ <br />
67
+ <span class="price-including-tax">
68
+ <span class="label"><?php echo Mage::helper('tax')->__('Incl. Tax:') ?></span>
69
+ <span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>"><?php echo Mage::helper('core')->currency($_finalPriceInclTax+$_weeeTaxAmount,true,false) ?></span>
70
+ </span>
71
+ <?php elseif ($_weeeTaxAmount && Mage::helper('weee')->typeOfDisplay($_product, 1)): // incl. + weee ?>
72
+ <span class="price-excluding-tax">
73
+ <span class="label"><?php echo Mage::helper('tax')->__('Excl. Tax:') ?></span>
74
+ <span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>"><?php echo Mage::helper('core')->currency($_price+$_weeeTaxAmount,true,false) ?></span>
75
+ </span>
76
+ <br />
77
+ <span class="price-including-tax">
78
+ <span class="label"><?php echo Mage::helper('tax')->__('Incl. Tax:') ?></span>
79
+ <span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>"><?php echo Mage::helper('core')->currency($_finalPriceInclTax+$_weeeTaxAmount,true,false) ?></span>
80
+ <br />
81
+ <span class="weee">(<small>
82
+ <?php foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
83
+ <?php echo $_weeeSeparator; ?>
84
+ <?php echo $_weeeTaxAttribute->getName(); ?>: <?php echo Mage::helper('core')->currency($_weeeTaxAttribute->getAmount(), true, true); ?>
85
+ <?php $_weeeSeparator = ' + '; ?>
86
+ <?php endforeach; ?>
87
+ </small>)</span>
88
+ </span>
89
+ <?php elseif ($_weeeTaxAmount && Mage::helper('weee')->typeOfDisplay($_product, 4)): // incl. + weee ?>
90
+ <span class="price-excluding-tax">
91
+ <span class="label"><?php echo Mage::helper('tax')->__('Excl. Tax:') ?></span>
92
+ <span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>"><?php echo Mage::helper('core')->currency($_price+$_weeeTaxAmount,true,false) ?></span>
93
+ </span>
94
+ <br />
95
+ <span class="price-including-tax">
96
+ <span class="label"><?php echo Mage::helper('tax')->__('Incl. Tax:') ?></span>
97
+ <span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>"><?php echo Mage::helper('core')->currency($_finalPriceInclTax+$_weeeTaxAmount,true,false) ?></span>
98
+ <br />
99
+ <span class="weee">(<small>
100
+ <?php foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
101
+ <?php echo $_weeeSeparator; ?>
102
+ <?php echo $_weeeTaxAttribute->getName(); ?>: <?php echo Mage::helper('core')->currency($_weeeTaxAttribute->getAmount()+$_weeeTaxAttribute->getTaxAmount(), true, true); ?>
103
+ <?php $_weeeSeparator = ' + '; ?>
104
+ <?php endforeach; ?>
105
+ </small>)</span>
106
+ </span>
107
+ <?php elseif ($_weeeTaxAmount && Mage::helper('weee')->typeOfDisplay($_product, 2)): // excl. + weee + final ?>
108
+ <span class="price-excluding-tax">
109
+ <span class="label"><?php echo Mage::helper('tax')->__('Excl. Tax:') ?></span>
110
+ <span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>"><?php echo Mage::helper('core')->currency($_price,true,false) ?></span>
111
+ </span>
112
+ <?php foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
113
+ <span class="weee">
114
+ <small>
115
+ <?php echo $_weeeTaxAttribute->getName(); ?>: <?php echo Mage::helper('core')->currency($_weeeTaxAttribute->getAmount(), true, true); ?>
116
+ </small>
117
+ </span>
118
+ <br />
119
+ <?php endforeach; ?>
120
+ <span class="price-including-tax">
121
+ <span class="label"><?php echo Mage::helper('tax')->__('Incl. Tax:') ?></span>
122
+ <span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>"><?php echo Mage::helper('core')->currency($_finalPriceInclTax+$_weeeTaxAmount,true,false) ?></span>
123
+ </span>
124
+ <?php else: ?>
125
+ <span class="price-excluding-tax">
126
+ <span class="label"><?php echo Mage::helper('tax')->__('Excl. Tax:') ?></span>
127
+ <span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>"><?php echo Mage::helper('core')->currency($_price,true,false) ?></span>
128
+ </span>
129
+ <br />
130
+ <span class="price-including-tax">
131
+ <span class="label"><?php echo Mage::helper('tax')->__('Incl. Tax:') ?></span>
132
+ <span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>"><?php echo Mage::helper('core')->currency($_finalPriceInclTax,true,false) ?></span>
133
+ </span>
134
+ <?php endif; ?>
135
+ <?php else: ?>
136
+ <?php if ($_weeeTaxAmount && Mage::helper('weee')->typeOfDisplay($_product, 0)): // including ?>
137
+ <span class="regular-price" id="product-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>"><?php echo Mage::helper('core')->currency($_price+$_weeeTaxAmount,true,true) ?></span>
138
+ <?php elseif ($_weeeTaxAmount && Mage::helper('weee')->typeOfDisplay($_product, 1)): // incl. + weee ?>
139
+ <span class="regular-price" id="product-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>"><?php echo Mage::helper('core')->currency($_price+$_weeeTaxAmount,true,true) ?></span>
140
+ <br />
141
+ <span class="weee">(<small>
142
+ <?php foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
143
+ <?php echo $_weeeSeparator; ?>
144
+ <?php echo $_weeeTaxAttribute->getName(); ?>: <?php echo Mage::helper('core')->currency($_weeeTaxAttribute->getAmount(), true, true); ?>
145
+ <?php $_weeeSeparator = ' + '; ?>
146
+ <?php endforeach; ?>
147
+ </small>)</span>
148
+ <?php elseif ($_weeeTaxAmount && Mage::helper('weee')->typeOfDisplay($_product, 4)): // incl. + weee ?>
149
+ <span class="regular-price" id="product-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>"><?php echo Mage::helper('core')->currency($_price+$_weeeTaxAmount,true,true) ?></span>
150
+ <br />
151
+ <span class="weee">(<small>
152
+ <?php foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
153
+ <?php echo $_weeeSeparator; ?>
154
+ <?php echo $_weeeTaxAttribute->getName(); ?>: <?php echo Mage::helper('core')->currency($_weeeTaxAttribute->getAmount()+$_weeeTaxAttribute->getTaxAmount(), true, true); ?>
155
+ <?php $_weeeSeparator = ' + '; ?>
156
+ <?php endforeach; ?>
157
+ </small>)</span>
158
+ <?php elseif ($_weeeTaxAmount && Mage::helper('weee')->typeOfDisplay($_product, 2)): // excl. + weee + final ?>
159
+ <span class="regular-price"><?php echo Mage::helper('core')->currency($_price,true,true) ?></span><br />
160
+ <?php foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
161
+ <span class="weee">
162
+ <small>
163
+ <?php echo $_weeeTaxAttribute->getName(); ?>: <?php echo Mage::helper('core')->currency($_weeeTaxAttribute->getAmount(), true, true); ?>
164
+ </small>
165
+ </span>
166
+ <br />
167
+ <?php endforeach; ?>
168
+ <span class="regular-price" id="product-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>"><?php echo Mage::helper('core')->currency($_price+$_weeeTaxAmount,true,true) ?></span>
169
+ <?php else: ?>
170
+ <span class="regular-price" id="product-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>"><?php echo Mage::helper('core')->currency($_price,true,true) ?></span>
171
+ <?php endif; ?>
172
+ <?php endif; ?>
173
+ <?php else: /* if ($_finalPrice == $_price): */ ?>
174
+ <?php $_originalWeeeTaxAmount = Mage::helper('weee')->getOriginalAmount($_product); ?>
175
+
176
+ <?php if ($_weeeTaxAmount && Mage::helper('weee')->typeOfDisplay($_product, 0)): // including ?>
177
+ <p class="old-price">
178
+ <span class="price-label"><?php echo $this->__('Regular Price:') ?></span>
179
+ <span class="price" id="old-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>"><?php echo Mage::helper('core')->currency($_regularPrice+$_originalWeeeTaxAmount,true,false) ?></span>
180
+ </p>
181
+
182
+ <?php if ($this->helper('tax')->displayBothPrices()): ?>
183
+ <p class="special-price">
184
+ <span class="price-label"><?php echo $this->__('Special Price:') ?></span>
185
+ <span class="price-excluding-tax">
186
+ <span class="label"><?php echo Mage::helper('tax')->__('Excl. Tax:') ?></span>
187
+ <span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>"><?php echo Mage::helper('core')->currency($_finalPrice+$_weeeTaxAmount,true,false) ?></span>
188
+ </span>
189
+ <br />
190
+ <span class="price-including-tax">
191
+ <span class="label"><?php echo Mage::helper('tax')->__('Incl. Tax:') ?></span>
192
+ <span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>"><?php echo Mage::helper('core')->currency($_finalPriceInclTax+$_weeeTaxAmount,true,false) ?></span>
193
+ </span>
194
+ </p>
195
+ <?php else: ?>
196
+ <p class="special-price">
197
+ <span class="price-label"><?php echo $this->__('Special Price:') ?></span>
198
+ <span class="price" id="product-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>"><?php echo Mage::helper('core')->currency($_finalPrice+$_weeeTaxAmount,true,false) ?></span>
199
+ </p>
200
+ <?php endif; ?>
201
+
202
+ <?php elseif ($_weeeTaxAmount && Mage::helper('weee')->typeOfDisplay($_product, 1)): // incl. + weee ?>
203
+ <p class="old-price">
204
+ <span class="price-label"><?php echo $this->__('Regular Price:') ?></span>
205
+ <span class="price" id="old-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>"><?php echo Mage::helper('core')->currency($_regularPrice+$_originalWeeeTaxAmount,true,false) ?></span>
206
+ </p>
207
+
208
+ <p class="special-price">
209
+ <span class="price-label"><?php echo $this->__('Special Price:') ?></span>
210
+ <span class="price-excluding-tax">
211
+ <span class="label"><?php echo Mage::helper('tax')->__('Excl. Tax:') ?></span>
212
+ <span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>"><?php echo Mage::helper('core')->currency($_finalPrice+$_weeeTaxAmount,true,false) ?></span>
213
+ </span>
214
+ <br />
215
+ <span class="weee">(<small>
216
+ <?php foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
217
+ <?php echo $_weeeSeparator; ?>
218
+ <?php echo $_weeeTaxAttribute->getName(); ?>: <?php echo Mage::helper('core')->currency($_weeeTaxAttribute->getAmount(), true, true); ?>
219
+ <?php $_weeeSeparator = ' + '; ?>
220
+ <?php endforeach; ?>
221
+ </small>)</span>
222
+ <span class="price-including-tax">
223
+ <span class="label"><?php echo Mage::helper('tax')->__('Incl. Tax:') ?></span>
224
+ <span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>"><?php echo Mage::helper('core')->currency($_finalPriceInclTax+$_weeeTaxAmount,true,false) ?></span>
225
+ </span>
226
+ </p>
227
+ <?php elseif ($_weeeTaxAmount && Mage::helper('weee')->typeOfDisplay($_product, 4)): // incl. + weee ?>
228
+ <p class="old-price">
229
+ <span class="price-label"><?php echo $this->__('Regular Price:') ?></span>
230
+ <span class="price" id="old-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>"><?php echo Mage::helper('core')->currency($_regularPrice+$_originalWeeeTaxAmount,true,false) ?></span>
231
+ </p>
232
+
233
+ <p class="special-price">
234
+ <span class="price-label"><?php echo $this->__('Special Price:') ?></span>
235
+ <span class="price-excluding-tax">
236
+ <span class="label"><?php echo Mage::helper('tax')->__('Excl. Tax:') ?></span>
237
+ <span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>"><?php echo Mage::helper('core')->currency($_finalPrice,true,false) ?></span>
238
+ </span>
239
+ <br />
240
+ <span class="weee">(<small>
241
+ <?php foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
242
+ <?php echo $_weeeSeparator; ?>
243
+ <?php echo $_weeeTaxAttribute->getName(); ?>: <?php echo Mage::helper('core')->currency($_weeeTaxAttribute->getAmount()+$_weeeTaxAttribute->getTaxAmount(), true, true); ?>
244
+ <?php $_weeeSeparator = ' + '; ?>
245
+ <?php endforeach; ?>
246
+ </small>)</span>
247
+ <span class="price-including-tax">
248
+ <span class="label"><?php echo Mage::helper('tax')->__('Incl. Tax:') ?></span>
249
+ <span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>"><?php echo Mage::helper('core')->currency($_finalPriceInclTax+$_weeeTaxAmount,true,false) ?></span>
250
+ </span>
251
+ </p>
252
+ <?php elseif ($_weeeTaxAmount && Mage::helper('weee')->typeOfDisplay($_product, 2)): // excl. + weee + final ?>
253
+ <p class="old-price">
254
+ <span class="price-label"><?php echo $this->__('Regular Price:') ?></span>
255
+ <span class="price" id="old-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>"><?php echo Mage::helper('core')->currency($_regularPrice,true,false) ?></span>
256
+ </p>
257
+
258
+ <p class="special-price">
259
+ <span class="price-label"><?php echo $this->__('Special Price:') ?></span>
260
+ <span class="price-excluding-tax">
261
+ <span class="label"><?php echo Mage::helper('tax')->__('Excl. Tax:') ?></span>
262
+ <span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>"><?php echo Mage::helper('core')->currency($_finalPrice,true,false) ?></span>
263
+ </span>
264
+ <br />
265
+ <?php foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
266
+ <span class="weee">
267
+ <small>
268
+ <?php echo $_weeeTaxAttribute->getName(); ?>: <?php echo Mage::helper('core')->currency($_weeeTaxAttribute->getAmount(), true, true); ?>
269
+ </small>
270
+ </span>
271
+ <br />
272
+ <?php endforeach; ?>
273
+ <span class="price-including-tax">
274
+ <span class="label"><?php echo Mage::helper('tax')->__('Incl. Tax:') ?></span>
275
+ <span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>"><?php echo Mage::helper('core')->currency($_finalPriceInclTax+$_weeeTaxAmount,true,false) ?></span>
276
+ </span>
277
+ </p>
278
+ <?php else: // excl. ?>
279
+ <p class="old-price">
280
+ <span class="price-label"><?php echo $this->__('Regular Price:') ?></span>
281
+ <span class="price" id="old-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>"><?php echo Mage::helper('core')->currency($_regularPrice,true,false) ?></span>
282
+ </p>
283
+
284
+ <?php if ($this->helper('tax')->displayBothPrices()): ?>
285
+ <p class="special-price">
286
+ <span class="price-label"><?php echo $this->__('Special Price:') ?></span>
287
+ <span class="price-excluding-tax">
288
+ <span class="label"><?php echo Mage::helper('tax')->__('Excl. Tax:') ?></span>
289
+ <span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>"><?php echo Mage::helper('core')->currency($_finalPrice,true,false) ?></span>
290
+ </span>
291
+ <br />
292
+ <span class="price-including-tax">
293
+ <span class="label"><?php echo Mage::helper('tax')->__('Incl. Tax:') ?></span>
294
+ <span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>"><?php echo Mage::helper('core')->currency($_finalPriceInclTax,true,false) ?></span>
295
+ </span>
296
+ </p>
297
+ <?php else: ?>
298
+ <p class="special-price">
299
+ <span class="price-label"><?php echo $this->__('Special Price:') ?></span>
300
+ <span class="price" id="product-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>"><?php echo Mage::helper('core')->currency($_finalPrice,true,false) ?></span>
301
+ </p>
302
+ <?php endif; ?>
303
+ <?php endif; ?>
304
+
305
+ <?php endif; /* if ($_finalPrice == $_price): */ ?>
306
+
307
+ <?php if ($this->getDisplayMinimalPrice() && $_minimalPriceValue && $_minimalPriceValue < $_product->getFinalPrice()): ?>
308
+
309
+ <?php $_minimalPriceDisplayValue = $_minimalPrice; ?>
310
+ <?php if ($_weeeTaxAmount && Mage::helper('weee')->typeOfDisplay($_product, array(0, 1, 4))): ?>
311
+ <?php $_minimalPriceDisplayValue = $_minimalPrice+$_weeeTaxAmount; ?>
312
+ <?php endif; ?>
313
+
314
+ <?php if ($this->getUseLinkForAsLowAs()):?>
315
+ <a href="<?php echo $_product->getProductUrl(); ?>" class="minimal-price-link">
316
+ <?php else:?>
317
+ <span class="minimal-price-link">
318
+ <?php endif?>
319
+ <span class="label"><?php echo $this->__('As low as:') ?></span>
320
+ <span class="price" id="product-minimal-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>"><?php echo Mage::helper('core')->currency($_minimalPriceDisplayValue,true,false) ?></span>
321
+ <?php if ($this->getUseLinkForAsLowAs()):?>
322
+ </a>
323
+ <?php else:?>
324
+ </span>
325
+ <?php endif?>
326
+ <?php endif; /* if ($this->getDisplayMinimalPrice() && $_minimalPrice && $_minimalPrice < $_finalPrice): */ ?>
327
+ </div>
328
+
329
+ <?php else: /* if (!$_product->isGrouped()): */ ?>
330
+ <?php
331
+ $_exclTax = $this->helper('tax')->getPrice($_product, $_minimalPriceValue, $includingTax = null);
332
+ $_inclTax = $this->helper('tax')->getPrice($_product, $_minimalPriceValue, $includingTax = true);
333
+ ?>
334
+ <?php if ($this->getDisplayMinimalPrice() && $_minimalPriceValue): ?>
335
+ <div class="price-box">
336
+ <span class="label"><?php echo $this->__('Starting at:') ?></span>
337
+ <?php if ($this->helper('tax')->displayBothPrices()): ?>
338
+ <span class="price-excluding-tax">
339
+ <span class="label"><?php echo Mage::helper('tax')->__('Excl. Tax:') ?></span>
340
+ <span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>"><?php echo Mage::helper('core')->currency($_exclTax, true, false) ?></span>
341
+ </span>
342
+ <br />
343
+ <span class="price-including-tax">
344
+ <span class="label"><?php echo Mage::helper('tax')->__('Incl. Tax:') ?></span>
345
+ <span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>"><?php echo Mage::helper('core')->currency($_inclTax, true, false) ?></span>
346
+ </span>
347
+ <?php else: ?>
348
+ <?php
349
+ $_showPrice = $_inclTax;
350
+ if (!$this->helper('tax')->displayPriceIncludingTax()) {
351
+ $_showPrice = $_exclTax;
352
+ }
353
+ ?>
354
+ <span class="price" id="product-minimal-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>"><?php echo Mage::helper('core')->currency($_showPrice, true, false) ?></span>
355
+ <?php endif; ?>
356
+ </div>
357
+ <?php endif; /* if ($this->getDisplayMinimalPrice() && $_minimalPrice): */ ?>
358
+ <?php endif; /* if (!$_product->isGrouped()): */ ?>
app/design/frontend/default/iphone/template/catalog/product/send.phtml ADDED
@@ -0,0 +1,141 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+
27
+ /**
28
+ * Product view template
29
+ *
30
+ * @see Mage_Catalog_Block_Product_Send
31
+ */
32
+ ?>
33
+ <script type="text/javascript">
34
+ /*<![CDATA[*/
35
+ i=0;
36
+ var recipCount = 1;
37
+ var maxRecip = <?php echo $this->getMaxRecipients() ?>;
38
+ function remove_recipient(i){
39
+ $('recipients_name'+i).up(2).remove();
40
+ recipCount--;
41
+ if(recipCount<maxRecip && maxRecip != 0) {
42
+ $('add_recipient_button').show();
43
+ $('max_recipient_message').hide();
44
+ }
45
+ return false;
46
+ }
47
+
48
+ function add_recipient(){
49
+ ul = $('recipients_options');
50
+ var li_mail = Element.extend(document.createElement("LI"));
51
+ li_mail.addClassName('addElement');
52
+ li_mail.innerHTML = '<div align="right"><a href="delete_email" onclick="remove_recipient('+i+');return false"><img src="<?php echo $this->getSkinUrl('images/list_remove_btn.gif') ?>" alt="<?php echo $this->__('Remove Email') ?>" /><\/a><\/div>'
53
+ li_mail.innerHTML += '<div class="left"><label for="recipients_name"><?php echo $this->__('Name:') ?> <span class="required">*<\/span><\/label><br /><div style="width:250px"><input name="recipients[name][]" type="text" class="input-text required-entry" id="recipients_name'+i+'" style="width:250px;" /><\/div><br /><br /><\/div>';
54
+ li_mail.innerHTML += '<div class="right"><label for="recipients_email"><?php echo $this->__('Email Address:') ?><span class="required">*<\/span><\/label><br /><div style="width:250px"><input name="recipients[email][]" value="" title="<?php echo $this->__('Email Address') ?>" id="recipients_email'+i+'" type="text" class="input-text required-entry validate-email" style="width:250px;" /><\/div><\/div>';
55
+ i++;
56
+ recipCount++;
57
+ if(recipCount>=maxRecip && maxRecip != 0) {
58
+ $('add_recipient_button').hide();
59
+ $('max_recipient_message').show();
60
+ }
61
+
62
+ ul.appendChild(li_mail);
63
+ }
64
+ /*]]>*/
65
+ </script>
66
+
67
+ <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
68
+ <div class="page-head">
69
+ <h3><?php echo $this->__('Email to a Friend') ?></h3>
70
+ </div>
71
+ <form action="<?php echo $this->getUrl('catalog/product/sendmail',array('id'=>$this->getProductId())) ?>" method="post" id="product_sendtofriend_form">
72
+ <div class="col-1 login-box">
73
+ <div class="col-1 registered-users">
74
+ <div class="content ">
75
+ <div>
76
+ <h4><?php echo $this->__('Sender:') ?></h4>
77
+ <ul class="form-list" id="sender_options">
78
+ <li>
79
+ <div class="left">
80
+ <label for="sender_name"><?php echo $this->__('Name:') ?> <span class="required">*</span></label><br />
81
+ <div style="width:250px"><input name="sender[name]" value="<?php echo $this->htmlEscape($this->getUserName()) ?>" title="<?php echo $this->__('Name') ?>" id="sender_name" type="text" class="input-text required-entry" style="width:250px;" /></div>
82
+ </div>
83
+ <div class="right">
84
+ <label for="sender_email"><?php echo $this->__('Email:') ?> <span class="required">*</span></label><br/>
85
+ <div style="width:250px"><input name="sender[email]" value="<?php echo $this->htmlEscape($this->getEmail()) ?>" title="<?php echo $this->__('Email Address') ?>" id="sender_email" type="text" class="input-text required-entry validate-email" style="width:250px;" /></div>
86
+ </div>
87
+ </li>
88
+ <li>
89
+ <label for="sender_message"><?php echo $this->__('Message:') ?></label><br/>
90
+ <textarea name="sender[message]" cols="3" rows="3" class="input-text" id="sender_message" style="width:100%; height:100px"></textarea>
91
+ </li>
92
+
93
+ </ul>
94
+ </div>
95
+
96
+ <div>
97
+ <div>
98
+ <br />
99
+ <h4><?php echo $this->__('Recipient:') ?></h4>
100
+ <ul class="form-list" id="recipients_options">
101
+ <li>
102
+ <div class="left">
103
+ <label for="recipients_name"><?php echo $this->__('Name:') ?> <span class="required">*</span></label><br/>
104
+ <div style="width:250px"><input name="recipients[name][]" type="text" class="input-text required-entry" id="recipients_name" style="width:250px;" /></div><br /><br />
105
+ </div>
106
+ <div class="right">
107
+ <label for="recipients_email"><?php echo $this->__('Email Address:') ?> <span class="required">*</span></label><br />
108
+ <div style="width:250px"><input name="recipients[email][]" value="" title="<?php echo $this->__('Email Address') ?>" id="recipients_email" type="text" class="input-text required-entry validate-email" style="width:250px;" /></div>
109
+ </div>
110
+ </li>
111
+ </ul>
112
+ <div id="max_recipient_message" style="display:none">
113
+ <?php if ($this->getMaxRecipients()): ?>
114
+ <?php echo $this->__('Maximum %d email addresses allowed.', $this->getMaxRecipients()) ?>
115
+ <?php endif; ?>
116
+ </div>
117
+ <?php if (1 < $this->getMaxRecipients()): ?>
118
+ <div id="add_recipient_button">
119
+ <button class="form-button" onclick="add_recipient();" type="button"><span><?php echo $this->__('Add Recipient') ?></span></button>
120
+ </div>
121
+ <?php endif; ?>
122
+ </div>
123
+ </div>
124
+ <div style="clear:both"></div>
125
+
126
+ </div>
127
+
128
+ <div class="button-set">
129
+ <button class="form-button right" type="submit"><span><?php echo $this->__('Send email') ?></span></button>
130
+ </div>
131
+ </div>
132
+ </div>
133
+ </form>
134
+ <script type="text/javascript">
135
+ var productSendtofriendForm = new VarienForm('product_sendtofriend_form');
136
+ productSendtofriendForm.submit = function() {
137
+ if(this.validator.validate()) {
138
+ this.form.submit();
139
+ }
140
+ }.bind(productSendtofriendForm);
141
+ </script>
app/design/frontend/default/iphone/template/catalog/product/view.phtml ADDED
@@ -0,0 +1,121 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+
27
+ /**
28
+ * Product view template
29
+ *
30
+ * @see Mage_Catalog_Block_Product_View
31
+ */
32
+ ?>
33
+ <script type="text/javascript">
34
+ var optionsPrice = new Product.OptionsPrice(<?php echo $this->getJsonConfig() ?>);
35
+ </script>
36
+ <div id="messages_product_view"><?php echo $this->getMessagesBlock()->getGroupedHtml() ?></div>
37
+ <?php $_product=$this->getProduct() ?>
38
+ <form action="<?php echo $this->getAddToCartUrl($_product) ?>" method="post" id="product_addtocart_form"<?php if($_product->getOptions()): ?> enctype="multipart/form-data"<?php endif; ?>>
39
+ <div class="product-info-box">
40
+ <div class="product-essential">
41
+ <div class="product-shop">
42
+ <div class="col2-alt-set">
43
+ <div class="col-1">
44
+ <div class="product-image"><img src="<?php echo $this->helper('catalog/image')->init($_product, 'small_image')->resize(85, 85); ?>" width="85" height="85" alt="<?php echo $this->htmlEscape($_product->getName()) ?>" /></div>
45
+ <?php if($_product->isSaleable()): ?>
46
+ <?php if ($this->helper('wishlist')->isAllow()) : ?>
47
+ <div style="padding:7px 0 5px 8px;"><a href="<?php echo $this->helper('wishlist')->getAddUrl($_product) ?>"><?php echo $this->__('Add to Wishlist') ?></a></div>
48
+ <?php endif; ?>
49
+ <?php endif; ?>
50
+ <?php if ($this->canEmailToFriend()): ?>
51
+ <div style="padding:0 0 5px 6px;"><a href="<?php echo $this->helper('catalog/product')->getEmailToFriendUrl($_product) ?>"><?php echo $this->__('Email to a Friend') ?></a></div>
52
+ <?php endif; ?>
53
+ </div>
54
+ <div class="col-2">
55
+ <h3 class="product-name"><?php echo $this->htmlEscape($_product->getName()) ?></h3>
56
+ <?php echo $this->getChildHtml('product_type_data') ?>
57
+ <?php echo $this->getChildHtml('extrahint') ?>
58
+
59
+ <fieldset class="no-display">
60
+ <input type="hidden" name="product" value="<?php echo $_product->getId() ?>" />
61
+ <input type="hidden" name="related_product" id="related-products-field" value="" />
62
+ </fieldset>
63
+
64
+ <script type="text/javascript">
65
+ var productAddToCartForm = new VarienForm('product_addtocart_form');
66
+ productAddToCartForm.submit = function(){
67
+ if (this.validator.validate()) {
68
+ this.form.submit();
69
+ }
70
+ }.bind(productAddToCartForm);
71
+ </script>
72
+ <div class="clear"></div>
73
+
74
+ <?php echo $this->getChildHtml('tierprices') ?>
75
+
76
+ <?php if (!$this->hasOptions()):?>
77
+ <?php if($_product->isSaleable()): ?>
78
+ <?php echo $this->getChildHtml('addtocart') ?>
79
+ <?php endif; ?>
80
+ <?php endif; ?>
81
+ <?php echo $this->getChildHtml('other');?>
82
+
83
+ <?php if ($_product->isSaleable() && $this->hasOptions()):?>
84
+ <?php echo $this->getChildChildHtml('container1', '', true, true) ?>
85
+ <?php endif;?>
86
+ </div>
87
+ <div class="clear"></div>
88
+ </div>
89
+ </div>
90
+ <?php if ($_product->isSaleable() && $this->hasOptions()):?>
91
+ <?php echo $this->getChildChildHtml('container2', '', true, true) ?>
92
+ <?php endif;?>
93
+ </div>
94
+
95
+ <div class="product-collateral">
96
+ <?php foreach ($this->getChildGroup('detailed_info', 'getChildHtml') as $alias => $html):?>
97
+ <br />
98
+ <h4><?php echo $this->escapeHtml($this->getChildData($alias, 'title'));?></h4>
99
+ <div><?php echo $html;?></div>
100
+ <?php endforeach;?>
101
+
102
+ <?php if($_additional = $this->getAdditionalData()): ?>
103
+ <div class="attribute-specs">
104
+ <h4><?php echo $this->__('Additional Information') ?></h4>
105
+ <table cellspacing="0" class="data-table" id="product-attribute-specs-table">
106
+ <?php foreach ($_additional as $_data): ?>
107
+ <tr>
108
+ <td class="label"><?php echo $_data['label'] ?></td>
109
+ <td class="data"><?php echo $_data['value'] ?></td>
110
+ </tr>
111
+ <?php endforeach; ?>
112
+ </table>
113
+ <script type="text/javascript">decorateTable('product-attribute-specs-table')</script>
114
+ </div>
115
+ <?php endif; ?>
116
+
117
+ <?php echo $this->getChildHtml('upsell_products') ?>
118
+ <?php echo $this->getChildHtml('product_additional_data') ?>
119
+ </div>
120
+ </div>
121
+ </form>
app/design/frontend/default/iphone/template/catalog/product/view/additional.phtml ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php foreach ($this->getChildHtmlList() as $_html): ?>
28
+ <div class="collateral-box">
29
+ <?php echo $_html ?>
30
+ </div>
31
+ <?php endforeach; ?>
app/design/frontend/default/iphone/template/catalog/product/view/addto.phtml ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+
28
+ <?php $_product = $this->getProduct() ?>
29
+
30
+ <ul class="add-to-box">
31
+ <?php if ($this->helper('wishlist')->isAllow()) : ?>
32
+ <li><a href="<?php echo $this->helper('wishlist')->getAddUrl($_product) ?>"><?php echo $this->__('Add to Wishlist') ?></a></li>
33
+ <?php endif; ?>
34
+ <?php if($_compareUrl=$this->helper('catalog/product_compare')->getAddUrl($_product) ): ?>
35
+ <li><span class="pipe">|</span> <a href="<?php echo $_compareUrl ?>"><?php echo $this->__('Add to Compare') ?></a></li>
36
+ <?php endif; ?>
37
+ </ul>
app/design/frontend/default/iphone/template/catalog/product/view/addtocart.phtml ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+
28
+ <?php $_product = $this->getProduct() ?>
29
+
30
+ <?php if($_product->isSaleable()): ?>
31
+ <fieldset class="add-to-cart-box">
32
+ <legend><?php echo $this->__('Add Items to Cart') ?></legend>
33
+ <?php if(!$_product->isGrouped()): ?>
34
+ <span class="qty-box"><label for="qty"><?php echo $this->__('Qty') ?>:</label>
35
+ <input name="qty" type="text" class="input-text qty" id="qty" maxlength="12" value="<?php echo $this->getMinimalQty($_product) ?>" /></span>
36
+ <?php endif; ?>
37
+ <button type="button" class="form-button" onclick="productAddToCartForm.submit()"><span><?php echo $this->__('Add to Cart') ?></span></button>
38
+ <?php echo $this->getChildHtml('', true, true) ?>
39
+ </fieldset>
40
+ <?php endif; ?>
app/design/frontend/default/iphone/template/catalog/product/view/attributes.phtml ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+
27
+ /**
28
+ * Product additional attributes template
29
+ *
30
+ * @see Mage_Catalog_Block_Product_View_Attributes
31
+ */
32
+ ?>
33
+ <?php if($_additional = $this->getAdditionalData()): ?>
34
+ <div class="collateral-box attribute-specs">
35
+ <table cellspacing="0" class="data-table" id="product-attribute-specs-table">
36
+ <?php foreach ($_additional as $_data): ?>
37
+ <tr>
38
+ <td class="label"><?php echo $_data['label'] ?></td>
39
+ <td class="data"><?php echo $_data['value'] ?></td>
40
+ </tr>
41
+ <?php endforeach; ?>
42
+ </table>
43
+ <script type="text/javascript">decorateTable('product-attribute-specs-table')</script>
44
+ </div>
45
+ <?php endif;?>
app/design/frontend/default/iphone/template/catalog/product/view/bundle.phtml ADDED
@@ -0,0 +1,205 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php
28
+ /**
29
+ * Bachup of bundle display on product view
30
+ */
31
+ ?>
32
+ <?php
33
+ /**
34
+ * Product view template
35
+ *
36
+ * @see Mage_Catalog_Block_Product_View
37
+ */
38
+ ?>
39
+ <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
40
+ <?php $_product=$this->getProduct() ?>
41
+ <div class="product-info-box">
42
+ <div class="product-essential">
43
+ <div class="product-img-box">
44
+ <p class="product-image-zoom">
45
+ <img id="image" src="<?php echo $this->helper('catalog/image')->init($_product, 'image'); ?>" alt="<?php echo $this->htmlEscape($_product->getName()) ?>" />
46
+ </p>
47
+ <div class="image-zoom" id="track_outer">
48
+ <img id="zoom_out" src="<?php echo $this->getSkinUrl('images/slider_btn_zoom_out.gif') ?>" alt="<?php echo $this->__('Zoom Out') ?>" class="btn-zoom-out" />
49
+ <div id="track">
50
+ <div id="handle"></div>
51
+ </div>
52
+ <img id="zoom_in" src="<?php echo $this->getSkinUrl('images/slider_btn_zoom_in.gif') ?>" alt="<?php echo $this->__('Zoom Out') ?>" class="btn-zoom-in" />
53
+ </div>
54
+ <script type="text/javascript">
55
+ Event.observe(window, 'load', function() {
56
+ product_zoom = new Product.Zoom('image', 'track', 'handle', 'zoom_in', 'zoom_out');
57
+ });
58
+ </script>
59
+ <?php if ($this->getGalleryImages() && $this->getGalleryImages()->getSize()): ?>
60
+ <div class="more-views">
61
+ <h4><?php echo $this->__('More Views') ?></h4>
62
+ <ul>
63
+ <?php foreach ($this->getGalleryImages() as $_image): ?>
64
+ <li>
65
+ <a href="#" onclick="popWin('<?php echo $this->getGalleryUrl($_image) ?>', 'gallery', 'scrollbars=no,width=300,height=300');return false;">
66
+ <img src="<?php echo $_image->setType(2)->getSourceUrl(); ?>" width="68" alt="" />
67
+ </a>
68
+ </li>
69
+ <?php endforeach; ?>
70
+ </ul>
71
+ </div>
72
+ <?php endif; ?>
73
+ </div>
74
+ <div class="product-shop">
75
+ <h3 class="product-name"><?php echo $this->htmlEscape($_product->getName()) ?></h3>
76
+ <?php echo $this->getHelper('review/helper')->getSummaryHtml($_product, null, 1) ?>
77
+ <form action="<?php echo $this->getUrl('checkout/cart/add') ?>" method="post" id="product_addtocart_form">
78
+ <fieldset>
79
+ <input type="hidden" name="product" value="<?php echo $_product->getId() ?>" />
80
+ <input type="hidden" name="related_product" id="related-products-field" value="" />
81
+ </fieldset>
82
+
83
+ <?php if($_product->isBundle()): ?>
84
+ <div class="product-attributes">
85
+ <?php if($_product->isAvailableBundle()): ?>
86
+ <table cellspacing="0" id="bundle-price-table">
87
+ <?php foreach($_product->getBundleOptionCollection() as $_bundleOption): ?>
88
+ <tr>
89
+ <td class="label"><?php echo $_bundleOption->getLabel() ?>:</td>
90
+ <td>
91
+ <?php if(sizeof($_bundleOption->getLinkCollection()->getItems())>1): ?>
92
+ <select name="bundle_option[<?php echo $_bundleOption->getId() ?>]">
93
+ <?php foreach ($_bundleOption->getLinkCollection() as $_option): ?>
94
+ <option value="<?php echo $_option->getProductId() ?>"><?php echo $_option->getName() ?></option>
95
+ <?php endforeach; ?>
96
+ </select>
97
+ <?php elseif(sizeof($_bundleOption->getLinkCollection()->getItems())==1): ?>
98
+ <?php $_option=$_bundleOption->getLinkCollection()->getFirstItem() ?>
99
+ <input type="hidden" name="bundle_option[<?php echo $_bundleOption->getId() ?>]" value="<?php echo $_option->getProductId() ?>" /><?php echo $_option->getName() ?>
100
+ <?php else: ?>
101
+ <?php echo $this->__('Out of Stock') ?>
102
+ <?php endif; ?>
103
+ </td>
104
+ </tr>
105
+ <?php endforeach; ?>
106
+ </table>
107
+ <script type="text/javascript">decorateTable('bundle-price-table')</script>
108
+ <?php else: ?>
109
+ <p><?php echo $this->__('This bundle is out of stock.') ?></p>
110
+ <?php endif; ?>
111
+ </div>
112
+
113
+ <?php elseif($_product->isSuperConfig()): ?>
114
+ <?php echo $this->getChildHtml('super_config') ?>
115
+ <?php endif; ?>
116
+
117
+ <?php if($_product->getTierPriceCount()>1): ?>
118
+ <div class="product-pricing">
119
+ <ul class="bare">
120
+ <?php foreach($_prices=$_product->getFormatedTierPrice() as $_price): ?>
121
+ <li><?php echo $this->__('Buy %s for %s each', $_price['price_qty'], $_price['price']) ?></li>
122
+ <?php endforeach ?>
123
+ </ul>
124
+ </div>
125
+ <?php endif; ?>
126
+
127
+ <?php if($_product->isSuperGroup()): ?>
128
+ <?php echo $this->getChildHtml('super_group') ?>
129
+ <?php endif; ?>
130
+
131
+ <?php if(!$_product->isSuperGroup()): ?>
132
+ <?php if(!$_product->isBundle() || $_product->isAvailableBundle()): ?>
133
+ <p><small><?php echo $this->__('Availability: In stock. Ships within 24 hours.') ?></small></p>
134
+ <?php echo $this->helper('catalog/product')->getPriceHtml($_product) ?>
135
+ <fieldset class="add-to-cart-box">
136
+ <legend><?php echo $this->__('Add Items to Cart') ?> </legend>
137
+ <span class="qty-box"><label for="qty"><?php echo $this->__('Qty') ?>:</label>
138
+ <input name="qty" type="text" class="input-text qty" id="qty" /></span>
139
+ <button class="form-button" onclick="productAddToCartForm.submit()"><span><?php echo $this->__('Add to Cart') ?></span></button>
140
+ <strong><?php echo $this->__('OR') ?></strong>
141
+ </fieldset>
142
+ <div class="add-to-box">
143
+ <?php if ($this->helper('wishlist')->isAllow()) : ?>
144
+ <a href="<?php echo $this->getAddToWishlistUrl($_product) ?>"><?php echo $this->__('Add to Wishlist') ?></a><br/>
145
+ <?php endif; ?>
146
+ <a href="<?php echo $this->getAddToCompareUrl($_product) ?>"><?php echo $this->__('Add to Compare') ?></a>
147
+ </div>
148
+ <?php else: ?>
149
+ <p><small><?php echo $this->__('Availability: Out of stock.') ?></small></p>
150
+ <p>
151
+ <?php if ($this->helper('wishlist')->isAllow()) : ?>
152
+ <a href="<?php echo $this->getAddToWishlistUrl($_product) ?>"><?php echo $this->__('Add to Wishlist') ?></a> <br/>
153
+ <?php endif; ?>
154
+ <a href="<?php echo $this->getAddToCompareUrl($_product) ?>"><?php echo $this->__('Add to Compare') ?></a>
155
+ </p>
156
+ <?php endif; ?>
157
+ <?php else: ?>
158
+ <p><small><?php echo $this->__('Availability: In stock. Ships within 24 hours.') ?></small></p>
159
+ <button type="button" class="form-button" onclick="productAddToCartForm.submit()"><span><?php echo $this->__('Add to Cart') ?></span></button> <strong><?php echo $this->__('OR') ?></strong>
160
+ &nbsp;&nbsp;
161
+ <?php if ($this->helper('wishlist')->isAllow()) : ?>
162
+ <a href="<?php echo $this->getAddToWishlistUrl($_product) ?>"><?php echo $this->__('Add to Wishlist') ?></a>
163
+ <span class="pipe">|</span>
164
+ <?php endif; ?>
165
+ <a href="<?php echo $this->getAddToCompareUrl($_product) ?>"><?php echo $this->__('Add to Compare') ?></a>
166
+ <?php endif; ?>
167
+ </form>
168
+ <script type="text/javascript">
169
+ var productAddToCartForm = new VarienForm('product_addtocart_form');
170
+ productAddToCartForm.submit = function() {
171
+ if(this.validator.validate()) {
172
+ this.form.submit();
173
+ }
174
+ }.bind(productAddToCartForm);
175
+ </script>
176
+ <div class="clear"></div>
177
+ <div class="divider"></div>
178
+ <h4><?php echo $this->__('Product Description') ?></h4>
179
+ <div class="product-specs"><?php echo $this->htmlEscape($_product->getDescription()) ?></div>
180
+ </div>
181
+ </div>
182
+
183
+ <div class="product-collateral">
184
+ <?php echo $this->getChildHtml('upsell_products') ?>
185
+ <?php if($_additional = $this->getAdditionalData()): ?>
186
+ <div class="collateral-box attribute-specs">
187
+ <div class="head">
188
+ <h4><?php echo $this->__('Product Attribute Specs') ?></h4>
189
+ </div>
190
+ <table cellspacing="0" class="data-table" id="product-attribute-specs-table">
191
+ <?php foreach ($_additional as $_data): ?>
192
+ <tr>
193
+ <td class="label"><?php echo $_data['label'] ?></td>
194
+ <td class="data"><?php echo $_data['value'] ?></td>
195
+ </tr>
196
+ <?php endforeach; ?>
197
+ </table>
198
+ <script type="text/javascript">decorateTable('product-attribute-specs-table')</script>
199
+ </div>
200
+ <?php endif; ?>
201
+ <div class="collateral-box" id="customer-reviews">
202
+ <?php echo $this->getChildHtml('product_additional_data') ?>
203
+ </div>
204
+ </div>
205
+ </div>
app/design/frontend/default/iphone/template/catalog/product/view/description.phtml ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+
27
+ /**
28
+ * Product description template
29
+ *
30
+ * @see Mage_Catalog_Block_Product_View_Description
31
+ */
32
+ ?>
33
+ <div class="product-specs">
34
+ <?php echo $this->helper('catalog/output')->productAttribute($this->getProduct(), $this->getProduct()->getDescription(), 'description') ?>
35
+ </div>
app/design/frontend/default/iphone/template/catalog/product/view/media.phtml ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+
27
+ /**
28
+ * Product media data template
29
+ *
30
+ * @see Mage_Catalog_Block_Product_View_Media
31
+ */
32
+ ?>
33
+ <?php $_product = $this->getProduct() ?>
34
+ <?php if ($_product->getImage() != 'no_selection' && $_product->getImage()): ?>
35
+ <p class="product-image-zoom">
36
+ <img id="image" src="<?php echo $this->helper('catalog/image')->init($_product, 'image'); ?>" alt="<?php echo $this->htmlEscape($this->getImageLabel()) ?>" title="<?php echo $this->htmlEscape($this->getImageLabel()) ?>" />
37
+ </p>
38
+ <div class="image-zoom" id="track_outer">
39
+ <img id="zoom_out" src="<?php echo $this->getSkinUrl('images/slider_btn_zoom_out.gif') ?>" alt="<?php echo $this->__('Zoom Out') ?>" class="btn-zoom-out" />
40
+ <div id="track">
41
+ <div id="handle"></div>
42
+ </div>
43
+ <img id="zoom_in" src="<?php echo $this->getSkinUrl('images/slider_btn_zoom_in.gif') ?>" alt="<?php echo $this->__('Zoom In') ?>" class="btn-zoom-in" />
44
+ </div>
45
+ <script type="text/javascript">
46
+ Event.observe(window, 'load', function() {
47
+ product_zoom = new Product.Zoom('image', 'track', 'handle', 'zoom_in', 'zoom_out');
48
+ });
49
+ </script>
50
+ <?php else: ?>
51
+ <img src="<?php echo $this->helper('catalog/image')->init($_product, 'image')->resize(265); ?>" alt="<?php echo $this->htmlEscape($_product->getImageLabel()) ?>" />
52
+ <?php endif; ?>
53
+ <?php if (count($this->getGalleryImages()) > 0): ?>
54
+ <div class="more-views">
55
+ <h4><?php echo $this->__('More Views') ?></h4>
56
+ <ul>
57
+ <?php foreach ($this->getGalleryImages() as $_image): ?>
58
+ <li>
59
+ <a href="#" onclick="popWin('<?php echo $this->getGalleryUrl($_image) ?>', 'gallery', 'scrollbars=yes,width=300,height=300,resizable=yes');return false;">
60
+ <img src="<?php echo $this->helper('catalog/image')->init($this->getProduct(), 'thumbnail', $_image->getFile())->resize(68, 68); ?>" width="68" height="68" alt="<?php echo $this->htmlEscape($_image->getLabel()) ?>" title="<?php echo $this->htmlEscape($_image->getLabel()) ?>" />
61
+ </a>
62
+ </li>
63
+ <?php endforeach; ?>
64
+ </ul>
65
+ </div>
66
+ <?php endif; ?>
app/design/frontend/default/iphone/template/catalog/product/view/options.phtml ADDED
@@ -0,0 +1,180 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+
28
+ <?php $_options = Mage::helper('core')->decorateArray($this->getOptions()) ?>
29
+ <?php if (count($_options)):?>
30
+ <script type="text/javascript">
31
+ //<![CDATA[
32
+ var optionFileUpload = {
33
+ productForm : $('product_addtocart_form'),
34
+ formAction : '',
35
+ formElements : {},
36
+ upload : function(element){
37
+ this.formElements = this.productForm.select('input', 'select', 'textarea', 'button');
38
+ this.removeRequire(element.readAttribute('id').sub('option_', ''));
39
+
40
+ template = '<iframe id="upload_target" name="upload_target" style="width:0; height:0; border:0 solid #fff;"><\/iframe>';
41
+
42
+ Element.insert($('option_'+element.readAttribute('id').sub('option_', '')+'_uploaded_file'), {after: template});
43
+
44
+ this.formAction = this.productForm.action;
45
+
46
+ var baseUrl = '<?php echo $this->getUrl('*/product/upload') ?>';
47
+ var urlExt = 'option_id/'+element.readAttribute('id').sub('option_', '');
48
+
49
+ this.productForm.action = parseSidUrl(baseUrl, urlExt);
50
+ this.productForm.target = 'upload_target';
51
+ this.productForm.submit();
52
+ this.productForm.target = '';
53
+ this.productForm.action = this.formAction;
54
+ },
55
+ removeRequire : function(skipElementId){
56
+ for(var i=0; i<this.formElements.length; i++){
57
+ if (this.formElements[i].readAttribute('id') != 'option_'+skipElementId+'_file' && this.formElements[i].type != 'button') {
58
+ this.formElements[i].disabled='disabled';
59
+ }
60
+ }
61
+ },
62
+ addRequire : function(skipElementId){
63
+ for(var i=0; i<this.formElements.length; i++){
64
+ if (this.formElements[i].readAttribute('name') != 'options_'+skipElementId+'_file' && this.formElements[i].type != 'button') {
65
+ this.formElements[i].disabled='';
66
+ }
67
+ }
68
+ },
69
+ uploadCallback : function(data){
70
+ this.addRequire(data.optionId);
71
+ $('upload_target').remove();
72
+
73
+ if (data.error) {
74
+
75
+ } else {
76
+ $('option_'+data.optionId+'_uploaded_file').value = data.fileName;
77
+ $('option_'+data.optionId+'_file').value = '';
78
+ $('option_'+data.optionId+'_file').hide();
79
+ $('option_'+data.optionId+'').hide();
80
+ template = '<div id="option_'+data.optionId+'_file_box"><a href="#"><img src="var/options/'+data.fileName+'"><\/a><a href="#" onclick="optionFileUpload.removeFile('+data.optionId+')">Remove file<\/a>';
81
+
82
+ Element.insert($('option_'+data.optionId+'_uploaded_file'), {after: template});
83
+ }
84
+ },
85
+ removeFile : function(optionId)
86
+ {
87
+ $('option_'+optionId+'_uploaded_file').value= '';
88
+ $('option_'+optionId+'_file').show();
89
+ $('option_'+optionId+'').show();
90
+
91
+ $('option_'+optionId+'_file_box').remove();
92
+ }
93
+ }
94
+ var optionTextCounter = {
95
+ count : function(field,cntfield,maxlimit){
96
+ if (field.value.length > maxlimit){
97
+ field.value = field.value.substring(0, maxlimit);
98
+ } else {
99
+ cntfield.innerHTML = maxlimit - field.value.length;
100
+ }
101
+ }
102
+ }
103
+
104
+ Product.Options = Class.create();
105
+ Product.Options.prototype = {
106
+ initialize : function(config){
107
+ this.config = config;
108
+ this.reloadPrice();
109
+ },
110
+ reloadPrice : function(){
111
+ price = new Number();
112
+ config = this.config;
113
+ skipIds = [];
114
+ $$('.product-custom-option').each(function(element){
115
+ var optionId = 0;
116
+ element.name.sub(/[0-9]+/, function(match){
117
+ optionId = match[0];
118
+ });
119
+ if (this.config[optionId]) {
120
+ if (element.type == 'checkbox' || element.type == 'radio') {
121
+ if (element.checked) {
122
+ if (config[optionId][element.getValue()]) {
123
+ price += parseFloat(config[optionId][element.getValue()]);
124
+ }
125
+ }
126
+ } else if(element.hasClassName('datetime-picker') && !skipIds.include(optionId)) {
127
+ dateSelected = true;
128
+ $$('.product-custom-option[id^="options_' + optionId + '"]').each(function(dt){
129
+ if (dt.getValue() == '') {
130
+ dateSelected = false;
131
+ }
132
+ });
133
+ if (dateSelected) {
134
+ price += parseFloat(this.config[optionId]);
135
+ skipIds[optionId] = optionId;
136
+ }
137
+ } else if(element.type == 'select-one' || element.type == 'select-multiple') {
138
+ if (element.options) {
139
+ $A(element.options).each(function(selectOption){
140
+ if (selectOption.selected) {
141
+ if (this.config[optionId][selectOption.value]) {
142
+ price += parseFloat(this.config[optionId][selectOption.value]);
143
+ }
144
+ }
145
+ });
146
+ }
147
+ } else {
148
+ if (element.getValue().strip() != '') {
149
+ price += parseFloat(this.config[optionId]);
150
+ }
151
+ }
152
+ }
153
+ });
154
+ try {
155
+ optionsPrice.changePrice('options', price);
156
+ optionsPrice.reload();
157
+ } catch (e) {
158
+
159
+ }
160
+ }
161
+ }
162
+ function validateOptionsCallback(elmId, result){
163
+ var container = $(elmId).up('ul.options-list');
164
+ if (result == 'failed') {
165
+ container.removeClassName('validation-passed');
166
+ container.addClassName('validation-failed');
167
+ } else {
168
+ container.removeClassName('validation-failed');
169
+ container.addClassName('validation-passed');
170
+ }
171
+ }
172
+ //]]>
173
+ var opConfig = new Product.Options(<?php echo $this->getJsonConfig() ?>);
174
+ </script>
175
+ <dl>
176
+ <?php foreach($_options as $_option): ?>
177
+ <?php echo $this->getOptionHtml($_option) ?>
178
+ <?php endforeach; ?>
179
+ </dl>
180
+ <?php endif; ?>
app/design/frontend/default/iphone/template/catalog/product/view/options/js.phtml ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <script type="text/javascript">
2
+ //<![CDATA[
3
+ var DateOption = Class.create({
4
+
5
+ getDaysInMonth: function(month, year)
6
+ {
7
+ var curDate = new Date();
8
+ if (!month) {
9
+ month = curDate.getMonth();
10
+ }
11
+ if (2 == month && !year) { // leap year assumption for unknown year
12
+ return 29;
13
+ }
14
+ if (!year) {
15
+ year = curDate.getFullYear();
16
+ }
17
+ return 32 - new Date(year, month - 1, 32).getDate();
18
+ },
19
+
20
+ reloadMonth: function(event)
21
+ {
22
+ var selectEl = event.findElement();
23
+ var idParts = selectEl.id.split("_");
24
+ if (idParts.length != 3) {
25
+ return false;
26
+ }
27
+ var optionIdPrefix = idParts[0] + "_" + idParts[1];
28
+ var month = parseInt($(optionIdPrefix + "_month").value);
29
+ var year = parseInt($(optionIdPrefix + "_year").value);
30
+ var dayEl = $(optionIdPrefix + "_day");
31
+
32
+ var days = this.getDaysInMonth(month, year);
33
+
34
+ //remove days
35
+ for (var i = dayEl.options.length - 1; i >= 0; i--) {
36
+ if (dayEl.options[i].value > days) {
37
+ dayEl.remove(dayEl.options[i].index);
38
+ }
39
+ }
40
+
41
+ // add days
42
+ var lastDay = parseInt(dayEl.options[dayEl.options.length-1].value);
43
+ for (i = lastDay + 1; i <= days; i++) {
44
+ this.addOption(dayEl, i, i);
45
+ }
46
+ },
47
+
48
+ addOption: function(select, text, value)
49
+ {
50
+ var option = document.createElement('OPTION');
51
+ option.value = value;
52
+ option.text = text;
53
+
54
+ if (select.options.add) {
55
+ select.options.add(option);
56
+ } else {
57
+ select.appendChild(option);
58
+ }
59
+ }
60
+ });
61
+ var dateOption = new DateOption();
62
+ //]]>
63
+ </script>
app/design/frontend/default/iphone/template/catalog/product/view/options/type/date.phtml ADDED
@@ -0,0 +1,90 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.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
+
36
+ <?php echo $this->getDateHtml() ?>
37
+
38
+ <?php if (!$this->useCalendar()): ?>
39
+ <script type="text/javascript">
40
+ Event.observe('options_<?php echo $_optionId ?>_month', 'change', dateOption.reloadMonth.bind(dateOption));
41
+ Event.observe('options_<?php echo $_optionId ?>_year', 'change', dateOption.reloadMonth.bind(dateOption));
42
+ </script>
43
+ <?php endif; ?>
44
+
45
+ <?php endif; ?>
46
+
47
+ <?php if ($_option->getType() == Mage_Catalog_Model_Product_Option::OPTION_TYPE_DATE_TIME
48
+ || $_option->getType() == Mage_Catalog_Model_Product_Option::OPTION_TYPE_TIME): ?>
49
+ <span class="time-picker"><?php echo $this->getTimeHtml() ?></span>
50
+ <?php endif; ?>
51
+
52
+ <input type="hidden" name="validate_datetime_<?php echo $_optionId ?>" class="validate-datetime-<?php echo $_optionId ?>" value="" />
53
+ <script type="text/javascript">
54
+ //<![CDATA[
55
+ <?php if ($_option->getIsRequire()): ?>
56
+ Validation.addAllThese(
57
+ [
58
+ ['validate-datetime-<?php echo $_optionId ?>', '<?php echo $this->jsQuoteEscape( Mage::helper('catalog')->__('This is a required option') )?>', function(v) {
59
+ var dateTimeParts = $$('.datetime-picker[id^="options_<?php echo $_optionId ?>"]');
60
+ for (var i=0; i < dateTimeParts.length; i++) {
61
+ if (dateTimeParts[i].value == "") return false;
62
+ }
63
+ return true;
64
+ }]
65
+ ]
66
+ );
67
+ <?php else: ?>
68
+ Validation.add(
69
+ 'validate-datetime-<?php echo $_optionId ?>',
70
+ '<?php echo $this->jsQuoteEscape( Mage::helper('catalog')->__('Field is not complete') )?>',
71
+ function(v) {
72
+ var dateTimeParts = $$('.datetime-picker[id^="options_<?php echo $_optionId ?>"]');
73
+ var hasWithValue = false, hasWithNoValue = false;
74
+ var pattern = /day_part$/i;
75
+ for (var i=0; i < dateTimeParts.length; i++) {
76
+ if (! pattern.test(dateTimeParts[i].id)) {
77
+ if (dateTimeParts[i].value === "") {
78
+ hasWithValue = true;
79
+ } else {
80
+ hasWithNoValue = true;
81
+ }
82
+ }
83
+ }
84
+ return hasWithValue ^ hasWithNoValue;
85
+ }
86
+ );
87
+ <?php endif; ?>
88
+ //]]>
89
+ </script>
90
+ </dd>
app/design/frontend/default/iphone/template/catalog/product/view/options/type/default.phtml ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.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()) ?></label></dt>
app/design/frontend/default/iphone/template/catalog/product/view/options/type/file.phtml ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.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>
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/iphone/template/catalog/product/view/options/type/select.phtml ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php /* @var $this Mage_Catalog_Block_Product_View_Options_Type_Select */ ?>
28
+ <?php $_option = $this->getOption() ?>
29
+ <dt><label><?php echo $this->htmlEscape($_option->getTitle()) ?><?php if ($_option->getIsRequire()): ?><span class="required">&nbsp;*</span><?php endif; ?></label></dt>
30
+ <dd<?php if ($_option->decoratedIsLast){?> class="last"<?php }?>>
31
+ <?php echo $this->getValuesHtml() ?>
32
+ <?php if ($_option->getIsRequire()): ?>
33
+ <?php if ($_option->getType() == Mage_Catalog_Model_Product_Option::OPTION_TYPE_RADIO || $_option->getType() == Mage_Catalog_Model_Product_Option::OPTION_TYPE_CHECKBOX): ?>
34
+ <span id="options-<?php echo $_option->getId() ?>-container"></span>
35
+ <?php endif; ?>
36
+ <?php endif;?>
37
+ </dd>
app/design/frontend/default/iphone/template/catalog/product/view/options/type/text.phtml ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.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>
29
+ <?php echo $this->getFormatedPrice() ?></dt>
30
+ <dd<?php if ($_option->decoratedIsLast){?> class="last"<?php }?>>
31
+ <?php if ($_option->getType() == Mage_Catalog_Model_Product_Option::OPTION_TYPE_FIELD): ?>
32
+ <input type="text" onchange="opConfig.reloadPrice()" id="options_<?php echo $_option->getId() ?>_text" class="input-text<?php echo $_option->getIsRequire() ? ' required-entry' : '' ?> <?php echo $_option->getMaxCharacters() ? ' validate-length maximum-length-'.$_option->getMaxCharacters() : '' ?> product-custom-option" name="options[<?php echo $_option->getId() ?>]" value="" />
33
+ <?php elseif ($_option->getType() == Mage_Catalog_Model_Product_Option::OPTION_TYPE_AREA): ?>
34
+ <textarea id="options_<?php echo $_option->getId() ?>_text" onchange="opConfig.reloadPrice()" class="<?php echo $_option->getIsRequire() ? ' required-entry' : '' ?> <?php echo $_option->getMaxCharacters() ? ' validate-length maximum-length-'.$_option->getMaxCharacters() : '' ?> product-custom-option" name="options[<?php echo $_option->getId() ?>]" rows="5" cols="25"></textarea>
35
+ <?php endif; ?>
36
+ <?php if ($_option->getMaxCharacters()): ?>
37
+ <p class="no-margin"><?php echo Mage::helper('catalog')->__('Maximum number of characters')?>: <strong><?php echo $_option->getMaxCharacters() ?></strong></p>
38
+ <?php endif; ?>
39
+ </dd>
app/design/frontend/default/iphone/template/catalog/product/view/options/wrapper.phtml ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+
28
+ <fieldset class="product-options" id="product-options-wrapper">
29
+ <?php echo $this->getChildHtml('', true, true);?>
30
+ <?php if ($this->hasRequiredOptions()):?>
31
+ <p class="required"><?php echo $this->__('* Required Fields') ?></p>
32
+ <?php endif;?>
33
+ </fieldset>
34
+ <script type="text/javascript">
35
+ decorateGeneric($$('#product-options-wrapper dl'), ['last']);
36
+ </script>
app/design/frontend/default/iphone/template/catalog/product/view/options/wrapper/bottom.phtml ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+
28
+ <div class="product-options-bottom">
29
+ <?php echo $this->getChildHtml('', true, true);?>
30
+ </div>
app/design/frontend/default/iphone/template/catalog/product/view/price.phtml ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <div class="price-box" id="product_price">
28
+ <span class="old-price"><?php echo $this->__('Old Price:') ?> <?php echo $this->getPrice() ?></span><br />
29
+ <span class="special-price"><?php echo $this->getPrice() ?></span>
30
+ </div>
app/design/frontend/default/iphone/template/catalog/product/view/price_clone.phtml ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php $_product = $this->getProduct() ?>
28
+ <?php echo $this->getPriceHtml($_product, false, '_clone') ?>
app/design/frontend/default/iphone/template/catalog/product/view/tierprices.phtml ADDED
@@ -0,0 +1,181 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+
28
+ <?php
29
+ /**
30
+ * @see Mage_Catalog_Block_Product_View
31
+ */
32
+ $_product = $this->getProduct();
33
+ $_tierPrices = $this->getTierPrices();
34
+ $_finalPriceInclTax = $this->helper('tax')->getPrice($_product, $_product->getFinalPrice(), true);
35
+
36
+ $_weeeTaxAmount = Mage::helper('weee')->getAmountForDisplay($_product);
37
+ if (Mage::helper('weee')->typeOfDisplay($_product, array(1,2,4))) {
38
+ $_weeeTaxAttributes = Mage::helper('weee')->getProductWeeeAttributesForDisplay($_product);
39
+ }
40
+
41
+ ?>
42
+ <?php if (count($_tierPrices) > 0): ?>
43
+ <ul class="<?php echo ($this->getInGrouped() ? 'product-pricing-grouped' : 'product-pricing'); ?>">
44
+ <?php if ($this->getInGrouped()): ?>
45
+ <?php $_tierPrices = $this->getTierPrices($_product); ?>
46
+ <?php endif; ?>
47
+ <?php Mage::helper('weee')->processTierPrices($_product, $_tierPrices); ?>
48
+
49
+ <?php foreach ($_tierPrices as $_price): ?>
50
+ <?php if ($this->helper('tax')->displayBothPrices()): ?>
51
+ <?php if (Mage::helper('weee')->typeOfDisplay($_product, 0)): ?>
52
+ <li><?php echo $this->__('Buy %1$s for %2$s (%3$s incl. tax) each', $_price['price_qty'], $_price['formated_price_incl_weee_only'], $_price['formated_price_incl_weee']) ?>
53
+ <?php elseif(Mage::helper('weee')->typeOfDisplay($_product, 1)): ?>
54
+ <li><?php echo $this->__('Buy %1$s for %2$s', $_price['price_qty'], $_price['formated_price_incl_weee_only']); ?>
55
+ <?php if ($_weeeTaxAttributes): ?>
56
+ (<small>
57
+ <?php echo $this->__('%1$s incl tax.', $_price['formated_price_incl_weee']); ?>
58
+ <?php $separator = ' + '; foreach ($_weeeTaxAttributes as $_attribute): ?>
59
+ <?php echo $separator; ?>
60
+ <?php echo $_attribute->getName(); ?>: <?php echo Mage::helper('core')->currency($_attribute->getAmount()); ?>
61
+ <?php endforeach; ?>
62
+ </small>)
63
+ <?php endif; ?>
64
+ <?php echo $this->__('each') ?>
65
+ <?php elseif(Mage::helper('weee')->typeOfDisplay($_product, 4)): ?>
66
+ <li><?php echo $this->__('Buy %1$s for %2$s', $_price['price_qty'], $_price['formated_price_incl_weee_only']); ?>
67
+ <?php if ($_weeeTaxAttributes): ?>
68
+ (<small>
69
+ <?php echo $this->__('%1$s incl tax.', $_price['formated_price_incl_weee']); ?>
70
+ <?php $separator = ' + '; foreach ($_weeeTaxAttributes as $_attribute): ?>
71
+ <?php echo $separator; ?>
72
+ <?php echo $_attribute->getName(); ?>: <?php echo Mage::helper('core')->currency($_attribute->getAmount()+$_attribute->getTaxAmount()); ?>
73
+ <?php endforeach; ?>
74
+ </small>)
75
+ <?php endif; ?>
76
+ <?php echo $this->__('each') ?>
77
+ <?php elseif(Mage::helper('weee')->typeOfDisplay($_product, 2)): ?>
78
+ <li><?php echo $this->__('Buy %1$s for %2$s', $_price['price_qty'], $_price['formated_price']); ?>
79
+ <?php if ($_weeeTaxAttributes): ?>
80
+ (<small>
81
+ <?php foreach ($_weeeTaxAttributes as $_attribute): ?>
82
+ <?php echo $_attribute->getName(); ?>: <?php echo Mage::helper('core')->currency($_attribute->getAmount()); ?>
83
+ <?php endforeach; ?>
84
+ <?php echo $this->__('Total incl. Tax: %1$s', $_price['formated_price_incl_weee']); ?>
85
+ </small>)
86
+ <?php endif; ?>
87
+ <?php echo $this->__('each') ?>
88
+ <?php else: ?>
89
+ <li><?php echo $this->__('Buy %1$s for %2$s (%3$s incl. tax) each', $_price['price_qty'], $_price['formated_price'], $_price['formated_price_incl_tax']) ?>
90
+ <?php endif; ?>
91
+ <?php else: ?>
92
+ <?php if ($this->helper('tax')->displayPriceIncludingTax()): ?>
93
+ <?php if (Mage::helper('weee')->typeOfDisplay($_product, 0)): ?>
94
+ <li><?php echo $this->__('Buy %1$s for %2$s each', $_price['price_qty'], $_price['formated_price_incl_weee']) ?>
95
+ <?php elseif(Mage::helper('weee')->typeOfDisplay($_product, 1)): ?>
96
+ <li><?php echo $this->__('Buy %1$s for %2$s', $_price['price_qty'], $_price['formated_price_incl_weee']); ?>
97
+ <?php if ($_weeeTaxAttributes): ?>
98
+ (</small>
99
+ <?php $separator = ''; foreach ($_weeeTaxAttributes as $_attribute): ?>
100
+ <?php echo $separator; ?>
101
+ <?php echo $_attribute->getName(); ?>: <?php echo Mage::helper('core')->currency($_attribute->getAmount()); ?>
102
+ <?php $separator = ' + '; endforeach; ?>
103
+ <small>)
104
+ <?php endif; ?>
105
+ <?php echo $this->__('each') ?>
106
+ <?php elseif(Mage::helper('weee')->typeOfDisplay($_product, 4)): ?>
107
+ <li><?php echo $this->__('Buy %1$s for %2$s', $_price['price_qty'], $_price['formated_price_incl_weee']); ?>
108
+ <?php if ($_weeeTaxAttributes): ?>
109
+ (</small>
110
+ <?php $separator = ''; foreach ($_weeeTaxAttributes as $_attribute): ?>
111
+ <?php echo $separator; ?>
112
+ <?php echo $_attribute->getName(); ?>: <?php echo Mage::helper('core')->currency($_attribute->getAmount()+$_attribute->getTaxAmount()); ?>
113
+ <?php $separator = ' + '; endforeach; ?>
114
+ <small>)
115
+ <?php endif; ?>
116
+ <?php echo $this->__('each') ?>
117
+ <?php elseif(Mage::helper('weee')->typeOfDisplay($_product, 2)): ?>
118
+ <li><?php echo $this->__('Buy %1$s for %2$s', $_price['price_qty'], $_price['formated_price_incl_tax']); ?>
119
+ <?php if ($_weeeTaxAttributes): ?>
120
+ (<small>
121
+ <?php foreach ($_weeeTaxAttributes as $_attribute): ?>
122
+ <?php echo $_attribute->getName(); ?>: <?php echo Mage::helper('core')->currency($_attribute->getAmount()); ?>
123
+ <?php endforeach; ?>
124
+ <?php echo $this->__('Total incl. Tax: %1$s', $_price['formated_price_incl_weee']); ?>
125
+ </small>)
126
+ <?php endif; ?>
127
+ <?php echo $this->__('each') ?>
128
+ <?php else: ?>
129
+ <li><?php echo $this->__('Buy %1$s for %2$s each', $_price['price_qty'], $_price['formated_price_incl_tax']) ?>
130
+ <?php endif; ?>
131
+ <?php else: ?>
132
+ <?php if (Mage::helper('weee')->typeOfDisplay($_product, 0)): ?>
133
+ <li><?php echo $this->__('Buy %1$s for %2$s each', $_price['price_qty'], $_price['formated_price_incl_weee_only']) ?>
134
+ <?php elseif(Mage::helper('weee')->typeOfDisplay($_product, 1)): ?>
135
+ <li><?php echo $this->__('Buy %1$s for %2$s', $_price['price_qty'], $_price['formated_price_incl_weee_only']); ?>
136
+ <?php if ($_weeeTaxAttributes): ?>
137
+ (<small>
138
+ <?php $separator = ''; foreach ($_weeeTaxAttributes as $_attribute): ?>
139
+ <?php echo $separator; ?>
140
+ <?php echo $_attribute->getName(); ?>: <?php echo Mage::helper('core')->currency($_attribute->getAmount()); ?>
141
+ <?php $separator = ' + '; endforeach; ?>
142
+ </small>)
143
+ <?php endif; ?>
144
+ <?php echo $this->__('each') ?>
145
+ <?php elseif(Mage::helper('weee')->typeOfDisplay($_product, 4)): ?>
146
+ <li><?php echo $this->__('Buy %1$s for %2$s', $_price['price_qty'], $_price['formated_price_incl_weee_only']); ?>
147
+ <?php if ($_weeeTaxAttributes): ?>
148
+ (<small>
149
+ <?php $separator = ''; foreach ($_weeeTaxAttributes as $_attribute): ?>
150
+ <?php echo $separator; ?>
151
+ <?php echo $_attribute->getName(); ?>: <?php echo Mage::helper('core')->currency($_attribute->getAmount()+$_attribute->getTaxAmount()); ?>
152
+ <?php $separator = ' + '; endforeach; ?>
153
+ </small>)
154
+ <?php endif; ?>
155
+ <?php echo $this->__('each') ?>
156
+ <?php elseif(Mage::helper('weee')->typeOfDisplay($_product, 2)): ?>
157
+ <li><?php echo $this->__('Buy %1$s for %2$s', $_price['price_qty'], $_price['formated_price']); ?>
158
+ <?php if ($_weeeTaxAttributes): ?>
159
+ (<small>
160
+ <?php foreach ($_weeeTaxAttributes as $_attribute): ?>
161
+ <?php echo $_attribute->getName(); ?>: <?php echo Mage::helper('core')->currency($_attribute->getAmount()); ?>
162
+ <?php endforeach; ?>
163
+ <?php echo $this->__('Total incl. Tax: %1$s', $_price['formated_price_incl_weee_only']); ?>
164
+ </small>)
165
+ <?php endif; ?>
166
+ <?php echo $this->__('each') ?>
167
+ <?php else: ?>
168
+ <li><?php echo $this->__('Buy %1$s for %2$s each', $_price['price_qty'], $_price['formated_price']) ?>
169
+ <?php endif; ?>
170
+ <?php endif; ?>
171
+ <?php endif; ?>
172
+ <?php if (!$this->getInGrouped()): ?>
173
+ <?php if(($_product->getPrice() == $_product->getFinalPrice() && $_product->getPrice() > $_price['price'])
174
+ || ($_product->getPrice() != $_product->getFinalPrice() && $_product->getFinalPrice() > $_price['price'])): ?>
175
+ <?php echo $this->__('and') ?>&nbsp;<strong class="benefit"><?php echo $this->__('save')?>&nbsp;<?php echo $_price['savePercent']?>%
176
+ <?php endif ?></strong>
177
+ <?php endif; ?>
178
+ </li>
179
+ <?php endforeach ?>
180
+ </ul>
181
+ <?php endif;?>
app/design/frontend/default/iphone/template/catalog/product/view/type/configurable.phtml ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+
27
+
28
+ /**
29
+ * Super product options
30
+ *
31
+ * @see Mage_Catalog_Block_Product_View_Super_Config
32
+ */
33
+ ?>
34
+ <?php $_product = $this->getProduct() ?>
35
+ <?php if($_product->isSaleable()): ?>
36
+ <p><?php echo $this->__('Availability: In stock.') ?></p>
37
+ <?php else: ?>
38
+ <p><?php echo $this->__('Availability: Out of stock.') ?></p>
39
+ <?php endif; ?>
40
+ <?php echo $this->getChildHtml('product_type_data_extra') ?>
41
+ <?php echo $this->getPriceHtml($_product) ?>
app/design/frontend/default/iphone/template/catalog/product/view/type/grouped.phtml ADDED
@@ -0,0 +1,80 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+
27
+ /**
28
+ * Grouped product data template
29
+ *
30
+ * @see Mage_Catalog_Block_Product_View_Media
31
+ * @see Mage_Catalog_Block_Product_View_Type_Grouped
32
+ */
33
+ ?>
34
+ <?php $_product = $this->getProduct() ?>
35
+ <?php $_associatedProducts = $this->getAssociatedProducts() ?>
36
+ <?php if($_product->isSaleable() && count($_associatedProducts)): ?>
37
+ <p><?php echo $this->__('Availability: In stock.') ?></p>
38
+ <?php else: ?>
39
+ <p><?php echo $this->__('Availability: Out of stock.') ?></p>
40
+ <?php endif; ?>
41
+ <?php echo $this->getChildHtml('product_type_data_extra') ?>
42
+ <table cellspacing="0" class="shopping-cart product-data">
43
+ <col />
44
+ <col />
45
+ <col width="1" />
46
+ <thead>
47
+ <tr>
48
+ <th><?php echo $this->__('Product Name') ?></th>
49
+ <th class="a-right"><?php echo $this->__('Price') ?></th>
50
+ <?php if ($_product->isSaleable()): ?>
51
+ <th class="a-center"><?php echo $this->__('Qty') ?></th>
52
+ <?php endif; ?>
53
+ </tr>
54
+ </thead>
55
+ <tbody>
56
+ <?php if (count($_associatedProducts)): ?>
57
+ <?php foreach ($_associatedProducts as $_item): ?>
58
+ <tr>
59
+ <td><?php echo $this->htmlEscape($_item->getName()) ?></td>
60
+ <td class="a-right">
61
+ <?php echo $this->getPriceHtml($_item, true) ?>
62
+ </td>
63
+ <?php if ($_product->isSaleable()): ?>
64
+ <td class="a-center">
65
+ <?php if ($_item->isSaleable()) : ?>
66
+ <input name="super_group[<?php echo $_item->getId() ?>]" value="<?php echo $_item->getQty()*1 ?>" type="text" class="input-text qty" />
67
+ <?php else: ?>
68
+ <?php echo $this->__('Out of stock.') ?>
69
+ <?php endif; ?>
70
+ </td>
71
+ <?php endif; ?>
72
+ </tr>
73
+ <?php endforeach; ?>
74
+ <?php else: ?>
75
+ <tr>
76
+ <td colspan="<?php if ($_product->isSaleable()): ?>4<?php else : ?>3<?php endif; ?>"><?php echo $this->__('No options of this product are available.') ?></td>
77
+ </tr>
78
+ <?php endif; ?>
79
+ </tbody>
80
+ </table>
app/design/frontend/default/iphone/template/catalog/product/view/type/options/configurable.phtml ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+
28
+ <?php
29
+ $_product = $this->getProduct();
30
+ $_attributes = Mage::helper('core')->decorateArray($this->getAllowAttributes());
31
+ ?>
32
+ <?php if ($_product->isSaleable() && count($_attributes)):?>
33
+ <dl>
34
+ <?php foreach($_attributes as $_attribute): ?>
35
+ <dt><label><?php echo $_attribute->getLabel() ?><span class="required">&nbsp;*</span></label></dt>
36
+ <dd<?php if ($_attribute->decoratedIsLast){?> class="last"<?php }?>>
37
+ <select name="super_attribute[<?php echo $_attribute->getAttributeId() ?>]" id="attribute<?php echo $_attribute->getAttributeId() ?>" class="required-entry super-attribute-select">
38
+ <option><?php echo $this->__('Choose an Option...') ?></option>
39
+ </select>
40
+ </dd>
41
+ <?php endforeach; ?>
42
+ </dl>
43
+ <script type="text/javascript">
44
+ var spConfig = new Product.Config(<?php echo $this->getJsonConfig() ?>);
45
+ </script>
46
+ <?php endif;?>
app/design/frontend/default/iphone/template/catalog/product/view/type/simple.phtml ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+
27
+ /**
28
+ * Simple product deatle template
29
+ *
30
+ * @see Mage_Catalog_Block_Product_View_Type_Simple
31
+ */
32
+ ?>
33
+ <?php $_product = $this->getProduct() ?>
34
+ <?php if($_product->isSaleable()): ?>
35
+ <p><?php echo $this->__('Availability: In stock.') ?></p>
36
+ <?php else: ?>
37
+ <p><?php echo $this->__('Availability: Out of stock.') ?></p>
38
+ <?php endif; ?>
39
+ <?php echo $this->getChildHtml('product_type_data_extra') ?>
40
+ <?php echo $this->getPriceHtml($_product) ?>
app/design/frontend/default/iphone/template/catalog/product/view/type/virtual.phtml ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+
27
+ /**
28
+ * Simple product deatle template
29
+ *
30
+ * @see Mage_Catalog_Block_Product_View_Type_Simple
31
+ */
32
+ ?>
33
+ <?php $_product = $this->getProduct() ?>
34
+ <?php if($_product->isSaleable()): ?>
35
+ <p><?php echo $this->__('Availability: In stock.') ?></p>
36
+ <?php else: ?>
37
+ <p><?php echo $this->__('Availability: Out of stock.') ?></p>
38
+ <?php endif; ?>
39
+ <?php echo $this->getChildHtml('product_type_data_extra') ?>
40
+ <?php echo $this->getPriceHtml($_product) ?>
app/design/frontend/default/iphone/template/catalog/seo/sitemap.phtml ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.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
+ <div class="content">
35
+ <ul class="bare-list">
36
+ <?php foreach ($_items as $_item): ?>
37
+ <li><a href="<?php echo $this->getItemUrl($_item) ?>"><?php echo $_item->name ?></a></li>
38
+ <?php endforeach; ?>
39
+ </ul>
40
+ </div>
41
+ <?php else: ?>
42
+ <div class="note-msg">
43
+ <?php echo $this->__('There are no %s available.', $this->getItemsTitle()); ?>
44
+ </div>
45
+ <?php endif ?>
app/design/frontend/default/iphone/template/catalog/seo/sitemap/container.phtml ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <div class="page-head">
28
+ <h3><?php echo $this->getTitle() ?></h3>
29
+ </div>
30
+ <div class="a-right">
31
+ <?php echo $this->getChildHtml('links') ?>
32
+ </div>
33
+ <br />
34
+ <?php echo $this->getChildHtml('pager_top') ?>
35
+ <?php echo $this->getChildHtml('sitemap') ?>
36
+ <?php echo $this->getChildHtml('pager_bottom') ?>
app/design/frontend/default/iphone/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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.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/iphone/template/catalogsearch/advanced/form.phtml ADDED
@@ -0,0 +1,90 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php
28
+ /**
29
+ * Catalog advanced search form
30
+ *
31
+ * @see Mage_CatalogSearch_Block_Advanced_Form
32
+ */
33
+ ?>
34
+ <div class="page-head">
35
+ <h3><?php echo $this->__('Catalog Advanced Search') ?></h3>
36
+ </div>
37
+ <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
38
+ <form action="<?php echo $this->getSearchPostUrl() ?>" method="get" id="form-validate">
39
+ <fieldset class="advanced-search wide">
40
+ <h4 class="legend"><?php echo $this->__('Search Settings') ?></h4>
41
+ <ul id="advanced-search-list">
42
+ <?php foreach ($this->getSearchableAttributes() as $_attribute): ?>
43
+ <?php $_code = $_attribute->getAttributeCode() ?>
44
+ <li>
45
+ <label for="<?php echo $_code ?>"><?php echo $this->getAttributeLabel($_attribute) ?></label>
46
+ <?php switch($this->getAttributeInputType($_attribute)):
47
+ case 'number': ?>
48
+ <div class="range field-row">
49
+ <input name="<?php echo $_code ?>[from]" value="<?php echo $this->htmlEscape($this->getAttributeValue($_attribute, 'from')) ?>" id="<?php echo $_code ?>" title="<?php echo $this->htmlEscape($this->getAttributeLabel($_attribute)) ?>" class="input-text validate-number" type="text" />
50
+ -
51
+ <input name="<?php echo $_code ?>[to]" value="<?php echo $this->htmlEscape($this->getAttributeValue($_attribute, 'to')) ?>" id="<?php echo $_code ?>_to" title="<?php echo $this->htmlEscape($this->getAttributeLabel($_attribute)) ?>" class="input-text validate-number" type="text" />
52
+ </div>
53
+ <?php break;
54
+ case 'price': ?>
55
+ <div class="range field-row">
56
+ <input name="<?php echo $_code ?>[from]" value="<?php echo $this->htmlEscape($this->getAttributeValue($_attribute, 'from')) ?>" id="<?php echo $_code ?>" title="<?php echo $this->htmlEscape($this->getAttributeLabel($_attribute)) ?>" class="input-text validate-number" type="text" />
57
+ -
58
+ <input name="<?php echo $_code ?>[to]" value="<?php echo $this->htmlEscape($this->getAttributeValue($_attribute, 'to')) ?>" id="<?php echo $_code ?>_to" title="<?php echo $this->htmlEscape($this->getAttributeLabel($_attribute)) ?>" class="input-text validate-number" type="text" />
59
+
60
+ (<?php echo $this->getCurrency($_attribute); ?>)
61
+ <?php break;
62
+ case 'select': ?>
63
+ <?php echo $this->getAttributeSelectElement($_attribute) ?>
64
+ <?php break;
65
+ case 'yesno': ?>
66
+ <?php echo $this->getAttributeYesNoElement($_attribute) ?>
67
+ <?php break;
68
+ case 'date': ?>
69
+ <div class="range">
70
+ <?php echo $this->getDateInput($_attribute, 'from') ?>
71
+ -
72
+ <?php echo $this->getDateInput($_attribute, 'to') ?>
73
+ </div>
74
+ <?php break;
75
+ default: ?>
76
+ <input name="<?php echo $_code ?>" id="<?php echo $_code ?>" value="<?php echo $this->htmlEscape($this->getAttributeValue($_attribute)) ?>" title="<?php echo $this->htmlEscape($this->getAttributeLabel($_attribute)) ?>" class="input-text <?php echo $this->getAttributeValidationClass($_attribute) ?>" type="text" />
77
+ <?php endswitch; ?>
78
+ </li>
79
+ <?php endforeach; ?>
80
+ </ul>
81
+ <script type="text/javascript">decorateList('advanced-search-list')</script>
82
+ </fieldset>
83
+ <div class="button-set">
84
+ <button class="form-button" type="submit" name="search" id="search"><span><?php echo $this->__('Search') ?></span></button>
85
+ </div>
86
+ </form>
87
+ <script type="text/javascript">
88
+ var dataForm = new VarienForm('form-validate', true);
89
+ </script>
90
+ <br />
app/design/frontend/default/iphone/template/catalogsearch/advanced/result.phtml ADDED
@@ -0,0 +1,67 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <div class="page-head">
28
+ <h3><?php echo $this->__('Catalog Advanced Search') ?></h3>
29
+ </div>
30
+ <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
31
+ <?php if($this->getResultCount()): ?>
32
+ <div class="advanced-search-found-amount">
33
+ <?php echo $this->helper('catalogsearch')
34
+ ->__('<strong>%d item(s)</strong> were found using the following search criteria', $this->getResultCount()); ?>
35
+ </div>
36
+ <?php else: ?>
37
+ <div class="advanced-search-nothing-found"><?php echo $this->helper('catalogsearch')->__('No items were found using the following search criteria.');?> <a href="<?php echo $this->getFormUrl(); ?>"><?php echo $this->helper('catalogsearch')->__('Modify your search'); ?></a></div>
38
+ <?php endif; ?>
39
+
40
+ <?php $searchCriterias=$this->getSearchCriterias(); ?>
41
+ <div class="advanced-search-summary-box">
42
+ <?php foreach (array('left', 'right') as $side): ?>
43
+ <?php if(@$searchCriterias[$side]): ?>
44
+ <ul>
45
+ <?php foreach($searchCriterias[$side] as $criteria): ?>
46
+ <li><span><?php echo $this->htmlEscape($this->helper('catalog')->__($criteria['name'])); ?>:</span> <?php echo $this->htmlEscape($criteria['value']); ?></li>
47
+ <?php endforeach; ?>
48
+ </ul>
49
+ <?php endif; ?>
50
+ <?php endforeach; ?>
51
+
52
+ <?php if($this->getResultCount()): ?>
53
+ <div class="advanced-search-summary-tip">
54
+ <?php echo $this->helper('catalogsearch')->__("Don't see what you're looking for?"); ?>
55
+ <a href="<?php echo $this->getFormUrl(); ?>"><?php echo $this->helper('catalogsearch')->__('Modify your search'); ?></a>
56
+ </div>
57
+ <?php endif; ?>
58
+ <div style="clear:both;"></div>
59
+ </div>
60
+
61
+ <br />
62
+
63
+
64
+ <?php if($this->getResultCount()): ?>
65
+ <?php echo $this->getProductListHtml() ?>
66
+ <?php endif; ?>
67
+ <?php $this->getSearchCriterias(); ?>
app/design/frontend/default/iphone/template/catalogsearch/form.mini.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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <div class="search-form" id="topSearch" style="display:none;">
28
+ <div class="search-form-cont">
29
+ <div class="col2-set">
30
+ <form id="search_mini_form" name="search_mini_form" action="<?php echo $this->helper('catalogsearch')->getResultUrl() ?>" method="get">
31
+ <div class="col-1 search-md">
32
+ <div class="search-st"><div class="search-end">
33
+ <input id="search" type="text" class="input-text" name="<?php echo $this->helper('catalogsearch')->getQueryParamName() ?>" value="<?php echo $this->helper('catalogsearch')->getEscapedQueryText() ?>" />
34
+ </div></div>
35
+ </div>
36
+ <div class="col-2">
37
+ <input class="search-go" type="image" src="<?php echo $this->getSkinUrl('images/search-go-but.gif') ?>" alt="<?php echo $this->__('Search') ?>" />
38
+ <a class="search-close" href="javascript:void(0);" onclick="$('topSearch').hide(); return false;">&nbsp;</a>
39
+ </div><div class="clear"></div>
40
+ </form>
41
+ </div>
42
+ </div>
43
+ </div><div class="clear"></div>
app/design/frontend/default/iphone/template/catalogsearch/result.phtml ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <script type="text/javascript">showSearchForm();</script>
28
+ <?php if($this->getResultCount()): ?>
29
+ <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
30
+ <div class="page-head">
31
+ <?php if ($this->helper('rss/catalog')->getTagFeedUrl()): ?>
32
+ <a href="<?php echo $this->helper('rss/catalog')->getTagFeedUrl() ?>" class="nobr link-feed"><?php echo $this->__('Subscribe to Feed') ?></a>
33
+ <?php endif; ?>
34
+ <h3><?php echo ($this->getHeaderText() || $this->getHeaderText() === false) ? $this->getHeaderText() : $this->__("Search results for '%s'", $this->helper('catalogsearch')->getEscapedQueryText()) ?></h3>
35
+ </div>
36
+ <?php if ($messages = $this->getNoteMessages()):?>
37
+ <div class="note-msg">
38
+ <?php foreach ($messages as $message):?>
39
+ <?php echo $message?><br />
40
+ <?php endforeach;?>
41
+ </div>
42
+ <?php endif; ?>
43
+ <?php echo $this->getProductListHtml() ?>
44
+ <?php else: ?>
45
+ <div class="page-head">
46
+ <h3><?php echo ($this->getHeaderText() || $this->getHeaderText() === false) ? $this->getHeaderText() : $this->__("Search results for '%s'", $this->helper('catalogsearch')->getEscapedQueryText()) ?></h3>
47
+ </div>
48
+ <div class="note-msg">
49
+ <?php echo ($this->getNoResultText()) ? $this->getNoResultText() : $this->__('Your search returns no results.') ?>
50
+ <?php if ($messages = $this->getNoteMessages()):?>
51
+ <?php foreach ($messages as $message):?>
52
+ <br /><?php echo $message?>
53
+ <?php endforeach;?>
54
+ <?php endif; ?>
55
+ </div>
56
+ <?php endif; ?>
app/design/frontend/default/iphone/template/catalogsearch/term.phtml ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <div class="page-head">
28
+ <h3><?php echo $this->__('Popular Search Terms') ?></h3>
29
+ </div>
30
+ <?php if( sizeof($this->getTerms()) > 0 ): ?>
31
+ <div class="box base-mini mini-product-tags">
32
+ <div class="content">
33
+ <ul class="bare-list">
34
+ <?php foreach ($this->getTerms() as $_term): ?>
35
+ <li><a href="<?php echo $this->getSearchUrl($_term) ?>" style="font-size:<?php echo $_term->getRatio()*70+75 ?>%;"><?php echo $this->htmlEscape($_term->getName()) ?></a></li>
36
+ <?php endforeach; ?>
37
+ </ul>
38
+ </div>
39
+ </div>
40
+ <?php else: ?>
41
+ <div class="note-msg">
42
+ <?php echo $this->__('There are no search terms available.'); ?>
43
+ </div>
44
+ <?php endif ?>
app/design/frontend/default/iphone/template/checkout/cart.phtml ADDED
@@ -0,0 +1,87 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php
28
+ /**
29
+ * Shopping cart template
30
+ *
31
+ * @see Mage_Checkout_Block_Cart
32
+ */
33
+ ?>
34
+ <div class="page-head-alt button-level">
35
+ <div class="category-head" style="padding-left:5px;"><h2><?php echo $this->__('Shopping Cart') ?></h2></div>
36
+ </div>
37
+ <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
38
+ <form action="<?php echo $this->getUrl('checkout/cart/updatePost') ?>" method="post">
39
+ <table cellspacing="0" id="shopping-cart-table" class="data-table box-table shopping-cart">
40
+ <thead>
41
+ <tr>
42
+ <th class="a-center"><?php echo $this->__('Qty') ?></th>
43
+ <th class="a-center"><?php echo $this->__('Product') ?></th>
44
+ <th class="a-center"><?php echo $this->__('Rem') ?></th>
45
+ <th class="a-right"><?php echo $this->__('Price') ?><?php echo $this->getIncExcTax(false) ?></th>
46
+ <th class="a-right"><?php echo $this->__('Subtotal') ?><?php echo $this->getIncExcTax(false) ?></th>
47
+ </tr>
48
+ </thead>
49
+ <tfoot>
50
+ <tr>
51
+ <td colspan="100" class="a-right">
52
+ <button class="form-button-alt" type="submit"><span><?php echo $this->__('Update Cart') ?></span></button>
53
+ </td>
54
+ </tr>
55
+ </tfoot>
56
+ <tbody>
57
+ <?php foreach($this->getItems() as $_item): ?>
58
+ <?php echo $this->getItemHtml($_item) ?>
59
+ <?php endforeach ?>
60
+ </tbody>
61
+ </table>
62
+ <script type="text/javascript">decorateTable('shopping-cart-table')</script>
63
+ </form>
64
+ <div class="shopping-cart-totals">
65
+ <?php echo $this->getChildHtml('totals'); ?>
66
+ <script type="text/javascript">decorateTable('shopping-cart-totals-table')</script>
67
+ </div>
68
+ <div class="clear"></div>
69
+ <?php echo $this->getChildHtml('coupon') ?>
70
+ <div class="clear"></div>
71
+ <?php if(!$this->hasError()): ?>
72
+ <div class="p-methods">
73
+ <ul class="checkout-types">
74
+ <?php foreach ($this->getMethods('methods') as $method): ?>
75
+ <?php if ($methodHtml = $this->getMethodHtml($method)): ?>
76
+ <li><?php echo $methodHtml; ?></li>
77
+ <?php endif; ?>
78
+ <?php endforeach; ?>
79
+ </ul>
80
+ </div>
81
+ <?php endif; ?>
82
+ <?php if($this->getContinueShoppingUrl()): ?>
83
+ <p class="a-right" style="padding-right:5px;">
84
+ <a href="javascript:void(0);" onclick="setLocation('<?php echo $this->getContinueShoppingUrl() ?>')"><?php echo $this->__('Continue Shopping') ?> &raquo;</a>
85
+ </p>
86
+ <?php endif; ?>
87
+ <br />
app/design/frontend/default/iphone/template/checkout/cart/coupon.phtml ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <div class="discount-codes box">
28
+ <form id="discount-coupon-form" action="<?php echo $this->getUrl('checkout/cart/couponPost') ?>" method="post">
29
+ <table align="center">
30
+ <tr>
31
+ <td valign="middle"><h4><?php echo $this->__('Discount Codes') ?></h4></td>
32
+ <td valign="middle">
33
+ <input type="hidden" name="remove" id="remove-coupone" value="0"/>
34
+ <?php if(!strlen($this->getCouponCode())): ?>
35
+ <div><input class="input-text" style="width:70px;" id="coupon_code" name="coupon_code" value="<?php echo $this->htmlEscape($this->getCouponCode()) ?>" /></div>
36
+ <?php else: ?>
37
+ <div><input class="input-text" style="width:70px;" id="coupon_code" name="coupon_code" value="<?php echo $this->htmlEscape($this->getCouponCode()) ?>" /></div>
38
+ <?php endif;?>
39
+ <div class="clear"></div>
40
+ </td>
41
+ <td valign="middle">
42
+ <?php if(!strlen($this->getCouponCode())): ?>
43
+ &nbsp;<button class="form-button-alt" onclick="discountForm.submit(false)" type="button" value="<?php echo $this->__('Apply Coupon') ?>"><span><?php echo $this->__('Apply') ?></span></button>
44
+ <?php else: ?>
45
+ &nbsp;<button class="form-button-alt" onclick="discountForm.submit(false)" type="button" value="<?php echo $this->__('Apply Coupon') ?>"><span><?php echo $this->__('Apply') ?></span></button>
46
+ &nbsp;<button class="form-button-alt" type="button" onclick="discountForm.submit(true)" value="<?php echo $this->__('Cancel Coupon') ?>"><span><?php echo $this->__('Cancel') ?></span></button>
47
+ <?php endif;?>
48
+ </td>
49
+ </tr>
50
+ <tr><td colspan="3" align="center"><?php echo $this->__('Enter your coupon code if you have one.') ?></td></tr>
51
+ </table>
52
+ </form>
53
+ <script type="text/javascript">
54
+ var discountForm = new VarienForm('discount-coupon-form');
55
+ discountForm.submit = function (isRemove) {
56
+ if (isRemove) {
57
+ $('coupon_code').removeClassName('required-entry');
58
+ $('remove-coupone').value = "1";
59
+ } else {
60
+ $('coupon_code').addClassName('required-entry');
61
+ $('remove-coupone').value = "0";
62
+ }
63
+ return VarienForm.prototype.submit.bind(discountForm)();
64
+ }
65
+ </script>
66
+ </div>
app/design/frontend/default/iphone/template/checkout/cart/crosssell.phtml ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php
28
+ /**
29
+ * Cart cross sell items template
30
+ *
31
+ * @see Mage_Checkout_Block_Cart_Crosssell
32
+ */
33
+ ?>
34
+ <?php if($this->getItemCount()): ?>
35
+ <div class="col-1 upsell">
36
+ <h4><?php echo $this->__('Based on your selection, you may be interested in the following items:') ?></h4>
37
+ <ul class="generic-product-list">
38
+ <?php foreach ($this->getItems() as $_item): ?>
39
+ <li>
40
+ <a href="<?php echo $_item->getProductUrl() ?>"><img src="<?php echo $this->helper('catalog/image')->init($_item, 'thumbnail')->resize(75); ?>" width="75" alt="<?php echo $this->htmlEscape($_item->getName()) ?>" class="product-image" /></a>
41
+ <div class="product-shop">
42
+ <h5><a href="<?php echo $_item->getProductUrl() ?>"><?php echo $this->htmlEscape($_item->getName()) ?></a></h5>
43
+ <?php echo $this->helper('catalog/product')->getPriceHtml($_item, true) ?>
44
+ <button class="form-button" onclick="setLocation('<?php echo $this->getAddToCartUrl($_item) ?>')" type="button"><span><?php echo $this->__('Add to Cart') ?></span></button><br/>
45
+ <?php if ($this->helper('wishlist')->isAllow()) : ?>
46
+ <small><a href="<?php echo $this->getAddToWishlistUrl($_item) ?>" class="link-cart"><?php echo $this->__('Add to Wishlist') ?></a></small>
47
+ <?php endif; ?>
48
+ <?php if($_compareUrl=$this->getAddToCompareUrl($_item)): ?><br/>
49
+ <small><a href="<?php echo $_compareUrl ?>"><?php echo $this->__('Add to Compare') ?></a></small>
50
+ <?php endif; ?>
51
+ </div>
52
+ </li>
53
+ <?php endforeach; ?>
54
+ </ul>
55
+ </div>
56
+ <?php endif; ?>
app/design/frontend/default/iphone/template/checkout/cart/item/default.phtml ADDED
@@ -0,0 +1,247 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php $_item = $this->getItem()?>
28
+ <tr>
29
+ <td class="a-center" style="text-align:center;"><input name="cart[<?php echo $_item->getId() ?>][qty]" value="<?php echo $this->getQty() ?>" size="4" class="input-text qty" maxlength="8" /></td>
30
+ <td class="attributes-col">
31
+ <?php if ($this->hasProductUrl()):?>
32
+ <a href="<?php echo $this->getProductUrl() ?>"><?php echo $this->htmlEscape($this->getProductName()) ?></a>
33
+ <?php else: ?>
34
+ <?php echo $this->htmlEscape($this->getProductName()) ?>
35
+ <?php endif; ?>
36
+ <?php if ($_options = $this->getOptionList()):?>
37
+ <dl class="item-options">
38
+ <?php foreach ($_options as $_option) : ?>
39
+ <?php $_formatedOptionValue = $this->getFormatedOptionValue($_option) ?>
40
+ <dt><?php echo $this->htmlEscape($_option['label']) ?></dt>
41
+ <dd<?php if (isset($_formatedOptionValue['full_view'])): ?> class="truncated"<?php endif; ?>><?php echo $_formatedOptionValue['value'] ?>
42
+ <?php if (isset($_formatedOptionValue['full_view'])): ?>
43
+ <div class="truncated_full_value">
44
+ <dl class="item-options">
45
+ <dt><?php echo $this->htmlEscape($_option['label']) ?></dt>
46
+ <dd><?php echo $_formatedOptionValue['full_view'] ?></dd>
47
+ </dl>
48
+ </div>
49
+ <?php endif; ?>
50
+ </dd>
51
+ <?php endforeach; ?>
52
+ </dl>
53
+ <?php endif;?>
54
+ <?php if ($messages = $this->getMessages()): ?>
55
+ <?php foreach ($messages as $message): ?>
56
+ <div class="shopping-cart-item-message <?php echo $message['type'] ?>">
57
+ * <?php echo $message['text'] ?>
58
+ </div>
59
+ <?php endforeach; ?>
60
+ <?php endif; ?>
61
+ </td>
62
+ <td class="a-center" style="text-align:center;">
63
+ <a href="<?php echo $this->getDeleteUrl() ?>"><img src="<?php echo $this->getSkinUrl('images/btn_trash.gif') ?>" width="16" height="16" alt="<?php echo $this->__('Remove item')?>" /></a>
64
+ </td>
65
+ <td class="a-right">
66
+ <?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
67
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales')): ?>
68
+ <div class="cart-tax-total" onclick="taxToggle('eunit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
69
+ <?php else: ?>
70
+ <div class="cart-price">
71
+ <?php endif; ?>
72
+
73
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
74
+ <?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()+$_item->getWeeeTaxAppliedAmount()+$_item->getWeeeTaxDisposition()); ?>
75
+ <?php else: ?>
76
+ <?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()) ?>
77
+ <?php endif; ?>
78
+
79
+ </div>
80
+
81
+
82
+ <?php if (Mage::helper('weee')->getApplied($_item)): ?>
83
+
84
+ <div class="cart-tax-info" id="eunit-item-tax-details<?php echo $_item->getId(); ?>" style="display: none;">
85
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
86
+ <small>
87
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
88
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount'],true,true); ?></span><br />
89
+ <?php endforeach; ?>
90
+ </small>
91
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
92
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
93
+ <span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></small></span><br />
94
+ <?php endforeach; ?>
95
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
96
+ <small>
97
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
98
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></span><br />
99
+ <?php endforeach; ?>
100
+ </small>
101
+ <?php endif; ?>
102
+ </div>
103
+
104
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
105
+ <div class="cart-tax-total" onclick="taxToggle('eunit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
106
+ <span class="nobr"><?php echo Mage::helper('weee')->__('Total'); ?>:<br /> <?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()+$_item->getWeeeTaxAppliedAmount()+$_item->getWeeeTaxDisposition()); ?></span>
107
+ </div>
108
+ <?php endif; ?>
109
+ <?php endif; ?>
110
+ <?php endif; ?>
111
+ <?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
112
+ <?php $_incl = $this->helper('checkout')->getPriceInclTax($_item); ?>
113
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
114
+ <div class="cart-tax-total" onclick="taxToggle('unit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
115
+ <?php else: ?>
116
+ <div class="cart-price">
117
+ <?php endif; ?>
118
+
119
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
120
+ <?php echo $this->helper('checkout')->formatPrice($_incl+$_item->getWeeeTaxAppliedAmount()); ?>
121
+ <?php else: ?>
122
+ <?php echo $this->helper('checkout')->formatPrice($_incl-$_item->getWeeeTaxDisposition()) ?>
123
+ <?php endif; ?>
124
+
125
+ </div>
126
+ <?php if (Mage::helper('weee')->getApplied($_item)): ?>
127
+
128
+ <div class="cart-tax-info" id="unit-item-tax-details<?php echo $_item->getId(); ?>" style="display: none;">
129
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
130
+ <small>
131
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
132
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount'],true,true); ?></span><br />
133
+ <?php endforeach; ?>
134
+ </small>
135
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
136
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
137
+ <span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></small></span><br />
138
+ <?php endforeach; ?>
139
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
140
+ <small>
141
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
142
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></span><br />
143
+ <?php endforeach; ?>
144
+ </small>
145
+ <?php endif; ?>
146
+ </div>
147
+
148
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
149
+ <div class="cart-tax-total" onclick="taxToggle('unit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
150
+ <span class="nobr"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>:<br /> <?php echo $this->helper('checkout')->formatPrice($_incl+$_item->getWeeeTaxAppliedAmount()); ?></span>
151
+ </div>
152
+ <?php endif; ?>
153
+ <?php endif; ?>
154
+ <?php endif; ?>
155
+ </td>
156
+ <td class="a-right">
157
+ <?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
158
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
159
+ <div class="cart-tax-total" onclick="taxToggle('esubtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
160
+ <?php else: ?>
161
+ <div class="cart-price">
162
+ <?php endif; ?>
163
+
164
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
165
+ <?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()+$_item->getWeeeTaxAppliedRowAmount()+$_item->getWeeeTaxRowDisposition()); ?>
166
+ <?php else: ?>
167
+ <?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()) ?>
168
+ <?php endif; ?>
169
+
170
+ </div>
171
+ <?php if (Mage::helper('weee')->getApplied($_item)): ?>
172
+
173
+ <div class="cart-tax-info" id="esubtotal-item-tax-details<?php echo $_item->getId(); ?>" style="display: none;">
174
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
175
+ <small>
176
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
177
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount'],true,true); ?></span><br />
178
+ <?php endforeach; ?>
179
+ </small>
180
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
181
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
182
+ <span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount_incl_tax'],true,true); ?></small></span><br />
183
+ <?php endforeach; ?>
184
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
185
+ <small>
186
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
187
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount_incl_tax'],true,true); ?></span><br />
188
+ <?php endforeach; ?>
189
+ </small>
190
+ <?php endif; ?>
191
+ </div>
192
+
193
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
194
+ <div class="cart-tax-total" onclick="taxToggle('esubtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
195
+ <span class="nobr"><?php echo Mage::helper('weee')->__('Total'); ?>:<br /> <?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()+$_item->getWeeeTaxAppliedRowAmount()+$_item->getWeeeTaxRowDisposition()); ?></span>
196
+ </div>
197
+ <?php endif; ?>
198
+ <?php endif; ?>
199
+ <?php endif; ?>
200
+ <?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
201
+ <?php $_incl = $this->helper('checkout')->getSubtotalInclTax($_item); ?>
202
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
203
+ <div class="cart-tax-total" onclick="taxToggle('subtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
204
+ <?php else: ?>
205
+ <div class="cart-price">
206
+ <?php endif; ?>
207
+
208
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
209
+ <?php echo $this->helper('checkout')->formatPrice($_incl+$_item->getWeeeTaxAppliedRowAmount()); ?>
210
+ <?php else: ?>
211
+ <?php echo $this->helper('checkout')->formatPrice($_incl-$_item->getWeeeTaxRowDisposition()) ?>
212
+ <?php endif; ?>
213
+
214
+ </div>
215
+
216
+
217
+ <?php if (Mage::helper('weee')->getApplied($_item)): ?>
218
+
219
+ <div class="cart-tax-info" id="subtotal-item-tax-details<?php echo $_item->getId(); ?>" style="display: none;">
220
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
221
+ <small>
222
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
223
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount'],true,true); ?></span><br />
224
+ <?php endforeach; ?>
225
+ </small>
226
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
227
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
228
+ <span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount_incl_tax'],true,true); ?></small></span><br />
229
+ <?php endforeach; ?>
230
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
231
+ <small>
232
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
233
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount_incl_tax'],true,true); ?></span><br />
234
+ <?php endforeach; ?>
235
+ </small>
236
+ <?php endif; ?>
237
+ </div>
238
+
239
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
240
+ <div class="cart-tax-total" onclick="taxToggle('subtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
241
+ <span class="nobr"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>:<br /> <?php echo $this->helper('checkout')->formatPrice($_incl+$_item->getWeeeTaxAppliedRowAmount()); ?></span>
242
+ </div>
243
+ <?php endif; ?>
244
+ <?php endif; ?>
245
+ <?php endif; ?>
246
+ </td>
247
+ </tr>
app/design/frontend/default/iphone/template/checkout/cart/noItems.phtml ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <div class="in-page">
28
+ <div class="page-head">
29
+ <h3><?php echo $this->__('Shopping Cart is Empty') ?></h3>
30
+ </div>
31
+ <p><?php echo $this->__('You have no items in your shopping cart.') ?></p>
32
+ <p><?php echo $this->__('Click <a href="%s">here</a> to continue shopping.', $this->getContinueShoppingUrl()) ?></p>
33
+ </div><br /><br />
app/design/frontend/default/iphone/template/checkout/cart/render/default.phtml ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php $_item = $this->getItem() ?>
28
+ <tr>
29
+ <td class="a-center" style="text-align:center;">
30
+ <input name="cart[<?php echo $_item->getId() ?>][qty]" value="<?php echo $this->getItemQty($_item) ?>" size="4" class="input-text qty" maxlength="8" />
31
+ </td>
32
+ <td class="attributes-col">
33
+ <a href="<?php echo $this->getItemUrl($_item) ?>"><?php echo $this->getItemName($_item) ?></a>
34
+ <?php if($_item->getMessage()): ?>
35
+ <div style="font-size:95%;margin-top:6px;" class="shopping-cart-item-message <?php if($_item->getHasError()): ?>error<?php else: ?>notice<?php endif; ?>">
36
+ * <?php echo $_item->getMessage() ?>
37
+ </div>
38
+ <?php endif; ?>
39
+ </td>
40
+ <td class="a-center" style="text-align:center;">
41
+ <a href="<?php echo $this->getItemDeleteUrl($_item) ?>"><img src="<?php echo $this->getSkinUrl('images/btn_trash.gif') ?>" width="16" height="16" alt="Remove item" /></a>
42
+ </td>
43
+ <td class="a-right">
44
+ <?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
45
+ <span class="nowrap"><?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()) ?></span>
46
+ <?php endif; ?>
47
+ <?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
48
+ <div class="nowrap" style="font-size:9px;"><?php echo $this->helper('checkout')->formatPrice($this->helper('checkout')->getPriceInclTax($_item)); ?><br />(Incl.Tax)</div>
49
+ <?php endif; ?>
50
+ </td>
51
+ <td class="a-right">
52
+ <?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
53
+ <span class="nowrap"><?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()) ?></span>
54
+ <?php endif; ?>
55
+ <?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
56
+ <div class="nowrap" style="font-size:9px;"><?php echo $this->helper('checkout')->formatPrice($this->helper('checkout')->getSubtotalInclTax($_item)); ?><br />(Incl.Tax)</div>
57
+ <?php endif; ?>
58
+ </td>
59
+ </tr>
app/design/frontend/default/iphone/template/checkout/cart/render/simple.phtml ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php $_item = $this->getItem() ?>
28
+ <tr>
29
+ <td class="a-center" style="text-align:center;">
30
+ <input name="cart[<?php echo $_item->getId() ?>][qty]" value="<?php echo $this->getItemQty($_item) ?>" size="4" class="input-text qty" maxlength="8" />
31
+ </td>
32
+ <td class="attributes-col">
33
+ <a href="<?php echo $this->getItemUrl($_item) ?>"><?php echo $this->getItemName($_item) ?></a>
34
+ <?php if($_item->getMessage()): ?>
35
+ <div style="font-size:95%;margin-top:6px;" class="shopping-cart-item-message <?php if($_item->getHasError()): ?>error<?php else: ?>notice<?php endif; ?>">
36
+ * <?php echo $_item->getMessage() ?>
37
+ </div>
38
+ <?php endif; ?>
39
+ </td>
40
+ <td class="a-center" style="text-align:center;">
41
+ <a href="<?php echo $this->getItemDeleteUrl($_item) ?>"><img src="<?php echo $this->getSkinUrl('images/btn_trash.gif') ?>" width="16" height="16" alt="Remove item" /></a>
42
+ </td>
43
+ <td class="a-right">
44
+ <?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
45
+ <span class="nowrap"><?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()) ?></span>
46
+ <?php endif; ?>
47
+ <?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
48
+ <div class="nowrap" style="font-size:9px;"><?php echo $this->helper('checkout')->formatPrice($this->helper('checkout')->getPriceInclTax($_item)); ?><br />(Incl.Tax)</div>
49
+ <?php endif; ?>
50
+ </td>
51
+ <td class="a-right">
52
+ <?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
53
+ <span class="nowrap"><?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()) ?></span>
54
+ <?php endif; ?>
55
+ <?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
56
+ <div class="nowrap" style="font-size:9px;"><?php echo $this->helper('checkout')->formatPrice($this->helper('checkout')->getSubtotalInclTax($_item)); ?><br />(Incl.Tax)</div>
57
+ <?php endif; ?>
58
+ </td>
59
+ </tr>
app/design/frontend/default/iphone/template/checkout/cart/shipping.phtml ADDED
@@ -0,0 +1,106 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <div class="shipping-estimate box">
28
+ <h4><?php echo $this->__('Estimate Shipping and Tax') ?></h4>
29
+ <form action="<?php echo $this->getUrl('checkout/cart/estimatePost') ?>" method="post" id="shipping-zip-form">
30
+ <p><?php echo $this->__('Enter your destination to get a shipping estimate.') ?></p>
31
+ <p><label for="country"><?php echo $this->__('Country') ?></label><br /><span><?php echo Mage::getBlockSingleton('directory/data')->getCountryHtmlSelect($this->getEstimateCountryId()) ?></span></p>
32
+ <?php //if($this->getStateActive()): ?>
33
+ <p>
34
+ <label for="region_id"><?php echo $this->__('State/Province') ?></label><br />
35
+
36
+ <select id="region_id" name="region_id" title="<?php echo $this->__('State/Province') ?>" class="validate-select" style="display:none">
37
+ <option value=""><?php echo $this->__('Please select region, state or province') ?></option>
38
+ </select>
39
+ <script type="text/javascript">
40
+ $('region_id').setAttribute('defaultValue', "<?php echo $this->getEstimateRegionId() ?>");
41
+ </script>
42
+ <input type="text" id="region" name="region" value="<?php echo $this->htmlEscape($this->getEstimateRegion()) ?>" title="<?php echo $this->__('State/Province') ?>" class="input-text" style="display:none" />
43
+ </p>
44
+ <?php //endif; ?>
45
+ <?php if($this->getCityActive()): ?>
46
+ <p><label for="city"><?php echo $this->__('City') ?></label><br />
47
+ <input class="input-text" id="city" type="text" name="estimate_city" value="<?php echo $this->htmlEscape($this->getEstimateCity()) ?>" />
48
+ </p>
49
+ <?php endif; ?>
50
+ <p><label for="postcode"><?php echo $this->__('Zip/Postal Code') ?></label><br />
51
+ <input class="input-text" type="text" id="postcode" name="estimate_postcode" value="<?php echo $this->htmlEscape($this->getEstimatePostcode()) ?>" /></p>
52
+ <p><button type="button" onclick="coShippingMethodForm.submit()" class="form-button-alt"><span><?php echo $this->__('Get a Quote') ?></span></button></p>
53
+ </form>
54
+ <script type="text/javascript">
55
+ new RegionUpdater('country', 'region', 'region_id', <?php echo $this->helper('directory')->getRegionJson() ?>);
56
+ </script>
57
+
58
+ <?php if (($_shippingRateGroups = $this->getEstimateRates())): ?>
59
+ <div class="divider"></div>
60
+ <form id="co-shipping-method-form" action="<?php echo $this->getUrl('checkout/cart/estimateUpdatePost') ?>">
61
+ <dl class="shipment-methods">
62
+ <?php foreach ($_shippingRateGroups as $code => $_rates): ?>
63
+ <dt><?php echo $this->getCarrierName($code) ?></dt>
64
+ <dd>
65
+ <ul>
66
+ <?php foreach ($_rates as $_rate): ?>
67
+ <li class="<?php if ($_rate->getErrorMessage()) echo 'error-msg';?>">
68
+ <?php if ($_rate->getErrorMessage()): ?>
69
+ <?php echo $_rate->getErrorMessage() ?>
70
+ <?php else: ?>
71
+ <input name="estimate_method" type="radio" value="<?php echo $this->htmlEscape($_rate->getCode()) ?>" id="s_method_<?php echo $_rate->getCode() ?>"<?php if($_rate->getCode()===$this->getAddressShippingMethod()) echo ' checked="checked"' ?> />
72
+ <label for="s_method_<?php echo $_rate->getCode() ?>"><?php echo $_rate->getMethodTitle() ?> - <strong><?php echo $_rate->getPrice() ?></strong></label>
73
+ <?php endif ?>
74
+ </li>
75
+ <?php endforeach; ?>
76
+ </ul>
77
+ </dd>
78
+ <?php endforeach; ?>
79
+ </dl>
80
+ <fieldset><button type="submit" class="form-button-alt" name="do" value="<?php echo $this->__('Update Total') ?>"><span><?php echo $this->__('Update Total') ?></span></button></fieldset>
81
+ </form>
82
+ <?php endif; ?>
83
+
84
+ <script type="text/javascript">
85
+ var coShippingMethodForm = new VarienForm('shipping-zip-form');
86
+ var countriesWithOptionalZip = <?php echo $this->helper('directory')->getCountriesWithOptionalZip(true) ?>;
87
+
88
+ coShippingMethodForm.submit = function () {
89
+ var country = $F('country');
90
+ var optionalZip = false;
91
+
92
+ for (i=0; i < countriesWithOptionalZip.length; i++) {
93
+ if (countriesWithOptionalZip[i] == country) {
94
+ optionalZip = true;
95
+ }
96
+ }
97
+ if (optionalZip) {
98
+ $('postcode').removeClassName('required-entry');
99
+ }
100
+ else {
101
+ $('postcode').addClassName('required-entry');
102
+ }
103
+ return VarienForm.prototype.submit.bind(coShippingMethodForm)();
104
+ }
105
+ </script>
106
+ </div>
app/design/frontend/default/iphone/template/checkout/cart/sidebar.phtml ADDED
@@ -0,0 +1,91 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php
28
+ /**
29
+ * Shoping cart sidebar
30
+ *
31
+ * @see Mage_Checkout_Block_Cart_Sidebar
32
+ */
33
+ ?>
34
+ <?php if($this->getCanDisplayCart() && $this->getIsNeedToDisplaySideBar()): ?>
35
+ <div class="box base-mini mini-cart">
36
+ <div class="head">
37
+ <?php $_cartQty = $this->getSummaryCount() ?>
38
+ <h4><?php echo $this->__('My Cart') ?></h4>
39
+ <?php if ($_cartQty>0): ?>
40
+ <?php if ($_cartQty==1): ?>
41
+ <?php echo $this->__('There is <a href="%s"><strong>1 item</strong></a> in your cart.', $this->getUrl('checkout/cart')) ?>
42
+ <?php else: ?>
43
+ <?php echo $this->__('There are <a href="%s"><strong>%s items</strong></a> in your cart.', $this->getUrl('checkout/cart'), $_cartQty) ?>
44
+ <?php endif ?>
45
+ <p class="subtotal">
46
+ <?php echo $this->__('Cart Subtotal:') ?> <strong><?php echo Mage::helper('core')->currency($this->getSubtotal()) ?></strong>
47
+ <?php if ($_subtotalInclTax = $this->getSubtotalInclTax()): ?>
48
+ <br />(<strong><?php echo Mage::helper('checkout')->formatPrice($_subtotalInclTax) ?></strong> <?php echo Mage::helper('tax')->getIncExcText(true) ?>)
49
+ <?php endif; ?>
50
+ </p>
51
+ <?php endif ?>
52
+ </div>
53
+ <?php $_items = $this->getRecentItems() ?>
54
+ <?php if(count($_items)): ?>
55
+ <div class="actions">
56
+ <button class="form-button" type="button" onclick="setLocation('<?php echo $this->getUrl('checkout/onepage') ?>')"><span><?php echo $this->__('Checkout') ?></span></button>
57
+ </div>
58
+ <?php endif ?>
59
+ <?php if(count($_items)): ?>
60
+ <h5><?php echo $this->__('Recently added item(s)') ?></h5>
61
+ <ol id="cart-sidebar">
62
+ <?php foreach($_items as $_item): ?>
63
+ <li>
64
+ <div class="product-images">
65
+ <a href="<?php echo $_item->getProductUrl() ?>"><img src="<?php echo $this->helper('catalog/image')->init($_item->getThumbnailObject(), 'thumbnail')->resize(50, 50)->setWatermarkSize('30x10'); ?>" alt="<?php echo $this->htmlEscape($_item->getProductName()) ?>" width="50" height="50" /></a>
66
+ </div>
67
+ <div class="product-details">
68
+ <a href="<?php echo $this->getRemoveItemUrl($_item) ?>" onclick="return confirm('<?php echo $this->__('Are you sure you would like to remove this item from the shopping cart?') ?>');" class="widget-btn"><img src="<?php echo $this->getSkinUrl('images/list_remove_btn.gif') ?>" alt="<?php echo $this->__('Remove Product') ?>" /></a>
69
+ <a href="<?php echo $_item->getProductUrl() ?>"><?php echo $this->htmlEscape($_item->getProductName()) ?></a>
70
+ <?php echo $_item->getProductDescription() ?>
71
+ <br /><strong><?php echo 1*$_item->getQty() ?></strong> x
72
+
73
+ <?php $_excl = $_item->getPrice(); ?>
74
+ <?php $_incl = $this->helper('checkout')->getPriceInclTax($_item); ?>
75
+ <?php if ($this->helper('tax')->displayCartPriceInclTax()): $_excl = $_incl; endif; ?>
76
+
77
+ <?php echo $this->helper('checkout')->formatPrice($_excl); ?>
78
+ <?php if ($this->helper('tax')->displayCartBothPrices() && $_incl != $_excl): ?>
79
+ <br />(<span><?php echo $this->helper('checkout')->formatPrice($_incl); ?></span> <?php echo Mage::helper('tax')->__('Incl. Tax') ?>)
80
+ <?php endif; ?>
81
+ </div>
82
+ </li>
83
+ <?php endforeach; ?>
84
+ </ol>
85
+ <script type="text/javascript">decorateList('cart-sidebar')</script>
86
+ <?php else: ?>
87
+ <div class="content"><p><?php echo $this->__('You have no items in your shopping cart.') ?></p></div>
88
+ <?php endif ?>
89
+ </div>
90
+ <!-- [ends] .cart-sidebar // -->
91
+ <?php endif ?>
app/design/frontend/default/iphone/template/checkout/cart/totals.phtml ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php
28
+ /**
29
+ * Shopping cart totals template
30
+ *
31
+ * @see Mage_Checkout_Block_Cart_Totals
32
+ */
33
+ ?>
34
+ <table cellspacing="0" id="shopping-cart-totals-table" align="right">
35
+ <tfoot>
36
+ <?php echo $this->renderTotals('footer'); ?>
37
+ </tfoot>
38
+ <tbody>
39
+ <?php echo $this->renderTotals(); ?>
40
+ </tbody>
41
+ </table>
42
+ <script type="text/javascript">decorateTable('shopping-cart-totals-table')</script>
app/design/frontend/default/iphone/template/checkout/links.phtml ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
app/design/frontend/default/iphone/template/checkout/multishipping/address/select.phtml ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <div class="page-head button-level">
28
+ <h3><?php echo $this->__('Change Billing Address') ?></h3>
29
+ <button type="button" class="form-button-alt" onclick="setLocation('<?php echo $this->getAddNewUrl() ?>')"><span><?php echo $this->__('Add New Address') ?></span></button>
30
+ </div>
31
+ <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
32
+ <div class="content-box">
33
+ <?php $_index=0 ?>
34
+ <?php foreach ($this->getAddressCollection() as $_address): ?>
35
+ <?php if($_index%3==0): ?><div class="col3-set box-set"><?php endif; ?>
36
+ <div class="col-<?php echo ($_index%3+1) ?>">
37
+ <div class="box">
38
+ <p class="actions">
39
+ <a href="<?php echo $this->getEditAddressUrl($_address) ?>"><?php echo $this->__('Edit Address') ?></a><span class="separator">|</span>
40
+ <a href="<?php echo $this->getSetAddressUrl($_address) ?>"><strong><?php echo $this->__('Select Address') ?></strong></a>
41
+ </p>
42
+ <address>
43
+ <?php echo $_address->format('html') ?>
44
+ <?php if($this->isAddressDefaultBilling($_address)): ?>
45
+ <br/><strong><?php echo $this->__('Default Billing') ?></strong>
46
+ <?php endif; ?>
47
+ <?php if($this->isAddressDefaultShipping($_address)): ?>
48
+ <br/><strong><?php echo $this->__('Default Shipping') ?></strong>
49
+ <?php endif; ?>
50
+ </address>
51
+ </div>
52
+ </div>
53
+ <?php $_index++ ?>
54
+ <?php if($_index && $_index%3==0): ?></div><br/><?php endif; ?>
55
+ <?php endforeach; ?>
56
+ <?php if(!$_index || $_index%3!=0): ?></div><br/><?php endif; ?>
57
+ </div>
58
+ <div class="button-set">
59
+ <a href="<?php echo $this->getBackUrl() ?>" class="left"><?php echo $this->__('&laquo; Back to Billing Information') ?></a>
60
+ </div>
app/design/frontend/default/iphone/template/checkout/multishipping/addresses.phtml ADDED
@@ -0,0 +1,80 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php
28
+ /**
29
+ * Ship to multiple address template
30
+ *
31
+ * @see Mage_Checkout_Block_Multishipping_Addresses
32
+ */
33
+ ?>
34
+ <div class="in-page">
35
+ <form id="checkout_multishipping_form" action="<?php echo $this->getPostActionUrl() ?>" method="post">
36
+ <div class="page-head col2-set">
37
+ <div class="col-1" style="width:60%;">
38
+ <h3><?php echo $this->__('Ship to Multiple Addresses') ?></h3>
39
+ </div>
40
+ <div class="col-2 a-right" style="width:38%;">
41
+ <button class="form-button-alt" type="button" onclick="$('add_new_address_flag').value=1; $('checkout_multishipping_form').submit();"><span><?php echo $this->__('New Address') ?></span></button>
42
+ </div><div class="clear" />
43
+ </div><br />
44
+ <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
45
+ <fieldset>
46
+ <input type="hidden" name="continue" value="0" id="can_continue_flag"/>
47
+ <input type="hidden" name="new_address" value="0" id="add_new_address_flag" />
48
+ <table cellspacing="0" id="multiship-addresses-table" class="shopping-cart multicheckout">
49
+ <tbody>
50
+ <?php foreach ($this->getItems() as $_index => $_item): ?>
51
+ <tr style="background:#D2D3D3;">
52
+ <td class="a-right v-top"><strong><?php echo $this->__('Product: ') ?></strong></td>
53
+ <td class="v-top">
54
+ <?php echo $this->getItemHtml($_item->getQuoteItem())?>
55
+ </td>
56
+ <td class="v-top"><a href="<?php echo $this->getItemDeleteUrl($_item) ?>"><img src="<?php echo $this->getSkinUrl('images/btn_trash.gif') ?>" width="16" height="16" alt="<?php echo $this->__('Remove Item') ?>" /></a></td>
57
+ </tr>
58
+ <tr>
59
+ <td class="a-right v-top" style="padding-top:8px;"><strong><?php echo $this->__('Qty: ') ?></strong></td>
60
+ <td class="v-top" colspan="2"><input name="ship[<?php echo $_index ?>][<?php echo $_item->getQuoteItemId() ?>][qty]" value="<?php echo $this->htmlEscape($_item->getQty()) ?>" size="2" class="input-text qty" /></td>
61
+ </tr>
62
+ <tr>
63
+ <td class="a-right v-top" style="padding-top:8px;"><strong><?php echo $this->__('Send to: ') ?></strong></td>
64
+ <td class="v-top select250inner" colspan="2"><?php echo $this->getAddressesHtmlSelect($_item, $_index) ?></td>
65
+ </tr>
66
+ <?php endforeach; ?>
67
+ </tbody>
68
+ </table>
69
+ <script type="text/javascript">decorateTable('multiship-addresses-table')</script>
70
+ <div class="col2-set" style="margin:10px 0;">
71
+ <div class="col-1" style="padding:8px 0;"><a href="<?php echo $this->getBackUrl() ?>" class="left"><?php echo $this->__('&laquo; Back to Shopping Cart') ?></a></div>
72
+ <div class="col-2 a-right"><button class="form-button-alt" type="submit" onclick="$('can_continue_flag').value=0"><span><?php echo $this->__(' Update ') ?></span></button></div><div class="clear"></div>
73
+ </div>
74
+ <div class="a-center" style="margin:15px 0;">
75
+ <button class="form-button" type="submit" onclick="$('can_continue_flag').value=1"><span><?php echo $this->__('Continue to Shipping Information') ?></span></button>
76
+ </div>
77
+ <div style="margin:20px 0;"></div>
78
+ </fieldset>
79
+ </form>
80
+ </div>
app/design/frontend/default/iphone/template/checkout/multishipping/billing.phtml ADDED
@@ -0,0 +1,116 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php
28
+ /**
29
+ * Multishipping checkout billing information
30
+ *
31
+ * @see Mage_Checkout_Block_Multishipping_Billing
32
+ */
33
+ ?>
34
+ <div class="page-head">
35
+ <h3><?php echo $this->__('Billing Information') ?></h3>
36
+ </div>
37
+ <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
38
+ <script src="<?php echo Mage::getBaseUrl('js') ?>varien/payment.js" type="text/javascript"></script>
39
+ <form action="<?php echo $this->getPostActionUrl() ?>" method="post" id="multishipping-billing-form">
40
+ <div class="multi-address-checkout-box">
41
+ <div class="box">
42
+ <div>
43
+ <table class="shopping-cart">
44
+ <thead>
45
+ <tr>
46
+ <th class="a-left">
47
+ <div class="col2-set">
48
+ <div class="col-1"><?php echo $this->__('Billing Address') ?></div>
49
+ <div class="col-2 a-right"><a href="<?php echo $this->getSelectAddressUrl() ?>"><?php echo $this->__('Change') ?></a></div>
50
+ </div><div class="clear"></div>
51
+ </th>
52
+ </tr>
53
+ </thead>
54
+ <tbody>
55
+ <tr>
56
+ <td>
57
+ <?php $_address=$this->getAddress() ?>
58
+ <address>
59
+ <?php echo $_address->format('html') ?>
60
+ </address>
61
+ </td>
62
+ </tr>
63
+ </tbody>
64
+ </table><br />
65
+ <div>
66
+ <div class="inner-head">
67
+ <h5><?php echo $this->__('Payment Method') ?></h5><div class="clear"></div>
68
+ </div>
69
+ <!-- Payment methods forms list -->
70
+ <dl class="payment-methods">
71
+ <?php
72
+ $_methods = $this->getMethods();
73
+ $_methodsCount = count($_methods);
74
+ ?>
75
+ <?php foreach ($_methods as $_method): $_code = $_method->getCode() ?>
76
+ <dt>
77
+ <?php if ($_methodsCount > 1): ?>
78
+ <input id="p_method_<?php echo $_code ?>" value="<?php echo $_code ?>" type="radio" name="payment[method]" title="<?php echo $this->htmlEscape($_method->getTitle()) ?>" onclick="payment.switchMethod('<?php echo $_code ?>')"<?php if($this->getSelectedMethodCode()==$_code): ?> checked="checked"<?php endif; ?> />
79
+ <?php else :?>
80
+ <span class="no-display"><input id="p_method_<?php echo $_code ?>" value="<?php echo $_code ?>" type="radio" name="payment[method]" checked="checked" /></span>
81
+ <?php endif;?>
82
+ <label for="p_method_<?php echo $_code ?>"><?php echo $_method->getTitle() ?></label>
83
+ </dt>
84
+ <dd>
85
+ <?php echo $this->getChildHtml('payment.method.'.$_code) ?>
86
+ </dd>
87
+ <?php endforeach; ?>
88
+ </dl><div class="clear"></div>
89
+ </div>
90
+ </div>
91
+ </div>
92
+ <div class="a-right"><button class="form-button" type="submit"><span><?php echo $this->__('Continue to Review Your Order') ?></span></button></div><br />
93
+ <div>
94
+ <a href="<?php echo $this->getBackUrl() ?>" class="left">&laquo;<?php echo $this->__('Back to Shipping Information') ?></a>
95
+ </div><br /><br />
96
+ </form>
97
+ <script type="text/javascript">
98
+ // Need to fix payment JS
99
+ var payment = new paymentForm('multishipping-billing-form');
100
+ function toggleToolTip(event){
101
+ if($('payment-tool-tip')){
102
+ $('payment-tool-tip').setStyle({
103
+ top: (Event.pointerY(event)-500)+'px',
104
+ left: (Event.pointerX(event)-800)+'px'
105
+ })
106
+ $('payment-tool-tip').toggle();
107
+ }
108
+ Event.stop(event);
109
+ }
110
+ if($('payment-tool-tip-close')){
111
+ Event.observe($('payment-tool-tip-close'), 'click', toggleToolTip);
112
+ }
113
+ $$('.cvv-what-is-this').each(function(element){
114
+ Event.observe(element, 'click', toggleToolTip);
115
+ });
116
+ </script>
app/design/frontend/default/iphone/template/checkout/multishipping/item/default.phtml ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
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->htmlEscape($this->getProductName()) ?></a></h4>
28
+ <!-- item custom options -->
29
+ <?php if ($_options = $this->getOptionList()):?>
30
+ <dl class="item-options">
31
+ <?php foreach ($_options as $_option) : ?>
32
+ <?php $_formatedOptionValue = $this->getFormatedOptionValue($_option) ?>
33
+ <dt><?php echo $this->htmlEscape($_option['label']) ?></dt>
34
+ <dd<?php if (isset($_formatedOptionValue['full_view'])): ?> class="truncated"<?php endif; ?>><?php echo $_formatedOptionValue['value'] ?>
35
+ <?php if (isset($_formatedOptionValue['full_view'])): ?>
36
+ <div class="truncated_full_value">
37
+ <dl class="item-options">
38
+ <dt><?php echo $this->htmlEscape($_option['label']) ?></dt>
39
+ <dd><?php echo $_formatedOptionValue['full_view'] ?></dd>
40
+ </dl>
41
+ </div>
42
+ <?php endif; ?>
43
+ </dd>
44
+ <?php endforeach; ?>
45
+ </dl>
46
+ <?php endif;?>
47
+ <!-- / -->
app/design/frontend/default/iphone/template/checkout/multishipping/link.phtml ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <a href="<?php echo $this->getCheckoutUrl()?>"><big><?php echo Mage::helper('checkout')->__('Checkout with Multiple Addresses');?></big></a>
app/design/frontend/default/iphone/template/checkout/multishipping/overview.phtml ADDED
@@ -0,0 +1,203 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <div class="in-page">
28
+ <div class="page-head">
29
+ <h3><?php echo $this->__('Review Order') ?></h3>
30
+ </div>
31
+ <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
32
+ <div class="multi-address-checkout-box">
33
+ <form action="<?php echo $this->getPostActionUrl() ?>" method="post" onsubmit="return showLoader();">
34
+ <div class="box">
35
+ <div class="inner-head"><h4 class="legend"><?php echo $this->__('Billing Information') ?></h4><div class="clear"></div></div>
36
+ <table class="shopping-cart">
37
+ <col width="50%" />
38
+ <col width="50%" />
39
+ <tbody>
40
+ <tr>
41
+ <td class="v-top">
42
+ <?php $_address=$this->getBillingAddress() ?>
43
+ <address>
44
+ <?php echo $_address->format('html') ?>
45
+ </address>
46
+ </td>
47
+ <td class="v-top">
48
+ <input type="hidden" name="payment[cc_number]" value="<?php echo $this->htmlEscape($this->getPayment()->getCcNumber())?>" />
49
+ <input type="hidden" name="payment[cc_cid]" value="<?php echo $this->htmlEscape($this->getPayment()->getCcCid())?>" />
50
+ <?php echo $this->getPaymentHtml() ?>
51
+ </td>
52
+ </tr>
53
+ </tbody>
54
+ <thead>
55
+ <tr>
56
+ <th class="a-left">
57
+ <div class="col2-set">
58
+ <div class="col-1" style="width:70%;"><?php echo $this->__('Billing Address') ?></div>
59
+ <div class="col-2 a-right" style="width:28%;"><a href="<?php echo $this->getEditBillingAddressUrl($_address) ?>"><?php echo $this->__('Change') ?></a></div>
60
+ </div><div class="clear"></div>
61
+ </th>
62
+ <th class="a-left">
63
+ <div class="col2-set">
64
+ <div class="col-1" style="width:70%;"><?php echo $this->__('Payment Method') ?></div>
65
+ <div class="col-2 a-right" style="width:28%;"><a href="<?php echo $this->getEditBillingUrl() ?>"><?php echo $this->__('Change') ?></a></div>
66
+ </div><div class="clear"></div>
67
+ </th>
68
+ </tr>
69
+ </thead>
70
+ </table><br />
71
+ </div>
72
+ <br />
73
+ <div class="box">
74
+ <div class="inner-head"><h4 class="legend"><?php echo $this->__('Shipping Information') ?></h4><div class="clear"></div></div>
75
+ <?php foreach ($this->getShippingAddresses() as $_index => $_address): ?>
76
+ <div>
77
+ <h4><?php echo $this->__('Address %s of %s', ($_index+1), $this->getShippingAddressCount()) ?></h4>
78
+ <table class="shopping-cart">
79
+ <thead>
80
+ <tr>
81
+ <th class="a-left">
82
+ <div class="col2-set">
83
+ <div class="col-1" style="width:70%;"><?php echo $this->__('Shipping To') ?></div>
84
+ <div class="col-2 a-right" style="width:28%;"><a href="<?php echo $this->getEditShippingAddressUrl($_address) ?>"><?php echo $this->__('Change') ?></a></div>
85
+ </div><div class="clear"></div>
86
+ </th>
87
+ <th class="a-left">
88
+ <div class="col2-set">
89
+ <div class="col-1" style="width:70%;"><?php echo $this->__('Shipping Method') ?></div>
90
+ <div class="col-2 a-right" style="width:28%;"><a href="<?php echo $this->getEditShippingUrl() ?>"><?php echo $this->__('Change') ?></a></div>
91
+ </div><div class="clear"></div>
92
+ </th>
93
+ </tr>
94
+ </thead>
95
+ <tbody>
96
+ <tr>
97
+ <td class="v-top">
98
+ <address>
99
+ <?php echo $_address->format('html') ?>
100
+ </address>
101
+ </td>
102
+ <td class="v-top">
103
+ <?php if($_rate=$this->getShippingAddressRate($_address)): ?>
104
+ <p>
105
+ <?php echo $_rate->getCarrierTitle() ?> (<?php echo $_rate->getMethodTitle() ?>) -
106
+ <?php $_excl = $this->getShippingPriceExclTax($_address); ?>
107
+ <?php $_incl = $this->getShippingPriceInclTax($_address); ?>
108
+
109
+ <?php echo $_excl; ?>
110
+ <?php if ($this->helper('tax')->displayShippingBothPrices() && $_incl != $_excl): ?>
111
+ (<?php echo $this->__('Incl. Tax'); ?> <?php echo $_incl; ?>)
112
+ <?php endif; ?>
113
+ <?php endif; ?>
114
+ </td>
115
+ </tr>
116
+ </tbody>
117
+ </table><br />
118
+
119
+ <div>
120
+ <table cellspacing="0" id="overview-table-<?php echo $_address->getId() ?>" class="shopping-cart">
121
+ <thead>
122
+ <tr>
123
+ <th colspan="4" class="a-left" style="padding:8px 5px;background:#fff;">
124
+ <div class="col2-set">
125
+ <div class="col-1" style="width:70%;"><?php echo $this->__('Items') ?></div>
126
+ <div class="col-2 a-right" style="width:28%;"><a href="<?php echo $this->getAddressesEditUrl() ?>"><?php echo $this->__('Edit Items') ?></a></div>
127
+ </div><div class="clear"></div>
128
+ </th>
129
+ </tr>
130
+ <tr>
131
+ <th><?php echo $this->__('Product Name') ?></th>
132
+ <th class="a-right"><?php echo $this->__('Price') ?></th>
133
+ <th class="a-center"><?php echo $this->__('Qty') ?></th>
134
+ <th class="a-right"><?php echo $this->__('Subtotal') ?></th>
135
+ </tr>
136
+ </thead>
137
+ <tbody>
138
+ <?php foreach ($this->getShippingAddressItems($_address) as $_item): ?>
139
+ <tr>
140
+ <td>
141
+ <?php echo $this->getItemHtml($_item->getQuoteItem())?>
142
+ </td>
143
+
144
+ <td class="a-right"><?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()) ?></td>
145
+ <td class="a-center"><?php echo $_item->getQty()*1 ?></td>
146
+ <td class="a-right"><?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()) ?></td>
147
+ </tr>
148
+ <?php endforeach; ?>
149
+ </tbody>
150
+ <tfoot>
151
+ <?php echo $this->renderTotals($this->getShippingAddressTotals($_address), 3); ?>
152
+ </tfoot>
153
+ </table>
154
+ <script type="text/javascript">decorateTable('overview-table-<?php echo $_address->getId() ?>')</script>
155
+ </div>
156
+ </div>
157
+ <?php if($this->getShippingAddressCount()!=$_index+1): ?>
158
+ <div class="divider"></div>
159
+ <?php endif; ?>
160
+ <?php endforeach; ?>
161
+ </div><br />
162
+ <?php echo $this->getChildHtml('items_after'); ?>
163
+ <div id="checkout-review-submit">
164
+ <table class="place-order-box a-center" cellspacing="0" style="width:100%;">
165
+ <tr>
166
+ <td class="main-radius a-center">
167
+ <big class="grand-total"><div class="a-right"><strong><?php echo $this->__('Grand Total:') ?> <?php echo $this->helper('checkout')->formatPrice($this->getTotal()) ?></strong></div></big>
168
+ <div id="review-buttons-container" style="margin:10px 0;">
169
+ <input type="image" id="review-button" src="<?php echo $this->getSkinUrl('images/btn_place_order.gif') ?>" value="<?php echo $this->__('Place Order') ?>"/>
170
+ </div>
171
+ </td>
172
+ </tr>
173
+ <tr>
174
+ <td class="v-middle">
175
+ <span id="review-please-wait" style="display:none;" class="opc-please-wait f-right">
176
+ <img src="<?php echo $this->getSkinUrl('images/opc-ajax-loader.gif') ?>" class="v-middle" alt="" /> &nbsp; <?php echo $this->__('Submitting order information...') ?> &nbsp;
177
+ </span>
178
+ </td>
179
+ </tr>
180
+ </table>
181
+ </div>
182
+ <div class="clear"></div>
183
+ <div class="button-set">
184
+ <a href="<?php echo $this->getBackUrl() ?>" class="left"><?php echo $this->__('&laquo; Back to Billing Information') ?></a>
185
+ </div><br /><br />
186
+ </form>
187
+ </div>
188
+ </div>
189
+ <script type="text/javascript">
190
+ var submitted = false;
191
+
192
+ function showLoader()
193
+ {
194
+ if (submitted) {
195
+ return false;
196
+ }
197
+ submitted = true;
198
+ var step='review';
199
+ Element.show(step+'-please-wait');
200
+ $(step+'-buttons-container').setStyle({opacity:.5});
201
+ return true;
202
+ }
203
+ </script>
app/design/frontend/default/iphone/template/checkout/multishipping/shipping.phtml ADDED
@@ -0,0 +1,139 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php
28
+ /**
29
+ * Multishipping checkout shipping template
30
+ *
31
+ * @see Mage_Checkout_Block_Multishipping_Shipping
32
+ */
33
+ ?>
34
+ <div class="in-page">
35
+ <div class="page-head">
36
+ <h3><?php echo $this->__('Select Shipping Method') ?></h3>
37
+ </div>
38
+ <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
39
+ <form action="<?php echo $this->getPostActionUrl() ?>" method="post" id="shipping_method_form">
40
+ <div class="multi-address-checkout-box">
41
+ <?php foreach ($this->getAddresses() as $_index => $_address): ?>
42
+ <div class="box">
43
+ <div class="count-head">
44
+ <h4><?php echo $this->__('Address %s of %s', ($_index+1), $this->getAddressCount()) ?></h4>
45
+ </div>
46
+ <table class="shopping-cart">
47
+ <thead>
48
+ <tr>
49
+ <th class="a-left">
50
+ <div class="col2-set">
51
+ <div class="col-1"><?php echo $this->__('Shipping To') ?></div>
52
+ <div class="col-2 a-right"><a href="<?php echo $this->getAddressEditUrl($_address) ?>"><?php echo $this->__('Change Shipping Address') ?></a></div>
53
+ </div><div class="clear"></div>
54
+ </th>
55
+ </tr>
56
+ </thead>
57
+ <tbody>
58
+ <tr>
59
+ <td>
60
+ <address>
61
+ <?php echo $_address->format('html') ?>
62
+ </address>
63
+ </td>
64
+ </tr>
65
+ </tbody>
66
+ </table><br />
67
+ <div class="shipping-method-pointer">
68
+ <div class="inner-head">
69
+ <h5><?php echo $this->__('Shipping Method') ?></h5><div class="clear"></div>
70
+ </div>
71
+ <?php if (!($_shippingRateGroups = $this->getShippingRates($_address))): ?>
72
+ <strong><?php echo $this->__('Sorry, no quotes are available for this order at this time.') ?></strong>
73
+ <?php else: ?>
74
+ <dl class="shipment-methods">
75
+ <?php $_sole = count($_shippingRateGroups) == 1; foreach ($_shippingRateGroups as $code => $_rates): ?>
76
+ <dt><?php echo $this->getCarrierName($code) ?></dt>
77
+ <dd>
78
+ <ul>
79
+ <?php $_sole = $_sole && count($_rates) == 1; foreach ($_rates as $_rate): ?>
80
+ <li>
81
+ <?php if ($_rate->getErrorMessage()): ?>
82
+ <strong><?php echo $_rate->getCarrierTitle() ?>: <?php echo $_rate->getErrorMessage() ?></strong>
83
+ <?php else: ?>
84
+ <?php if ($_sole) : ?>
85
+ <span class="no-display"><input name="shipping_method[<?php echo $_address->getId() ?>]" type="radio" value="<?php echo $this->htmlEscape($_rate->getCode()) ?>" id="s_method_<?php echo $_address->getId() ?>_<?php echo $_rate->getCode() ?>" checked="checked"/></span>
86
+ <?php else: ?>
87
+ <input name="shipping_method[<?php echo $_address->getId() ?>]" type="radio" value="<?php echo $this->htmlEscape($_rate->getCode()) ?>" id="s_method_<?php echo $_address->getId() ?>_<?php echo $_rate->getCode() ?>"<?php if($_rate->getCode()===$this->getAddressShippingMethod($_address)) echo ' checked="checked"' ?> />
88
+ <?php endif; ?>
89
+ <label for="s_method_<?php echo $_address->getId() ?>_<?php echo $_rate->getCode() ?>"><?php echo $_rate->getMethodTitle() ?> - <strong><?php echo $_rate->getPrice() ?></strong></label>
90
+ <?php endif ?>
91
+ </li>
92
+ <?php endforeach; ?>
93
+ </ul>
94
+ </dd>
95
+ <?php endforeach; ?>
96
+ </dl>
97
+ <?php endif; ?>
98
+ </div>
99
+ <div>
100
+ <?php echo $this->helper('giftmessage/message')->getInline('multishipping_adress_checkbox', $_address); ?>
101
+ <table class="shopping-cart">
102
+ <thead>
103
+ <tr>
104
+ <th class="a-left" colspan="2">
105
+ <div class="col2-set">
106
+ <div class="col-1"><?php echo $this->__('Items') ?></div>
107
+ <div class="col-2 a-right"><a href="<?php echo $this->getItemsEditUrl($_address) ?>"><?php echo $this->__('Edit Items') ?></a></div>
108
+ </div><div class="clear"></div>
109
+ </th>
110
+ </tr>
111
+ <tr>
112
+ <th class="a-left"><?php echo $this->__('Product Name') ?></th>
113
+ <th class="a-center"><?php echo $this->__('Qty') ?></th>
114
+ </tr>
115
+ </thead>
116
+ <tbody>
117
+ <?php foreach ($this->getAddressItems($_address) as $_item): ?>
118
+ <tr>
119
+ <td>
120
+ <?php echo $this->getItemHtml($_item->getQuoteItem()) ?>
121
+ </td>
122
+ <td class="a-center"><?php echo $_item->getQty() ?></td>
123
+ </tr>
124
+ <?php endforeach; ?>
125
+ </tbody>
126
+ </table><br />
127
+ <script type="text/javascript">decorateTable('shipping-table-<?php echo $_address->getId() ?>')</script>
128
+ </div>
129
+ <div class="clear"></div>
130
+ <?php echo $this->helper('giftmessage/message')->getInline('multishipping_adress', $_address); ?>
131
+ </div>
132
+ <?php endforeach; ?>
133
+ </div>
134
+ <div class="a-right">
135
+ <button class="form-button" type="submit"><span><?php echo $this->__('Continue to Billing Information') ?></span></button>
136
+ </div><br />
137
+ <div><a href="<?php echo $this->getBackUrl() ?>" class="left"><?php echo $this->__('&laquo; Back to Select Addresses') ?></a></div>
138
+ </form>
139
+ </div><br /><br />
app/design/frontend/default/iphone/template/checkout/multishipping/state.phtml ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php
28
+ /**
29
+ * Mustishipping state
30
+ *
31
+ * @see Mage_Checkout_Block_Multishipping_State
32
+ */
33
+ ?>
34
+ <table class="checkout-progress">
35
+ <tr>
36
+ <?php foreach ($this->getSteps() as $_step): ?>
37
+ <td<?php if($_step->getIsActive()): ?> class="active"<?php endif ?>><span>
38
+ <?php echo $_step->getLabel() ?>
39
+ </span></td>
40
+ <?php endforeach; ?>
41
+ </tr>
42
+ </table>
43
+
44
+ <?php //echo str_replace('Order', '', str_replace(' Information', '', str_replace('Select ', '', $_step->getLabel()))) ?>
app/design/frontend/default/iphone/template/checkout/multishipping/success.phtml ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <div class="in-page">
28
+ <div class="page-head">
29
+ <h3><?php echo $this->__('Order Success') ?></h3>
30
+ </div>
31
+ <div class="content-box">
32
+ <p><strong><?php echo $this->__('Thank you for your purchase!') ?></strong><br /></p>
33
+ <p>
34
+ <?php echo $this->__('We are processing your order and you will soon receive an email with details of the order. Once the order has shipped you will receive another email with a link to track its progress.') ?>
35
+ </p>
36
+ <?php if($_orderIds = $this->getOrderIds()): ?>
37
+ <?php $flag = false ?>
38
+ <?php echo $this->__('Your order number is ') ?>
39
+ <?php foreach ($_orderIds as $orderId=>$incrementId): ?>
40
+ <?php if ($flag): ?>
41
+ <?php echo ', ' ?>
42
+ <?php endif; ?>
43
+ <?php $flag = true ?>
44
+ <a href="<?php echo $this->getViewOrderUrl($orderId) ?>"><?php echo $incrementId ?></a>
45
+ <?php endforeach; ?>
46
+ <?php endif; ?>
47
+ <p>
48
+ <a href="<?php echo $this->getUrl('customer/account/') ?>"><?php echo $this->__('My Account') ?></a>
49
+ </p>
50
+ </div>
51
+ <div class="button-set">
52
+ <button type="button" class="form-button" onclick="setLocation('<?php echo $this->getContinueUrl() ?>')"><span><?php echo $this->__('Continue Shopping') ?></span></button>
53
+ </div>
54
+ </div><br /><br />
app/design/frontend/default/iphone/template/checkout/onepage.phtml ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <script type="text/javascript" src="<?php echo $this->getJsUrl('varien/accordion.js') ?>"></script>
28
+ <script type="text/javascript" src="<?php echo $this->getSkinUrl('js/opcheckout.js') ?>"></script>
29
+ <script type="text/javascript">countryRegions = <?php echo $this->helper('directory')->getRegionJson() ?></script>
30
+
31
+ <div class="page-head" style="margin:0 5px;"><h3>Checkout</h3></div>
32
+ <ol id="checkoutSteps" class="one-page-checkout">
33
+
34
+ <?php $i=0; foreach($this->getSteps() as $_stepId => $_stepInfo): ?>
35
+ <?php if (!$this->getChild($_stepId) || !$this->getChild($_stepId)->isShow()): continue; endif; $i++ ?>
36
+ <li id="opc-<?php echo $_stepId ?>" class="section <?php echo !empty($_stepInfo['allow'])?'allow':'' ?> <?php echo !empty($_stepInfo['complete'])?'saved':'' ?>">
37
+ <div class="head">
38
+ <h3><span class="step-count"><?php echo $i ?></span> &nbsp;<?php echo $_stepInfo['label'] ?></h3><a href="#"><?php echo $this->__('Edit') ?></a>
39
+ <div class="clear"></div>
40
+ </div>
41
+ <div id="checkout-step-<?php echo $_stepId ?>" class="box<?php if($_stepId=='shipping_method'): ?>-no-padding<?php endif; ?> a-item" style="display:none;">
42
+ <?php echo $this->getChildHtml($_stepId) ?>
43
+ </div>
44
+ </li>
45
+ <?php endforeach ?>
46
+ </ol>
47
+
48
+ <script type="text/javascript">
49
+ //<![CDATA[
50
+ var accordion = new Accordion('checkoutSteps', '.head', true);
51
+ <?php if($this->getActiveStep()): ?>
52
+ accordion.openSection('opc-<?php echo $this->getActiveStep() ?>');
53
+ <?php endif ?>
54
+
55
+ var checkout = new Checkout(accordion,{
56
+ progress: '<?php echo $this->getUrl('checkout/onepage/progress') ?>',
57
+ review: '<?php echo $this->getUrl('checkout/onepage/review') ?>',
58
+ saveMethod: '<?php echo $this->getUrl('checkout/onepage/saveMethod') ?>',
59
+ failure: '<?php echo $this->getUrl('checkout/cart') ?>'}
60
+ );
61
+ //]]>
62
+ </script>
app/design/frontend/default/iphone/template/checkout/onepage/billing.phtml ADDED
@@ -0,0 +1,215 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <form id="co-billing-form" action="">
28
+ <?php if ($this->customerHasAddresses()): ?>
29
+ <p><?php echo $this->__('Select a billing address from your address book or enter a new address.') ?></p>
30
+ <ul><li><p class="select300inner"><?php echo $this->getAddressesHtmlSelect('billing') ?></p></li></ul>
31
+
32
+ <?php endif ?>
33
+ <fieldset class="group-select" id="billing-new-address-form" <?php if ($this->customerHasAddresses()): ?>style="display:none"<?php endif ?>>
34
+ <input type="hidden" name="billing[address_id]" value="<?php echo $this->getAddress()->getId() ?>" id="billing:address_id" />
35
+ <ul class="form-list">
36
+ <li>
37
+ <div class="col2-alt-set"><div class="col-1">
38
+ <label for="billing:firstname"><?php echo $this->__('First Name') ?> <span class="required">*</span></label>
39
+ </div><div class="col-2">
40
+ <input type="text" id="billing:firstname" name="billing[firstname]" value="<?php echo $this->htmlEscape($this->getFirstname()) ?>" title="<?php echo $this->__('First Name') ?>" class="required-entry input-text" />
41
+ </div></div><div class="clear"></div>
42
+ </li>
43
+ <li>
44
+ <div class="col2-alt-set"><div class="col-1">
45
+ <label for="billing:lastname"><?php echo $this->__('Last Name') ?> <span class="required">*</span></label>
46
+ </div><div class="col-2">
47
+ <input type="text" id="billing:lastname" name="billing[lastname]" value="<?php echo $this->htmlEscape($this->getLastname()) ?>" title="<?php echo $this->__('Last Name') ?>" class="required-entry input-text" />
48
+ </div></div><div class="clear"></div>
49
+ </li>
50
+ <li>
51
+ <div class="col2-alt-set"><div class="col-1">
52
+ <label for="billing:company"><?php echo $this->__('Company') ?></label>
53
+ </div><div class="col-2">
54
+ <input type="text" id="billing:company" name="billing[company]" value="<?php echo $this->htmlEscape($this->getAddress()->getCompany()) ?>" title="<?php echo $this->__('Company') ?>" class="input-text" />
55
+ </div></div><div class="clear"></div>
56
+ </li>
57
+ <?php if(!$this->isCustomerLoggedIn()): ?>
58
+ <li>
59
+ <div class="col2-alt-set"><div class="col-1">
60
+ <label for="billing:email"><?php echo $this->__('Email Address') ?> <span class="required">*</span></label>
61
+ </div><div class="col-2">
62
+ <input type="text" name="billing[email]" id="billing:email" value="<?php echo $this->htmlEscape($this->getAddress()->getEmail()) ?>" title="<?php echo $this->__('Email Address') ?>" class="validate-email required-entry input-text" />
63
+ </div></div><div class="clear"></div>
64
+ </li>
65
+ <?php endif ?>
66
+ <li>
67
+ <div class="col2-alt-set"><div class="col-1">
68
+ <label for="billing:street1"><?php echo $this->__('Address') ?> <span class="required">*</span></label>
69
+ </div><div class="col-2">
70
+ <input type="text" title="<?php echo $this->__('Street Address') ?>" name="billing[street][1]" id="billing:street1" value="<?php echo $this->htmlEscape($this->getAddress()->getStreet(1)) ?>" class="required-entry input-text" />
71
+ </div></div><div class="clear"></div>
72
+ </li>
73
+ <li>
74
+ <div class="col2-alt-set"><div class="col-1">
75
+ &nbsp;
76
+ </div><div class="col-2">
77
+ <input type="text" title="<?php echo $this->__('Street Address 2') ?>" name="billing[street][2]" id="billing:street2" value="<?php echo $this->htmlEscape($this->getAddress()->getStreet(2)) ?>" class="input-text" />
78
+ </div></div><div class="clear"></div>
79
+ </li>
80
+ <li>
81
+ <div class="col2-alt-set"><div class="col-1">
82
+ <label for="billing:city"><?php echo $this->__('City') ?> <span class="required">*</span></label>
83
+ </div><div class="col-2">
84
+ <input type="text" title="<?php echo $this->__('City') ?>" name="billing[city]" value="<?php echo $this->htmlEscape($this->getAddress()->getCity()) ?>" class="required-entry input-text" id="billing:city" />
85
+ </div></div><div class="clear"></div>
86
+ </li>
87
+ <li>
88
+ <div class="col2-alt-set"><div class="col-1">
89
+ <label for="billing:region"><?php echo $this->__('State/Province') ?> <span class="required">*</span></label>
90
+ </div><div class="col-2">
91
+ <select id="billing:region_id" name="billing[region_id]" title="<?php echo $this->__('State/Province') ?>" class="validate-select" style="width:190px;display:none">
92
+ <option value=""><?php echo $this->__('Please select region, state or province') ?></option>
93
+ </select>
94
+ <script type="text/javascript">
95
+ $('billing:region_id').setAttribute('defaultValue', "<?php echo $this->getAddress()->getRegionId() ?>");
96
+ </script>
97
+ <input type="text" id="billing:region" name="billing[region]" value="<?php echo $this->htmlEscape($this->getAddress()->getRegion()) ?>" title="<?php echo $this->__('State/Province') ?>" class="input-text" style="display:none" />
98
+ </div></div><div class="clear"></div>
99
+ </li>
100
+ <li>
101
+ <div class="col2-alt-set"><div class="col-1">
102
+ <label for="billing:postcode"><?php echo $this->__('Zip/Postal Code') ?> <span class="required">*</span></label>
103
+ </div><div class="col-2">
104
+ <input type="text" title="<?php echo $this->__('Zip/Postal Code') ?>" name="billing[postcode]" id="billing:postcode" value="<?php echo $this->htmlEscape($this->getAddress()->getPostcode()) ?>" class="validate-zip-international required-entry input-text" />
105
+ </div></div><div class="clear"></div>
106
+ </li>
107
+ <li>
108
+ <div class="col2-alt-set"><div class="col-1">
109
+ <label for="billing:country_id"><?php echo $this->__('Country') ?> <span class="required">*</span></label>
110
+ </div><div class="col-2 select190inner">
111
+ <?php echo $this->getCountryHtmlSelect('billing') ?>
112
+ </div></div><div class="clear"></div>
113
+ </li>
114
+ <li>
115
+ <div class="col2-alt-set"><div class="col-1">
116
+ <label for="billing:telephone"><?php echo $this->__('Telephone') ?> <span class="required">*</span></label>
117
+ </div><div class="col-2">
118
+ <input type="text" name="billing[telephone]" value="<?php echo $this->htmlEscape($this->getAddress()->getTelephone()) ?>" title="<?php echo $this->__('Telephone') ?>" class="required-entry input-text" id="billing:telephone" />
119
+ </div></div><div class="clear"></div>
120
+ </li>
121
+ <li>
122
+ <div class="col2-alt-set"><div class="col-1">
123
+ <label for="billing:fax"><?php echo $this->__('Fax') ?></label>
124
+ </div><div class="col-2">
125
+ <input type="text" name="billing[fax]" value="<?php echo $this->htmlEscape($this->getAddress()->getFax()) ?>" title="<?php echo $this->__('Fax') ?>" class="input-text" id="billing:fax" />
126
+ </div></div><div class="clear"></div>
127
+ </li>
128
+ <?php if(!$this->isCustomerLoggedIn()): ?>
129
+
130
+ <?php $_dob = $this->getLayout()->createBlock('customer/widget_dob') ?>
131
+ <?php if ($_dob->isEnabled()): ?>
132
+ <li>
133
+ <?php echo $_dob->setDate($this->getQuote()->getCustomerDob())
134
+ ->setFieldIdFormat('billing:%s')->setFieldNameFormat('billing[%s]')->toHtml() ?>
135
+ </li>
136
+ <?php endif ?>
137
+
138
+ <?php $_taxvat = $this->getLayout()->createBlock('customer/widget_taxvat') ?>
139
+ <?php if ($_taxvat->isEnabled()): ?>
140
+ <li>
141
+ <?php echo $_taxvat->setTaxvat($this->getQuote()->getCustomerTaxvat())
142
+ ->setFieldIdFormat('billing:%s')->setFieldNameFormat('billing[%s]')->toHtml() ?>
143
+ </li>
144
+ <?php endif ?>
145
+
146
+ <?php $_gender = $this->getLayout()->createBlock('customer/widget_gender') ?>
147
+ <?php if ($_gender->isEnabled()): ?>
148
+ <li>
149
+ <?php echo $_gender->setGender($this->getQuote()->getCustomerGender())
150
+ ->setFieldIdFormat('billing:%s')->setFieldNameFormat('billing[%s]')->toHtml() ?>
151
+ </li>
152
+ <?php endif ?>
153
+
154
+ <li id="register-customer-password">
155
+ <div class="col2-alt-set"><div class="col-1">
156
+ <label for="billing:customer_password"><?php echo $this->__('Password') ?> <span class="required">*</span></label>
157
+ </div><div class="col-2">
158
+ <input type="password" name="billing[customer_password]" id="billing:customer_password" title="<?php echo $this->__('Password') ?>" class="required-entry validate-password input-text" />
159
+ </div></div><div class="clear"></div>
160
+ <div class="col2-alt-set" style="margin-top:8px;"><div class="col-1">
161
+ <label for="billing:confirm_password"><?php echo $this->__('Confirm Password') ?> <span class="required">*</span></label>
162
+ </div><div class="col-2">
163
+ <input type="password" name="billing[confirm_password]" title="<?php echo $this->__('Confirm Password') ?>" id="billing:confirm_password" class="required-entry validate-cpassword input-text" />
164
+ </div></div><div class="clear"></div>
165
+ </li>
166
+ <?php endif ?>
167
+ <?php if ($this->isCustomerLoggedIn() && $this->customerHasAddresses()):?>
168
+ <li>
169
+ <div class="col2-alt-set"><div class="col-1">
170
+ <input type="checkbox" name="billing[save_in_address_book]" value="1" title="<?php echo $this->__('Save in address book') ?>" id="billing:save_in_address_book" onchange="if(window.shipping) shipping.setSameAsBilling(false);"<?php if ($this->getAddress()->getSaveInAddressBook()):?> checked="checked"<?php endif;?> />
171
+ </div><div class="col-2">
172
+ <label for="billing:save_in_address_book"><?php echo $this->__('Save in Address Book') ?></label>
173
+ </div></div><div class="clear"></div>
174
+ </li>
175
+ <?php else:?>
176
+ <input type="hidden" name="billing[save_in_address_book]" value="1" />
177
+ <?php endif;?>
178
+ </ul>
179
+ </fieldset>
180
+ <?php if ($this->canShip()): ?>
181
+ <p>
182
+ <input type="radio" name="billing[use_for_shipping]" id="billing:use_for_shipping_yes" value="1" <?php if ($this->isUseBillingAddressForShipping()) {?>checked="checked" <?php }?>onclick="$('shipping:same_as_billing').checked = true;" />&nbsp;<label for="billing:use_for_shipping_yes"><?php echo $this->__('Ship to this address') ?></label>&nbsp;&nbsp;&nbsp;&nbsp;
183
+ <input type="radio" name="billing[use_for_shipping]" id="billing:use_for_shipping_no" value="0" <?php if (!$this->isUseBillingAddressForShipping()) {?>checked="checked" <?php }?>onclick="$('shipping:same_as_billing').checked = false;" />&nbsp;<label for="billing:use_for_shipping_no"><?php echo $this->__('Ship to different address') ?></label>&nbsp;&nbsp;&nbsp;&nbsp;
184
+ </p>
185
+ <?php else: ?>
186
+ <input type="hidden" name="billing[use_for_shipping]" value="1" />
187
+ <?php endif; ?>
188
+ </form>
189
+ <div class="col2-alt-set button-set">
190
+ <div class="col-1">
191
+ <p class="required"><?php echo $this->__('* Required Fields') ?></p>
192
+ </div>
193
+ <div class="col-2">
194
+ <div class="form-buttons">
195
+ <span id="billing-buttons-container" >
196
+ <span id="billing-please-wait" style="display:none;" class="opc-please-wait">
197
+ <img src="<?php echo $this->getSkinUrl('images/opc-ajax-loader.gif') ?>" class="v-middle" alt="" /> &nbsp; <?php echo $this->__('Loading next step...') ?> &nbsp;
198
+ </span><br />
199
+ <button type="button" class="form-button right" onclick="billing.save();"><span><?php echo $this->__('Continue') ?></span></button>
200
+ </span>
201
+ </div>
202
+ </div>
203
+ </div><div class="clear"></div>
204
+
205
+ <script type="text/javascript">
206
+ <!--
207
+ var billing = new Billing('co-billing-form', '<?php echo $this->getUrl('checkout/onepage/getAddress') ?>address/', '<?php echo $this->getUrl('checkout/onepage/saveBilling') ?>');
208
+ var billingForm = new VarienForm('co-billing-form');
209
+
210
+ //billingForm.setElementsRelation('billing:country_id', 'billing:region', '<?php echo $this->getUrl('directory/json/childRegion') ?>', '<?php echo $this->__('Select State/Province...') ?>');
211
+ $('billing-address-select') && billing.newAddress(!$('billing-address-select').value);
212
+
213
+ var billingRegionUpdater = new RegionUpdater('billing:country_id', 'billing:region', 'billing:region_id', countryRegions, undefined, 'billing:postcode');
214
+ //-->
215
+ </script>
app/design/frontend/default/iphone/template/checkout/onepage/link.phtml ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <a href="<?php echo $this->getCheckoutUrl()?>"><img src="<?php echo $this->getSkinUrl('images/btn_proceed_to_checkout.gif');?>" alt="<?php echo Mage::helper('checkout')->__('Proceed to Checkout');?>" /></a>
app/design/frontend/default/iphone/template/checkout/onepage/login.phtml ADDED
@@ -0,0 +1,119 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <div class="col2-set">
28
+ <div class="col-1">
29
+ <h4>&nbsp;<br /><?php echo $this->__('Login') ?></h4>
30
+ <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
31
+ <form id="login-form" action="<?php echo $this->getPostAction() ?>" method="post">
32
+ <p><strong><?php echo $this->__('Already registered?') ?></strong><br />
33
+ <?php echo $this->__('Please log in below:') ?></p>
34
+ <ul class="form-list">
35
+ <li>
36
+ <label for="email"><?php echo $this->__('Email Address') ?> <span class="required">*</span></label><br />
37
+ <input type="text" class="input-text required-entry validate-email" id="email" name="login[username]" value="<?php echo $this->htmlEscape($this->getUsername()) ?>" />
38
+ </li>
39
+ <li>
40
+ <label for="password"><?php echo $this->__('Password') ?> <span class="required">*</span></label><br />
41
+ <input type="password" class="input-text required-entry" id="password" name="login[password]" />
42
+ </li>
43
+ </ul>
44
+ <p class="required a-right" style="padding-right:8px;"><?php echo $this->__('* Required Fields') ?></p>
45
+ <p class="a-right" style="padding-right:8px;"><button class="form-button" onclick="onepageLogin(this)" ><span><?php echo $this->__('Login') ?></span></button></p>
46
+ <p class="a-center" style="padding-top:5px;"><a href="<?php echo $this->getUrl('customer/account/forgotpassword') ?>" class="left"><?php echo $this->__('Forgot your password?') ?></a></p>
47
+ </form>
48
+ </div>
49
+ <div class="col-2">
50
+ <h4><?php if( $this->getQuote()->isAllowedGuestCheckout() ): ?><?php echo $this->__('Checkout as a Guest<br />or Register') ?><?php else: ?><?php echo $this->__('Register to Create an Account') ?><?php endif; ?></h4>
51
+
52
+ <?php if( $this->getQuote()->isAllowedGuestCheckout() ): ?>
53
+ <p><?php echo $this->__('Register with us for future convenience:') ?></p>
54
+ <?php else: ?>
55
+ <strong><?php echo $this->__('Register and save time!') ?></strong><br />
56
+ <?php echo $this->__('Register with us for future convenience:') ?>
57
+ <ul class="disc">
58
+ <li><?php echo $this->__('Fast and easy check out') ?></li>
59
+ <li><?php echo $this->__('Easy access to your order history and status') ?></li>
60
+ </ul>
61
+ <?php endif; ?>
62
+ <?php if( $this->getQuote()->isAllowedGuestCheckout() ): ?>
63
+ <ul class="form-list">
64
+ <?php if( $this->getQuote()->isAllowedGuestCheckout() ): ?>
65
+ <li style="marin:0;padding:0;">
66
+ <div class="col2-alt-set">
67
+ <div class="col-1">
68
+ <input type="radio" name="checkout_method" id="login:guest" value="guest"<?php if($this->getQuote()->getCheckoutMethod()==Mage_Checkout_Model_Type_Onepage::METHOD_GUEST): ?> checked="checked"<?php endif ?> />
69
+ </div>
70
+ <div class="col-2" style="padding-top:5px;">
71
+ <label for="login:guest"><?php echo $this->__('Checkout as Guest') ?></label>
72
+ </div>
73
+ </div><div class="clear"></div>
74
+ </li>
75
+ <?php endif; ?>
76
+ <li style="marin:0;padding:0;">
77
+ <div class="col2-alt-set">
78
+ <div class="col-1">
79
+ <input type="radio" name="checkout_method" id="login:register" value="register"<?php if($this->getQuote()->getCheckoutMethod()==Mage_Checkout_Model_Type_Onepage::METHOD_REGISTER || !$this->getQuote()->isAllowedGuestCheckout()): ?> checked="checked"<?php endif ?> />
80
+ </div>
81
+ <div class="col-2" style="padding-top:5px;">
82
+ <label for="login:register"><?php echo $this->__('Register') ?></label>
83
+ </div>
84
+ </div><div class="clear"></div>
85
+ </li>
86
+ </ul>
87
+ <div style="margin:10px 5px 0 5px;">
88
+ <strong><?php echo $this->__('Register and save time!') ?></strong><br />
89
+ <?php echo $this->__('Register with us for future convenience:') ?>
90
+ <ul class="disc">
91
+ <li><?php echo $this->__('Fast and easy check out') ?></li>
92
+ <li><?php echo $this->__('Easy access to your order history and status') ?></li>
93
+ </ul>
94
+ </div>
95
+ <?php else: ?>
96
+ <input type="hidden" name="checkout_method" id="login:register" value="register" checked="checked" />
97
+ <?php endif; ?>
98
+ <div class="col2-alt-set button-set" style="padding-top:5px;">
99
+ <div class="col-1">
100
+ <p class="required">&nbsp;</p>
101
+ </div>
102
+ <div class="col-2">
103
+ <div class="form-buttons">
104
+ <button type="button" class="form-button" onclick="checkout.setMethod();"><span><?php echo ($this->getQuote()->isAllowedGuestCheckout() ? $this->__('Continue') : $this->__('Register')) ?></span></button>
105
+ </div>
106
+ </div>
107
+ </div><div class="clear"></div>
108
+ </div>
109
+ </div><div class="clear"></div>
110
+ <script type="text/javascript">
111
+ var loginForm = new VarienForm('login-form', true);
112
+ function onepageLogin(button)
113
+ {
114
+ if(loginForm.validator && loginForm.validator.validate()){
115
+ button.disabled = true;
116
+ loginForm.submit();
117
+ }
118
+ }
119
+ </script>
app/design/frontend/default/iphone/template/checkout/onepage/payment.phtml ADDED
@@ -0,0 +1,77 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <script type="text/javascript">
28
+ var payment = new Payment('co-payment-form', '<?php echo $this->getUrl('checkout/onepage/savePayment') ?>');
29
+ </script>
30
+ <form action="" id="co-payment-form">
31
+ <?php echo $this->getChildHtml('methods') ?>
32
+ </form>
33
+
34
+ <div class="col2-alt-set button-set">
35
+ <div class="col-1">
36
+ <p class="required"><?php echo $this->__('* Required Fields') ?></p>
37
+ </div>
38
+ <div class="col-2">&nbsp;</div>
39
+ </div><div class="clear"></div>
40
+ <div class="col2-alt-set button-set" style="padding-top:0;">
41
+ <div class="col-1" style="padding-top:8px;">
42
+ <a href="#" class="left" onclick="checkout.back(); return false;"><span><?php echo $this->__('&laquo Back') ?></span></a>
43
+ </div>
44
+ <div class="col-2">
45
+ <div class="form-buttons">
46
+ <span id="payment-buttons-container">
47
+ <span id="payment-please-wait" style="display:none;" class="opc-please-wait">
48
+ <img src="<?php echo $this->getSkinUrl('images/opc-ajax-loader.gif') ?>" class="v-middle" alt="" /> &nbsp; <?php echo $this->__('Loading next step...') ?> &nbsp;
49
+ </span><br />
50
+ <button type="button" class="form-button right" onclick="payment.save();"><span><?php echo $this->__('Continue') ?></span></button>
51
+ </span>
52
+ </div>
53
+ </div>
54
+ </div><div class="clear"></div>
55
+
56
+ <script type="text/javascript">
57
+ function toggleToolTip(event){
58
+ if($('payment-tool-tip')){
59
+ $('payment-tool-tip').setStyle({
60
+ top: (Event.pointerY(event)-400)+'px',
61
+ left: (Event.pointerX(event)+100)+'px'
62
+ })
63
+ $('payment-tool-tip').toggle();
64
+ }
65
+ Event.stop(event);
66
+ }
67
+ if($('payment-tool-tip-close')){
68
+ Event.observe($('payment-tool-tip-close'), 'click', toggleToolTip);
69
+ }
70
+
71
+ $$('.cvv-what-is-this').each(function(element){
72
+ Event.observe(element, 'click', toggleToolTip);
73
+ });
74
+ </script>
75
+ <script type="text/javascript">
76
+ payment.currentMethod = "<?php echo $this->getChild('methods')->getSelectedMethodCode() ?>";
77
+ </script>
app/design/frontend/default/iphone/template/checkout/onepage/payment/methods.phtml ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php
28
+ /**
29
+ * One page checkout payment methods
30
+ *
31
+ * @see Mage_Checkout_Block_Onepage_Payment_Methods
32
+ */
33
+ ?>
34
+ <div class="payment-methods">
35
+ <dl id="checkout-payment-method-load">
36
+ <?php foreach ($this->getMethods() as $_method): $_code = $_method->getCode() ?>
37
+ <dt>
38
+ <?php if( sizeof($this->getMethods()) > 1 ): ?>
39
+ <input id="p_method_<?php echo $_code ?>" value="<?php echo $_code ?>" type="radio" name="payment[method]" title="<?php echo $this->htmlEscape($_method->getTitle()) ?>" onclick="payment.switchMethod('<?php echo $_code ?>')"<?php if($this->getSelectedMethodCode()==$_code): ?> checked="checked"<?php endif; ?> />
40
+ <?php else: ?>
41
+ <span class="no-display"><input id="p_method_<?php echo $_code ?>" value="<?php echo $_code ?>" type="radio" name="payment[method]" checked="checked" /></span>
42
+ <?php endif; ?>
43
+ <label for="p_method_<?php echo $_code ?>"><?php echo $_method->getTitle() ?></label>
44
+ </dt>
45
+ <dd>
46
+ <?php echo $this->getChildHtml('payment.method.'.$_code) ?>
47
+ </dd>
48
+ <?php endforeach; ?>
49
+ </dl>
50
+ </div>
51
+ <script type="text/javascript">
52
+ payment.init();
53
+ </script>
app/design/frontend/default/iphone/template/checkout/onepage/progress.phtml ADDED
@@ -0,0 +1,99 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+
28
+ <div class="box one-page-checkout-progress">
29
+ <h3><?php echo $this->__('Your Checkout Progress') ?></h3>
30
+ <ol>
31
+ <?php if($this->getCheckout()->getStepData('billing', 'complete')): ?>
32
+ <li>
33
+ <h4 class="complete"><?php echo $this->__('Billing Address') ?><span class="separator">|</span><a href="#billing" onclick="checkout.accordion.openSection('opc-billing');return false;"><?php echo $this->__('Change') ?></a></h4>
34
+ <div class="content">
35
+ <address><?php echo $this->getBilling()->format('html') ?></address>
36
+ </div>
37
+ </li>
38
+ <?php else: ?>
39
+ <li>
40
+ <h4><?php echo $this->__('Billing Address') ?></h4>
41
+ </li>
42
+ <?php endif ?>
43
+
44
+ <?php if($this->getCheckout()->getStepData('shipping', 'complete')): ?>
45
+ <li>
46
+ <h4 class="complete"><?php echo $this->__('Shipping Address') ?><span class="separator">|</span><a href="#payment" onclick="checkout.accordion.openSection('opc-shipping');return false;"><?php echo $this->__('Change') ?></a></h4>
47
+ <div class="content">
48
+ <address><?php echo $this->getShipping()->format('html') ?></address>
49
+ </div>
50
+ </li>
51
+ <?php else: ?>
52
+ <li>
53
+ <h4><?php echo $this->__('Shipping Address') ?></h4>
54
+ </li>
55
+ <?php endif ?>
56
+
57
+ <?php if($this->getCheckout()->getStepData('shipping_method', 'complete')): ?>
58
+ <li>
59
+ <h4 class="complete"><?php echo $this->__('Shipping Method') ?><span class="separator">|</span><a href="#shipping_method" onclick="checkout.accordion.openSection('opc-shipping_method');return false;"><?php echo $this->__('Change') ?></a></h4>
60
+ <div class="content">
61
+ <?php if ($this->getShippingMethod()): ?>
62
+ <?php echo $this->getShippingDescription() ?>:
63
+
64
+ <?php $_excl = $this->getShippingPriceExclTax(); ?>
65
+ <?php $_incl = $this->getShippingPriceInclTax(); ?>
66
+ <?php if ($this->helper('tax')->displayShippingPriceIncludingTax()): ?>
67
+ <?php echo $_incl; ?>
68
+ <?php else: ?>
69
+ <?php echo $_excl; ?>
70
+ <?php endif; ?>
71
+ <?php if ($this->helper('tax')->displayShippingBothPrices() && $_incl != $_excl): ?>
72
+ (<?php echo $this->__('Incl. Tax'); ?> <?php echo $_incl; ?>)
73
+ <?php endif; ?>
74
+
75
+ <?php else: ?>
76
+ <?php echo $this->__('Shipping method has not been selected yet') ?>
77
+ <?php endif ?>
78
+ </div>
79
+ </li>
80
+ <?php else: ?>
81
+ <li>
82
+ <h4><?php echo $this->__('Shipping Method') ?></h4>
83
+ </li>
84
+ <?php endif ?>
85
+
86
+ <?php if($this->getCheckout()->getStepData('payment', 'complete')): ?>
87
+ <li>
88
+ <h4 class="complete"><?php echo $this->__('Payment Method') ?><span class="separator">|</span><a href="#payment" onclick="checkout.accordion.openSection('opc-payment');return false;"><?php echo $this->__('Change') ?></a></h4>
89
+ <div class="content">
90
+ <?php echo $this->getPaymentHtml() ?>
91
+ </div>
92
+ </li>
93
+ <?php else: ?>
94
+ <li>
95
+ <h4><?php echo $this->__('Payment Method') ?></h4>
96
+ </li>
97
+ <?php endif ?>
98
+ </ol>
99
+ </div>
app/design/frontend/default/iphone/template/checkout/onepage/review.phtml ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <div id="checkout-review-load" class="default-box">
28
+ <?php echo $this->getChildHtml('info') ?>
29
+ </div>
30
+
31
+ <div id="checkout-review-submit">
32
+ <?php echo $this->getChildHtml('agreements') ?>
33
+ <div class="content button-set">
34
+ <p class="left"><?php echo $this->__('Forgot an Item?') ?> <a href="<?php echo $this->getUrl('checkout/cart', array('_secure'=>false)) ?>"><?php echo $this->__('Edit Your Cart') ?></a></p><br />
35
+ <p class="a-center" style="text-align:center;">
36
+ <span id="review-please-wait" style="display:none;padding:5px 0;" class="opc-please-wait">
37
+ <img src="<?php echo $this->getSkinUrl('images/opc-ajax-loader.gif') ?>" class="v-middle" alt="" /> &nbsp; <?php echo $this->__('Submitting order information...') ?> &nbsp;
38
+ </span>
39
+ <span id="review-buttons-container" class="a-center">
40
+ <input type="image" src="<?php echo $this->getSkinUrl('images/btn_place_order.gif') ?>" onclick="review.save();" value="<?php echo $this->__('Place Order') ?>" />
41
+ </span>
42
+ </p>
43
+ </div>
44
+
45
+ <script type="text/javascript">
46
+ var review = new Review('<?php echo $this->getUrl('checkout/onepage/saveOrder') ?>', '<?php echo $this->getUrl('checkout/onepage/success') ?>', $('checkout-agreements'));
47
+ </script>
48
+ </div>
app/design/frontend/default/iphone/template/checkout/onepage/review/info.phtml ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php echo $this->getChildHtml('items_before'); ?>
28
+ <div id="checkout-review-table-wrapper">
29
+ <table cellspacing="0" class="shopping-cart checkout-review" id="checkout-review-table">
30
+ <thead>
31
+ <tr>
32
+ <th><?php echo $this->__('Product Name') ?></th>
33
+ <th class="a-center"><?php echo $this->__('Qty') ?></th>
34
+ <th class="a-right"><?php echo $this->__('Price') ?></th>
35
+ <th class="a-right"><?php echo $this->__('Subtotal') ?></th>
36
+ </tr>
37
+ </thead>
38
+ <?php echo $this->getChildHtml('totals'); ?>
39
+ <tbody>
40
+ <?php foreach($this->getItems() as $_item): ?>
41
+ <?php echo $this->getItemHtml($_item)?>
42
+ <?php endforeach ?>
43
+ </tbody>
44
+ </table>
45
+ </div>
46
+ <script type="text/javascript">
47
+ decorateTable('checkout-review-table');
48
+ truncateOptions();
49
+ </script>
app/design/frontend/default/iphone/template/checkout/onepage/review/item.phtml ADDED
@@ -0,0 +1,236 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php $_item = $this->getItem()?>
28
+ <tr>
29
+ <td>
30
+ <?php echo $this->htmlEscape($this->getProductName()) ?>
31
+ <!-- item custom options -->
32
+ <?php if ($_options = $this->getOptionList()):?>
33
+ <dl class="item-options">
34
+ <?php foreach ($_options as $_option) : ?>
35
+ <?php $_formatedOptionValue = $this->getFormatedOptionValue($_option) ?>
36
+ <dt><?php echo $this->htmlEscape($_option['label']) ?></dt>
37
+ <dd<?php if (isset($_formatedOptionValue['full_view'])): ?> class="truncated"<?php endif; ?>><?php echo $_formatedOptionValue['value'] ?>
38
+ <?php if (isset($_formatedOptionValue['full_view'])): ?>
39
+ <div class="truncated_full_value">
40
+ <dl class="item-options">
41
+ <dt><?php echo $this->htmlEscape($_option['label']) ?></dt>
42
+ <dd><?php echo $_formatedOptionValue['full_view'] ?></dd>
43
+ </dl>
44
+ </div>
45
+ <?php endif; ?>
46
+ </dd>
47
+ <?php endforeach; ?>
48
+ </dl>
49
+ <?php endif;?>
50
+ <!-- / -->
51
+ </td>
52
+ <td class="a-center"><?php echo $_item->getQty() ?></td>
53
+ <td class="a-right" class="nowrap">
54
+ <?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
55
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales')): ?>
56
+ <div class="cart-tax-total" onclick="taxToggle('eunit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
57
+ <?php else: ?>
58
+ <div class="cart-price">
59
+ <?php endif; ?>
60
+
61
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
62
+ <?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()+$_item->getWeeeTaxAppliedAmount()+$_item->getWeeeTaxDisposition()); ?>
63
+ <?php else: ?>
64
+ <?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()) ?>
65
+ <?php endif; ?>
66
+
67
+ </div>
68
+
69
+
70
+ <?php if (Mage::helper('weee')->getApplied($_item)): ?>
71
+
72
+ <div class="cart-tax-info" id="eunit-item-tax-details<?php echo $_item->getId(); ?>" style="display: none;">
73
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
74
+ <small>
75
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
76
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount'],true,true); ?></span><br />
77
+ <?php endforeach; ?>
78
+ </small>
79
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
80
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
81
+ <span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></small></span><br />
82
+ <?php endforeach; ?>
83
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
84
+ <small>
85
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
86
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></span><br />
87
+ <?php endforeach; ?>
88
+ </small>
89
+ <?php endif; ?>
90
+ </div>
91
+
92
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
93
+ <div class="cart-tax-total" onclick="taxToggle('eunit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
94
+ <span class="nobr"><?php echo Mage::helper('weee')->__('Total'); ?>:<br /> <?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()+$_item->getWeeeTaxAppliedAmount()+$_item->getWeeeTaxDisposition()); ?></span>
95
+ </div>
96
+ <?php endif; ?>
97
+ <?php endif; ?>
98
+ <?php endif; ?>
99
+ <?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
100
+ <?php $_incl = $this->helper('checkout')->getPriceInclTax($_item); ?>
101
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
102
+ <div class="cart-tax-total" onclick="taxToggle('unit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
103
+ <?php else: ?>
104
+ <div class="cart-price">
105
+ <?php endif; ?>
106
+
107
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
108
+ <?php echo $this->helper('checkout')->formatPrice($_incl+$_item->getWeeeTaxAppliedAmount()); ?>
109
+ <?php else: ?>
110
+ <?php echo $this->helper('checkout')->formatPrice($_incl-$_item->getWeeeTaxDisposition()) ?>
111
+ <?php endif; ?>
112
+
113
+ </div>
114
+ <?php if (Mage::helper('weee')->getApplied($_item)): ?>
115
+
116
+ <div class="cart-tax-info" id="unit-item-tax-details<?php echo $_item->getId(); ?>" style="display: none;">
117
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
118
+ <small>
119
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
120
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount'],true,true); ?></span><br />
121
+ <?php endforeach; ?>
122
+ </small>
123
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
124
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
125
+ <span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></small></span><br />
126
+ <?php endforeach; ?>
127
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
128
+ <small>
129
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
130
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></span><br />
131
+ <?php endforeach; ?>
132
+ </small>
133
+ <?php endif; ?>
134
+ </div>
135
+
136
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
137
+ <div class="cart-tax-total" onclick="taxToggle('unit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
138
+ <span class="nobr"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>:<br /> <?php echo $this->helper('checkout')->formatPrice($_incl+$_item->getWeeeTaxAppliedAmount()); ?></span>
139
+ </div>
140
+ <?php endif; ?>
141
+ <?php endif; ?>
142
+ <?php endif; ?>
143
+ </td>
144
+ <td class="a-right" class="nowrap">
145
+ <?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
146
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
147
+ <div class="cart-tax-total" onclick="taxToggle('esubtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
148
+ <?php else: ?>
149
+ <div class="cart-price">
150
+ <?php endif; ?>
151
+
152
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
153
+ <?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()+$_item->getWeeeTaxAppliedRowAmount()+$_item->getWeeeTaxRowDisposition()); ?>
154
+ <?php else: ?>
155
+ <?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()) ?>
156
+ <?php endif; ?>
157
+
158
+ </div>
159
+ <?php if (Mage::helper('weee')->getApplied($_item)): ?>
160
+
161
+ <div class="cart-tax-info" id="esubtotal-item-tax-details<?php echo $_item->getId(); ?>" style="display: none;">
162
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
163
+ <small>
164
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
165
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount'],true,true); ?></span><br />
166
+ <?php endforeach; ?>
167
+ </small>
168
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
169
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
170
+ <span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount_incl_tax'],true,true); ?></small></span><br />
171
+ <?php endforeach; ?>
172
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
173
+ <small>
174
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
175
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount_incl_tax'],true,true); ?></span><br />
176
+ <?php endforeach; ?>
177
+ </small>
178
+ <?php endif; ?>
179
+ </div>
180
+
181
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
182
+ <div class="cart-tax-total" onclick="taxToggle('esubtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
183
+ <span class="nobr"><?php echo Mage::helper('weee')->__('Total'); ?>:<br /> <?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()+$_item->getWeeeTaxAppliedRowAmount()+$_item->getWeeeTaxRowDisposition()); ?></span>
184
+ </div>
185
+ <?php endif; ?>
186
+ <?php endif; ?>
187
+
188
+ <?php endif; ?>
189
+ <?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
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');">
193
+ <?php else: ?>
194
+ <div class="cart-price">
195
+ <?php endif; ?>
196
+
197
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
198
+ <?php echo $this->helper('checkout')->formatPrice($_incl+$_item->getWeeeTaxAppliedRowAmount()); ?>
199
+ <?php else: ?>
200
+ <?php echo $this->helper('checkout')->formatPrice($_incl-$_item->getWeeeTaxRowDisposition()) ?>
201
+ <?php endif; ?>
202
+
203
+ </div>
204
+
205
+
206
+ <?php if (Mage::helper('weee')->getApplied($_item)): ?>
207
+
208
+ <div class="cart-tax-info" id="subtotal-item-tax-details<?php echo $_item->getId(); ?>" style="display: none;">
209
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
210
+ <small>
211
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
212
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount'],true,true); ?></span><br />
213
+ <?php endforeach; ?>
214
+ </small>
215
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
216
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
217
+ <span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount_incl_tax'],true,true); ?></small></span><br />
218
+ <?php endforeach; ?>
219
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
220
+ <small>
221
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
222
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount_incl_tax'],true,true); ?></span><br />
223
+ <?php endforeach; ?>
224
+ </small>
225
+ <?php endif; ?>
226
+ </div>
227
+
228
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
229
+ <div class="cart-tax-total" onclick="taxToggle('subtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
230
+ <span class="nobr"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>:<br /> <?php echo $this->helper('checkout')->formatPrice($_incl+$_item->getWeeeTaxAppliedRowAmount()); ?></span>
231
+ </div>
232
+ <?php endif; ?>
233
+ <?php endif; ?>
234
+ <?php endif; ?>
235
+ </td>
236
+ </tr>
app/design/frontend/default/iphone/template/checkout/onepage/review/totals.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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php if ($this->getTotals()): ?>
28
+ <tfoot>
29
+ <?php $_colspan = 3; ?>
30
+ <?php echo $this->renderTotals(null, $_colspan); ?>
31
+ <?php echo $this->renderTotals('footer', $_colspan); ?>
32
+ <?php if ($this->needDisplayBaseGrandtotal()):?>
33
+ <tr>
34
+ <td class="a-right" colspan="<?php echo $_colspan; ?>">
35
+ <small><?php echo $this->helper('sales')->__('Your credit card will be charged for') ?></small>
36
+ </td>
37
+ <td class="a-right">
38
+ <small><?php echo $this->displayBaseGrandtotal() ?></small>
39
+ </td>
40
+ </tr>
41
+ <?php endif?>
42
+ </tfoot>
43
+ <?php endif; ?>
app/design/frontend/default/iphone/template/checkout/onepage/shipping.phtml ADDED
@@ -0,0 +1,176 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <form id="co-shipping-form" action="">
28
+ <?php if ($this->customerHasAddresses()): ?>
29
+ <p><?php echo $this->__('Select a shipping address from your address book or enter a new address.') ?></p>
30
+ <p class="select300inner"><?php echo $this->getAddressesHtmlSelect('shipping') ?></p>
31
+ <?php endif ?>
32
+
33
+ <fieldset class="group-select" id="shipping-new-address-form" <?php if ($this->customerHasAddresses()): ?>style="display:none"<?php endif ?>>
34
+ <input type="hidden" name="shipping[address_id]" value="<?php echo $this->getAddress()->getId() ?>" id="shipping:address_id" />
35
+ <ul class="form-list">
36
+ <li>
37
+ <div class="col2-alt-set"><div class="col-1">
38
+ <label for="shipping:firstname"><?php echo $this->__('First Name') ?> <span class="required">*</span></label>
39
+ </div><div class="col-2">
40
+ <input type="text" id="shipping:firstname" name="shipping[firstname]" value="<?php echo $this->htmlEscape($this->getAddress()->getFirstname()) ?>" title="<?php echo $this->__('First Name') ?>" class="required-entry input-text" onchange="shipping.setSameAsBilling(false);" />
41
+ </div></div><div class="clear"></div>
42
+ </li>
43
+ <li>
44
+ <div class="col2-alt-set"><div class="col-1">
45
+ <label for="shipping:lastname"><?php echo $this->__('Last Name') ?> <span class="required">*</span></label>
46
+ </div><div class="col-2">
47
+ <input type="text" id="shipping:lastname" name="shipping[lastname]" value="<?php echo $this->htmlEscape($this->getAddress()->getLastname()) ?>" title="<?php echo $this->__('Last Name') ?>" class="required-entry input-text" onchange="shipping.setSameAsBilling(false);" />
48
+ </div></div><div class="clear"></div>
49
+ </li>
50
+ <li>
51
+ <div class="col2-alt-set"><div class="col-1">
52
+ <label for="shipping:company"><?php echo $this->__('Company') ?></label>
53
+ </div><div class="col-2">
54
+ <input type="text" id="shipping:company" name="shipping[company]" value="<?php echo $this->htmlEscape($this->getAddress()->getCompany()) ?>" title="<?php echo $this->__('Company') ?>" class="input-text" onchange="shipping.setSameAsBilling(false);" />
55
+ </div></div><div class="clear"></div>
56
+ </li>
57
+ <?php if(false): ?>
58
+ <li>
59
+ <div class="col2-alt-set"><div class="col-1">
60
+ <label for="shipping:email"><?php echo $this->__('Email Address') ?> <span class="required">*</span></label>
61
+ </div><div class="col-2">
62
+ <input type="text" name="shipping[email]" id="shipping:email" value="<?php echo $this->htmlEscape($this->getAddress()->getEmail()) ?>" title="<?php echo $this->__('Email Address') ?>" class="validate-email required-entry input-text" />
63
+ </div></div><div class="clear"></div>
64
+ </li>
65
+ <?php endif ?>
66
+ <li>
67
+ <div class="col2-alt-set"><div class="col-1">
68
+ <label for="shipping:street1"><?php echo $this->__('Address') ?> <span class="required">*</span></label>
69
+ </div><div class="col-2">
70
+ <input type="text" title="<?php echo $this->__('Street Address') ?>" name="shipping[street][1]" id="shipping:street1" value="<?php echo $this->htmlEscape($this->getAddress()->getStreet(1)) ?>" class="required-entry input-text" onchange="shipping.setSameAsBilling(false);" />
71
+ </div></div><div class="clear"></div>
72
+ </li>
73
+ <li>
74
+ <div class="col2-alt-set"><div class="col-1">
75
+ &nbsp;
76
+ </div><div class="col-2">
77
+ <input type="text" title="<?php echo $this->__('Street Address 2') ?>" name="shipping[street][2]" id="shipping:street2" value="<?php echo $this->htmlEscape($this->getAddress()->getStreet(2)) ?>" class="input-text" onchange="shipping.setSameAsBilling(false);"/>
78
+ </div></div><div class="clear"></div>
79
+ </li>
80
+ <li>
81
+ <div class="col2-alt-set"><div class="col-1">
82
+ <label for="shipping:city"><?php echo $this->__('City') ?> <span class="required">*</span></label>
83
+ </div><div class="col-2">
84
+ <input type="text" title="<?php echo $this->__('City') ?>" name="shipping[city]" value="<?php echo $this->htmlEscape($this->getAddress()->getCity()) ?>" class="required-entry input-text" id="shipping:city" onchange="shipping.setSameAsBilling(false);" />
85
+ </div></div><div class="clear"></div>
86
+ </li>
87
+ <li>
88
+ <div class="col2-alt-set"><div class="col-1">
89
+ <label for="shipping:region"><?php echo $this->__('State/Province') ?> <span class="required">*</span></label>
90
+ </div><div class="col-2 select190inner">
91
+ <select id="shipping:region_id" name="shipping[region_id]" title="<?php echo $this->__('State/Province') ?>" class="validate-select" style="display:none">
92
+ <option value=""><?php echo $this->__('Please select region, state or province') ?></option>
93
+ </select>
94
+ <script type="text/javascript">
95
+ $('shipping:region_id').setAttribute('defaultValue', "<?php echo $this->getAddress()->getRegionId() ?>");
96
+ </script>
97
+ <input type="text" id="shipping:region" name="shipping[region]" value="<?php echo $this->htmlEscape($this->getAddress()->getRegion()) ?>" title="<?php echo $this->__('State/Province') ?>" class="input-text" style="display:none" />
98
+ </div></div><div class="clear"></div>
99
+ </li>
100
+ <li>
101
+ <div class="col2-alt-set"><div class="col-1">
102
+ <label for="shipping:postcode"><?php echo $this->__('Zip/Postal Code') ?> <span class="required">*</span></label>
103
+ </div><div class="col-2">
104
+ <input type="text" title="<?php echo $this->__('Zip/Postal Code') ?>" name="shipping[postcode]" id="shipping:postcode" value="<?php echo $this->htmlEscape($this->getAddress()->getPostcode()) ?>" class="validate-zip-international required-entry input-text" onchange="shipping.setSameAsBilling(false);"/>
105
+ </div></div><div class="clear"></div>
106
+ </li>
107
+ <li>
108
+ <div class="col2-alt-set"><div class="col-1">
109
+ <label for="shipping:country_id"><?php echo $this->__('Country') ?> <span class="required">*</span></label>
110
+ </div><div class="col-2 select190inner">
111
+ <?php echo $this->getCountryHtmlSelect('shipping') ?>
112
+ </div></div><div class="clear"></div>
113
+ </li>
114
+ <li>
115
+ <div class="col2-alt-set"><div class="col-1">
116
+ <label for="shipping:telephone"><?php echo $this->__('Telephone') ?> <span class="required">*</span></label>
117
+ </div><div class="col-2">
118
+ <input type="text" name="shipping[telephone]" value="<?php echo $this->htmlEscape($this->getAddress()->getTelephone()) ?>" title="<?php echo $this->__('Telephone') ?>" class="required-entry input-text" id="shipping:telephone" onchange="shipping.setSameAsBilling(false);" />
119
+ </div></div><div class="clear"></div>
120
+ </li>
121
+ <li>
122
+ <div class="col2-alt-set"><div class="col-1">
123
+ <label for="shipping:fax"><?php echo $this->__('Fax') ?></label>
124
+ </div><div class="col-2">
125
+ <input type="text" name="shipping[fax]" value="<?php echo $this->htmlEscape($this->getAddress()->getFax()) ?>" title="<?php echo $this->__('Fax') ?>" class="input-text" id="shipping:fax" onchange="shipping.setSameAsBilling(false);" />
126
+ </div></div><div class="clear"></div>
127
+ </li>
128
+ <?php if ($this->isCustomerLoggedIn() && $this->customerHasAddresses()):?>
129
+ <li>
130
+ <div class="col2-alt-set"><div class="col-1">
131
+ <input type="checkbox" name="shipping[save_in_address_book]" value="1" title="<?php echo $this->__('Save in address book') ?>" id="shipping:save_in_address_book" onchange="shipping.setSameAsBilling(false);"<?php if ($this->getAddress()->getSaveInAddressBook()):?> checked="checked"<?php endif;?> />
132
+ </div><div class="col-2">
133
+ <label for="shipping:save_in_address_book"><?php echo $this->__('Save in address book') ?></label>
134
+ </div></div><div class="clear"></div>
135
+ </li>
136
+ <?php else:?>
137
+ <input type="hidden" name="shipping[save_in_address_book]" value="1" />
138
+ <?php endif;?>
139
+ </ul>
140
+ </fieldset>
141
+ <p><input type="checkbox" name="shipping[same_as_billing]" id="shipping:same_as_billing" value="1" <?php if($this->getAddress()->getSameAsBilling()): ?>checked="checked"<?php endif ?> onclick="shipping.setSameAsBilling(this.checked)" /> &nbsp;<label for="shipping:same_as_billing"><?php echo $this->__('Use Billing Address') ?></label></p>
142
+ </form>
143
+
144
+ <div class="col2-alt-set button-set">
145
+ <div class="col-1">
146
+ <p class="required"><?php echo $this->__('* Required Fields') ?></p>
147
+ </div>
148
+ <div class="col-2">&nbsp;</div>
149
+ </div><div class="clear"></div>
150
+ <div class="col2-alt-set button-set" style="padding-top:0;">
151
+ <div class="col-1" style="padding-top:8px;">
152
+ <a href="#" class="left" onclick="checkout.back(); return false;"><?php echo $this->__('&laquo Back') ?></a>
153
+ </div>
154
+ <div class="col-2">
155
+ <div class="form-buttons">
156
+ <span id="shipping-buttons-container">
157
+ <span id="shipping-please-wait" style="display:none;" class="opc-please-wait">
158
+ <img src="<?php echo $this->getSkinUrl('images/opc-ajax-loader.gif') ?>" class="v-middle" alt="" /> &nbsp; <?php echo $this->__('Loading next step...') ?> &nbsp;
159
+ </span><br />
160
+ <button type="button" class="form-button right" onclick="shipping.save();"><span><?php echo $this->__('Continue') ?></span></button>
161
+ </span>
162
+ </div>
163
+ </div>
164
+ </div><div class="clear"></div>
165
+ <script type="text/javascript">
166
+ <!--
167
+ var shipping = new Shipping('co-shipping-form', '<?php echo $this->getUrl('checkout/onepage/getAddress') ?>address/', '<?php echo $this->getUrl('checkout/onepage/saveShipping') ?>',
168
+ '<?php echo $this->getUrl('checkout/onepage/shippingMethod') ?>');
169
+ var shippingForm = new VarienForm('co-shipping-form');
170
+ shippingForm.extraChildParams = ' onchange="shipping.setSameAsBilling(false);"';
171
+ //shippingForm.setElementsRelation('shipping:country_id', 'shipping:region', '<?php echo $this->getUrl('directory/json/childRegion') ?>', '<?php echo $this->__('Select State/Province...') ?>');
172
+ $('shipping-address-select') && shipping.newAddress(!$('shipping-address-select').value);
173
+
174
+ var shippingRegionUpdater = new RegionUpdater('shipping:country_id', 'shipping:region', 'shipping:region_id', countryRegions, undefined, 'shipping:postcode');
175
+ //-->
176
+ </script>
app/design/frontend/default/iphone/template/checkout/onepage/shipping_method.phtml ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <form id="co-shipping-method-form" action="">
28
+ <div class="inner-box">
29
+ <div class="default-box" style="padding:10px;" id="checkout-shipping-method-load">
30
+ <?php echo $this->getChildHtml('available') ?>
31
+ </div>
32
+ </div>
33
+ <script type="text/javascript">
34
+ var shippingMethod = new ShippingMethod('co-shipping-method-form', "<?php echo $this->getUrl('checkout/onepage/saveShippingMethod') ?>");
35
+ </script>
36
+ <div id="onepage-checkout-shipping-method-additional-load">
37
+ <?php echo $this->getChildHtml('additional') ?>
38
+ </div>
39
+ </form>
40
+ <div class="col2-alt-set button-set" style="padding-top:0;">
41
+ <div class="col-1" style="padding-top:8px;">
42
+ <a href="#" class="left" onclick="checkout.back(); return false;"><span><?php echo $this->__('&laquo Back') ?></span></a>
43
+ </div>
44
+ <div class="col-2">
45
+ <div class="form-buttons">
46
+ <span id="shipping-method-buttons-container">
47
+ <span id="shipping-method-please-wait" style="display:none;" class="opc-please-wait">
48
+ <img src="<?php echo $this->getSkinUrl('images/opc-ajax-loader.gif') ?>" class="v-middle" alt="" /> &nbsp; <?php echo $this->__('Loading next step...') ?> &nbsp;
49
+ </span><br />
50
+ <button type="button" class="form-button right" onclick="shippingMethod.save();"><span><?php echo $this->__('Continue') ?></span></button>
51
+ </span>
52
+ </div>
53
+ </div>
54
+ </div><div class="clear"></div>
app/design/frontend/default/iphone/template/checkout/onepage/shipping_method/additional.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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php if (!$this->getQuote()->isVirtual()): ?>
28
+ <?php echo $this->helper('giftmessage/message')->getInline('onepage_checkout', $this->getQuote(), $this->getDontDisplayContainer()) ?>
29
+ <?php endif; ?>
app/design/frontend/default/iphone/template/checkout/onepage/shipping_method/available.phtml ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php if (!($_shippingRateGroups = $this->getShippingRates())): ?>
28
+ <strong><?php echo $this->__('Sorry, no quotes are available for this order at this time.') ?></strong>
29
+ <?php else: ?>
30
+ <dl class="shipment-methods">
31
+ <?php $_sole = count($_shippingRateGroups) == 1; foreach ($_shippingRateGroups as $code => $_rates): ?>
32
+ <dt><?php echo $this->getCarrierName($code) ?></dt>
33
+ <dd>
34
+ <ul>
35
+ <?php $_sole = $_sole && count($_rates) == 1; foreach ($_rates as $_rate): ?>
36
+ <li>
37
+ <?php if ($_rate->getErrorMessage()): ?>
38
+ <ul class="messages"><li class="error-msg"><ul><li><?php echo $_rate->getErrorMessage() ?></li></ul></li></ul>
39
+ <?php else: ?>
40
+ <?php if ($_sole) : ?>
41
+ <span class="no-display"><input name="shipping_method" type="radio" value="<?php echo $_rate->getCode() ?>" id="s_method_<?php echo $_rate->getCode() ?>" checked="checked" /></span>
42
+ <?php else: ?>
43
+ <input name="shipping_method" type="radio" value="<?php echo $_rate->getCode() ?>" id="s_method_<?php echo $_rate->getCode() ?>"<?php if($_rate->getCode()===$this->getAddressShippingMethod()) echo ' checked="checked"' ?> />
44
+ <?php endif; ?>
45
+ <label for="s_method_<?php echo $_rate->getCode() ?>"><?php echo $_rate->getMethodTitle() ?>
46
+ <strong>
47
+ <?php $_excl = $this->getShippingPrice($_rate->getPrice(), $this->helper('tax')->displayShippingPriceIncludingTax()); ?>
48
+ <?php $_incl = $this->getShippingPrice($_rate->getPrice(), true); ?>
49
+
50
+ <?php echo $_excl; ?>
51
+ <?php if ($this->helper('tax')->displayShippingBothPrices() && $_incl != $_excl): ?>
52
+ (<?php echo $this->__('Incl. Tax'); ?> <?php echo $_incl; ?>)
53
+ <?php endif; ?>
54
+ </strong>
55
+ </label>
56
+ <?php endif ?>
57
+ </li>
58
+ <?php endforeach; ?>
59
+ </ul>
60
+ </dd>
61
+ <?php endforeach; ?>
62
+ </dl>
63
+ <?php endif; ?>
app/design/frontend/default/iphone/template/checkout/success.phtml ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <div class="in-page">
28
+ <div class="page-head">
29
+ <h3><?php echo $this->__('Your order has been received') ?></h3>
30
+ </div>
31
+ <p><strong><?php echo $this->__('Thank you for your purchase!') ?></strong></p>
32
+ <p>
33
+ <?php echo $this->__('Your order # is: %s', $this->getOrderId()) ?>.<br/>
34
+ <?php echo $this->__('You will receive an order confirmation email with details of your order and a link to track its progress.') ?><br/>
35
+ </p>
36
+ <div class="button-set">
37
+ <button type="button" class="form-button" onclick="window.location='<?php echo $this->getUrl() ?>'"><span><?php echo $this->__('Continue Shopping') ?></span></button>
38
+ </div>
39
+ </div>
app/design/frontend/default/iphone/template/cms/content.phtml ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php echo $pageData->getPageContent(); ?>
app/design/frontend/default/iphone/template/cms/content_heading.phtml ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <h1><?php echo $this->getContentHeading(); ?></h1>
app/design/frontend/default/iphone/template/cms/default/home.phtml ADDED
@@ -0,0 +1 @@
 
1
+ There was no Home CMS page configured or found.
app/design/frontend/default/iphone/template/cms/default/no-route.phtml ADDED
@@ -0,0 +1 @@
 
1
+ There was no 404 CMS page configured or found.
app/design/frontend/default/iphone/template/cms/meta.phtml ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php if($pageData->getPageMetaKeywords()): ?>
28
+ <meta name="keywords" content="<?php echo $pageData->getPageMetaKeywords() ?>" />
29
+ <?php endif; ?>
30
+ <?php if($pageData->getPageMetaDescription()): ?>
31
+ <meta name="description" content="<?php echo $pageData->getPageMetaDescription() ?>" />
32
+ <?php endif; ?>
app/design/frontend/default/iphone/template/contacts/form.phtml ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <div id="messages_product_view"><?php echo $this->getMessagesBlock()->getGroupedHtml() ?></div>
28
+ <div class="page-head">
29
+ <h3><?php echo Mage::helper('contacts')->__('Contact Us') ?></h3>
30
+ </div>
31
+ <form action="<?php echo $this->getFormAction(); ?>" id="contactForm" method="post">
32
+ <fieldset class="group-select">
33
+ <h4 class="legend"><?php echo Mage::helper('contacts')->__('Contact Information') ?></h4>
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 />
38
+ <input name="name" id="name" title="<?php echo Mage::helper('contacts')->__('Name') ?>" value="<?php echo $this->htmlEscape($this->helper('contacts')->getUserName()) ?>" class="required-entry input-text" type="text" />
39
+ </div>
40
+
41
+ <div class="input-box">
42
+ <label for="email"><?php echo Mage::helper('contacts')->__('Email') ?> <span class="required">*</span></label><br />
43
+ <input name="email" id="email" title="<?php echo Mage::helper('contacts')->__('Email') ?>" value="<?php echo $this->htmlEscape($this->helper('contacts')->getUserEmail()) ?>" class="required-entry input-text validate-email" type="text" />
44
+ </div>
45
+
46
+ <div class="clear"></div>
47
+
48
+ <div class="input-box">
49
+ <label for="telephone"><?php echo Mage::helper('contacts')->__('Telephone') ?></label><br />
50
+ <input name="telephone" id="telephone" title="<?php echo Mage::helper('contacts')->__('Telephone') ?>" value="" class="input-text" type="text" />
51
+ </div>
52
+
53
+ <div class="clear"></div>
54
+
55
+ <div class="input-box">
56
+ <label for="comment"><?php echo Mage::helper('contacts')->__('Comment') ?></label><br />
57
+ <textarea name="comment" id="comment" title="<?php echo Mage::helper('contacts')->__('Comment') ?>" class="required-entry input-text" style="height:150px;" cols="50" rows="5"></textarea>
58
+ </div>
59
+ </li>
60
+ </ul>
61
+ </fieldset>
62
+ <div class="button-set">
63
+ <p class="required"><?php echo Mage::helper('contacts')->__('* Required Fields') ?></p>
64
+ <input name="hideit" id="hideit" value="" style="display:none !important;" type="text"/>
65
+ <button class="form-button" type="submit"><span><?php echo Mage::helper('contacts')->__('Submit') ?></span></button>
66
+ </div>
67
+ </form>
68
+ <script type="text/javascript">
69
+ var contactForm = new VarienForm('contactForm', true);
70
+ </script>
app/design/frontend/default/iphone/template/core/formkey.phtml ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <input name="form_key" type="hidden" value="<?php echo Mage::getSingleton('core/session')->getFormKey() ?>" />
app/design/frontend/default/iphone/template/core/link.phtml ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <a <?php echo $this->getLinkAttributes() ?>><?php echo $this->htmlEscape($this->getAnchorText()) ?></a>
app/design/frontend/default/iphone/template/core/messages.phtml ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ foreach ($types as $type) {
27
+ if ( $messages = $this->getMessages($type) ) {
28
+ if ( !$html ) {
29
+ $html .= '<ul class="messages">';
30
+ }
31
+ $html .= '<li class="' . $type . '-msg">';
32
+ $html .= '<ul>';
33
+
34
+ foreach ( $messages as $message ) {
35
+ $html.= '<li>';
36
+ $html.= $message->getText();
37
+ $html.= '</li>';
38
+ }
39
+ $html .= '</ul>';
40
+ $html .= '</li>';
41
+ }
42
+ }
43
+ if ( $html) {
44
+ $html .= '</ul>';
45
+ }
46
+ ?>
app/design/frontend/default/iphone/template/customer/account/dashboard.phtml ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <div class="in-page">
28
+ <div class="page-head"><h3><?php echo $this->__('My Dashboard') ?></h3></div>
29
+ <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
30
+ <?php echo $this->getChildHtml('hello') ?>
31
+ <?php echo $this->getChildHtml('top') ?>
32
+ <div class="account-box ad-account-info">
33
+ <div class="page-head"><h3><?php echo $this->__('Account Information') ?></h3></div>
34
+ <?php echo $this->getChildHtml('info') ?>
35
+ <?php echo $this->getChildHtml('address') ?>
36
+ </div>
37
+ </div><div class="clear"></div><br />
app/design/frontend/default/iphone/template/customer/account/dashboard/address.phtml ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <div class="dashboard-block">
28
+ <div class="inner-head">
29
+ <h5><?php echo $this->__('Address Book') ?></h5>
30
+ <a href="<?php echo $this->getAddressBookUrl() ?>"><?php echo $this->__('Manage Addresses') ?></a>
31
+ <div class="clear"></div>
32
+ </div>
33
+ <div><br />
34
+ <div style="margin:8px 5px;">
35
+ <h6><?php echo $this->__('Default Billing Address') ?></h6>
36
+ <address>
37
+ <?php echo $this->getPrimaryBillingAddressHtml() ?><br />
38
+ <a href="<?php echo $this->getPrimaryBillingAddressEditUrl() ?>"><?php echo $this->__('Edit Address') ?></a>
39
+ </address>
40
+ </div>
41
+ <div style="margin:8px 5px;">
42
+ <h6><?php echo $this->__('Default Shipping Address') ?></h6>
43
+ <address>
44
+ <?php echo $this->getPrimaryShippingAddressHtml() ?><br />
45
+ <a href="<?php echo $this->getPrimaryShippingAddressEditUrl() ?>"><?php echo $this->__('Edit Address') ?></a>
46
+ </address>
47
+ </div>
48
+ </div>
49
+ </div>
app/design/frontend/default/iphone/template/customer/account/dashboard/hello.phtml ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <div class="dashboard-welcome">
28
+ <p><strong><?php echo $this->__('Hello, %s!', $this->htmlEscape($this->getCustomerName())) ?></strong></p>
29
+ <p><?php echo $this->__('From your My Account Dashboard you have the ability to view a snapshot of your recent account activity and update your account information. Select a link below to view or edit information.') ?></p>
30
+ </div>
app/design/frontend/default/iphone/template/customer/account/dashboard/info.phtml ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <div>
28
+ <div class="dashboard-block">
29
+ <div class="inner-head">
30
+ <h5><?php echo $this->__('Contact Information') ?></h5>
31
+ <a href="<?php echo $this->getUrl('customer/account/edit') ?>"><?php echo $this->__('Edit') ?></a>
32
+ <div class="clear"></div>
33
+ </div>
34
+ <p style="line-height:14px;">
35
+ <?php echo $this->htmlEscape($this->getCustomer()->getFirstname()) ?>
36
+ <?php echo $this->htmlEscape($this->getCustomer()->getLastname()) ?><br />
37
+ <?php echo $this->htmlEscape($this->getCustomer()->getEmail()) ?><br />
38
+ <a href="<?php echo $this->getChangePasswordUrl() ?>"><?php echo $this->__('Change Password') ?></a>
39
+ </p>
40
+ </div>
41
+ <?php if( $this->isNewsletterEnabled() ): ?>
42
+ <div class="dashboard-block">
43
+ <div class="inner-head">
44
+ <h5><?php echo $this->__('Newsletters') ?></h5>
45
+ <a href="<?php echo $this->getUrl('newsletter/manage') ?>"><?php echo $this->__('Edit') ?></a>
46
+ <div class="clear"></div>
47
+ </div>
48
+ <p>
49
+ <?php if( $this->getIsSubscribed() ): ?>
50
+ <?php echo $this->__("You are currently subscribed to 'General Subscription'.") ?>
51
+ <?php else: ?>
52
+ <?php echo $this->__('You are currently not subscribed to any newsletter.') ?>
53
+ <?php endif; ?>
54
+ </p>
55
+ </div>
56
+ <?php endif; ?>
57
+ </div><div class="clear"></div>
58
+ <br />
app/design/frontend/default/iphone/template/customer/account/dashboard/newsletter.phtml ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <div class="col-2">
28
+ <div class="head">
29
+ <h5><?php echo $this->__('Newsletters') ?></h5>
30
+ <a href="<?php echo $this->getUrl('newsletter/manage') ?>"><?php echo $this->__('Edit Newsletters') ?></a>
31
+ </div>
32
+ <p><?php echo $this->__('You are currently subscribed to our newsletter.') ?></p>
33
+ </div>
app/design/frontend/default/iphone/template/customer/account/dashboard/sidebar.phtml ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
app/design/frontend/default/iphone/template/customer/account/link/back.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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <div class="button-set">
28
+ <a href="<?php echo $this->escapeUrl($this->getBackUrl()) ?>" class="left">&laquo; <?php echo $this->__('Back') ?></a>
29
+ </div><br /><br />
app/design/frontend/default/iphone/template/customer/account/navigation.phtml ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <div class="box account-nav">
28
+ <div class="head">
29
+ <h3><?php echo $this->__('My Account'); ?></h3>
30
+ </div>
31
+ <ul>
32
+ <?php $_links = $this->getLinks(); ?>
33
+ <?php $_index = 1; ?>
34
+ <?php $_count = count($_links); ?>
35
+ <?php foreach ($_links as $_link): ?>
36
+ <?php $_last = ($_index++ >= $_count); ?>
37
+ <?php if ($this->isActive($_link)): ?>
38
+ <li class="on<?php echo ($_last ? ' last' : '') ?>"><?php echo $_link->getLabel() ?></li>
39
+ <?php else: ?>
40
+ <li<?php echo ($_last ? ' class="last"' : '') ?>><a href="<?php echo $_link->getUrl() ?>"><?php echo $_link->getLabel() ?></a></li>
41
+ <?php endif; ?>
42
+ <?php endforeach; ?>
43
+ </ul>
44
+ </div>
app/design/frontend/default/iphone/template/customer/address.phtml ADDED
@@ -0,0 +1,92 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <h2>Address Book</h2>
28
+ <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
29
+ <table cellspacing="0" width="100%">
30
+ <tr>
31
+ <td style="width:50%;"><h3>Default</h3>
32
+ <table width="100%" cellspacing="0">
33
+ <?php if(!empty($primaryAddresses)): ?>
34
+ <?php foreach($primaryAddresses as $_address): ?>
35
+ <tr>
36
+ <td>
37
+ <address>
38
+ <?php echo nl2br($_address->toString("{{firstname}} {{lastname}}\n{{street}}\n{{city}}, {{regionName}} {{postcode}}\nT: {{telephone}}")) ?>
39
+ </address>
40
+ <p>
41
+ <strong><a href="<?php echo $this->getUrl('customer/address/form', array('address'=>$_address->getAddressId())) ?>" class="red-link"><?php echo $this->__('Edit Address') ?></a></strong>
42
+ </p>
43
+ </td>
44
+ </tr>
45
+ <?php endforeach; ?>
46
+ <?php else: ?>
47
+ <tr>
48
+ <td>
49
+ <p><?php echo $this->__('You have no default entries in your address book.') ?></p>
50
+ </td>
51
+ </tr>
52
+ <?php endif ?>
53
+ </table>
54
+ </td>
55
+ <td style="width:50%;"><h3><?php echo $this->__('Additional Address Entries') ?></h3>
56
+ <table width="100%" cellspacing="0">
57
+ <?php if(!empty($alternativeAddresses)): ?>
58
+ <?php foreach($alternativeAddresses as $_address): ?>
59
+ <tr>
60
+ <td>
61
+ <address>
62
+ <?php echo nl2br($_address->toString("{{firstname}} {{lastname}}\n{{street}}\n{{city}}, {{regionName}} {{postcode}}\nT: {{telephone}}")) ?>
63
+ </address>
64
+ <p>
65
+ <strong><a href="<?php echo $this->getUrl('customer/address/form', array('address'=>$_address->getAddressId())) ?>" class="red-link"><?php echo $this->__('Edit Address') ?></a></strong><span class="separator">&nbsp;|&nbsp;</span><strong><a href="#" onclick="return deleteAddress('<?php echo $_address->getAddressId() ?>');" class="red-link"><?php echo $this->__('Delete Address') ?></a></strong>
66
+ </p>
67
+ </td>
68
+ </tr>
69
+ <?php endforeach; ?>
70
+ <?php else: ?>
71
+ <tr>
72
+ <td>
73
+ <p><?php echo $this->__('You have no additional entries in your address book.') ?></p>
74
+ </td>
75
+ </tr>
76
+ <?php endif ?>
77
+ </table>
78
+ </td>
79
+ </tr>
80
+ </table>
81
+ <div class="buttons-container">
82
+ <a href="<?php echo $this->getUrl('customer/account/') ?>" class="float-left">&laquo; <?php echo $this->__('Back') ?></a>
83
+ <input type="button" onclick="window.location='<?php echo $this->getUrl('customer/address/form') ?>';" value="<?php echo $this->__('New Address') ?>" class="input-button" />
84
+ </div>
85
+ <script type="text/javascript">
86
+ function deleteAddress(addressId) {
87
+ if(confirm('<?php echo $this->__('Are you sure you want to delete this address?') ?>')) {
88
+ window.location='<?php echo $this->getUrl("customer/address/delete") ?>address/'+addressId;
89
+ }
90
+ return false;
91
+ }
92
+ </script>
app/design/frontend/default/iphone/template/customer/address/book.phtml ADDED
@@ -0,0 +1,107 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php
28
+ /**
29
+ * Temlate for Mage_Customer_Block_Address_Book block
30
+ * @var $test Mage_Customer_Block_Address_Book
31
+ */
32
+ ?>
33
+ <div class="in-page">
34
+ <div class="page-head button-level">
35
+ <div class="col2-set">
36
+ <div class="col-1"><h3><?php echo $this->__('Address Book') ?></h3></div>
37
+ <div class="col-2 a-right"><button type="button" class="form-button" onclick="window.location='<?php echo $this->getAddAddressUrl() ?>';"><span><?php echo $this->__('Add New Address') ?></span></button></div>
38
+ <div class="clear"></div>
39
+ </div><br />
40
+ </div>
41
+ <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
42
+ <div class="col2-set">
43
+ <div class="col-1 primary-address-list">
44
+ <h4><?php echo $this->__('Default Addresses') ?></h4>
45
+ <ol>
46
+ <?php if($_pAddsses = Mage::getSingleton('customer/session')->getCustomer()->getDefaultBilling()): ?>
47
+ <li>
48
+ <h5><?php echo $this->__('Default Billing Address') ?></h5>
49
+ <address>
50
+ <?php echo $this->getAddressHtml(Mage::getSingleton('customer/session')->getCustomer()->getAddressById($_pAddsses)) ?><br/>
51
+ <strong><a style="display:block;margin:5px 0;" href="<?php echo $this->getAddressEditUrl(Mage::getSingleton('customer/session')->getCustomer()->getAddressById($_pAddsses)) ?>"><?php echo $this->__('Change Billing Address') ?></a></strong>
52
+ </address>
53
+ </li>
54
+ <?php else: ?>
55
+ <li>
56
+ <h5><?php echo $this->__('Default Billing Address') ?></h5>
57
+ <?php echo $this->__('You have no default billing address in your address book.') ?>
58
+ </li>
59
+ <?php endif ?>
60
+
61
+ <?php if($_pAddsses = Mage::getSingleton('customer/session')->getCustomer()->getDefaultShipping()): ?>
62
+ <li>
63
+ <h5><?php echo $this->__('Default Shipping Address') ?></h5>
64
+ <address>
65
+ <?php echo $this->getAddressHtml(Mage::getSingleton('customer/session')->getCustomer()->getAddressById($_pAddsses)) ?><br/>
66
+ <strong><a style="display:block;margin:5px 0;" href="<?php echo $this->getAddressEditUrl(Mage::getSingleton('customer/session')->getCustomer()->getAddressById($_pAddsses)) ?>"><?php echo $this->__('Change Shipping Address') ?></a></strong>
67
+ </address>
68
+ </li>
69
+ <?php else: ?>
70
+ <li>
71
+ <h5><?php echo $this->__('Default Shipping Address') ?></h5><?php echo $this->__('You have no default shipping address in your address book.') ?>
72
+ </li>
73
+ <?php endif ?>
74
+ </ol>
75
+ </div>
76
+ <div class="col-2 address-list">
77
+ <h4><?php echo $this->__('Additional Address Entries') ?></h4>
78
+ <ol>
79
+ <?php if($_pAddsses = $this->getAdditionalAddresses()): ?>
80
+ <?php foreach($_pAddsses as $_address): ?>
81
+ <li>
82
+ <address>
83
+ <?php echo $this->getAddressHtml($_address) ?><br/>
84
+ <strong><a href="<?php echo $this->getUrl('customer/address/edit', array('id'=>$_address->getId())) ?>"><?php echo $this->__('Edit Address') ?></a></strong>
85
+ <span class="pipe">|</span>
86
+ <strong><a href="#" onclick="return deleteAddress('<?php echo $_address->getId() ?>');" class="link-remove"><?php echo $this->__('Delete Address') ?></a></strong>
87
+ </address>
88
+ </li>
89
+ <?php endforeach; ?>
90
+ <?php else: ?>
91
+ <li><strong><?php echo $this->__('You have no additional address entries in your address book.') ?></strong><br /><br /></li>
92
+ <?php endif ?>
93
+ </ol>
94
+ </div>
95
+ </div><div class="clear"></div>
96
+ <div class="button-set">
97
+ <a href="<?php echo $this->escapeUrl($this->getBackUrl()) ?>" class="left">&laquo; <?php echo $this->__('Back') ?></a>
98
+ </div><br /><br />
99
+ </div>
100
+ <script type="text/javascript">
101
+ function deleteAddress(addressId) {
102
+ if(confirm('<?php echo $this->__('Are you sure you want to delete this address?') ?>')) {
103
+ window.location='<?php echo $this->getDeleteUrl() ?>id/'+addressId;
104
+ }
105
+ return false;
106
+ }
107
+ </script>
app/design/frontend/default/iphone/template/customer/address/edit.phtml ADDED
@@ -0,0 +1,165 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php
28
+ /**
29
+ * Edit customer address template
30
+ *
31
+ * @see Mage_Customer_Block_Address_Edit
32
+ */
33
+ ?>
34
+ <div class="in-page">
35
+ <?php if($this->getTitle()): ?>
36
+ <div class="page-head">
37
+ <h3><?php echo $this->getTitle() ?></h3>
38
+ </div>
39
+ <?php endif; ?>
40
+ <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
41
+ <form action="<?php echo $this->getSaveUrl() ?>" method="post" id="form-validate">
42
+ <?php echo $this->getBlockHtml('formkey')?>
43
+ <fieldset class="group-select">
44
+ <input type="hidden" name="success_url" value="<?php echo $this->getSuccessUrl() ?>" />
45
+ <input type="hidden" name="error_url" value="<?php echo $this->getErrorUrl() ?>" />
46
+ <h4 class="legend"><?php echo $this->__('Contact Information') ?></h4>
47
+ <ul class="form-list">
48
+ <li>
49
+ <div class="col2-alt-set">
50
+ <div class="col-1"><label for="firstname"><?php echo $this->__('First Name') ?> <span class="required">*</span></label></div>
51
+ <div class="col-2"><input type="text" name="firstname" id="firstname" title="<?php echo $this->__('First Name') ?>" value="<?php echo ($this->getAddress()->getFirstname()) ? $this->htmlEscape($this->getAddress()->getFirstname()) : $this->htmlEscape($this->getCustomer()->getFirstname()) ?>" class="required-entry input-text" /></div>
52
+ </div><div class="clear"></div>
53
+ </li>
54
+ <li>
55
+ <div class="col2-alt-set">
56
+ <div class="col-1"><label for="lastname"><?php echo $this->__('Last Name') ?> <span class="required">*</span></label></div>
57
+ <div class="col-2"><input type="text" name="lastname" id="lastname" title="<?php echo $this->__('Last Name') ?>" value="<?php echo ($this->getAddress()->getLastname()) ? $this->htmlEscape($this->getAddress()->getLastname()) : $this->htmlEscape($this->getCustomer()->getLastname()) ?>" class="required-entry input-text" /></div>
58
+ </div><div class="clear"></div>
59
+ </li>
60
+ <li>
61
+ <div class="col2-alt-set">
62
+ <div class="col-1"><label for="company"><?php echo $this->__('Company') ?></label></div>
63
+ <div class="col-2"><input type="text" name="company" id="company" title="<?php echo $this->__('Company') ?>" value="<?php echo $this->htmlEscape($this->getAddress()->getCompany()) ?>" class="input-text" /></div>
64
+ </div><div class="clear"></div>
65
+ </li>
66
+ <li>
67
+ <div class="col2-alt-set">
68
+ <div class="col-1"><label for="telephone"><?php echo $this->__('Telephone') ?> <span class="required">*</span></label></div>
69
+ <div class="col-2"><input type="text" name="telephone" value="<?php echo $this->htmlEscape($this->getAddress()->getTelephone()) ?>" title="<?php echo $this->__('Telephone') ?>" class="required-entry input-text" id="telephone" /></div>
70
+ </div><div class="clear"></div>
71
+ </li>
72
+ <li>
73
+ <div class="col2-alt-set">
74
+ <div class="col-1"><label for="fax"><?php echo $this->__('Fax') ?></label></div>
75
+ <div class="col-2"><input type="text" name="fax" id="fax" title="<?php echo $this->__('Fax') ?>" value="<?php echo $this->htmlEscape($this->getAddress()->getFax()) ?>" class="input-text" /></div>
76
+ </div><div class="clear"></div>
77
+ </li>
78
+ </ul>
79
+ </fieldset>
80
+ <fieldset class="group-select">
81
+ <h4 class="legend"><?php echo $this->__('Address') ?></h4>
82
+ <ul class="form-list">
83
+ <li>
84
+ <div class="col2-alt-set">
85
+ <div class="col-1"><label for="street_1"><?php echo $this->__('Street Address') ?> <span class="required">*</span></label></div>
86
+ <div class="col-2"><input type="text" name="street[]" value="<?php echo $this->htmlEscape($this->getAddress()->getStreet(1)) ?>" title="<?php echo $this->__('Street Address') ?>" id="street_1" class="required-entry input-text" /></div>
87
+ </div><div class="clear"></div>
88
+ </li>
89
+ <li>
90
+ <div class="col2-alt-set">
91
+ <div class="col-1"></div>
92
+ <div class="col-2"><input type="text" name="street[]" value="<?php echo $this->htmlEscape($this->getAddress()->getStreet(2)) ?>" title="<?php echo $this->__('Street Address %s', 2) ?>" id="street_2" class="input-text" /></div>
93
+ </div><div class="clear"></div>
94
+ </li>
95
+ <li>
96
+ <div class="col2-alt-set">
97
+ <div class="col-1"><label for="city"><?php echo $this->__('City') ?> <span class="required">*</span></label></div>
98
+ <div class="col-2"><input type="text" name="city" value="<?php echo $this->htmlEscape($this->getAddress()->getCity()) ?>" title="<?php echo $this->__('City') ?>" class="required-entry input-text" id="city" /></div>
99
+ </div><div class="clear"></div>
100
+ </li>
101
+ <li>
102
+ <div class="col2-alt-set">
103
+ <div class="col-1"><label for="region_id"><?php echo $this->__('State/Province') ?> <span class="required">*</span></label></div>
104
+ <div class="col-2 select190inner">
105
+ <select id="region_id" name="region_id" title="<?php echo $this->__('State/Province') ?>" class="validate-select" style="display:none">
106
+ <option value=""><?php echo $this->__('Please select region, state or province') ?></option>
107
+ </select>
108
+ <script type="text/javascript">
109
+ $('region_id').setAttribute('defaultValue', "<?php echo $this->getAddress()->getRegionId() ?>");
110
+ </script>
111
+ <input type="text" id="region" name="region" value="<?php echo $this->htmlEscape($this->getAddress()->getRegion()) ?>" title="<?php echo $this->__('State/Province') ?>" class="input-text" style="display:none" />
112
+ </div>
113
+ </div><div class="clear"></div>
114
+ </li>
115
+ <li>
116
+ <div class="col2-alt-set">
117
+ <div class="col-1"><label for="zip"><?php echo $this->__('Zip/Postal Code') ?> <span class="required">*</span></label></div>
118
+ <div class="col-2"><input type="text" name="postcode" value="<?php echo $this->htmlEscape($this->getAddress()->getPostcode()) ?>" title="<?php echo $this->__('Zip/Postal Code') ?>" id="zip" class="validate-zip-international required-entry input-text" /></div>
119
+ </div><div class="clear"></div>
120
+ </li>
121
+ <li>
122
+ <div class="col2-alt-set">
123
+ <div class="col-1"><label for="country"><?php echo $this->__('Country') ?> <span class="required">*</span></label></div>
124
+ <div class="col-2 select190inner"><?php echo $this->getCountryHtmlSelect() ?></div>
125
+ </div><div class="clear"></div>
126
+ </li>
127
+ <li>
128
+ <?php if($this->isDefaultBilling()): ?>
129
+ <strong><?php echo $this->__('Default Billing Address') ?></strong>
130
+ <?php elseif($this->canSetAsDefaultBilling()): ?>
131
+ <input type="checkbox" id="primary_billing" name="default_billing" value="1" />&nbsp;
132
+ <label for="primary_billing"><?php echo $this->__('Use as my default billing address') ?></label>
133
+ <?php else: ?>
134
+ <input type="hidden" name="default_billing" value="1" />
135
+ <?php endif; ?>
136
+ </li>
137
+ <li>
138
+ <?php if($this->isDefaultShipping()): ?>
139
+ <strong><?php echo $this->__('Default Shipping Address') ?></strong>
140
+ <?php elseif($this->canSetAsDefaultShipping()): ?>
141
+ <input type="checkbox" id="primary_shipping" name="default_shipping" value="1" />&nbsp;
142
+ <label for="primary_shipping"><?php echo $this->__('Use as my default shipping address') ?></label>
143
+ <?php else: ?>
144
+ <input type="hidden" name="default_shipping" value="1" />
145
+ <?php endif; ?>
146
+ </li>
147
+ </ul>
148
+ </fieldset>
149
+ <div class="col2-alt-set button-set">
150
+ <div class="col-1">
151
+ <p class="required"><?php echo $this->__('* Required Fields') ?></p>
152
+ <br /><br /><a href="<?php echo $this->escapeUrl($this->getBackUrl()) ?>" class="left">&laquo; <?php echo $this->__('Back') ?></a>
153
+ </div>
154
+ <div class="col-2">
155
+ <div class="form-buttons">
156
+ <button class="form-button" type="submit"><span><?php echo $this->__('Save Address') ?></span></button>
157
+ </div>
158
+ </div>
159
+ </div><div class="clear"></div>
160
+ </form>
161
+ </div><br /><br />
162
+ <script type="text/javascript">
163
+ var dataForm = new VarienForm('form-validate', true);
164
+ new RegionUpdater('country', 'region', 'region_id', <?php echo $this->helper('directory')->getRegionJson() ?>, undefined, 'zip');
165
+ </script>
app/design/frontend/default/iphone/template/customer/balance.phtml ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
28
+ <?php echo $this->__('Your account balance is: %s', $customer->getStoreBalance()) ?>
29
+ <div class="buttons-container">
30
+ <a href="<?php echo $this->getUrl('customer/account') ?>" class="float-left">&laquo; <?php echo $this->__('Back') ?></a>
31
+ </div>
app/design/frontend/default/iphone/template/customer/dashboard.phtml ADDED
@@ -0,0 +1,85 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
28
+ <div class="input-left">
29
+ <h3><?php echo Mage::helper('customer')->__('Personal Information') ?></h3>
30
+ <p>
31
+ <?php echo $this->getCustomer()->toString('{{firstname}} {{lastname}}<br/>{{email}}') ?>
32
+ <br/>
33
+ <a href="<?php echo $this->getAccountUrl() ?>"><?php echo Mage::helper('customer')->__('Edit Personal Information') ?></a>
34
+ </p>
35
+ <h3><?php echo _('Newsletters') ?></h3>
36
+ <?php echo $this->getSubscriptionText() ?>
37
+ <p><a href="<?php echo $this->getManageNewsletterUrl() ?>"><?php echo Mage::helper('customer')->__('Edit Newsletter Subscription') ?></a></p>
38
+ </div>
39
+ <div class="input-right">
40
+ <h3><?php echo Mage::helper('customer')->__('Addresses') ?></h3>
41
+ <?php if($_addresses = $this->getPrimaryAddresses()): ?>
42
+ <?php foreach ($_addresses as $_address): ?>
43
+ <address>
44
+ <?php echo $_address->toString("{{firstname}} {{lastname}}<br/>{{street}}<br/>{{city}}, {{regionName}} {{postcode}}<br/>T: {{telephone}}") ?>
45
+ <br /><a href="<?php echo $this->getAddressEditUrl($_address) ?>"><?php echo Mage::helper('customer')->__('Edit Address') ?></a>
46
+ </address>
47
+ <?php endforeach; ?>
48
+ <?php endif; ?>
49
+ <a href="<?php echo $this->getAddressesUrl() ?>"><?php echo Mage::helper('customer')->__('Go to Address Book') ?></a>
50
+ </div>
51
+ <div class="clearfix"></div>
52
+
53
+ <div>
54
+ <h3><?php echo Mage::helper('customer')->__('Last 5 Orders') ?></h3>
55
+ <p>
56
+ <?php echo Mage::helper('customer')->__('Order List...') ?><br/>
57
+ <a href=""><?php echo Mage::helper('customer')->__('View Order List') ?></a>
58
+ </p>
59
+ </div>
60
+
61
+ <div class="input-left">
62
+ <h3><?php echo Mage::helper('customer')->__('Personal Information') ?></h3>
63
+ </div>
64
+
65
+ <?php if ($this->helper('wishlist')->isAllow()) : ?>
66
+ <div class="input-right">
67
+ <h3><?php echo Mage::helper('customer')->__('My Wishlist') ?></h3>
68
+ </div>
69
+ <?php endif; ?>
70
+
71
+ <div class="input-left">
72
+ <h3><?php echo Mage::helper('customer')->__('My Reviews') ?></h3>
73
+ </div>
74
+
75
+ <div class="input-right">
76
+ <h3><?php echo Mage::helper('customer')->__('My Tags') ?></h3>
77
+ </div>
78
+
79
+ <div class="input-left">
80
+ <h3><?php echo Mage::helper('customer')->__('Last Viewed Items') ?></h3>
81
+ </div>
82
+
83
+ <div class="input-right">
84
+ <h3><?php echo Mage::helper('customer')->__('Shopping Cart') ?></h3>
85
+ </div>
app/design/frontend/default/iphone/template/customer/form/address.phtml ADDED
@@ -0,0 +1,126 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <script type="text/javascript">countryRegions = <?php echo $this->helper('directory')->getRegionJson() ?></script>
28
+
29
+ <div class="page-head">
30
+ <h3><?php if($data->getAddressId()): ?><?php echo $this->__('Edit Address Entry') ?><?php else: ?><?php echo $this->__('New Address Entry') ?><?php endif ?></h3>
31
+ <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
32
+ <form action="<?php echo $action ?>" method="post" id="form-validate">
33
+ <fieldset class="group-select">
34
+ <input type="hidden" name="address_id" value="<?php echo $data->getAddressId() ?>" />
35
+ <input type="hidden" name="customer_id" id="address_id" value="<?php echo $data->getCustomerId() ?>" />
36
+ <h3 class="legend"><?php echo $this->__('Personal Information') ?></h3>
37
+ <ul>
38
+ <li>
39
+ <div class="input-box">
40
+ <label for="firstname"><?php echo $this->__('First Name') ?> <span class="required">*</span></label><br />
41
+ <input type="text" name="firstname" id="firstname" title="<?php echo $this->__('First Name') ?>" value="<?php echo $this->htmlEscape($data->getFirstname()) ?>" class="required-entry input-text" />
42
+ </div>
43
+ <div class="input-box">
44
+ <label for="lastname"><?php echo $this->__('Last Name') ?> <span class="required">*</span></label><br />
45
+ <input type="text" name="lastname" id="lastname" title="<?php echo $this->__('Last Name') ?>" value="<?php echo $this->htmlEscape($data->getLastname()) ?>" class="required-entry input-text" />
46
+ </div>
47
+ </li>
48
+ <li>
49
+ <div class="input-box">
50
+ <label for="company"><?php echo $this->__('Company') ?></label><br />
51
+ <input type="text" name="company" id="company" title="<?php echo $this->__('Company') ?>" value="<?php echo $this->htmlEscape($data->getCompany()) ?>" class="input-text" />
52
+ </div>
53
+ </li>
54
+ </ul>
55
+ </fieldset>
56
+ <fieldset class="group-select">
57
+ <h3 class="legend"><?php echo $this->__('Address') ?></h3>
58
+ <ul>
59
+ <li>
60
+ <label for="street_1"><?php echo $this->__('Street Address') ?> <span class="required">*</span></label><br />
61
+ <input type="text" name="street[1]" value="<?php echo $this->htmlEscape($data->getStreet(1)) ?>" title="<?php echo $this->__('Street Address') ?>" id="street_1" class="required-entry input-text" />
62
+ </li>
63
+ <li>
64
+ <input type="text" name="street[2]" value="<?php echo $this->htmlEscape($data->getStreet(2)) ?>" title="<?php echo $this->__('Street Address 2') ?>" id="street_2" class="input-text" />
65
+ </li>
66
+ <li>
67
+ <div class="input-box">
68
+ <label for="city"><?php echo $this->__('City') ?> <span class="required">*</span></label><br />
69
+ <input type="text" name="city" value="<?php echo $this->htmlEscape($data->getCity()) ?>" title="<?php echo $this->__('City') ?>" class="required-entry input-text" id="city" />
70
+ </div>
71
+ <div class="input-box">
72
+ <label for="region_id"><?php echo $this->__('State/Province') ?> <span class="required">*</span></label><br />
73
+ <select id="region_id" name="region_id" title="<?php echo $this->__('State/Province') ?>" class="validate-select" style="display:none">
74
+ <option value=""><?php echo $this->__('Please select region, state or province') ?></option>
75
+ </select>
76
+ <script type="text/javascript">
77
+ $('region_id').setAttribute('defaultValue', "<?php echo $this->getAddress()->getRegionId() ?>");
78
+ </script>
79
+ <input type="text" id="region" name="region" value="<?php echo $this->htmlEscape($this->getAddress()->getRegion()) ?>" title="<?php echo $this->__('State/Province') ?>" class="required-entry input-text" style="display:none" />
80
+ </div>
81
+ </li>
82
+ <li>
83
+ <div class="input-box">
84
+ <label for="zip"><?php echo $this->__('Zip/Postal Code') ?> <span class="required">*</span></label><br />
85
+ <input type="text" name="postcode" value="<?php echo $this->htmlEscape($data->getPostcode()) ?>" title="<?php echo $this->__('Zip/Postal Code') ?>" id="zip" class="validate-zip-international required-entry input-text" />
86
+ </div>
87
+ <div class="input-box">
88
+ <label for="country"><?php echo $this->__('Country') ?> <span class="required">*</span></label><br />
89
+ <select name="country_id" id="country" title="<?php echo $this->__('Country') ?>" class="validate-select">
90
+ <?php echo $countries->toHtmlOptions($data->getCountryId()) ?>
91
+ </select>
92
+ </div>
93
+ </li>
94
+ <li>
95
+ <div class="input-box">
96
+ <label for="telephone"><?php echo $this->__('Telephone') ?> <span class="required">*</span></label><br />
97
+ <input type="text" name="telephone" value="<?php echo $this->htmlEscape($data->getTelephone()) ?>" title="<?php echo $this->__('Telephone') ?>" class="input-text" id="telephone" /></div>
98
+ <div class="input-box">
99
+ <label for="fax"><?php echo $this->__('Fax') ?></label><br />
100
+ <input type="text" name="fax" value="<?php echo $this->htmlEscape($data->getFax()) ?>" title="<?php echo $this->__('Fax') ?>" class="input-text" id="fax" />
101
+ </div>
102
+ </li>
103
+ <?php foreach ($primaryTypes as $code=>$type): ?>
104
+ <li>
105
+ <?php if ($address->isPrimary($type['address_type_id'])): ?>
106
+ <?php echo $this->__("This is My Default %s Address", ucfirst($type['name'])) ?>
107
+ <?php else: ?>
108
+ <input type="checkbox" id="primary_<?php echo $code ?>" name="primary_types[]" value="<?php echo $type['address_type_id'] ?>" />&nbsp;
109
+ <label for="primary_<?php echo $code ?>"><?php echo $this->__("Use as My Default %s Address", ucfirst($type['name'])) ?></label>
110
+ <?php endif ?>
111
+ </li>
112
+ <?php endforeach ?>
113
+ </ul>
114
+ </fieldset>
115
+ <div class="button-set">
116
+ <p class="required"><?php echo $this->__('* Required Fields') ?></p>
117
+ <a href="<?php echo $this->getUrl('customer/address/') ?>" class="left">&laquo; <?php echo $this->__('Back') ?></a>
118
+ <button class="form-button" type="submit"><span><?php echo $this->__('Save Address') ?></span></button>
119
+ </div>
120
+ </form>
121
+ <script type="text/javascript">
122
+ var dataForm = new VarienForm('form-validate', true);
123
+ //dataForm.setElementsRelation('country', 'state', '<?php echo $this->getUrl('directory/json/childRegion') ?>');
124
+
125
+ new RegionUpdater('country', 'region', 'region_id', countryRegions, undefined, 'zip');
126
+ </script>
app/design/frontend/default/iphone/template/customer/form/changepassword.phtml ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
28
+ <form action="<?php echo $action ?>" method="post" id="form-validate">
29
+ <fieldset class="group-select">
30
+ <legend><?php echo $this->__('Change Account Password') ?></legend>
31
+ <ul>
32
+ <li>
33
+ <div class="input-box">
34
+ <label for="current_password"><?php echo $this->__('Current Password') ?> <span class="required">*</span></label><br />
35
+ <input type="password" class="required-entry input-text" name="current_password" id="current_password" />
36
+ </div>
37
+ </li>
38
+ <li>
39
+ <div class="input-box">
40
+ <label for="password"><?php echo $this->__('New Password') ?> <span class="required">*</span></label><br />
41
+ <input type="password" class="required-entry validate-password input-text" name="password" id="password" />
42
+ </div>
43
+ <div class="input-box">
44
+ <label for="confirmation"><?php echo $this->__('Confirm New Password') ?> <span class="required">*</span></label><br />
45
+ <input type="password" class="required-entry validate-cpassword input-text" name="confirmation" id="confirmation" />
46
+ </div>
47
+ </li>
48
+ </ul>
49
+ </fieldset>
50
+ <div class="button-set">
51
+ <p class="required"><?php echo $this->__('* Required Fields') ?></p>
52
+ <a href="<?php echo $this->getUrl('customer/account') ?>" class="float-left">&laquo; <?php echo $this->__('Back') ?></a>
53
+ <button class="form-button" type="submit"><span><?php echo $this->__('Save Password') ?></span></button>
54
+ </div>
55
+ </form>
56
+ <script type="text/javascript">
57
+ var dataForm = new VarienForm('form-validate');
58
+ </script>
app/design/frontend/default/iphone/template/customer/form/edit.phtml ADDED
@@ -0,0 +1,130 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <div class="in-page">
28
+ <div class="page-head">
29
+ <h3><?php echo $this->__('Edit Account Information') ?></h3>
30
+ </div>
31
+ <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
32
+ <form action="<?php echo $this->getUrl('customer/account/editPost') ?>" method="post" id="form-validate">
33
+ <?php echo $this->getBlockHtml('formkey')?>
34
+ <fieldset class="group-select">
35
+ <h4 class="legend"><?php echo $this->__('Account Information') ?></h4>
36
+ <ul class="form-list">
37
+ <?php /*
38
+ <li>
39
+ <div class="col2-alt-set">
40
+ <div class="col-1"><label for="firstname"><?php echo $this->__('First Name') ?> <span class="required">*</span>&nbsp;</label></div>
41
+ <div class="col-2"><input type="text" name="firstname" id="firstname" value="<?php echo $this->htmlEscape($this->getCustomer()->getFirstname()) ?>" title="<?php echo $this->__('First Name') ?>" class="required-entry input-text" /></div>
42
+ </div><div class="clear"></div>
43
+ </li>
44
+ <li>
45
+ <div class="col2-alt-set">
46
+ <div class="col-1"><label for="lastname"><?php echo $this->__('Last Name') ?> <span class="required">*</span>&nbsp;</label></div>
47
+ <div class="col-2"><input type="text" name="lastname" id="lastname" value="<?php echo $this->htmlEscape($this->getCustomer()->getLastname()) ?>" title="<?php echo $this->__('Last Name') ?>" class="required-entry input-text" /></div>
48
+ </div><div class="clear"></div>
49
+ </li>
50
+ */ ?>
51
+ <li>
52
+ <?php echo $this->getLayout()->createBlock('customer/widget_name')->setObject($this->getCustomer())->toHtml() ?>
53
+ </li>
54
+ <li>
55
+ <div class="col2-alt-set">
56
+ <div class="col-1"><label for="email"><?php echo $this->__('Email Address') ?> <span class="required">*</span>&nbsp;</label></div>
57
+ <div class="col-2"><input type="text" name="email" id="email" value="<?php echo $this->htmlEscape($this->getCustomer()->getEmail()) ?>" title="<?php echo $this->__('Email Address') ?>" class="required-entry validate-email input-text" /></div>
58
+ </div><div class="clear"></div>
59
+ </li>
60
+ <?php $_dob = $this->getLayout()->createBlock('customer/widget_dob') ?>
61
+ <?php if ($_dob->isEnabled()): ?>
62
+ <li><?php echo $_dob->setDate($this->getCustomer()->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->getCustomer()->getTaxvat())->toHtml() ?></li>
67
+ <?php endif ?>
68
+ <?php $_gender = $this->getLayout()->createBlock('customer/widget_gender') ?>
69
+ <?php if ($_gender->isEnabled()): ?>
70
+ <li><?php echo $_gender->setGender($this->getCustomer()->getGender())->toHtml() ?></li>
71
+ <?php endif ?>
72
+ </ul>
73
+ </fieldset>
74
+ <p><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; ?> /> <label for="change_password"><?php echo $this->__('Change Password') ?></label></p>
75
+ <fieldset class="group-select" style="display:none">
76
+ <h4 class="legend"><?php echo $this->__('Change Password') ?></h4>
77
+ <ul class="form-list">
78
+ <li>
79
+ <div class="input-box">
80
+ <label for="current_password"><?php echo $this->__('Current Password') ?></label>
81
+ <input type="password" class="input-text" name="current_password" id="current_password" />
82
+ </div>
83
+ </li>
84
+ <li>
85
+ <div class="input-box">
86
+ <label for="password"><?php echo $this->__('New Password') ?></label>
87
+ <input type="password" class="validate-password input-text" name="password" id="password" />
88
+ </div>
89
+ </li>
90
+ <li>
91
+ <div class="input-box">
92
+ <label for="confirmation"><?php echo $this->__('Confirm New Password') ?></label>
93
+ <input type="password" class="validate-cpassword input-text" name="confirmation" id="confirmation" />
94
+ </div>
95
+ </li>
96
+ </ul>
97
+ </fieldset>
98
+ <div class="col2-alt-set button-set">
99
+ <div class="col-1">
100
+ <p class="required"><?php echo $this->__('* Required Fields') ?></p><br />
101
+ <a href="<?php echo $this->escapeUrl($this->getBackUrl()) ?>" class="left">&laquo; <?php echo $this->__('Back') ?></a>
102
+ </div>
103
+ <div class="col-2">
104
+ <div class="form-buttons">
105
+ <button type="submit" class="form-button"><span><?php echo $this->__('Save') ?></span></button>
106
+ </div>
107
+ </div>
108
+ </div><div class="clear"></div>
109
+ </form><br /><br />
110
+ </div>
111
+ <script type="text/javascript">
112
+ var dataForm = new VarienForm('form-validate', true);
113
+ function setPasswordForm(arg){
114
+ if(arg){
115
+ $('current_password').up(3).show();
116
+ $('current_password').addClassName('required-entry');
117
+ $('password').addClassName('required-entry');
118
+ $('confirmation').addClassName('required-entry');
119
+
120
+ }else{
121
+ $('current_password').up(3).hide();
122
+ $('current_password').removeClassName('required-entry');
123
+ $('password').removeClassName('required-entry');
124
+ $('confirmation').removeClassName('required-entry');
125
+ }
126
+ }
127
+ <?php if($this->getCustomer()->getChangePassword()): ?>
128
+ setPasswordForm(true);
129
+ <?php endif; ?>
130
+ </script>
app/design/frontend/default/iphone/template/customer/form/forgotpassword.phtml ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <div class="in-page">
28
+ <div class="page-head"><h3><?php echo $this->__('Forgot Your Password?') ?></h3></div>
29
+ <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
30
+ <form action="<?php echo $this->getUrl('*/*/forgotpasswordpost') ?>" method="post" id="form-validate">
31
+ <fieldset>
32
+ <legend><?php echo $this->__('Retrieve your password here') ?></legend>
33
+ <?php echo $this->__('Please enter your email below and we\'ll send you a new password.') ?>
34
+ <ul class="form-list" style="margin-top:5px;">
35
+ <li>
36
+ <div class="col2-alt-set">
37
+ <div class="col-1">
38
+ <label for="email_address"><?php echo $this->__('Email Address') ?> <span class="required">*</span></label>
39
+ </div>
40
+ <div class="col-2">
41
+ <input name="email" alt="email" type="text" id="email_address" class="required-entry validate-email input-text" value="<?php echo $this->htmlEscape($this->getEmailValue()) ?>" />
42
+ </div>
43
+ </div><div class="clear"></div>
44
+ </li>
45
+ </ul>
46
+ <div class="col2-alt-set button-set">
47
+ <div class="col-1">
48
+ <p class="required"><?php echo $this->__('* Required Fields') ?></p>
49
+ </div>
50
+ <div class="col-2">
51
+ <div class="form-buttons">
52
+ <button type="submit" class="form-button right"><span><?php echo $this->__('Submit') ?></span></button><br />
53
+ <a href="<?php echo $this->helper('customer')->getLoginUrl() ?>" class="left">&laquo; <?php echo $this->__('Back to Login') ?></a>
54
+ </div>
55
+ </div>
56
+ </div><div class="clear"></div>
57
+ </fieldset>
58
+ </form>
59
+ </div>
60
+ <script type="text/javascript">
61
+ var dataForm = new VarienForm('form-validate', true);
62
+ </script>
app/design/frontend/default/iphone/template/customer/form/login.phtml ADDED
@@ -0,0 +1,90 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php
28
+ /**
29
+ * Customer login form template
30
+ *
31
+ * @see Mage_Customer_Block_Form_Login
32
+ */
33
+ ?>
34
+ <div class="login-box">
35
+ <div class="category-head"><h2><?php echo $this->__('Login or Create an Account') ?></h2></div>
36
+ <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
37
+ <form action="<?php echo $this->getPostActionUrl() ?>" method="post" id="login-form">
38
+ <div class="registered-users">
39
+ <div class="content">
40
+ <h4><?php echo $this->__('Registered Customers') ?></h4>
41
+ <p><?php echo $this->__('If you have an account with us, please log in.') ?></p>
42
+ <ul class="form-list">
43
+ <li>
44
+ <div class="col2-alt-set">
45
+ <div class="col-1">
46
+ <label for="email"><?php echo $this->__('Email Address') ?> <span class="required">*</span></label>
47
+ </div>
48
+ <div class="col-2">
49
+ <input name="login[username]" value="<?php echo $this->htmlEscape($this->getUsername()) ?>" title="<?php echo $this->__('Email Address') ?>" id="email" type="text" class="input-text required-entry validate-email" />
50
+ </div>
51
+ </div><div class="clear"></div>
52
+ </li>
53
+ <li>
54
+ <div class="col2-alt-set">
55
+ <div class="col-1">
56
+ <label for="pass"><?php echo $this->__('Password') ?> <span class="required">*</span></label><br />
57
+ </div>
58
+ <div class="col-2">
59
+ <input name="login[password]" type="password" class="input-text required-entry validate-password" id="pass" />
60
+ </div>
61
+ </div><div class="clear"></div>
62
+ </li>
63
+ </ul>
64
+ </div>
65
+ <div class="col2-alt-set button-set">
66
+ <div class="col-1">
67
+ <p class="required"><?php echo $this->__('* Required Fields') ?></p>
68
+ </div>
69
+ <div class="col-2">
70
+ <div class="form-buttons">
71
+ <button class="form-button" type="submit" name="send" id="send2"><span><?php echo $this->__('Login') ?></span></button><br />
72
+ <a href="<?php echo $this->getForgotPasswordUrl() ?>" class="left"><?php echo $this->__('Forgot Your Password?') ?></a>
73
+ </div>
74
+ </div>
75
+ </div><div class="clear"></div>
76
+ </div>
77
+ <div class="new-users">
78
+ <div class="content">
79
+ <h4><?php echo $this->__('New Customers') ?></h4>
80
+ <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>
81
+ </div>
82
+ <div class="button-set">
83
+ <button class="form-button right" onclick="window.location='<?php echo $this->getCreateAccountUrl() ?>';" type="button"><span><?php echo $this->__('Create an Account') ?></span></button>
84
+ </div>
85
+ </div>
86
+ </form>
87
+ </div>
88
+ <script type="text/javascript">
89
+ var dataForm = new VarienForm('login-form', true);
90
+ </script>
app/design/frontend/default/iphone/template/customer/form/mini.login.phtml ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <form action="<?php echo $this->getPostActionUrl() ?>" method="post">
28
+ <table width="100%" class="mini-login">
29
+ <tr><td><?php echo $this->__('Email') ?>:</td><td><input name="login[username]" /></td></tr>
30
+ <tr><td><?php echo $this->__('Password') ?>:</td><td><input name="login[password]" /></td></tr>
31
+ <tr><td>&nbsp;</td><td><input type="submit" value="<?php echo $this->__('Login') ?>" /></td></tr>
32
+ </table>
33
+ </form>
app/design/frontend/default/iphone/template/customer/form/mini.newsletter.phtml ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <fieldset class="newsletter">
28
+ <h2 class="accent"><?php echo $this->__('Newsletter') ?></h2>
29
+ <form action="<?php echo $this->getUrl('newsletter/subscriber/new') ?>" method="post" id="newsletter-validate">
30
+ <fieldset>
31
+ <legend><?php echo $this->__('Newsletter') ?></legend>
32
+ <label for="newsletter"><?php echo $this->__('Sign up for our newsletter') ?>:</label>
33
+ <input name="email" id="newsletter" type="text" class="required-entry validate-email input-text" />
34
+ <input type="submit" value="<?php echo $this->__('Submit') ?>" alt="<?php echo $this->__('Subscribe') ?>" class="input-button" />
35
+ </fieldset>
36
+ </form>
37
+ <script type="text/javascript">
38
+ <!--
39
+ var newsletterSubscriberForm = new VarienForm('newsletter-validate');
40
+ //-->
41
+ </script>
42
+ </fieldset>
app/design/frontend/default/iphone/template/customer/form/newsletter.phtml ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <div class="in-page">
28
+ <div class="page-head"><h3><?php echo $this->__('Newsletter Subscription') ?></h3></div>
29
+ <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
30
+ <form action="<?php echo $this->getAction() ?>" method="post" id="form-validate">
31
+ <?php echo $this->getBlockHtml('formkey')?>
32
+ <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 ?> /> <label for="subscription"><?php echo $this->__('General Subscription') ?></label></p>
33
+ <br />
34
+ <div class="col2-alt-set button-set">
35
+ <div class="col-1">
36
+ <a href="<?php echo $this->getUrl('customer/account/') ?>" class="left">&laquo; <?php echo $this->__('Back') ?></a>
37
+ </div>
38
+ <div class="col-2">
39
+ <div class="form-buttons">
40
+ <button type="submit" class="form-button"><span><?php echo $this->__('Save') ?></span></button>
41
+ </div>
42
+ </div>
43
+ </div><div class="clear"></div>
44
+ </form>
45
+ </div><br /><br />
46
+ <script type="text/javascript">
47
+ var dataForm = new VarienForm('form-validate', true);
48
+ </script>
app/design/frontend/default/iphone/template/customer/form/register.phtml ADDED
@@ -0,0 +1,190 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php
28
+ /**
29
+ * Create account form template
30
+ *
31
+ * @see Mage_Customer_Block_Form_Register
32
+ */
33
+ ?>
34
+ <div class="in-page">
35
+ <div class="page-head"><h3><?php echo $this->__('Create an Account') ?></h3></div>
36
+ <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
37
+ <form action="<?php echo $this->getPostActionUrl() ?>" method="post" id="form-validate">
38
+ <fieldset class="group-select wide">
39
+ <input type="hidden" name="success_url" value="<?php echo $this->getSuccessUrl() ?>" />
40
+ <input type="hidden" name="error_url" value="<?php echo $this->getErrorUrl() ?>" />
41
+ <h4 class="legend"><?php echo $this->__('Personal Information') ?></h4>
42
+ <ul class="form-list">
43
+ <?php /*
44
+ <li>
45
+ <div class="col2-alt-set">
46
+ <div class="col-1"><label for="firstname"><?php echo $this->__('First Name') ?> <span class="required">*</span></label></div>
47
+ <div class="col-2"><input type="text" name="firstname" id="firstname" value="<?php echo $this->htmlEscape($this->getFormData()->getFirstname()) ?>" title="<?php echo $this->__('First Name') ?>" class="required-entry input-text" /></div>
48
+ </div><div class="clear"></div>
49
+ </li>
50
+ <li>
51
+ <div class="col2-alt-set">
52
+ <div class="col-1"><label for="lastname"><?php echo $this->__('Last Name') ?> <span class="required">*</span></label></div>
53
+ <div class="col-2"><input type="text" name="lastname" id="lastname" value="<?php echo $this->htmlEscape($this->getFormData()->getLastname()) ?>" title="<?php echo $this->__('Last Name') ?>" class="required-entry input-text" /></div>
54
+ </div><div class="clear"></div>
55
+ </li>
56
+ */ ?>
57
+ <li>
58
+ <?php echo $this->getLayout()->createBlock('customer/widget_name')->setObject($this->getFormData())->toHtml() ?>
59
+ </li>
60
+ <li>
61
+ <div class="col2-alt-set">
62
+ <div class="col-1"><label for="email_address"><?php echo $this->__('Email Address') ?> <span class="required">*</span></label></div>
63
+ <div class="col-2"><input type="text" name="email" id="email_address" value="<?php echo $this->htmlEscape($this->getFormData()->getEmail()) ?>" title="<?php echo $this->__('Email Address') ?>" class="validate-email required-entry input-text" /></div>
64
+ <div class="clear"></div>
65
+ </div>
66
+ </li>
67
+ <?php if ($this->isNewsletterEnabled()): ?>
68
+ <li>
69
+ <div class="a-right">
70
+ <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 ?> />
71
+ <label for="is_subscribed"><?php echo $this->__('Sign Up for Newsletter') ?></label>
72
+ </div>
73
+ </li>
74
+ <?php endif ?>
75
+ <?php $_dob = $this->getLayout()->createBlock('customer/widget_dob') ?>
76
+ <?php if ($_dob->isEnabled()): ?>
77
+ <li><?php echo $_dob->setDate($this->getFormData()->getDob())->toHtml() ?></li>
78
+ <?php endif ?>
79
+ <?php $_taxvat = $this->getLayout()->createBlock('customer/widget_taxvat') ?>
80
+ <?php if ($_taxvat->isEnabled()): ?>
81
+ <li><?php echo $_taxvat->setTaxvat($this->getFormData()->getTaxvat())->toHtml() ?></li>
82
+ <?php endif ?>
83
+ <?php $_gender = $this->getLayout()->createBlock('customer/widget_gender') ?>
84
+ <?php if ($_gender->isEnabled()): ?>
85
+ <li><?php echo $_gender->setGender($this->getFormData()->getGender())->toHtml() ?></li>
86
+ <?php endif ?>
87
+ </ul>
88
+ </fieldset>
89
+ <?php if($this->getShowAddressFields()): ?>
90
+ <input type="hidden" name="create_address" value="1" />
91
+ <fieldset class="group-select wide">
92
+ <h4 class="legend"><?php echo $this->__('Address Information') ?></h4>
93
+ <ul>
94
+ <li>
95
+ <div class="col2-alt-set">
96
+ <div class="col-1"><label for="company"><?php echo $this->__('Company') ?></label></div>
97
+ <div class="col-2"><input type="text" name="company" id="company" value="<?php echo $this->htmlEscape($this->getFormData()->getCompany()) ?>" title="<?php echo $this->__('Company') ?>" class="input-text" /></div>
98
+ </div><div class="clear"></div>
99
+ </li>
100
+ <li>
101
+ <div class="col2-alt-set">
102
+ <div class="col-1"><label for="lastname"><?php echo $this->__('Telephone') ?> <span class="required">*</span></label></div>
103
+ <div class="col-2"><input type="text" name="telephone" id="telephone" value="<?php echo $this->htmlEscape($this->getFormData()->getTelephone()) ?>" title="<?php echo $this->__('Telephone') ?>" class="required-entry input-text" /></div>
104
+ </div><div class="clear"></div>
105
+ </li>
106
+ <li>
107
+ <div class="col2-alt-set">
108
+ <div class="col-1"><label for="street_1"><?php echo $this->__('Street Address') ?> <span class="required">*</span></label></div>
109
+ <div class="col-2"><input type="text" name="street[]" value="<?php echo $this->htmlEscape($this->getFormData()->getStreet(0)) ?>" title="<?php echo $this->__('Street Address') ?>" id="street_1" class="required-entry input-text" /></div>
110
+ </div><div class="clear"></div>
111
+ </li>
112
+ <li>
113
+ <div class="col2-alt-set">
114
+ <div class="col-1">&nbsp;</div>
115
+ <div class="col-2"><input type="text" name="street[]" value="<?php echo $this->htmlEscape($this->getFormData()->getStreet(1)) ?>" title="<?php echo $this->__('Street Address %s', 2) ?>" id="street_2" class="input-text" /></div>
116
+ </div><div class="clear"></div>
117
+ </li>
118
+ <li>
119
+ <div class="col2-alt-set">
120
+ <div class="col-1"><label for="city"><?php echo $this->__('City') ?> <span class="required">*</span></label></div>
121
+ <div class="col-2"><input type="text" name="city" value="<?php echo $this->htmlEscape($this->getFormData()->getCity()) ?>" title="<?php echo $this->__('City') ?>" class="required-entry input-text" id="city" /></div>
122
+ </div><div class="clear"></div>
123
+ </li>
124
+ <li>
125
+ <div class="col2-alt-set">
126
+ <div class="col-1"><label for="region_id"><?php echo $this->__('State/Province') ?> <span class="required">*</span></label></div>
127
+ <div class="col-2">
128
+ <select id="region_id" name="region_id" title="<?php echo $this->__('State/Province') ?>" class="validate-select" style="display:none">
129
+ <option value=""><?php echo $this->__('Please select region, state or province') ?></option>
130
+ </select>
131
+ <script type="text/javascript">
132
+ $('region_id').setAttribute('defaultValue', "<?php echo $this->getFormData()->getRegionId() ?>");
133
+ </script>
134
+ <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" />
135
+ </div>
136
+ </div><div class="clear"></div>
137
+ </li>
138
+ <li>
139
+ <div class="col2-alt-set">
140
+ <div class="col-1"><label for="zip"><?php echo $this->__('Zip/Postal Code') ?> <span class="required">*</span></label></div>
141
+ <div class="col-2"><input type="text" name="postcode" value="<?php echo $this->htmlEscape($this->getFormData()->getPostcode()) ?>" title="<?php echo $this->__('Zip/Postal Code') ?>" id="zip" class="validate-zip-international required-entry input-text" /></div>
142
+ </div><div class="clear"></div>
143
+ </li>
144
+ <li>
145
+ <div class="col2-alt-set">
146
+ <div class="col-1"><label for="country"><?php echo $this->__('Country') ?> <span class="required">*</span></label></div>
147
+ <div class="col-2"><?php echo $this->getCountryHtmlSelect() ?></div>
148
+ </div><div class="clear"></div>
149
+ </li>
150
+ </ul>
151
+ </fieldset>
152
+ <input type="hidden" name="default_billing" value="1" />
153
+ <input type="hidden" name="default_shipping" value="1" />
154
+ <?php endif; ?>
155
+ <fieldset class="group-select wide">
156
+ <h4 class="legend"><?php echo $this->__('Login Information') ?></h4>
157
+ <ul class="form-list">
158
+ <li>
159
+ <div class="col2-alt-set">
160
+ <div class="col-1"><label for="password"><?php echo $this->__('Password') ?> <span class="required">*</span></label></div>
161
+ <div class="col-2"><input type="password" name="password" id="password" title="<?php echo $this->__('Password') ?>" class="required-entry validate-password input-text" /></div>
162
+ </div><div class="clear"></div>
163
+ </li>
164
+ <li>
165
+ <div class="col2-alt-set">
166
+ <div class="col-1"><label for="confirmation"><?php echo $this->__('Confirm Password') ?> <span class="required">*</span></label></div>
167
+ <div class="col-2"><input type="password" name="confirmation" title="<?php echo $this->__('Confirm Password') ?>" id="confirmation" class="required-entry validate-cpassword input-text" /></div>
168
+ </div><div class="clear"></div>
169
+ </li>
170
+ </ul>
171
+ </fieldset>
172
+ <div class="col2-alt-set button-set">
173
+ <div class="col-1">
174
+ <p class="required"><?php echo $this->__('* Required Fields') ?></p>
175
+ </div>
176
+ <div class="col-2">
177
+ <div class="form-buttons">
178
+ <button class="form-button" type="submit"><span><?php echo $this->__('Submit') ?></span></button><br />
179
+ <a href="<?php echo $this->escapeUrl($this->getBackUrl()) ?>" class="left">&laquo; <?php echo $this->__('Back') ?></a>
180
+ </div>
181
+ </div>
182
+ </div><div class="clear"></div>
183
+ </form>
184
+ </div><br />
185
+ <script type="text/javascript">
186
+ var dataForm = new VarienForm('form-validate', true);
187
+ <?php if($this->getShowAddressFields()): ?>
188
+ new RegionUpdater('country', 'region', 'region_id', <?php echo $this->helper('directory')->getRegionJson() ?>, undefined, 'zip');
189
+ <?php endif ?>
190
+ </script>
app/design/frontend/default/iphone/template/customer/logout.phtml ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <div class="in-page">
28
+ <div class="page-head">
29
+ <h3><?php echo Mage::helper('customer')->__('You are now logged out') ?></h3>
30
+ </div>
31
+ <p><?php echo Mage::helper('customer')->__('You have logged out and will be redirected to our homepage in 5 seconds.') ?></p>
32
+ <br /><br />
33
+ </div>
34
+ <script type="text/javascript">
35
+ setTimeout(function(){ location.href = '<?php echo $this->getUrl() ?>'},5000);
36
+ </script>
app/design/frontend/default/iphone/template/customer/order/view.phtml ADDED
@@ -0,0 +1,89 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <div class="page-head">
28
+ <h3><?php echo $this->__('Order #%s (%s)', $order->getOrderId(), $order->getStatus()) ?></h3>
29
+ </div>
30
+
31
+ <div class="col2-set">
32
+ <div class="col-1">
33
+ <h4><?php echo $this->__('Billing Information') ?></h4>
34
+ <address>
35
+ <?php echo $order->getAddressByType('billing')->toString('{{firstname}} {{lastname}}<br/>{{street}}<br/>{{city}}, {{regionName}} {{postcode}}<br/>T:
36
+ {{telephone}}') ?>
37
+ </address>
38
+ </div>
39
+ <div class="col-2">
40
+ <h4><?php echo $this->__('Payment Method') ?></h4>
41
+ <?php echo $this->getChildHtml('payment') ?>
42
+ </div>
43
+ </div>
44
+ <p></p>
45
+ <div class="col2-set">
46
+ <div class="col-1">
47
+ <h4><?php echo $this->__('Shipping Information') ?></h4>
48
+ <address>
49
+ <?php echo $order->getAddressByType('shipping')->toString('{{firstname}} {{lastname}}<br/>{{street}}<br/>{{city}}, {{regionName}} {{postcode}}<br/>T:
50
+ {{telephone}}') ?>
51
+ </address></div>
52
+ <div class="col-2">
53
+ <h4><?php echo $this->__('Shipping Method') ?></h4>
54
+ <?php echo $order->getShippingDescription() ?>
55
+ </div>
56
+ </div>
57
+ <p></p>
58
+ <?php $_items = $order->getEntitiesByType('item') ?>
59
+ <table cellspacing="0" width="100%" class="data-table" id="my-orders-table">
60
+ <thead>
61
+ <tr>
62
+ <th><?php echo $this->__('Items Order') ?></th>
63
+ <th class="a-center"><?php echo $this->__('Qty') ?></th>
64
+ <th class="a-right"><?php echo $this->__('Price') ?></th>
65
+ <th class="a-right"><?php echo $this->__('Ext. Price') ?></th>
66
+ </tr>
67
+ </thead>
68
+ <tfoot>
69
+ <tr>
70
+ <td class="a-right" colspan="4">
71
+ <?php echo $this->__('Grand Total: %s', $order->getGrandTotal()) ?>
72
+ </td>
73
+ </tr>
74
+ </tfoot>
75
+ <tbody>
76
+ <?php foreach($_items as $_item): ?>
77
+ <tr>
78
+ <td><?php echo $this->htmlEscape($_item->getName()) ?></td>
79
+ <td class="a-center"><?php echo $_item->getQty() ?></td>
80
+ <td class="a-right"><?php echo $_item->getPrice() ?></td>
81
+ <td class="a-right"><?php echo $_item->getRowTotal() ?></td>
82
+ </tr>
83
+ <?php endforeach ?>
84
+ </tbody>
85
+ </table>
86
+ <script type="text/javascript">decorateTable('my-orders-table')</script>
87
+ <div class="button-set">
88
+ <a href="<?php echo $this->getUrl('customer/order/history') ?>" class="left">&laquo; <?php echo $this->__('Back') ?></a>
89
+ </div>
app/design/frontend/default/iphone/template/customer/orders.phtml ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+
28
+ <div class="page-head">
29
+ <h3><?php echo $this->__('My Orders') ?></h3>
30
+ </div>
31
+
32
+ <?php if($orders->getSize()): ?>
33
+ <table cellspacing="0" width="100%" class="data-table" id="my-orders-table" >
34
+ <thead>
35
+ <tr>
36
+ <th><?php echo $this->__('Order #') ?></th>
37
+ <th><?php echo $this->__('Date') ?></th>
38
+ <!--<th class="align-center">Shipped To</th>-->
39
+ <th class="a-right"><?php echo $this->__('Total') ?></th>
40
+ <th class="a-center"><?php echo $this->__('Status') ?></th>
41
+ <th ><?php echo $this->__('Details') ?></th>
42
+ </tr>
43
+ </thead>
44
+ <tbody>
45
+ <?php foreach ($orders as $order): ?>
46
+ <tr>
47
+ <td><?php echo $order->getRealOrderId() ?>&nbsp;</td>
48
+ <td><?php echo date("D, j M, Y", strtotime($order->getCreatedAt())) ?>&nbsp;</td>
49
+ <!--<td class="align-center">{$page.orders[io].customer}</td>-->
50
+ <td class="a-right"><?php echo $order->getGrandTotal() ?>&nbsp;</td>
51
+ <td class="a-center"><?php echo $order->getStatus() ?>&nbsp;</td>
52
+ <td><a href="<?php echo $this->getUrl('customer/order/view', array('order'=>$order->getOrderId())) ?>"><?php echo $this->__('View Order') ?></a>&nbsp;</td>
53
+ </tr>
54
+ <?php endforeach ?>
55
+ </tbody>
56
+ </table>
57
+ <script type="text/javascript">decorateTable('my-orders-table')</script>
58
+ <?php else: ?>
59
+ <p><?php echo $this->__('You have placed no orders yet.') ?></p>
60
+ <?php endif ?>
61
+ <div class="buttons-container">
62
+ <a href="<?php echo $this->getUrl('customer/account') ?>" class="float-left">&laquo; <?php echo $this->__('Back') ?></a>
63
+ </div>
app/design/frontend/default/iphone/template/customer/widget/dob.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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+
27
+ /**
28
+ USAGE:
29
+
30
+ Simple:
31
+
32
+ <?php echo $this->getLayout()->createBlock('customer/widget_dob')
33
+ ->setDate($this->getCustomer()->getDob())
34
+ ->toHtml() ?>
35
+
36
+ For checkout/onepage/billing.phtml:
37
+
38
+ <?php echo $this->getLayout()->createBlock('customer/widget_dob')
39
+ ->setDate($this->getCustomer()->getDob())
40
+ ->setFieldIdFormat('billing:%s')
41
+ ->setFieldNameFormat('billing[%s]')
42
+ ->toHtml() ?>
43
+
44
+ NOTE: Regarding styles - if we leave it this way, we'll move it to boxes.css
45
+ Alternatively we could calculate widths automatically using block input parameters.
46
+ */
47
+
48
+ /**
49
+ * @see Mage_Customer_Block_Widget_Dob
50
+ */
51
+ ?>
52
+ <div class="customer-dob">
53
+ <label for="<?php echo $this->getFieldId('day')?>">
54
+ <?php echo $this->__('Date of Birth') ?>
55
+ <?php if ($this->isRequired()):?><span class="required">*</span><?php endif ?>
56
+ </label>
57
+
58
+ <?php
59
+ $this->setDateInput('d',
60
+ '<div class="input-box dob-day">
61
+ <input type="text" id="' . $this->getFieldId('day') . '" name="' . $this->getFieldName('day') . '" value="' . $this->getDay() . '" title="' . $this->__('Day') . '" class="input-text validate-custom" ' . $this->getFieldParams() . ' />
62
+ <label for="' . $this->getFieldId('day') . '" class="label-dob">' . $this->__('DD') . '</label>
63
+ </div>'
64
+ );
65
+
66
+ $this->setDateInput('m',
67
+ '<div class="input-box dob-month">
68
+ <input type="text" id="' . $this->getFieldId('month') . '" name="' . $this->getFieldName('month') . '" value="' . $this->getMonth() . '" title="' . $this->__('Month') . '" class="input-text validate-custom" ' . $this->getFieldParams() . ' />
69
+ <label for="' . $this->getFieldId('month') . '" class="label-dob">' . $this->__('MM') . '</label>
70
+ </div>'
71
+ );
72
+
73
+ $this->setDateInput('y',
74
+ '<div class="input-box dob-year">
75
+ <input type="text" id="' . $this->getFieldId('year') . '" name="' . $this->getFieldName('year') . '" value="' . $this->getYear() . '" title="' . $this->__('Year') . '" class="input-text validate-custom" ' . $this->getFieldParams() . ' />
76
+ <label for="' . $this->getFieldId('year') . '" class="label-dob">' . $this->__('YYYY') . '</label>
77
+ </div>'
78
+ );
79
+ ?>
80
+ <?php echo $this->getSortedDateInputs() ?>
81
+
82
+ <div class="dob-full" style="display:none;">
83
+ <input type="hidden" id="<?php echo $this->getFieldId('dob')?>" name="<?php echo $this->getFieldName('dob')?>" />
84
+ </div>
85
+
86
+ <div class="clear"></div>
87
+
88
+ <div style="opacity: 0.999999; display:none;" class="validation-advice"></div>
89
+ </div>
90
+ <script type="text/javascript">
91
+ //<![CDATA[
92
+ var customer_dob = new Varien.DOB('.customer-dob', <?php echo $this->isRequired() ? 'true' : 'false' ?>, '<?php echo $this->getDateFormat() ?>');
93
+ //]]>
94
+ </script>
app/design/frontend/default/iphone/template/customer/widget/gender.phtml ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <label for="<?php echo $this->getFieldId('gender')?>"<?php if ($this->isRequired()) echo ' class="required"' ?>><?php if ($this->isRequired()) echo '<em>*</em>' ?><?php echo $this->__('Gender') ?></label>
28
+ <select id="<?php echo $this->getFieldId('gender')?>" name="<?php echo $this->getFieldName('gender')?>" class="<?php if ($this->isRequired()):?> validate-select<?php endif; ?>" <?php echo $this->getFieldParams() ?>">
29
+ <?php $options = Mage::getResourceSingleton('customer/customer')->getAttribute('gender')->getSource()->getAllOptions();?>
30
+ <?php $value = $this->getGender();?>
31
+ <?php foreach ($options as $option):?>
32
+ <option value="<?php echo $option['value'] ?>" <?php if ($option['value'] == $value) echo 'selected="selected"' ?>><?php echo $option['label'] ?></option>
33
+ <?php endforeach;?>
34
+ </select>
app/design/frontend/default/iphone/template/customer/widget/name.phtml ADDED
@@ -0,0 +1,120 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+
27
+ /**
28
+ USAGE:
29
+
30
+ Simple:
31
+
32
+ <?php echo $this->getLayout()->createBlock('customer/widget_name')
33
+ ->setObject($this->getAddress())
34
+ ->toHtml() ?>
35
+
36
+ For checkout/onepage/shipping.phtml:
37
+
38
+ <?php echo $this->getLayout()->createBlock('customer/widget_name')
39
+ ->setObject($this->getAddress())
40
+ ->setFieldIdFormat('shipping:%s')
41
+ ->setFieldNameFormat('shipping[%s]')
42
+ ->setFieldParams('onchange="shipping.setSameAsBilling(false);"')
43
+ ->toHtml() ?>
44
+ */
45
+ ?>
46
+ <div class="<?php echo $this->getContainerClassName()?>">
47
+ <?php if ($this->showPrefix()): ?>
48
+ <div class="input-box name-prefix">
49
+ <label for="<?php echo $this->getFieldId('prefix')?>">
50
+ <?php echo $this->__('Prefix') ?>
51
+ <?php if ($this->isPrefixRequired()):?><span class="required">*</span><?php endif ?>
52
+ </label>
53
+ <br />
54
+ <?php if ($this->getPrefixOptions()===false): ?>
55
+ <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="<?php if ($this->isPrefixRequired()):?>required-entry<?php endif ?> input-text" <?php echo $this->getFieldParams() ?> />
56
+ <?php else: ?>
57
+ <select id="<?php echo $this->getFieldId('prefix')?>" name="<?php echo $this->getFieldName('prefix')?>" title="<?php echo $this->__('Prefix') ?>"
58
+ <?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?>"
61
+ <?php if ($this->getObject()->getPrefix()==$_option):?>selected="selected"<?php endif ?>
62
+ ><?php echo $this->__($_option)?></option>
63
+ <?php endforeach ?>
64
+ </select>
65
+ <?php endif ?>
66
+ </div>
67
+ <?php endif ?>
68
+
69
+ <div class="input-box name-firstname">
70
+ <label for="<?php echo $this->getFieldId('firstname')?>">
71
+ <?php echo $this->__('First Name') ?>
72
+ <span class="required">*</span>
73
+ </label>
74
+ <br />
75
+ <input type="text" id="<?php echo $this->getFieldId('firstname')?>" name="<?php echo $this->getFieldName('firstname')?>" value="<?php echo $this->htmlEscape($this->getObject()->getFirstname()) ?>" title="<?php echo $this->__('First Name') ?>" class="required-entry input-text" <?php echo $this->getFieldParams() ?> />
76
+ </div>
77
+
78
+ <?php if ($this->showMiddlename()): ?>
79
+ <div class="input-box name-middlename">
80
+ <label for="<?php echo $this->getFieldId('middlename')?>">
81
+ <?php echo $this->__('M.I.') ?>
82
+ </label>
83
+ <br />
84
+ <input type="text" id="<?php echo $this->getFieldId('middlename')?>" name="<?php echo $this->getFieldName('middlename')?>" value="<?php echo $this->htmlEscape($this->getObject()->getMiddlename()) ?>" title="<?php echo $this->__('M.I.') ?>" class="input-text" <?php echo $this->getFieldParams() ?> />
85
+ </div>
86
+ <?php endif ?>
87
+
88
+ <div class="input-box name-lastname">
89
+ <label for="<?php echo $this->getFieldId('lastname')?>">
90
+ <?php echo $this->__('Last Name') ?>
91
+ <span class="required">*</span>
92
+ </label>
93
+ <br />
94
+ <input type="text" id="<?php echo $this->getFieldId('lastname')?>" name="<?php echo $this->getFieldName('lastname')?>" value="<?php echo $this->htmlEscape($this->getObject()->getLastname()) ?>" title="<?php echo $this->__('Last Name') ?>" class="required-entry input-text" <?php echo $this->getFieldParams() ?> />
95
+ </div>
96
+
97
+ <?php if ($this->showSuffix()): ?>
98
+ <div class="input-box name-suffix">
99
+ <label for="<?php echo $this->getFieldId('suffix')?>">
100
+ <?php echo $this->__('Suffix') ?>
101
+ <?php if ($this->isSuffixRequired()):?><span class="required">*</span><?php endif ?>
102
+ </label>
103
+ <br />
104
+ <?php if ($this->getSuffixOptions()===false): ?>
105
+ <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="<?php if ($this->isSuffixRequired()):?>required-entry<?php endif ?> input-text"
106
+ <?php echo $this->getFieldParams() ?> />
107
+ <?php else: ?>
108
+ <select id="<?php echo $this->getFieldId('suffix')?>" name="<?php echo $this->getFieldName('suffix')?>" title="<?php echo $this->__('Suffix') ?>"
109
+ <?php if ($this->isSuffixRequired()):?>class="required-entry"<?php endif ?> <?php echo $this->getFieldParams() ?> />
110
+ <?php foreach ($this->getSuffixOptions() as $_option): ?>
111
+ <option value="<?php echo $_option?>"
112
+ <?php if ($this->getObject()->getSuffix()==$_option):?>selected="selected"<?php endif ?>
113
+ ><?php echo $this->__($_option)?></option>
114
+ <?php endforeach ?>
115
+ </select>
116
+ <?php endif ?>
117
+ </div>
118
+ <?php endif ?>
119
+
120
+ </div>
app/design/frontend/default/iphone/template/customer/widget/taxvat.phtml ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+
28
+ <div class="col2-alt-set">
29
+ <div class="col-1">
30
+ <label for="<?php echo $this->getFieldId('taxvat')?>">
31
+ <?php echo $this->__('Tax/VAT number') ?>
32
+ <?php if ($this->isRequired()):?><span class="required">*</span><?php endif ?>
33
+ </label>
34
+ </div>
35
+ <div class="col-2">
36
+ <input type="text" id="<?php echo $this->getFieldId('taxvat')?>" name="<?php echo $this->getFieldName('taxvat')?>" value="<?php echo $this->htmlEscape($this->getTaxvat()) ?>" class="<?php if ($this->isRequired()):?>required-entry<?php endif?> input-text" <?php echo $this->getFieldParams() ?> />
37
+ </div>
38
+ <div class="clear"></div>
39
+ </div>
app/design/frontend/default/iphone/template/customer/wishlist.phtml ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+
28
+ <h2><?php echo $this->__('Wishlist') ?></h2>
29
+ <?php if($wishlist->getSize()): ?>
30
+ <form action="<?php echo $this->getUrl('customer/wishlist/updatePost') ?>" method="post">
31
+ <table cellspacing="0" width="100%" class="data-table">
32
+ <tr>
33
+ <th class="align-left"><?php echo $this->__('Product') ?></th>
34
+ <th style="width:60px;" class="align-center"><?php echo $this->__('Status') ?></th>
35
+ <th style="width:60px;" class="align-center"><?php echo $this->__('To Cart') ?></th>
36
+ <th style="width:60px;" class="align-center"><?php echo $this->__('Remove') ?></th>
37
+ </tr>
38
+ <?php foreach($wishlist as $item): ?>
39
+ <tr>
40
+ <td>
41
+ <input type="hidden" value="1" name="wishlist[<?php echo $item->getItemId() ?>]" />
42
+ <a href="<?php echo $this->getUrl('catalog/product/view/id/'.$item->getProduct()->getId()) ?>"><?php echo $this->htmlEscape($item->getProduct()->getName()) ?></a>
43
+ </td>
44
+ <td class="align-center"><?php echo $item->getStatus() ?></td>
45
+ <td class="align-center"><input type="checkbox" value="1" name="to_cart[<?php echo $item->getItemId() ?>]" /></td>
46
+ <td class="align-center"><input type="checkbox" value="1" name="remove[<?php echo $item->getItemId() ?>]" /></td>
47
+ </tr>
48
+ <?php endforeach ?>
49
+ </table>
50
+ <div class="buttons-container">
51
+ <a href="<?php echo Mage::getBaseUrl() ?>" class="float-left">&laquo; <?php echo $this->__('Continue Shopping') ?></a>
52
+ <input type="submit" value="<?php echo $this->__('Update') ?>" class="input-button" name="do" />
53
+ </div>
54
+ </form>
55
+ <?php else: ?>
56
+ <p><?php echo $this->__('You have placed no products yet.') ?></p>
57
+ <div class="button-set">
58
+ <a href="<?php echo $this->getUrl('customer/account') ?>" class="left">&laquo; Back - link to the previously viewed page</a>
59
+ </div>
60
+ <?php endif ?>
app/design/frontend/default/iphone/template/giftmessage/form.phtml ADDED
@@ -0,0 +1,81 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <script type="text/javascript" src="<?php echo $this->getSkinUrl('js/giftmessage.js') ?>"></script>
28
+ <?php if(!$this->getSaveMode()): ?>
29
+ <div class="page-head button-level">
30
+ <h3><?php echo $this->__('Gift Message') ?></h3>
31
+ </div>
32
+ <form action="<?php echo $this->getSaveUrl() ?>" id="message-form" method="post">
33
+ <ul class="form-list a-left">
34
+ <li>
35
+ <div class="input-box">
36
+ <label for="sender"><?php echo $this->__('From') ?> <span class="required">*</span></label><br />
37
+ <input type="text" name="sender" value="<?php echo $this->getEscaped($this->getMessage()->getSender()) ?>" title="<?php echo $this->__('From') ?>" class="required-entry input-text" />
38
+ </div>
39
+ </li>
40
+ <li>
41
+ <div class="input-box">
42
+ <label for="recipient"><?php echo $this->__('To') ?> <span class="required">*</span></label><br />
43
+ <input type="text" name="recipient" value="<?php echo $this->getEscaped($this->getMessage()->getRecipient()) ?>" title="<?php echo $this->__('To') ?>" class="required-entry input-text" />
44
+ </div>
45
+ </li>
46
+ <li>
47
+ <div class="input-box">
48
+ <label for="email_address"><?php echo $this->__('Message') ?> <span class="required">*</span></label><br />
49
+ <textarea name="messagetext" title="<?php echo $this->__('Message') ?>" class="required-entry input-text" cols="60" rows="5"><?php echo $this->getEscaped($this->getMessage()->getMessage()) ?></textarea>
50
+ </div>
51
+ </li>
52
+ </ul>
53
+ <div class="button-set">
54
+ <p class="required"><?php echo $this->__('* Required Fields') ?></p>
55
+ <button class="form-button" type="submit" name="send"><span><?php echo $this->__('Save') ?></span></button> &nbsp;
56
+ <button class="form-button listen-cancel" type="button"><span><?php echo $this->__('Cancel') ?></span></button>
57
+ <?php if($this->getMessage()->getGiftMessageId()): ?>
58
+ <button class="form-button listen-remove" type="button"><span><?php echo $this->__('Remove') ?></span></button>
59
+ <?php endif; ?>
60
+ </div>
61
+ </form>
62
+ <?php elseif($this->getSaveMode()=='save'): ?>
63
+ <h3><?php echo $this->__('The gift message has been saved.') ?></h3>
64
+ <br /><button class="form-button" type="button" onclick="giftMessageWindowObject.close()"><span><?php echo $this->__('Close') ?></span></button>
65
+ <?php else: ?>
66
+ <h3><?php echo $this->__('The gift message has been removed.') ?></h3>
67
+ <br /><button class="form-button" type="button" onclick="giftMessageWindowObject.close()"><span><?php echo $this->__('Close') ?></span></button>
68
+ <?php endif; ?>
69
+ <script type="text/javascript">
70
+ <!--
71
+ <?php if(!$this->getSaveMode()): ?>
72
+ var giftMessageWindowObject = new GiftMessageWindow('<?php echo $this->getUniqueId() ?>','message-form', '<?php echo $this->getRemoveUrl() ?>');
73
+ giftMessageWindowObject.confirmMessage = '<?php echo $this->getEscapedForJs($this->__('Are you sure?')) ?>';
74
+ <?php else: ?>
75
+ var giftMessageWindowObject = new GiftMessageWindow('<?php echo $this->getUniqueId() ?>', null, '<?php echo $this->getRemoveUrl() ?>');
76
+ Event.observe(window, 'load', function(evt) {
77
+ giftMessageWindowObject.updateParent('<?php echo $this->getEditUrl() ?>', '<?php echo $this->getButtonUrl() ?>');
78
+ });
79
+ <?php endif; ?>
80
+ //-->
81
+ </script>
app/design/frontend/default/iphone/template/giftmessage/helper.phtml ADDED
@@ -0,0 +1,80 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php if(!$this->getScriptIncluded() && $this->getCanDisplayContainer()): ?>
28
+ <script type="text/javascript" src="<?php echo $this->getSkinUrl('js/giftmessage.js') ?>"></script>
29
+ <?php $this->setScriptIncluded(true); ?>
30
+ <?php endif; ?>
31
+ <?php if($this->getCanDisplayContainer()): ?>
32
+ <div id="<?php echo $this->getId() ?>">
33
+ <?php endif; ?>
34
+ <?php switch ($this->getType()): ?>
35
+ <?php case 'item': ?>
36
+ <button class="form-button-alt listen-for-click" type="button"><span>
37
+ <?php if($this->hasGiftMessage()): ?>
38
+ <?php echo $this->__('Edit') ?>
39
+ <?php else: ?>
40
+ <?php echo $this->__('Add') ?>
41
+ <?php endif; ?>
42
+ </span></button>
43
+ <?php break; ?>
44
+ <?php case 'main': ?>
45
+ <a href="#" class="listen-for-click">
46
+ <?php if($this->hasGiftMessage()): ?>
47
+ <?php echo $this->__('Edit Gift Message') ?>
48
+ <?php else: ?>
49
+ <?php echo $this->__('Add Gift Message') ?>
50
+ <?php endif; ?>
51
+ </a>
52
+ <?php break; ?>
53
+ <?php case 'address': ?>
54
+ <a href="#" class="listen-for-click">
55
+ <?php if($this->hasGiftMessage()): ?>
56
+ <?php echo $this->__('Edit Gift Message') ?>
57
+ <?php else: ?>
58
+ <?php echo $this->__('Add Gift Message') ?>
59
+ <?php endif; ?>
60
+ </a>
61
+ <?php break; ?>
62
+ <?php case 'address_item': ?>
63
+ <button class="form-button-alt listen-for-click" type="button"><span>
64
+ <?php if($this->hasGiftMessage()): ?>
65
+ <?php echo $this->__('Edit') ?>
66
+ <?php else: ?>
67
+ <?php echo $this->__('Add') ?>
68
+ <?php endif; ?>
69
+ </span></button>
70
+ <?php break; ?>
71
+ <?php endswitch ?>
72
+ <?php if($this->getCanDisplayContainer()): ?>
73
+ </div>
74
+ <script type="text/javascript">
75
+ <!--
76
+ var <?php echo $this->getJsObjectName() ?> = new GiftMessage('<?php echo $this->getId() ?>');
77
+ <?php echo $this->getJsObjectName() ?>.url = '<?php echo $this->getEditUrl() ?>';
78
+ //-->
79
+ </script>
80
+ <?php endif; ?>
app/design/frontend/default/iphone/template/giftmessage/inline.phtml ADDED
@@ -0,0 +1,266 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php if(!$this->getDontDisplayContainer()): ?>
28
+ <script type="text/javascript">
29
+ <!--
30
+ if(!window.toogleVisibilityOnObjects) {
31
+ var toogleVisibilityOnObjects = function(source, objects) {
32
+ if($(source) && $(source).checked) {
33
+ objects.each(function(item){
34
+ $(item).show();
35
+ $$('#' + item + ' .input-text').each(function(item) {
36
+ item.removeClassName('validation-passed');
37
+ });
38
+ });
39
+
40
+
41
+ } else {
42
+ objects.each(function(item){
43
+ $(item).hide();
44
+ $$('#' + item + ' .input-text').each(function(sitem) {
45
+ sitem.addClassName('validation-passed');
46
+ });
47
+
48
+ $$('#' + item + ' .giftmessage-area').each(function(sitem) {
49
+ sitem.value = '';
50
+ });
51
+ });
52
+
53
+ }
54
+
55
+ }
56
+ }
57
+ if(!window.toogleRequired) {
58
+ var toogleRequired = function (source, objects)
59
+ {
60
+ if(!$(source).value.blank()) {
61
+ objects.each(function(item) {
62
+ $(item).addClassName('required-entry');
63
+ });
64
+ } else {
65
+ objects.each(function(item) {
66
+ if(shippingMethod && shippingMethod.validator) {
67
+ shippingMethod.validator.reset(item);
68
+ }
69
+ $(item).removeClassName('required-entry');
70
+ });
71
+
72
+ }
73
+ }
74
+ }
75
+ if(window.shipping) {
76
+
77
+ shipping.onSave = function(evt){
78
+ new Ajax.Updater('onepage-checkout-shipping-method-additional-load', '<?php echo $this->getAdditionalUrl(); ?>', {onSuccess: function() {
79
+ this.nextStep(evt);
80
+ }.bind(this), evalScripts:true});
81
+ }.bindAsEventListener(shipping);
82
+
83
+ billing.onSave = function(evt){
84
+ new Ajax.Updater('onepage-checkout-shipping-method-additional-load', '<?php echo $this->getAdditionalUrl(); ?>', {onSuccess: function() {
85
+ this.nextStep(evt);
86
+ }.bind(this), evalScripts:true});
87
+ }.bindAsEventListener(billing);
88
+
89
+ }
90
+ //-->
91
+ </script>
92
+ <?php endif ?>
93
+ <div class="giftmessages">
94
+ <?php switch ($this->getType()): ?>
95
+ <?php case 'onepage_checkout': ?>
96
+ <div class="inner-box">
97
+ <span class="gift-header"><?php echo $this->__('Do you have any gift items in your order?'); ?></span>
98
+ <div class="clear"></div>
99
+ <div class="a-left input-checkbox">
100
+ <input type="checkbox" name="allow_gift_messages" id="allow_gift_messages" value="1" onclick="toogleVisibilityOnObjects(this, ['allow-gift-message-container']);" <?php if($this->getItemsHasMesssages() || $this->getEntityHasMessage()): ?>checked="checked"<?php endif ?> />
101
+ <label for="allow_gift_messages"><?php echo $this->__('Check this checkbox if you want to add gift messages.') ?></label>
102
+ </div>
103
+ <div class="clear"></div>
104
+ </div>
105
+ <div class="gift-box" id="allow-gift-message-container">
106
+ <div class="scroll-box">
107
+ <?php if (Mage::helper('giftmessage/message')->isMessagesAvailable('quote', $this->getEntity())): ?>
108
+ <span class="gift-header"><?php echo $this->__('Enter a gift message for entire order.'); ?></span>
109
+ <p><?php echo $this->__('You can leave a box blank if you don\'t wish to add a gift message for whole order.') ?></p>
110
+ <fieldset class="group-select">
111
+ <input type="hidden" name="giftmessage[<?php echo $this->getEntity()->getId() ?>][type]" value="quote" />
112
+ <ul class="no-padding">
113
+ <li>
114
+ <div class="input-box">
115
+ <label for="gift-message-whole-from"><?php echo $this->__('From') ?></label><br />
116
+ <input type="text" name="giftmessage[<?php echo $this->getEntity()->getId() ?>][from]" id="gift-message-whole-from" title="<?php echo $this->__('From') ?>" value="<?php echo $this->getEscaped($this->getMessage()->getSender(), $this->getDefaultFrom()) ?>" class="input-text validation-passed" />
117
+ </div>
118
+ <div class="input-box">
119
+ <label for="gift-message-whole-to"><?php echo $this->__('To') ?></label><br />
120
+ <input type="text" name="giftmessage[<?php echo $this->getEntity()->getId() ?>][to]" id="gift-message-whole-to" title="<?php echo $this->__('To') ?>" value="<?php echo $this->getEscaped($this->getMessage()->getRecipient(), $this->getDefaultTo()) ?>" class="input-text validation-passed" />
121
+ </div>
122
+ </li>
123
+ <li>
124
+ <label for="gift-message-whole-message"><?php echo $this->__('Message') ?></label>
125
+ <br/>
126
+ <textarea id="gift-message-whole-message" onchange="toogleRequired('gift-message-whole-message', ['gift-message-whole-from','gift-message-whole-to'])" class="input-text validation-passed giftmessage-area" name="giftmessage[<?php echo $this->getEntity()->getId() ?>][message]" title="<?php echo $this->__('Message') ?>" rows="5" cols="40"><?php echo $this->getEscaped($this->getMessage()->getMessage()) ?></textarea>
127
+ </li>
128
+ </ul>
129
+ <script type="text/javascript">
130
+ toogleRequired('gift-message-whole-message', ['gift-message-whole-from','gift-message-whole-to']);
131
+ </script>
132
+ </fieldset>
133
+ <?php endif; ?>
134
+ <?php if($this->isItemsAvailable()): ?>
135
+ <span class="gift-header"><?php echo $this->__('Enter a gift message for each item in your order.'); ?></span><div class="clear"></div>
136
+ <p><?php echo $this->__('You can leave a box blank if you don\'t wish to add a gift message for the item.') ?></p>
137
+ <?php foreach($this->getItems() as $_index=>$_item): ?>
138
+ <?php $_product=$_item->getProduct() ?>
139
+ <div class="left">
140
+ <img width="75" class="product-image" src="<?php echo $this->helper('catalog/image')->init($_product, 'thumbnail')->resize(75); ?>" alt="<?php echo $this->htmlEscape($_product->getName()) ?>" /><br />
141
+ <span class="numeration"><?php echo $this->__('Item %d of %d', $_index+1, $this->countItems()) ?></span>
142
+ </div>
143
+ <div class="left">
144
+ <h5 class="giftmessage-product-info"><?php echo $this->htmlEscape($_product->getName()) ?></h5>
145
+ <fieldset class="group-select">
146
+ <input type="hidden" name="giftmessage[<?php echo $_item->getId() ?>][type]" value="quote_item"/>
147
+ <ul class="no-padding">
148
+ <li>
149
+ <div class="input-box">
150
+ <label for="gift-message-<?php echo $_item->getId() ?>-from"><?php echo $this->__('From') ?></label><br />
151
+ <input type="text" name="giftmessage[<?php echo $_item->getId() ?>][from]" id="gift-message-<?php echo $_item->getId() ?>-from" title="<?php echo $this->__('From') ?>" value="<?php echo $this->getEscaped($this->getMessage($_item)->getSender(), $this->getDefaultFrom()) ?>" class="input-text validation-passed" />
152
+ </div>
153
+ <div class="input-box">
154
+ <label for="gift-message-<?php echo $_item->getId() ?>-to"><?php echo $this->__('To') ?></label><br />
155
+ <input type="text" name="giftmessage[<?php echo $_item->getId() ?>][to]" id="gift-message-<?php echo $_item->getId() ?>-to" title="<?php echo $this->__('To') ?>" value="<?php echo $this->getEscaped($this->getMessage($_item)->getRecipient(), $this->getDefaultTo()) ?>" class="input-text validation-passed" />
156
+ </div>
157
+ </li>
158
+ <li>
159
+ <label for="gift-message-<?php echo $_item->getId() ?>-message"><?php echo $this->__('Message') ?></label>
160
+ <br/>
161
+ <textarea id="gift-message-<?php echo $_item->getId() ?>-message" onchange="toogleRequired('gift-message-<?php echo $_item->getId() ?>-message', ['gift-message-<?php echo $_item->getId() ?>-from','gift-message-<?php echo $_item->getId() ?>-to'])" class="input-text validation-passed giftmessage-area" name="giftmessage[<?php echo $_item->getId() ?>][message]" title="<?php echo $this->__('Message') ?>" rows="5" cols="40"><?php echo $this->getEscaped($this->getMessage($_item)->getMessage()) ?></textarea>
162
+ </li>
163
+ </ul>
164
+ <script type="text/javascript">
165
+ toogleRequired('gift-message-<?php echo $_item->getId() ?>-message', ['gift-message-<?php echo $_item->getId() ?>-from','gift-message-<?php echo $_item->getId() ?>-to']);
166
+ </script>
167
+ </fieldset>
168
+ </div>
169
+ <div class="clear"></div>
170
+ <?php endforeach; ?>
171
+ <?php endif; ?>
172
+ </div>
173
+ </div>
174
+ <script type="text/javascript">
175
+ toogleVisibilityOnObjects('allow_gift_messages', ['allow-gift-message-container']);
176
+ </script>
177
+ <?php break; ?>
178
+ <?php case 'multishipping_adress_checkbox': ?>
179
+
180
+ <?php break; ?>
181
+ <?php case 'multishipping_adress': ?>
182
+ <br />
183
+ <div class="inner-box">
184
+ <span class="gift-header"><?php echo $this->__('Gift Messages'); ?></span>
185
+ <div class="clear"></div>
186
+ <div class="a-left input-checkbox">
187
+ <input type="checkbox" name="allow_gift_messages_<?php echo $this->getEntity()->getId() ?>" id="allow_gift_messages_<?php echo $this->getEntity()->getId() ?>" value="1" onclick="toogleVisibilityOnObjects(this, ['allow-gift-message-container-<?php echo $this->getEntity()->getId() ?>']);" <?php if($this->getItemsHasMesssages() || $this->getEntityHasMessage()): ?>checked="checked"<?php endif ?> />
188
+ <label for="allow_gift_messages_<?php echo $this->getEntity()->getId() ?>"><?php echo $this->__('Check this checkbox if you want to add gift messages to your items.') ?></label>
189
+ </div>
190
+ <div class="clear"></div>
191
+ </div>
192
+ <div id="allow-gift-message-container-<?php echo $this->getEntity()->getId() ?>">
193
+ <?php if (Mage::helper('giftmessage/message')->isMessagesAvailable('quote', $this->getEntity())): ?>
194
+ <span class="gift-header"><?php echo $this->__('Enter a gift message for this address.'); ?></span>
195
+ <p><?php echo $this->__('You can leave a box blank if you don\'t wish to add a gift message for this address.') ?></p>
196
+ <fieldset class="group-select no-border no-padding">
197
+ <input type="hidden" name="giftmessage[<?php echo $this->getEntity()->getId() ?>][type]" value="quote_address" />
198
+ <ul class="no-padding">
199
+ <li>
200
+ <div class="input-box">
201
+ <label for="gift-message-<?php echo $this->getEntity()->getId() ?>-from"><?php echo $this->__('From') ?></label><br />
202
+ <input type="text" name="giftmessage[<?php echo $this->getEntity()->getId() ?>][from]" id="gift-message-<?php echo $this->getEntity()->getId() ?>-from" title="<?php echo $this->__('From') ?>" value="<?php echo $this->getEscaped($this->getMessage()->getSender(), $this->getDefaultFrom()) ?>" class="input-text validation-passed" />
203
+ </div>
204
+ <div class="input-box">
205
+ <label for="gift-message-<?php echo $this->getEntity()->getId() ?>-to"><?php echo $this->__('To') ?></label><br />
206
+ <input type="text" name="giftmessage[<?php echo $this->getEntity()->getId() ?>][to]" id="gift-message-<?php echo $this->getEntity()->getId() ?>-to" title="<?php echo $this->__('To') ?>" value="<?php echo $this->getEscaped($this->getMessage()->getRecipient(), $this->getDefaultTo()) ?>" class="input-text validation-passed" />
207
+ </div>
208
+ </li>
209
+ <li>
210
+ <label for="gift-message-<?php echo $this->getEntity()->getId() ?>-message"><?php echo $this->__('Message') ?></label>
211
+ <br />
212
+ <textarea id="gift-message-<?php echo $this->getEntity()->getId() ?>-message" onchange="toogleRequired('gift-message-<?php echo $this->getEntity()->getId() ?>-message', ['gift-message-<?php echo $this->getEntity()->getId() ?>-from','gift-message-<?php echo $this->getEntity()->getId() ?>-to'])" class="input-text validation-passed giftmessage-area" name="giftmessage[<?php echo $this->getEntity()->getId() ?>][message]" title="<?php echo $this->__('Message') ?>" rows="5" cols="40"><?php echo $this->getEscaped($this->getMessage()->getMessage()) ?></textarea>
213
+ </li>
214
+ </ul>
215
+ <script type="text/javascript">
216
+ var shippingMethod = new VarienForm('shipping_method_form');
217
+ toogleRequired('gift-message-<?php echo $this->getEntity()->getId() ?>-message', ['gift-message-<?php echo $this->getEntity()->getId() ?>-from','gift-message-<?php echo $this->getEntity()->getId() ?>-to']);
218
+ </script>
219
+ </fieldset>
220
+ <?php endif; ?>
221
+ <?php if($this->isItemsAvailable()): ?>
222
+ <span class="gift-header"><?php echo $this->__('Enter a gift message for each item in your order.'); ?></span><div class="clear"></div>
223
+ <p><?php echo $this->__('You can leave a box blank if you don\'t wish to add a gift message for the item.') ?></p>
224
+ <?php foreach($this->getItems() as $_index=>$_item): ?>
225
+ <?php $_product=$_item->getProduct() ?>
226
+ <div class="left">
227
+ <img width="75" class="product-image" src="<?php echo $this->helper('catalog/image')->init($_product, 'small_image')->resize(75); ?>" alt="<?php echo $this->htmlEscape($_product->getName()) ?>" /><br />
228
+ <span class="numeration"><?php echo $this->__('Item %d of %d', $_index+1, $this->countItems()) ?></span>
229
+ </div>
230
+ <div class="left">
231
+ <h5 class="giftmessage-product-info"><?php echo $this->htmlEscape($_product->getName()) ?></h5>
232
+ <fieldset class="group-select no-padding no-border">
233
+ <input type="hidden" name="giftmessage[<?php echo $_item->getId() ?>][type]" value="quote_address_item"/>
234
+ <input type="hidden" name="giftmessage[<?php echo $_item->getId() ?>][address]" value="<?php echo $this->getEntity()->getId()?>" />
235
+ <ul class="no-padding">
236
+ <li>
237
+ <div class="input-box">
238
+ <label for="gift-message-<?php echo $_item->getId() ?>-from"><?php echo $this->__('From') ?></label><br />
239
+ <input type="text" name="giftmessage[<?php echo $_item->getId() ?>][from]" id="gift-message-<?php echo $_item->getId() ?>-from" title="<?php echo $this->__('From') ?>" value="<?php echo $this->getEscaped($this->getMessage($_item)->getSender(), $this->getDefaultFrom()) ?>" class="input-text validation-passed" />
240
+ </div>
241
+ <div class="input-box">
242
+ <label for="gift-message-<?php echo $_item->getId() ?>-to"><?php echo $this->__('To') ?></label><br />
243
+ <input type="text" name="giftmessage[<?php echo $_item->getId() ?>][to]" id="gift-message-<?php echo $_item->getId() ?>-to" title="<?php echo $this->__('To') ?>" value="<?php echo $this->getEscaped($this->getMessage($_item)->getRecipient(), $this->getDefaultTo()) ?>" class="input-text validation-passed" />
244
+ </div>
245
+ </li>
246
+ <li>
247
+ <label for="gift-message-<?php echo $_item->getId() ?>-message"><?php echo $this->__('Message') ?></label>
248
+ <br />
249
+ <textarea id="gift-message-<?php echo $_item->getId() ?>-message" onchange="toogleRequired('gift-message-<?php echo $_item->getId() ?>-message', ['gift-message-<?php echo $_item->getId() ?>-from','gift-message-<?php echo $_item->getId() ?>-to'])" class="input-text validation-passed giftmessage-area" name="giftmessage[<?php echo $_item->getId() ?>][message]" title="<?php echo $this->__('Message') ?>" rows="5" cols="40"><?php echo $this->getEscaped($this->getMessage($_item)->getMessage()) ?></textarea>
250
+ </li>
251
+ </ul>
252
+ <script type="text/javascript">
253
+ toogleRequired('gift-message-<?php echo $_item->getId() ?>-message', ['gift-message-<?php echo $_item->getId() ?>-from','gift-message-<?php echo $_item->getId() ?>-to']);
254
+ </script>
255
+ </fieldset>
256
+ </div>
257
+ <div class="clear"></div>
258
+ <?php endforeach; ?>
259
+ <?php endif; ?>
260
+ </div>
261
+ <script type="text/javascript">
262
+ toogleVisibilityOnObjects('allow_gift_messages_<?php echo $this->getEntity()->getId() ?>', ['allow-gift-message-container-<?php echo $this->getEntity()->getId() ?>']);
263
+ </script>
264
+ <?php break; ?>
265
+ <?php endswitch ?>
266
+ </div>
app/design/frontend/default/iphone/template/googlecheckout/link.phtml ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php if ($this->getIsDisabled()): ?>
28
+ <img src="<?php echo $this->htmlEscape($this->getImageUrl())?>" alt="<?php echo Mage::helper('googlecheckout')->__('Fast checkout through Google');?>" />
29
+ <?php else: ?>
30
+ <form method="post" action="<?php echo $this->getCheckoutUrl();?>"<?php if($this->getIsActiveAanalytics()):?> onsubmit="setUrchinInputCode(pageTracker)"<?php endif;?>>
31
+ <fieldset>
32
+ <input type="hidden" name="analyticsdata" value="" />
33
+ <input type="image" src="<?php echo $this->htmlEscape($this->getImageUrl())?>" alt="<?php echo Mage::helper('googlecheckout')->__('Fast checkout through Google');?>" />
34
+ </fieldset>
35
+ </form>
36
+ <?php endif; ?>
app/design/frontend/default/iphone/template/newsletter/subscribe.phtml ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <div class="box base-mini mini-newsletter">
28
+ <div class="head">
29
+ <h4><?php echo $this->__('Newsletter') ?><a name="newsletter-box"></a></h4>
30
+ </div>
31
+ <form action="<?php echo $this->getFormActionUrl() ?>" method="post" id="newsletter-validate-detail">
32
+ <fieldset class="content">
33
+ <legend><?php echo $this->__('Newsletter') ?></legend>
34
+ <label for="newsletter"><?php echo $this->__('Sign up for our newsletter:') ?></label>
35
+ <input name="email" type="text" id="newsletter" class="required-entry validate-email input-text" />
36
+ <button type="submit" class="form-button-alt"><span><?php echo $this->__('Subscribe') ?></span></button>
37
+ </fieldset>
38
+ </form>
39
+ <script type="text/javascript">
40
+ <!--
41
+ var newsletterSubscriberFormDetail = new VarienForm('newsletter-validate-detail');
42
+ //-->
43
+ </script>
44
+ </div>
app/design/frontend/default/iphone/template/page/1column.phtml ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php
28
+ /**
29
+ * Template for Mage_Page_Block_Html
30
+ */
31
+ ?>
32
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
33
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
34
+ <head>
35
+ <?php echo $this->getChildHtml('head') ?>
36
+ </head>
37
+ <body home="index.php" class="mage-iphone" onload="setTimeout(scrollTo, 0, 0, 1)">
38
+ <?php echo $this->getChildHtml('after_body_start') ?>
39
+ <?php echo $this->getChildHtml('global_notices') ?>
40
+ <div class="header">
41
+ <?php echo $this->getChildHtml('header') ?>
42
+ </div>
43
+ <div class="middle-container">
44
+ <div class="middle col-1-layout">
45
+ <div style="margin-bottom:7px;">
46
+ <?php echo $this->getChildHtml('breadcrumbs') ?>
47
+ <div class="clear"></div>
48
+ </div>
49
+ <div class="clear"></div>
50
+ <div id="main" class="col-main">
51
+ <?php echo $this->getChildHtml('content') ?>
52
+ </div>
53
+ </div>
54
+ </div>
55
+ <div class="footer-container">
56
+ <div class="footer">
57
+ <?php echo $this->getChildHtml('footer') ?>
58
+ </div>
59
+ </div>
60
+ <?php echo $this->getChildHtml('before_body_end') ?>
61
+ <?php echo $this->getAbsoluteFooter() ?>
62
+ </body>
63
+ </html>
app/design/frontend/default/iphone/template/page/2columns-left.phtml ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php
28
+ /**
29
+ * Template for Mage_Page_Block_Html
30
+ */
31
+ ?>
32
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
33
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
34
+ <head>
35
+ <?php echo $this->getChildHtml('head') ?>
36
+ </head>
37
+ <body home="index.php" class="mage-iphone" onload="setTimeout(scrollTo, 0, 0, 1)">
38
+ <?php echo $this->getChildHtml('after_body_start') ?>
39
+ <?php echo $this->getChildHtml('global_notices') ?>
40
+ <div class="header">
41
+ <?php echo $this->getChildHtml('header') ?>
42
+ </div>
43
+ <div class="middle-container">
44
+ <div class="middle col-1-layout">
45
+ <div style="margin-bottom:7px;">
46
+ <?php echo $this->getChildHtml('breadcrumbs') ?>
47
+ <div class="clear"></div>
48
+ </div>
49
+ <div id="main" class="col-main">
50
+ <?php echo $this->getChildHtml('content') ?>
51
+ </div>
52
+ </div>
53
+ </div>
54
+ <div class="footer-container">
55
+ <div class="footer">
56
+ <?php echo $this->getChildHtml('footer') ?>
57
+ </div>
58
+ </div>
59
+ <?php echo $this->getChildHtml('before_body_end') ?>
60
+ <?php echo $this->getAbsoluteFooter() ?>
61
+ </body>
62
+ </html>
app/design/frontend/default/iphone/template/page/2columns-right.phtml ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+
27
+ /**
28
+ * Template for Mage_Page_Block_Html
29
+ */
30
+ ?>
31
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
32
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
33
+ <head>
34
+ <?php echo $this->getChildHtml('head') ?>
35
+ </head>
36
+ <body home="index.php" class="mage-iphone" onload="setTimeout(scrollTo, 0, 0, 1)">
37
+ <?php echo $this->getChildHtml('after_body_start') ?>
38
+ <?php echo $this->getChildHtml('global_notices') ?>
39
+ <div class="header">
40
+ <?php echo $this->getChildHtml('header') ?>
41
+ </div>
42
+ <div class="middle-container">
43
+ <div class="middle col-1-layout">
44
+ <div style="margin-bottom:7px;">
45
+ <?php echo $this->getChildHtml('breadcrumbs') ?>
46
+ <div class="clear"></div>
47
+ </div>
48
+ <div id="main" class="col-main">
49
+ <?php echo $this->getChildHtml('content') ?>
50
+ </div>
51
+ </div>
52
+ </div>
53
+ <div class="footer-container">
54
+ <div class="footer">
55
+ <?php echo $this->getChildHtml('footer') ?>
56
+ </div>
57
+ </div>
58
+ <?php echo $this->getChildHtml('before_body_end') ?>
59
+ <?php echo $this->getAbsoluteFooter() ?>
60
+ </body>
61
+ </html>
app/design/frontend/default/iphone/template/page/3columns.phtml ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php
28
+ /**
29
+ * Template for Mage_Page_Block_Html
30
+ */
31
+ ?>
32
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
33
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
34
+ <head>
35
+ <?php echo $this->getChildHtml('head') ?>
36
+ </head>
37
+ <body home="index.php" class="mage-iphone" onload="setTimeout(scrollTo, 0, 0, 1)">
38
+ <?php echo $this->getChildHtml('after_body_start') ?>
39
+ <?php echo $this->getChildHtml('global_notices') ?>
40
+ <div class="header">
41
+ <?php echo $this->getChildHtml('header') ?>
42
+ </div>
43
+ <div class="middle-container">
44
+ <div class="middle col-1-layout">
45
+ <div style="margin-bottom:7px;">
46
+ <?php echo $this->getChildHtml('breadcrumbs') ?>
47
+ <div class="clear"></div>
48
+ </div>
49
+ <div id="main" class="col-main">
50
+ <?php echo $this->getChildHtml('content') ?>
51
+ </div>
52
+ </div>
53
+ </div>
54
+ <div class="footer-container">
55
+ <div class="footer">
56
+ <?php echo $this->getChildHtml('footer') ?>
57
+ </div>
58
+ </div>
59
+ <?php echo $this->getChildHtml('before_body_end') ?>
60
+ <?php echo $this->getAbsoluteFooter() ?>
61
+ </body>
62
+ </html>
app/design/frontend/default/iphone/template/page/dashboard.phtml ADDED
@@ -0,0 +1,64 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php
28
+ /**
29
+ * Template for Mage_Page_Block_Html
30
+ */
31
+ ?>
32
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
33
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->getLang() ?>" lang="<?php echo $this->getLang() ?>">
34
+ <head>
35
+ <?php echo $this->getChildHtml('head') ?>
36
+ </head>
37
+ <body <?php echo $this->getBodyClass()?'class="'.$this->getBodyClass().'"':'' ?>>
38
+ <?php echo $this->getChildHtml('after_body_start') ?>
39
+ <div class="wrapper">
40
+ <?php echo $this->getChildHtml('global_notices') ?>
41
+ <div class="header">
42
+ <?php echo $this->getChildHtml('header') ?>
43
+ </div>
44
+ <div class="middle-container">
45
+ <div class="middle col-2-right-layout">
46
+ <div id="main" class="col-main account-main">
47
+ <?php echo $this->getChildHtml('global_messages') ?>
48
+ <?php echo $this->getChildHtml('content') ?>
49
+ </div>
50
+ <div class="col-right side-col account-side">
51
+ <?php echo $this->getChildHtml('right') ?>
52
+ </div>
53
+ </div>
54
+ </div>
55
+ <div class="footer-container">
56
+ <div class="footer">
57
+ <?php echo $this->getChildHtml('footer') ?>
58
+ </div>
59
+ </div>
60
+ <?php echo $this->getChildHtml('before_body_end') ?>
61
+ </div>
62
+ <?php echo $this->getAbsoluteFooter() ?>
63
+ </body>
64
+ </html>
app/design/frontend/default/iphone/template/page/html/breadcrumbs.phtml ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php if($crumbs && is_array($crumbs)): ?>
28
+ <h4 class="no-display"><?php echo $this->__("You are currently on:") ?></h4>
29
+ <ul class="breadcrumbs">
30
+ <?php foreach($crumbs as $_crumbName=>$_crumbInfo): ?>
31
+ <li class="<?php echo $_crumbName ?>">
32
+ <?php if($_crumbInfo['link']): ?>
33
+ <a href="<?php echo $_crumbInfo['link'] ?>" title="<?php echo $this->htmlEscape($_crumbInfo['title']) ?>"><?php echo $this->htmlEscape($_crumbInfo['label']) ?></a>
34
+ <?php elseif($_crumbInfo['last']): ?>
35
+ <strong><?php echo $this->htmlEscape($_crumbInfo['label']) ?></strong>
36
+ <?php else: ?>
37
+ <?php echo $this->htmlEscape($_crumbInfo['label']) ?>
38
+ <?php endif; ?>
39
+ </li>
40
+ <?php if(!$_crumbInfo['last']): ?>
41
+ <li> / </li>
42
+ <?php endif; ?>
43
+ <?php endforeach; ?>
44
+ </ul>
45
+ <?php endif; ?>
app/design/frontend/default/iphone/template/page/html/footer.phtml ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <div class="informational">
28
+ <?php echo $this->getChildHtml() ?>
29
+ </div><div class="clear"></div>
30
+ <p class="legality">
31
+ <?php echo $this->__('Magento is a trademark of Irubin Consulting Inc. DBA Varien. Copyright &copy; %s Irubin Consulting Inc.', date('Y')) ?>
32
+ </p>
app/design/frontend/default/iphone/template/page/html/head.phtml ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <title>
28
+ <?php echo htmlspecialchars(html_entity_decode($this->getTitle())) ?>
29
+ </title>
30
+ <meta id="viewport" name="viewport" content="width=320; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />
31
+ <script type="text/javascript">
32
+ var BLANK_URL = '<?php echo $this->helper('core/js')->getJsUrl('blank.html') ?>';
33
+ var BLANK_IMG = '<?php echo $this->helper('core/js')->getJsUrl('spacer.gif') ?>';
34
+ </script>
35
+
36
+ <?php echo $this->getCssJsHtml() ?>
37
+ <?php echo $this->getChildHtml() ?>
app/design/frontend/default/iphone/template/page/html/header.phtml ADDED
@@ -0,0 +1,46 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ /**
27
+ * @var Mage_Page_Block_Html_Header $this
28
+ */
29
+ ?>
30
+ <script type="text/javascript" src="<?php echo $this->getSkinUrl('js/search.js') ?>"></script>
31
+ <?php echo $this->getChildHtml('topSearch') ?>
32
+ <div class="header-top">
33
+ <div class="col2-alt-set">
34
+ <div class="col-1">
35
+ <h1 id="logo"><a href="<?php echo $this->getUrl('') ?>"><img src="<?php echo $this->getLogoSrc() ?>" alt="<?php echo $this->getLogoAlt() ?>" /></a></h1>
36
+ </div>
37
+ <div class="col-2">
38
+ <div class="user-links">
39
+ <?php echo $this->getChildHtml('user_links') ?>
40
+ </div>
41
+ </div>
42
+ </div>
43
+ </div>
44
+ <div class="shop-access">
45
+ <?php echo $this->getChildHtml('topLinks') ?>
46
+ </div><div class="clear"></div>
app/design/frontend/default/iphone/template/page/html/notices.phtml ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.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_Page_Block_Html_Notices
30
+ */
31
+ ?>
32
+ <?php if ($this->displayNoscriptNotice()): ?>
33
+ <noscript>
34
+ <div class="noscript">
35
+ <div class="noscript-inner">
36
+ <p><strong><?php echo $this->__('JavaScript seem to be disabled in your browser.'); ?></strong></p>
37
+ <p><?php echo $this->__('You must have JavaScript enabled in your browser to utilize the functionality of this website.'); ?></p>
38
+ </div>
39
+ </div>
40
+ </noscript>
41
+ <?php endif; ?>
42
+ <?php if ($this->displayDemoNotice()): ?>
43
+ <p class="demo-notice"><?php echo $this->__('This is a demo store. Any orders placed through this store will not be honored or fulfilled.') ?></p>
44
+ <?php endif; ?>
app/design/frontend/default/iphone/template/page/html/pager.phtml ADDED
@@ -0,0 +1,116 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php
28
+ /**
29
+ * Pager template
30
+ *
31
+ * @see Mage_Page_Block_Html_Pager
32
+ */
33
+ ?>
34
+ <?php if($this->getCollection()->getSize()): ?>
35
+ <table class="pager" cellspacing="0">
36
+ <tr>
37
+ <?php if($this->getShowAmounts()): ?>
38
+ <td>
39
+ <?php if($this->getLastPageNum()>1): ?>
40
+ <?php echo $this->__('Items %s to %s of %s total', $this->getFirstNum(), $this->getLastNum(), $this->getTotalNum()) ?>
41
+ <?php else: ?>
42
+ <strong><?php echo $this->__('%s Item(s)', $this->getTotalNum()) ?></strong>
43
+ <?php endif; ?>
44
+ </td>
45
+ <?php endif; ?>
46
+
47
+ <?php if($this->getLastPageNum()>1): ?>
48
+ <td>
49
+ <strong><?php echo $this->__('Page:') ?></strong>
50
+ <ol>
51
+ <?php if (!$this->isFirstPage()): ?>
52
+ <li>
53
+ <a class="previous" href="<?php echo $this->getPreviousPageUrl() ?>" title="<?php echo $this->__('Previous') ?>">
54
+ <?php if(!$this->getAnchorTextForPrevious()): ?>
55
+ <img src="<?php echo $this->getSkinUrl('images/pager_arrow_left.gif') ?>" alt="<?php echo $this->__('Previous') ?>" class="v-middle" />
56
+ <?php else: ?>
57
+ <?php echo $this->getAnchorTextForPrevious() ?>
58
+ <?php endif;?>
59
+ </a>
60
+ </li>
61
+ <?php endif;?>
62
+
63
+ <?php if ($this->canShowFirst()): ?>
64
+ <li><a class="first" href="<?php echo $this->getFirstPageUrl() ?>">1</a></li>
65
+ <?php endif;?>
66
+
67
+ <?php if ($this->canShowPreviousJump()): ?>
68
+ <li><a class="previous_jump" title="" href="<?php echo $this->getPreviousJumpUrl() ?>">...</a></li>
69
+ <?php endif;?>
70
+
71
+ <?php foreach ($this->getFramePages() as $_page): ?>
72
+ <?php if ($this->isPageCurrent($_page)): ?>
73
+ <li class="current"><?php echo $_page ?></li>
74
+ <?php else: ?>
75
+ <li><a href="<?php echo $this->getPageUrl($_page) ?>"><?php echo $_page ?></a></li>
76
+ <?php endif;?>
77
+ <?php endforeach;?>
78
+
79
+
80
+ <?php if ($this->canShowNextJump()): ?>
81
+ <li><a class="next_jump" title="" href="<?php echo $this->getNextJumpUrl() ?>">...</a></li>
82
+ <?php endif;?>
83
+
84
+ <?php if ($this->canShowLast()): ?>
85
+ <li><a class="last" href="<?php echo $this->getLastPageUrl() ?>"><?php echo $this->getLastPageNum() ?></a><li>
86
+ <?php endif;?>
87
+
88
+ <?php if (!$this->isLastPage()): ?>
89
+ <li>
90
+ <a class="next" href="<?php echo $this->getNextPageUrl() ?>" title="<?php echo $this->__('Next') ?>">
91
+ <?php if(!$this->getAnchorTextForNext()): ?>
92
+ <img src="<?php echo $this->getSkinUrl('images/pager_arrow_right.gif') ?>" alt="<?php echo $this->__('Next') ?>" class="v-middle" />
93
+ <?php else: ?>
94
+ <?php echo $this->getAnchorTextForNext() ?>
95
+ <?php endif;?>
96
+ </a>
97
+ </li>
98
+ <?php endif;?>
99
+ </ol>
100
+ </td>
101
+ <?php endif; ?>
102
+
103
+ <?php if($this->getShowPerPage()): ?>
104
+ <td class="a-right">
105
+ <?php echo $this->__('Show') ?> <select onchange="setLocation(this.value)">
106
+ <?php foreach ($this->getAvailableLimit() as $_key=>$_limit): ?>
107
+ <option value="<?php echo $this->getLimitUrl($_key) ?>"<?php if($this->isLimitCurrent($_key)): ?> selected="selected"<?php endif ?>>
108
+ <?php echo $_limit ?>
109
+ </option>
110
+ <?php endforeach; ?>
111
+ </select> <?php echo $this->__('per page') ?>
112
+ </td>
113
+ <?php endif ?>
114
+ </tr>
115
+ </table>
116
+ <?php endif ?>
app/design/frontend/default/iphone/template/page/html/top.links.phtml ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php if($toplinks && is_array($toplinks)): ?>
28
+ <ul>
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/iphone/template/page/html/wrapper.phtml ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+
27
+ /**
28
+ * This template is for generic wrapper purposes, including ajax.updater loaded blocks
29
+ *
30
+ * Usage in layout xml files:
31
+ * <block type="core/template" template="page/html/wrapper.phtml">
32
+ * <action method="setId"><id>some-custom-identificator</id></action>
33
+ *
34
+ * <!-- optional -->
35
+ * <action method="setTag"><tag>span</tag></action> <!-- div is used if not specified -->
36
+ * <action method="setParams"><params>class="custom-class"</params></action>
37
+ *
38
+ * <!-- insert wrapped blocks here -->
39
+ * </block>
40
+ */
41
+ ?>
42
+ <?php $_tag = $this->hasTag() ? $this->getTag() : "div" ?>
43
+ <<?php echo $_tag?> id="<?php echo $this->getId()?>" <?php echo $this->getParams()?>>
44
+ <?php echo $this->getChildHtml()?>
45
+ </<?php echo $_tag?>>
app/design/frontend/default/iphone/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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.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/iphone/template/page/one-column.phtml ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php
28
+ /**
29
+ * Template for Mage_Page_Block_Html
30
+ */
31
+ ?>
32
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
33
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->getLang() ?>" lang="<?php echo $this->getLang() ?>">
34
+ <head>
35
+ <?php echo $this->getChildHtml('head') ?>
36
+ </head>
37
+ <body class="page-popup <?php echo $this->getBodyClass()?$this->getBodyClass():'' ?>">
38
+ <?php echo $this->getChildHtml('after_body_start') ?>
39
+ <div class="wrapper">
40
+ <?php echo $this->getChildHtml('content') ?>
41
+ <?php echo $this->getChildHtml('before_body_end') ?>
42
+ </div>
43
+ <?php echo $this->getAbsoluteFooter() ?>
44
+ </body>
45
+ </html>
app/design/frontend/default/iphone/template/page/print.phtml ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php
28
+ /**
29
+ * Template for Mage_Page_Block_Html
30
+ */
31
+ ?>
32
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
33
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->getLang() ?>" lang="<?php echo $this->getLang() ?>">
34
+ <head>
35
+ <?php echo $this->getChildHtml('head') ?>
36
+ </head>
37
+ <body class="page-popup <?php echo $this->getBodyClass()?$this->getBodyClass():'' ?>">
38
+ <div>
39
+ <div class="print-head">
40
+ <img src="<?php echo $this->getPrintLogoUrl() ? $this->getPrintLogoUrl() : $this->getSkinUrl('images/logo_print.gif') ?>" alt="" />
41
+ <?php if ($this->getPrintLogoText()):?>
42
+ <address><?php echo nl2br($this->htmlEscape($this->getPrintLogoText())) ?></address>
43
+ <?php endif;?>
44
+ <div class="clear"></div>
45
+ </div>
46
+ <?php echo $this->getChildHtml('content') ?>
47
+ <div class="button-set">
48
+ <button onclick="window.close();" class="form-button"><span><?php echo $this->__('Close Window') ?></span></button>
49
+ </div>
50
+ <?php echo $this->getAbsoluteFooter() ?>
51
+ </div>
52
+ </body>
53
+ </html>
app/design/frontend/default/iphone/template/page/switch/flags.phtml ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php foreach ($languages as $_code=>$_link): ?>
28
+ <?php if($_link): ?>
29
+ <a href="<?php echo $_link ?>"><img src="<?php echo $this->getSkinUrl('images/flag_<?php echo $_code ?>.gif') ?>" width="30" height="20" alt="<?php echo $_code ?>" /></a>
30
+ <?php else: ?>
31
+ <!--img src="<?php echo $this->getSkinUrl('images/flag_<?php echo $_code ?>.gif') ?>" width="30" height="20" alt="<?php echo $_code ?>"/-->
32
+ <?php endif; ?>
33
+ <?php endforeach; ?>
app/design/frontend/default/iphone/template/page/switch/languages.phtml ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php
28
+ /**
29
+ * Language switcher template
30
+ *
31
+ * @see Mage_Page_Block_Switch
32
+ */
33
+
34
+ ?>
35
+ <?php if(count($this->getStores())>1): ?>
36
+ <div class="language-switcher" style="float:right;padding-right:10px;">
37
+ <label for="select-language"><?php echo $this->__('Language') ?>: </label>
38
+ <select id="select-language" onchange="window.location.href=this.value">
39
+ <?php foreach ($this->getStores() as $_lang): ?>
40
+ <?php $_selected = ($_lang->getId()==$this->getCurrentStoreId()) ? 'selected="selected"' : '' ?>
41
+ <option value="<?php echo $_lang->getCurrentUrl() ?>" <?php echo $_selected ?>><?php echo $this->htmlEscape($_lang->getName()) ?></option>
42
+ <?php endforeach; ?>
43
+ </select>
44
+ </div>
45
+ <?php endif; ?>
app/design/frontend/default/iphone/template/page/switch/stores.phtml ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php
28
+ /**
29
+ * Store switcher template
30
+ *
31
+ * @see Mage_Core_Block_Store_Switcher
32
+ */
33
+
34
+ ?>
35
+ <?php if(count($this->getGroups())>1): ?>
36
+ <div class="store-switcher">
37
+ <label for="select-store"><?php echo $this->__('Select Store') ?>: </label>
38
+ <select id="select-store" onchange="location.href=this.value">
39
+ <?php /*foreach ($this->getStores() as $_store): ?>
40
+ <option value="<?php echo $_store->getUrl('') ?>"<?php if($_store->getId()==$this->getCurrentStoreId()): ?> selected="selected"<?php endif; ?>><?php echo $_store->getName() ?></option>
41
+ <?php endforeach;*/ ?>
42
+ <?php foreach ($this->getGroups() as $_group): ?>
43
+ <?php $_selected = ($_group->getId()==$this->getCurrentGroupId()) ? 'selected="selected"' : '' ?>
44
+ <option value="<?php echo $_group->getHomeUrl() ?>" <?php echo $_selected ?>><?php echo $this->htmlEscape($_group->getName()) ?></option>
45
+ <?php endforeach; ?>
46
+ </select>
47
+ </div>
48
+ <?php endif; ?>
app/design/frontend/default/iphone/template/page/template/container.phtml ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.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_Page_Block_Template_Container
30
+ */
31
+ ?>
32
+ <div class="page-head">
33
+ <h3><?php echo $this->getTitle() ?></h3>
34
+ </div>
35
+ <?php echo $this->getChildHtml() ?>
app/design/frontend/default/iphone/template/page/template/links.phtml ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.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_Page_Block_Template_Links
30
+ */
31
+ ?>
32
+ <?php $_links = $this->getLinks(); ?>
33
+ <?php if(count($_links)>0): ?>
34
+ <div>
35
+ <ul<?php if($this->getName()): ?> id="<?php echo $this->getName() ?>"<?php endif;?>>
36
+ <?php foreach($_links as $_link): ?>
37
+ <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() ?><?php echo $_link->getAfterText() ?></a></li>
38
+ <?php endforeach; ?>
39
+ </ul>
40
+ </div>
41
+ <?php endif; ?>
app/design/frontend/default/iphone/template/payment/form/cc.phtml ADDED
@@ -0,0 +1,85 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <fieldset class="form-list">
28
+ <?php $_code=$this->getMethodCode() ?>
29
+ <ul id="payment_form_<?php echo $_code ?>" style="display:none">
30
+ <!--li>
31
+ <div class="input-box">
32
+ <label for="<?php echo $_code ?>_cc_owner"><?php echo $this->__('Name on Card') ?> <span class="required">*</span></label><br/>
33
+ <input type="text" title="<?php echo $this->__('Name on Card') ?>" class="required-entry input-text" id="<?php echo $_code ?>_cc_owner" name="payment[cc_owner]" value="<?php echo $this->htmlEscape($this->getInfoData('cc_owner')) ?>"/>
34
+ </div>
35
+ </li-->
36
+ <li>
37
+ <div class="input-box">
38
+ <label for="<?php echo $_code ?>_cc_type"><?php echo $this->__('Credit Card Type') ?> <span class="required">*</span></label><br />
39
+ <select id="<?php echo $_code ?>_cc_type" name="payment[cc_type]" class="required-entry validate-cc-type-select">
40
+ <option value=""><?php echo $this->__('--Please Select--')?></option>
41
+ <?php $_ccType = $this->getInfoData('cc_type') ?>
42
+ <?php foreach ($this->getCcAvailableTypes() as $_typeCode => $_typeName): ?>
43
+ <option value="<?php echo $_typeCode ?>"<?php if($_typeCode==$_ccType): ?> selected="selected"<?php endif ?>><?php echo $_typeName ?></option>
44
+ <?php endforeach ?>
45
+ </select>
46
+ </div>
47
+ </li>
48
+ <li>
49
+ <div class="input-box">
50
+ <label for="<?php echo $_code ?>_cc_number"><?php echo $this->__('Credit Card Number') ?> <span class="required">*</span></label><br/>
51
+ <input type="text" id="<?php echo $_code ?>_cc_number" name="payment[cc_number]" title="<?php echo $this->__('Credit Card Number') ?>" class="input-text validate-cc-number validate-cc-type" value="" />
52
+ </div>
53
+ </li>
54
+ <li>
55
+ <div class="input-box">
56
+ <label for="<?php echo $_code ?>_expiration"><?php echo $this->__('Expiration Date') ?> <span class="required">*</span></label><br />
57
+ <div class="v-fix">
58
+ <select id="<?php echo $_code ?>_expiration" style="" name="payment[cc_exp_month]" class="month validate-cc-exp required-entry">
59
+ <?php $_ccExpMonth = $this->getInfoData('cc_exp_month') ?>
60
+ <?php foreach ($this->getCcMonths() as $k=>$v): ?>
61
+ <option value="<?php echo $k?$k:'' ?>"<?php if($k==$_ccExpMonth): ?> selected="selected"<?php endif ?>><?php echo $v ?></option>
62
+ <?php endforeach ?>
63
+ </select>
64
+ </div>
65
+ <div class="v-fix" style="padding-left:5px;">
66
+ <?php $_ccExpYear = $this->getInfoData('cc_exp_year') ?>
67
+ <select id="<?php echo $_code ?>_expiration_yr" style="" name="payment[cc_exp_year]" class="year required-entry">
68
+ <?php foreach ($this->getCcYears() as $k=>$v): ?>
69
+ <option value="<?php echo $k?$k:'' ?>"<?php if($k==$_ccExpYear): ?> selected="selected"<?php endif ?>><?php echo $v ?></option>
70
+ <?php endforeach ?>
71
+ </select>
72
+ </div><div class="clear"></div>
73
+ </div>
74
+ </li>
75
+ <?php echo $this->getChildHtml() ?>
76
+ <?php if($this->hasVerification()): ?>
77
+ <li>
78
+ <div class="input-box">
79
+ <label for="<?php echo $_code ?>_cc_cid"><?php echo $this->__('Card Verification Number') ?> <span class="required">*</span></label><br />
80
+ <div class="v-fix"><input type="text" title="<?php echo $this->__('Card Verification Number') ?>" class="required-entry input-text validate-cc-cvn" id="<?php echo $_code ?>_cc_cid" name="payment[cc_cid]" style="width:3em;" value="" /></div>
81
+ </div>
82
+ </li>
83
+ <?php endif; ?>
84
+ </ul>
85
+ </fieldset>
app/design/frontend/default/iphone/template/payment/form/ccsave.phtml ADDED
@@ -0,0 +1,84 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <fieldset class="form-list">
28
+ <?php $_code=$this->getMethodCode() ?>
29
+ <ul id="payment_form_<?php echo $_code ?>" style="display:none">
30
+ <li>
31
+ <div class="input-box">
32
+ <label for="<?php echo $_code ?>_cc_owner"><?php echo $this->__('Name on Card') ?> <span class="required">*</span></label><br />
33
+ <input type="text" title="<?php echo $this->__('Name on Card') ?>" class="required-entry input-text" id="<?php echo $_code ?>_cc_owner" name="payment[cc_owner]" value="<?php echo $this->htmlEscape($this->getInfoData('cc_owner')) ?>" />
34
+ </div>
35
+ </li>
36
+ <li>
37
+ <div class="input-box">
38
+ <label for="<?php echo $_code ?>_cc_type"><?php echo $this->__('Credit Card Type') ?> <span class="required">*</span></label><br />
39
+ <select id="<?php echo $_code ?>_cc_type" name="payment[cc_type]" class="required-entry validate-cc-type-select">
40
+ <option value="">--Please Select--</option>
41
+ <?php $_ccType = $this->getInfoData('cc_type') ?>
42
+ <?php foreach ($this->getCcAvailableTypes() as $_typeCode => $_typeName): ?>
43
+ <option value="<?php echo $_typeCode ?>"<?php if($_typeCode==$_ccType): ?> selected="selected"<?php endif ?>><?php echo $_typeName ?></option>
44
+ <?php endforeach ?>
45
+ </select>
46
+ </div>
47
+ </li>
48
+ <li>
49
+ <div class="input-box">
50
+ <label for="<?php echo $_code ?>_cc_number"><?php echo $this->__('Credit Card Number') ?> <span class="required">*</span></label><br />
51
+ <input type="text" id="<?php echo $_code ?>_cc_number" name="payment[cc_number]" title="<?php echo $this->__('Credit Card Number') ?>" class="input-text validate-cc-number validate-cc-type" value="" />
52
+ </div>
53
+ </li>
54
+ <li>
55
+ <div class="input-box">
56
+ <label for="<?php echo $_code ?>_expiration"><?php echo $this->__('Expiration Date') ?> <span class="required">*</span></label><br />
57
+ <div class="v-fix">
58
+ <select id="<?php echo $_code ?>_expiration" style="" name="payment[cc_exp_month]" class="month validate-cc-exp required-entry">
59
+ <?php $_ccExpMonth = $this->getInfoData('cc_exp_month') ?>
60
+ <?php foreach ($this->getCcMonths() as $k=>$v): ?>
61
+ <option value="<?php echo $k?$k:'' ?>"<?php if($k==$_ccExpMonth): ?> selected="selected"<?php endif ?>><?php echo $v ?></option>
62
+ <?php endforeach ?>
63
+ </select>
64
+ </div>
65
+ <div class="v-fix" style="padding-left:5px;">
66
+ <?php $_ccExpYear = $this->getInfoData('cc_exp_year') ?>
67
+ <select id="<?php echo $_code ?>_expiration_yr" style="" name="payment[cc_exp_year]" class="year required-entry">
68
+ <?php foreach ($this->getCcYears() as $k=>$v): ?>
69
+ <option value="<?php echo $k?$k:'' ?>"<?php if($k==$_ccExpYear): ?> selected="selected"<?php endif ?>><?php echo $v ?></option>
70
+ <?php endforeach ?>
71
+ </select>
72
+ </div>
73
+ </div>
74
+ </li>
75
+ <?php if($this->hasVerification()): ?>
76
+ <li>
77
+ <div class="input-box">
78
+ <label for="<?php echo $_code ?>_cc_cid"><?php echo $this->__('Card Verification Number') ?> <span class="required">*</span></label><br />
79
+ <div class="v-fix"><input type="text" title="<?php echo $this->__('Card Verification Number') ?>" class="required-entry input-text validate-cc-cvn" id="<?php echo $_code ?>_cc_cid" name="payment[cc_cid]" style="width:3em;" value="" /></div>
80
+ </div>
81
+ </li>
82
+ <?php endif; ?>
83
+ </ul>
84
+ </fieldset>
app/design/frontend/default/iphone/template/payment/form/checkmo.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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <fieldset class="form-list">
28
+ <ul id="payment_form_<?php echo $this->getMethodCode() ?>" style="display:none">
29
+ <li>
30
+ <div class="input-box">
31
+ <?php if ($this->getMethod()->getPayableTo()): ?>
32
+ <?php echo $this->__('<label>Make Check payable to</label>: %s', $this->getMethod()->getPayableTo()) ?><br />
33
+ <?php endif; ?>
34
+ <?php if ($this->getMethod()->getMailingAddress()): ?>
35
+ <label><?php echo Mage::helper('payment')->__('Send Check to:') ?></label>
36
+ <div class="checkmo-mailing-address">
37
+ <?php echo nl2br($this->getMethod()->getMailingAddress()) ?>
38
+ </div>
39
+ <?php endif; ?>
40
+ </div>
41
+ </li>
42
+ </ul>
43
+ </fieldset>
app/design/frontend/default/iphone/template/payment/form/purchaseorder.phtml ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <fieldset class="form-list">
28
+ <ul id="payment_form_<?php echo $this->getMethodCode() ?>" style="display:none">
29
+ <li>
30
+ <div class="input-box">
31
+ <label for="po_number"><?php echo $this->__('Purchase Order Number') ?> <span class="required">*</span></label><br />
32
+ <input type="text" id="po_number" name="payment[po_number]" title="<?php echo $this->__("Purchase Order Number") ?>" class="required-entry input-text" value="<?php echo $this->htmlEscape($this->getInfoData('po_number')) ?>"/>
33
+ </div>
34
+ </li>
35
+ </ul>
36
+ </fieldset>
app/design/frontend/default/iphone/template/payment/info/checkmo.phtml ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <p><?php echo $this->getMethod()->getTitle() ?>
28
+ <?php if($this->getInfo()->getAdditionalData()): ?>
29
+ <?php if($this->getPayableTo()): ?><br /><?php echo $this->__('Make Check payable to: %s', $this->htmlEscape($this->getPayableTo())) ?><?php endif; ?>
30
+ <?php if($this->getMailingAddress()): ?>
31
+ <br /><?php echo Mage::helper('payment')->__('Send Check to:') ?>
32
+ <br />
33
+ <span class="checkmo-mailing-address">
34
+ <?php echo nl2br($this->htmlEscape($this->getMailingAddress())) ?>
35
+ </span>
36
+ <?php endif; ?>
37
+ <?php endif; ?>
38
+ </p>
app/design/frontend/default/iphone/template/payment/info/purchaseorder.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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <p><?php echo $this->getMethod()->getTitle() ?></p>
28
+ <p><strong><?php echo $this->__('Purchase Order Number') ?>:</strong> <span class="nowrap"><?php echo $this->htmlEscape($this->getInfo()->getPoNumber()) ?></span></p>
29
+
app/design/frontend/default/iphone/template/poll/active.phtml ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php if(isset($poll)) : ?>
28
+
29
+ <script type="text/javascript">
30
+ function validatePollAnswerIsSelected()
31
+ {
32
+ var options = $$('input.poll_vote');
33
+
34
+ for( i in options ) {
35
+ if( options[i].checked == true ) {
36
+ return true;
37
+ }
38
+ }
39
+ return false;
40
+ }
41
+ </script>
42
+
43
+ <div class="box base-mini mini-poll">
44
+ <div class="head">
45
+ <h4><span><?php echo $this->__('Community Poll') ?></span></h4>
46
+ </div>
47
+ <form id="pollForm" action="<?php echo $action ?>" method="post" onsubmit="return validatePollAnswerIsSelected();">
48
+ <div class="content">
49
+ <h5><?php echo $this->htmlEscape($poll->getPollTitle()); ?></h5>
50
+ <?php if( $poll_answers ): ?>
51
+ <table cellspacing="2">
52
+ <tbody>
53
+ <?php foreach( $poll_answers as $answer ): ?>
54
+ <tr>
55
+ <td><input type="radio" name="vote" class="poll_vote" id="vote_<?php echo $answer->getId() ?>" value="<?php echo $answer->getAnswerId() ?>" /></td>
56
+ <td><label for="vote_<?php echo $answer->getId() ?>"><?php echo $this->htmlEscape($answer->getAnswerTitle()) ?></label>&nbsp;</td>
57
+ </tr>
58
+ <?php endforeach; ?>
59
+ </tbody>
60
+ </table>
61
+ <?php endif; ?>
62
+ </div>
63
+ <div class="actions"><button class="form-button-alt right" type="submit"><span><?php echo $this->__('Vote') ?></span></button></div>
64
+ </form>
65
+ </div>
66
+ <?php endif; ?>
app/design/frontend/default/iphone/template/poll/result.phtml ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php if(isset($poll)) : ?>
28
+ <div class="box base-mini mini-poll">
29
+ <div class="head">
30
+ <h4><span><?php echo $this->__('Community Poll') ?></span></h4>
31
+ </div>
32
+ <div class="content">
33
+ <h5><?php echo $this->htmlEscape($poll->getPollTitle()); ?></h5>
34
+ <?php if( $poll_answers ): ?>
35
+ <table cellspacing="0">
36
+ <tbody>
37
+ <?php foreach( $poll_answers as $answer ): ?>
38
+ <tr>
39
+ <td class="label"><?php echo $this->htmlEscape($answer->getAnswerTitle()) ?></td>
40
+ <td class="item"><?php echo $answer->getVotesCount() ?> (<?php echo $answer->getPercent() ?>%)</td>
41
+ </tr>
42
+ <?php endforeach; ?>
43
+ </tbody>
44
+ </table>
45
+ <?php endif; ?>
46
+ </div>
47
+ </div>
48
+ <?php endif; ?>
49
+ <!-- [ends] .mini-poll-results // -->
50
+
app/design/frontend/default/iphone/template/productalert/price.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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php if ($this->isShow()): ?>
28
+ <div><small><a href="<?php echo $this->getUrl() ?>"><?php echo $this->__('Sign up for price alert'); ?></a></small></div>
29
+ <?php endif; ?>
app/design/frontend/default/iphone/template/productalert/stock.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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php if ($this->isShow()): ?>
28
+ <div><small><a href="<?php echo $this->getUrl() ?>"><?php echo $this->__('Sign up to get notified when this product is back in stock'); ?></a></small></div>
29
+ <?php endif; ?>
app/design/frontend/default/iphone/template/rating/detailed.phtml ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php if(!empty($collection) && $collection->getSize()): ?>
28
+ <table class="ratings-list" cellspacing="0">
29
+ <tbody>
30
+ <?php foreach ($collection as $_rating): ?>
31
+ <?php if($_rating->getSummary()): ?>
32
+ <tr>
33
+ <td class="label"><strong><?php echo $this->__($this->escapeHtml($_rating->getRatingCode())) ?></strong></td>
34
+ <td>
35
+ <div class="rating-box">
36
+ <div class="rating" style="width:<?php echo ceil($_rating->getSummary()) ?>%;"></div>
37
+ </div>
38
+ </td>
39
+ </tr>
40
+ <?php endif; ?>
41
+ <?php endforeach; ?>
42
+ </tbody>
43
+ </table>
44
+ <?php endif; ?>
app/design/frontend/default/iphone/template/rating/empty.phtml ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <p><a href="#review-form"><?php echo $this->__('Be the first to review this product') ?></a></p>
app/design/frontend/default/iphone/template/reports/home_product_compared.phtml ADDED
@@ -0,0 +1,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ /* @var $this Mage_Reports_Block_Product_Compared */
27
+ ?>
28
+ <?php if ($_products = $this->getRecentlyComparedProducts()): ?>
29
+ <div class="box recently">
30
+ <h3><?php echo $this->__('Your Recently Compared') ?></h3>
31
+ <table cellspacing="0" class="recently-list" id="recently-compared-list-table">
32
+ <tr>
33
+ <?php $i=0; foreach ($_products as $_product): ?>
34
+ <?php if ($i>5): continue; endif; ?>
35
+
36
+ <td>
37
+ <div>
38
+ <a href="<?php echo $this->getProductUrl($_product) ?>" title="<?php echo $this->stripTags($_product->getName(), null, true) ?>">
39
+ <img class="product-image" src="<?php echo $this->helper('catalog/image')->init($_product, 'small_image')->resize(80, 77) ?>" width="80" height="77" alt="<?php echo $this->stripTags($_product->getName(), null, true) ?>" />
40
+ </a>
41
+ </div>
42
+ <p><a class="product-name" href="<?php echo $this->getProductUrl($_product) ?>" title="<?php echo $this->stripTags($_product->getName(), null, true) ?>)"><?php echo $this->helper('catalog/output')->productAttribute($_product, $_product->getName() , 'name') ?></a></p>
43
+ <?php echo $this->getPriceHtml($_product, true, '-home-compared') ?>
44
+ <?php if($_product->isSaleable()): ?>
45
+ <button type="button" class="form-button" onclick="setLocation('<?php echo $this->getAddToCartUrl($_product) ?>')"><span><?php echo $this->__('Add to Cart') ?></span></button>
46
+ <?php else: ?>
47
+ <div class="out-of-stock"><?php echo $this->__('Out of stock') ?></div>
48
+ <?php endif; ?>
49
+ <div class="clear"></div>
50
+ <p class="add-to">
51
+ <?php if ($this->helper('wishlist')->isAllow()) : ?>
52
+ <a href="<?php echo $this->getAddToWishlistUrl($_product) ?>" class="link-cart"><?php echo $this->__('Add to Wishlist') ?></a>
53
+ <?php endif; ?>
54
+ <?php if($_compareUrl=$this->getAddToCompareUrl($_product)): ?><br />
55
+ <a href="<?php echo $_compareUrl ?>"><?php echo $this->__('Add to Compare') ?></a>
56
+ <?php endif; ?>
57
+ </p>
58
+ </td>
59
+ <?php $i++; endforeach; ?>
60
+ <?php for($i;$i%5!=0;$i++): ?>
61
+ <td>&nbsp;</td>
62
+ <?php endfor ?>
63
+ </tr>
64
+ </table></div>
65
+ <?php endif; ?>
app/design/frontend/default/iphone/template/reports/home_product_viewed.phtml ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ /* @var $this Mage_Reports_Block_Product_Viewed */
27
+ ?>
28
+ <?php
29
+ /**
30
+ * @see Mage_Reports_Block_Product_Viewed
31
+ */
32
+ ?>
33
+ <?php if ($_products = $this->getRecentlyViewedProducts()): ?>
34
+ <div class="box recently">
35
+ <h3><?php echo $this->__('Your Recently Viewed') ?></h3>
36
+ <table cellspacing="0" class="recently-list" id="recently-viewed-list-table">
37
+ <tr>
38
+ <?php $i=0; foreach ($_products as $_product): ?>
39
+ <?php if ($i>5): continue; endif; ?>
40
+
41
+ <td>
42
+ <div>
43
+ <a href="<?php echo $this->getProductUrl($_product) ?>" title="<?php echo $this->stripTags($_product->getName(), null, true) ?>">
44
+ <img class="product-image" src="<?php echo $this->helper('catalog/image')->init($_product, 'small_image')->resize(80, 77) ?>" width="80" height="77" alt="<?php echo $this->stripTags($_product->getName(), null, true) ?>" />
45
+ </a>
46
+ </div>
47
+ <p><a class="product-name" href="<?php echo $this->getProductUrl($_product) ?>" title="<?php echo $this->stripTags($_product->getName(), null, true) ?>)"><?php echo $this->helper('catalog/output')->productAttribute($_product, $_product->getName() , 'name') ?></a></p>
48
+ <?php echo $this->getPriceHtml($_product, true, '-home-viewed') ?>
49
+ <?php if($_product->isSaleable()): ?>
50
+ <button type="button" class="form-button" onclick="setLocation('<?php echo $this->getAddToCartUrl($_product) ?>')"><span><?php echo $this->__('Add to Cart') ?></span></button>
51
+ <?php else: ?>
52
+ <div class="out-of-stock"><?php echo $this->__('Out of stock') ?></div>
53
+ <?php endif; ?>
54
+ <div class="clear"></div>
55
+ <p class="add-to">
56
+ <?php if ($this->helper('wishlist')->isAllow()) : ?>
57
+ <a href="<?php echo $this->getAddToWishlistUrl($_product) ?>" class="link-cart"><?php echo $this->__('Add to Wishlist') ?></a>
58
+ <?php endif; ?>
59
+ <?php if($_compareUrl=$this->getAddToCompareUrl($_product)): ?><br />
60
+ <a href="<?php echo $_compareUrl ?>"><?php echo $this->__('Add to Compare') ?></a>
61
+ <?php endif; ?>
62
+ </p>
63
+ </td>
64
+ <?php $i++; endforeach; ?>
65
+ <?php for($i;$i%5!=0;$i++): ?>
66
+ <td>&nbsp;</td>
67
+ <?php endfor ?>
68
+ </tr>
69
+ </table></div>
70
+ <?php endif; ?>
app/design/frontend/default/iphone/template/reports/product_compared.phtml ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ /* @var $this Mage_Reports_Block_Product_Compared */
27
+ ?>
28
+ <?php if ($_products = $this->getRecentlyComparedProducts()): ?>
29
+ <div class="box base-mini mini-compare-products">
30
+ <div class="head">
31
+ <h4><span><?php echo $this->__('Recently Compared Products') ?></span></h4>
32
+ </div>
33
+ <div class="content">
34
+ <ol id="recently-compared-items">
35
+ <?php foreach ($_products as $_item): ?>
36
+ <li><a href="<?php echo $this->getProductUrl($_item) ?>"><?php echo $this->helper('catalog/output')->productAttribute($_item, $_item->getName() , 'name') ?></a></li>
37
+ <?php endforeach; ?>
38
+ </ol>
39
+ </div>
40
+ <script type="text/javascript">
41
+ decorateList('recently-compared-items')
42
+ </script>
43
+ </div>
44
+ <?php endif; ?>
app/design/frontend/default/iphone/template/reports/product_viewed.phtml ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ /* @var $this Mage_Reports_Block_Product_Viewed */
27
+ ?>
28
+ <?php if ($_products = $this->getRecentlyViewedProducts()): ?>
29
+ <div class="box base-mini mini-product-view">
30
+ <div class="head">
31
+ <h4><span><?php echo $this->__('Recently Viewed Products') ?></span></h4>
32
+ </div>
33
+ <div class="content">
34
+ <ol id="recently-viewed-items">
35
+ <?php foreach ($_products as $_item): ?>
36
+ <li><a href="<?php echo $this->getProductUrl($_item) ?>"><?php echo $this->helper('catalog/output')->productAttribute($_item, $_item->getName() , 'name') ?></a></li>
37
+ <?php endforeach; ?>
38
+ </ol>
39
+ </div>
40
+ <script type="text/javascript">
41
+ decorateList('recently-viewed-items')
42
+ </script>
43
+ </div>
44
+ <?php endif; ?>
app/design/frontend/default/iphone/template/review/customer/list.phtml ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <div class="page-head">
28
+ <h3><?php echo $this->__('My Product Reviews') ?></h3>
29
+ </div>
30
+ <?php if( $this->getCollection() && $this->count()): ?>
31
+ <?php echo $this->getToolbarHtml() ?>
32
+ <table class="data-table box-table" id="my-reviews-table" cellspacing="0">
33
+ <col width="60" />
34
+ <col width="200" />
35
+ <col width="80" />
36
+ <col />
37
+ <col width="100" />
38
+ <tbody>
39
+ <?php foreach ($this->getCollection() as $_review): ?>
40
+ <tr>
41
+ <td><?php echo $this->dateFormat($_review->getCreatedAt()) ?></td>
42
+ <td><a href="<?php echo $this->getProductLink() ?>id/<?php echo $_review->getEntityPkValue() ?>"><?php echo $this->htmlEscape($_review->getName()) ?></a></td>
43
+ <td>
44
+ <?php if($_review->getSum()): ?>
45
+ <div class="rating-box">
46
+ <div class="rating" style="width:<?php echo ( $_review->getSum() / $_review->getCount() ) ?>%;"></div>
47
+ </div>
48
+ <?php endif; ?>
49
+ </td>
50
+ <td><?php echo $this->htmlEscape($this->helper('review')->getDetail($_review->getDetail())) ?></td>
51
+ <td class="last a-center"><a href="<?php echo $this->getReviewLink() ?>id/<?php echo $_review->getReviewId() ?>"><?php echo $this->__('View Details') ?></a></td>
52
+ </tr>
53
+ <?php endforeach; ?>
54
+ </tbody>
55
+ </table>
56
+ <script type="text/javascript">decorateTable('my-reviews-table')</script>
57
+ <?php echo $this->getToolbarHtml() ?>
58
+ <?php else: ?>
59
+ <p><?php echo $this->__('You have submitted no reviews.') ?></p>
60
+ <?php endif; ?>
61
+ <div class="button-set">
62
+ <a href="<?php echo $this->getUrl('customer/account/') ?>" class="left">&laquo;<?php echo $this->__('Back') ?></a>
63
+ </div>
app/design/frontend/default/iphone/template/review/customer/recent.phtml ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php if( $this->getCollection() && $this->count()): ?>
28
+ <div class="account-box ad-reviews">
29
+ <div class="head">
30
+ <h4><?php echo $this->__('My Recent Reviews') ?></h4>
31
+ <a href="<?php echo $this->getAllReviewsUrl() ?>"><small><?php echo $this->__('View All Reviews') ?></small></a>
32
+ </div>
33
+ <?php $iterator = 0 ?>
34
+ <?php foreach ($this->getCollection() as $_review): ?>
35
+ <ol class="recent-reviews">
36
+ <li<?php if($iterator % 2 == 0): ?> class="odd"<?php endif; ?>>
37
+ <div class="count"><?php echo ++$iterator ?></div>
38
+ <div class="content">
39
+ <a href="<?php echo $this->getReviewUrl($_review->getReviewId()) ?>"><?php echo $this->htmlEscape($_review->getName()) ?></a>
40
+ <?php if($_review->getSum()): ?>
41
+ <div class="ratings">
42
+ <small><?php echo $this->__('Rating:') ?></small>
43
+ <div class="rating-box">
44
+ <div class="rating" style="width:<?php echo ( $_review->getSum() / $_review->getCount() ) ?>%;"></div>
45
+ </div>
46
+ </div>
47
+ <?php endif; ?>
48
+ </div>
49
+ </li>
50
+ </ol>
51
+ <?php endforeach; ?>
52
+ </div>
53
+ <?php endif; ?>
app/design/frontend/default/iphone/template/review/customer/view.phtml ADDED
@@ -0,0 +1,68 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php if($this->getProductData()->getId()): ?>
28
+ <div class="page-head">
29
+ <h3><?php echo $this->__('Review Details') ?></h3>
30
+ </div>
31
+
32
+ <div class="my-review-detail">
33
+ <div class="product-image">
34
+ <p><a href="<?php echo $this->getProductData()->getProductUrl() ?>"><img src="<?php echo $this->helper('catalog/image')->init($this->getProductData(), 'small_image')->resize(125, 125); ?>" alt="<?php echo $this->htmlEscape($this->getProductData()->getName()) ?>" height="125" width="125" /></a></p>
35
+ <?php if( $this->getRating() && $this->getRating()->getSize()): ?>
36
+ <small><?php echo $this->__('Average Customer Rating:') ?></small>
37
+ <?php echo $this->helper('review/product')->getSummaryHtml($this->getProductData()) ?>
38
+ <?php endif; ?>
39
+ </div>
40
+ <div class="details">
41
+ <h3><?php echo $this->htmlEscape($this->getProductData()->getName()) ?></h3>
42
+ <?php if( $this->getRating() && $this->getRating()->getSize()): ?>
43
+ <strong><?php echo ($this->isReviewOwner()) ? $this->__('Your Rating:') : $this->__('Rating:'); ?></strong>
44
+ <table cellspacing="0" class="ratings-list">
45
+ <?php foreach ($this->getRating() as $_rating): ?>
46
+ <?php if($_rating->getPercent()): ?>
47
+ <tr>
48
+ <td class="label"><?php echo $this->escapeHtml($_rating->getRatingCode()) ?></td>
49
+ <td><div class="rating-box">
50
+ <div class="rating" style="width:<?php echo ceil($_rating->getPercent()) ?>%;"></div>
51
+ </div></td>
52
+ </tr>
53
+ <?php endif; ?>
54
+ <?php endforeach; ?>
55
+ </table>
56
+ <?php endif; ?>
57
+ <?php if ($this->isReviewOwner()): ?>
58
+ <?php echo $this->__('Your Review (submitted on %s):', $this->dateFormat($this->getReviewData()->getCreatedAt())) ?>
59
+ <?php else :?>
60
+ <?php echo $this->__('Review (submitted on %s):', $this->dateFormat($this->getReviewData()->getCreatedAt())) ?>
61
+ <?php endif;?>
62
+ <div class="description">
63
+ <p><?php echo nl2br($this->htmlEscape($this->getReviewData()->getDetail())) ?></p>
64
+ </div>
65
+ </div>
66
+ <div class="button-set"><a href="<?php echo $this->getBackUrl() ?>" class="left">&laquo; <?php echo $this->__('Back to My Reviews') ?></a></div>
67
+ </div>
68
+ <?php endif; ?>
app/design/frontend/default/iphone/template/review/form.phtml ADDED
@@ -0,0 +1,119 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <div class="page-head">
28
+ <h3><?php echo $this->__('Write Your Own Review') ?></h3>
29
+ </div>
30
+ <h4><?php echo $this->__("You're reviewing: %s", $this->htmlEscape($this->getProductInfo()->getName())) ?></h4>
31
+ <form action="<?php echo $this->getAction() ?>" method="post" id="review-form">
32
+ <div>
33
+ <?php if( $this->getRatings() && $this->getRatings()->getSize()): ?>
34
+ <strong><?php echo $this->__('How do you rate this product?') ?><span class="required">*</span></strong><br />
35
+ <span id="input-message-box"></span>
36
+ <table class="data-table product-review-box field-row" id="product-review-table" cellspacing="0">
37
+ <thead>
38
+ <tr>
39
+ <th>&nbsp;</th>
40
+ <th><?php echo $this->__('1 star') ?></th>
41
+ <th><?php echo $this->__('2 stars') ?></th>
42
+ <th><?php echo $this->__('3 stars') ?></th>
43
+ <th><?php echo $this->__('4 stars') ?></th>
44
+ <th><?php echo $this->__('5 stars') ?></th>
45
+ </tr>
46
+ </thead>
47
+ <tbody>
48
+ <?php $_oddIterator = 1; ?>
49
+ <?php foreach ($this->getRatings() as $_rating): ?>
50
+ <tr class="odd<?php if($_oddIterator == $this->getRatings()->getSize()): $_oddIterator = 0; ?> last<?php endif; ?>">
51
+ <td class="label"><?php echo $this->escapeHtml($_rating->getRatingCode()) ?></td>
52
+ <?php $_iterator = 1; ?>
53
+ <?php foreach ($_rating->getOptions() as $_option): ?>
54
+ <!--<td <?php if($_iterator == 5): ?>class="last"<?php endif; ?> style="width:60px;"><input type="radio" <?php if($_iterator == 5): $_iterator=0; ?>class="validate-one-required-by-name"<?php endif; ?> name="ratings[<?php echo $_rating->getId() ?>]" id="<?php echo $this->escapeHtml($_rating->getRatingCode()) ?>_<?php echo $_option->getValue() ?>" value="<?php echo $_option->getId() ?>"/></td>-->
55
+ <td<?php if($_iterator == 5): ?> class="last"<?php endif; ?> style="width:60px;"><input type="radio" name="ratings[<?php echo $_rating->getId() ?>]" id="<?php echo $this->escapeHtml($_rating->getRatingCode()) ?>_<?php echo $_option->getValue() ?>" value="<?php echo $_option->getId() ?>" /></td>
56
+ <?php $_iterator++ ?>
57
+ <?php endforeach; ?>
58
+ </tr>
59
+ <?php $_oddIterator ++; ?>
60
+ <?php endforeach; ?>
61
+ </tbody>
62
+ </table>
63
+ <input type="hidden" name="validate_rating" class="validate-rating" value="" />
64
+ <script type="text/javascript">decorateTable('product-review-table')</script>
65
+ <?php endif; ?>
66
+ <?php // do not remove div - some problem whith validator in IE ?>
67
+ <div>
68
+ <label for="nickname_field"><?php echo $this->__('Nickname') ?><span class="required">*</span></label><br />
69
+ <input class="input-text required-entry" name="nickname" id="nickname_field" style="width: 450px;" type="text" value="<?php echo $this->htmlEscape($data->getNickname()) ?>" />
70
+ </div>
71
+
72
+ <div>
73
+ <label for="summary_field"><?php echo $this->__('Summary of Your Review') ?><span class="required">*</span></label><br />
74
+ <input name="title" class="input-text required-entry" id="summary_field" style="width: 450px;" type="text" value="<?php echo $this->htmlEscape($data->getTitle()) ?>" />
75
+ </div>
76
+
77
+ <div>
78
+ <label for="review_field"><?php echo $this->__('Review') ?><span class="required">*</span></label><br />
79
+ <textarea class="required-entry" name="detail" id="review_field" cols="53" rows="10" style="width: 450px;"><?php echo $this->htmlEscape($data->getDetail()) ?></textarea>
80
+ </div>
81
+
82
+ <div class="button-set">
83
+ <button class="form-button right" type="submit"><span><?php echo $this->__('Submit Review') ?></span></button>
84
+ </div>
85
+ </div>
86
+ </form>
87
+ <script type="text/javascript">
88
+ var dataForm = new VarienForm('review-form');
89
+
90
+ Validation.addAllThese(
91
+ [
92
+ ['validate-rating', '<?php echo $this->__('Please select one of each of the ratings above') ?>', function(v) {
93
+ var trs = $('product-review-table').select('tr');
94
+ var inputs;
95
+ var error = 1;
96
+
97
+ for( var j=0; j < trs.length; j++ ) {
98
+ var tr = trs[j];
99
+ if( j > 0 ) {
100
+ inputs = tr.select('input');
101
+
102
+ for( i in inputs ) {
103
+ if( inputs[i].checked == true ) {
104
+ error = 0;
105
+ }
106
+ }
107
+
108
+ if( error == 1 ) {
109
+ return false;
110
+ } else {
111
+ error = 1;
112
+ }
113
+ }
114
+ }
115
+ return true;
116
+ }]
117
+ ]
118
+ );
119
+ </script>
app/design/frontend/default/iphone/template/review/helper/summary.phtml ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php if($this->getProduct()->getRatingSummary()->getReviewsCount()): ?>
28
+ <div class="ratings">
29
+ <div class="rating-box">
30
+ <div class="rating" style="width:<?php echo $this->getProduct()->getRatingSummary()->getRatingSummary() ?>%">111</div>
31
+ </div>
32
+ <div class="clear"></div>
33
+ <a href="<?php echo $this->getUrl('review/product/list', array('id' => $this->getProduct()->getId())) ?>"><small class="count"><?php echo $this->__('%d Review(s)', $this->getProduct()->getRatingSummary()->getReviewsCount()) ?></small></a><br />
34
+ <a href="<?php echo $this->getAddLink() ?>#review-form"><small><?php echo $this->__('Add Your Review') ?></small></a>
35
+ </div>
36
+ <?php endif; ?>
37
+
38
+ <?php if( !$this->getProduct()->getRatingSummary()->getReviewsCount() && $this->getDisplayBlock() ): ?>
39
+ <p><a href="<?php echo $this->getAddLink() ?>#review-form"><?php echo $this->__('Be the first to review this product') ?></a></p>
40
+ <?php endif; ?>
app/design/frontend/default/iphone/template/review/helper/summary_short.phtml ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ SUMMARY SHORT
28
+ <?php if($this->getProduct()->getRatingSummary()->getReviewsCount()): ?>
29
+ <div class="ratings">
30
+ <div class="rating-box">
31
+ <div class="rating" style="width:<?php echo $this->getProduct()->getRatingSummary()->getRatingSummary() ?>%;"></div>
32
+ </div>
33
+ ( <?php echo sprintf('%d', $this->getProduct()->getRatingSummary()->getReviewsCount()) ?> )
34
+ </div>
35
+ <?php endif; ?>
36
+
37
+ <?php if( !$this->getProduct()->getRatingSummary()->getReviewsCount() && $this->getDisplayBlock() ): ?>
38
+ <p><a href="<?php echo $this->getAddLink() ?>#review-form"><?php echo $this->__('Be the first to review this product') ?></a></p>
39
+ <?php endif; ?>
app/design/frontend/default/iphone/template/review/list.phtml ADDED
@@ -0,0 +1,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php if(!empty($collection) && $collection->getSize()): ?>
28
+ <div class="head">
29
+ <h4><?php echo $this->__('Customer Reviews') ?></h4>
30
+ <?php if($reviewCount): ?>
31
+ <?php if( $this->getUseBackLink() ): ?>
32
+ <small>&laquo; <a href="<?php echo $backLink ?>"><?php echo $this->__('Back') ?></a></small>
33
+ <?php else: ?>
34
+ <a href="<?php echo $reviewLink ?>"><small><?php echo $this->__('View All Reviews') ?></small></a>
35
+ <?php endif; ?>
36
+ <?php endif; ?>
37
+ <span class="pipe">|</span>
38
+ <a href="<?php echo $this->getAddLink() ?>#review-form"><small><?php echo $this->__('Add Your Review') ?></small></a>
39
+ </div>
40
+ <?php if( $this->getUseBackLink() ): ?>
41
+ <?php echo $this->getToolbarHtml() ?>
42
+ <?php endif; ?>
43
+ <ol id="customer-reviews">
44
+ <?php foreach ($this->getCollection() as $_review): ?>
45
+ <li>
46
+ <?php if( is_array($_review->getRatingVotes()->getItems()) && $this->getAverage($_review->getRatingVotes()) ): ?>
47
+ <div class="rating-box">
48
+ <div class="rating" style="width:<?php echo $this->getAverage($_review->getRatingVotes()) ?>%;"></div>
49
+ </div>
50
+ <?php endif; ?>
51
+ <a href="<?php echo $_review->getReviewUrl() ?>" name="<?php echo $this->htmlEscape($_review->getTitle()) ?>"><strong><?php echo $this->htmlEscape($_review->getTitle()) ?></strong></a>
52
+ <?php echo $this->__('Review by %s', $this->htmlEscape($_review->getNickname())) ?>
53
+ <p class="no-padding"><?php echo nl2br($this->htmlEscape($_review->getDetail())) ?></p>
54
+ </li>
55
+ <?php endforeach; ?>
56
+ </ol>
57
+ <?php if( $this->getUseBackLink() ): ?>
58
+ <?php echo $this->getToolbarHtml() ?>
59
+ <?php endif; ?>
60
+ <?php else: ?>
61
+ <div class="head">
62
+ <h4><?php echo $this->__('Customer Reviews') ?></h4>
63
+ </div>
64
+ <p><a href="<?php echo $reviewLink ?>#review-form"><?php echo $this->__('Be the first to review this product') ?></a></p>
65
+ <?php endif; ?>
app/design/frontend/default/iphone/template/review/product/detailed.phtml ADDED
@@ -0,0 +1,183 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
28
+ <?php $product=$_product=$this->getProduct() ?>
29
+ <div class="product-info-box">
30
+ <div class="product-essential">
31
+ <div class="product-img-box">
32
+ <?php if ($_product->getImage() != 'no_selection' && $_product->getImage()): ?>
33
+ <p class="product-image-zoom">
34
+ <img id="image" src="<?php echo $this->helper('catalog/image')->init($_product, 'image'); ?>" alt="<?php echo $this->htmlEscape($_product->getName()) ?>" />
35
+ </p>
36
+ <div class="image-zoom" id="track_outer">
37
+ <img id="zoom_out" src="<?php echo $this->getSkinUrl('images/slider_btn_zoom_out.gif') ?>" alt="<?php echo $this->__('Zoom Out') ?>" class="btn-zoom-out" />
38
+ <div id="track">
39
+ <div id="handle"></div>
40
+ </div>
41
+ <img id="zoom_in" src="<?php echo $this->getSkinUrl('images/slider_btn_zoom_in.gif') ?>" alt="<?php echo $this->__('Zoom In') ?>" class="btn-zoom-in" />
42
+ </div>
43
+ <script type="text/javascript">
44
+ Event.observe(window, 'load', function() {
45
+ product_zoom = new Product.Zoom('image', 'track', 'handle', 'zoom_in', 'zoom_out');
46
+ });
47
+ </script>
48
+ <?php else: ?>
49
+ <img src="<?php echo $this->helper('catalog/image')->init($_product, 'image')->resize(265); ?>" alt="<?php echo $this->htmlEscape($_product->getName()) ?>" />
50
+ <?php endif; ?>
51
+ </div>
52
+
53
+ <div class="product-shop">
54
+ <h3 class="product-name"><?php echo $this->htmlEscape($product->getName()) ?></h3>
55
+ <?php echo $this->getChildHtml('rating') ?>
56
+ <?php if( $reviewCount ): ?>
57
+ <a href="#customer-reviews" class="no-wrap"><small><?php echo $this->__('%s Review(s)', $reviewCount) ?></small></a>
58
+ <?php endif; ?>
59
+
60
+ <form action="<?php echo $this->getUrl('checkout/cart/add') ?>" method="post" id="product_addtocart_form">
61
+ <fieldset>
62
+ <input type="hidden" name="product" value="<?php echo $product->getId() ?>" />
63
+ </fieldset>
64
+
65
+ <?php if($product->isSuperConfig()): ?>
66
+ <?php echo $this->getChildHtml('super_config') ?>
67
+ <?php endif; ?>
68
+ <?php $_tierPrices = $this->getTierPrices($product) ?>
69
+ <?php if(count($_tierPrices)>0): ?>
70
+ <div class="product-pricing">
71
+ <ul class="bare">
72
+ <?php foreach($_tierPrices as $_price): ?>
73
+ <li><?php echo $this->__('Buy %s for %s', $_price['price_qty'], $_price['formated_price']) ?></li>
74
+ <?php endforeach ?>
75
+ </ul>
76
+ </div>
77
+ <?php endif; ?>
78
+
79
+ <?php if($product->isGrouped()): ?>
80
+ <?php echo $this->getChildHtml('super_group') ?>
81
+ <?php endif; ?>
82
+
83
+ <?php if(!$product->isGrouped()): ?>
84
+ <?php if($product->isSaleable()): ?>
85
+ <p><small><?php echo $this->__('Availability: In stock.') ?></small></p>
86
+ <?php else: ?>
87
+ <p><small><?php echo $this->__('Availability: Out of stock.') ?></small><br /></p>
88
+ <?php endif; ?>
89
+
90
+ <?php if($product->isSaleable()): ?>
91
+ <?php echo $this->helper('catalog/product')->getPriceHtml($product) ?>
92
+ <fieldset class="add-to-cart-box">
93
+ <legend><?php echo $this->__('Add Items to Cart') ?></legend>
94
+ <span class="qty-box"><label for="qty"><?php echo $this->__('Qty') ?>:</label> <input name="qty" type="text" class="input-text qty" id="qty" /></span>
95
+ <button class="form-button" onclick="productAddToCartForm.submit()"><span><?php echo $this->__('Add to Cart') ?></span></button> <strong><?php echo $this->__('OR') ?></strong>
96
+ </fieldset>
97
+
98
+ <div class="add-to-box">
99
+ <?php if ($this->helper('wishlist')->isAllow()) : ?>
100
+ <a href="<?php echo $wishlistLink ?>"><?php echo $this->__('Add to Wishlist') ?></a><br />
101
+ <?php endif; ?>
102
+
103
+ <?php if($_compareUrl=$this->helper('catalog/product_compare')->getAddUrl($product)): ?>
104
+ <a href="<?php echo $_compareUrl ?>"><?php echo $this->__('Add to Compare') ?></a>
105
+ <?php endif; ?>
106
+ </div>
107
+
108
+ <?php else: ?>
109
+ <?php if ($this->helper('wishlist')->isAllow()) : ?>
110
+ <p><a href="<?php echo $wishlistLink ?>"><?php echo $this->__('Add to Wishlist') ?></a><br />
111
+ <?php endif; ?>
112
+
113
+ <?php if($_compareUrl=$this->helper('catalog/product_compare')->getAddUrl($product)): ?>
114
+ <a href="<?php echo $_compareUrl ?>"><?php echo $this->__('Add to Compare') ?></a>
115
+ <?php endif; ?></p>
116
+
117
+ <?php endif; ?>
118
+ <?php else: ?>
119
+ <button class="form-button" onclick="productAddToCartForm.submit()"><span><?php echo $this->__('Add to Cart') ?></span></button> <strong><?php echo $this->__('OR') ?></strong>
120
+
121
+ <?php if ($this->helper('wishlist')->isAllow()) : ?>
122
+ &nbsp;&nbsp;<a href="<?php echo $wishlistLink ?>"><?php echo $this->__('Add to Wishlist') ?></a>
123
+ <?php endif; ?>
124
+
125
+ <?php if($_compareUrl=$this->helper('catalog/product_compare')->getAddUrl($product)): ?>
126
+ <span class="pipe">|</span><a href="<?php echo $_compareUrl ?>"><?php echo $this->__('Add to Compare') ?></a>
127
+ <?php endif; ?>
128
+
129
+ <?php endif; ?>
130
+ </form>
131
+ <script type="text/javascript">
132
+ var productAddToCartForm = new VarienForm('product_addtocart_form');
133
+ productAddToCartForm.submit = function() {
134
+ if(this.validator.validate()) {
135
+ this.form.submit();
136
+ }
137
+ }.bind(productAddToCartForm);
138
+ </script>
139
+ <div class="clear"></div>
140
+ <div class="divider"></div>
141
+
142
+ <p><a href="<?php echo $product->getProductUrl() ?>">&laquo; <?php echo $this->__('Back to Main Product Info') ?></a></p>
143
+
144
+ </div>
145
+ </div>
146
+
147
+ <div class="product-collateral">
148
+ <?php if( $this->getCollection() && $this->count()): ?>
149
+ <div class="collateral-box dedicated-review-box" id="customer-reviews">
150
+ <div class="head">
151
+ <h4><?php echo $this->__('Customer Reviews') ?></h4>
152
+ </div>
153
+ <?php echo $this->getToolbarHtml() ?>
154
+ <ol style="margin-top:15px;">
155
+ <?php foreach( $this->getCollection()->getItems() as $_review ): ?>
156
+ <li>
157
+ <a href="<?php echo $this->getReviewUrl($_review->getId()) ?>"><strong><?php echo $this->htmlEscape($_review->getTitle()) ?></strong></a> <?php echo $this->__('Review by %s', $this->htmlEscape($_review->getNickname())) ?>
158
+ <table class="ratings-list" cellspacing="0">
159
+ <tbody>
160
+ <?php foreach( $_review->getRatingVotes() as $_vote ): ?>
161
+ <tr>
162
+ <td class="label"><strong><?php echo $this->escapeHtml($_vote->getRatingCode()) ?></strong></td>
163
+ <td>
164
+ <div class="rating-box">
165
+ <div class="rating" style="width: <?php echo $_vote->getPercent() ?>%;"></div>
166
+ </div>
167
+ </td>
168
+ </tr>
169
+ <?php endforeach; ?>
170
+ </tbody>
171
+ </table>
172
+ <p><?php echo nl2br($this->htmlEscape($_review->getDetail())) ?> <?php echo $this->__('(Posted on %s)', $this->formatDate($_review->getCreatedAt()), 'long') ?></p>
173
+ </li>
174
+ <?php endforeach; ?>
175
+ </ol>
176
+ </div>
177
+ <?php echo $this->getToolbarHtml() ?>
178
+ <?php else: ?>
179
+ <?php endif; ?>
180
+ <br/>
181
+ <?php echo $this->getChildHtml('reviewForm') ?>
182
+ </div>
183
+ </div>
app/design/frontend/default/iphone/template/review/view.phtml ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php if($this->getProductData()->getId()): ?>
28
+ <div class="page-head">
29
+ <h4><?php echo $this->__('Review Details') ?></h4>
30
+ </div>
31
+ <div class="my-review-detail">
32
+ <div class="product-image">
33
+ <p><a href="<?php echo $this->getProductData()->getProductUrl() ?>"><img src="<?php echo $this->helper('catalog/image')->init($this->getProductData(), 'small_image')->resize(125, 125); ?>" alt="<?php echo $this->htmlEscape($this->getProductData()->getName()) ?>" height="100" width="100" /></a></p>
34
+ <?php if( $this->getRating() && $this->getRating()->getSize()): ?>
35
+ <small><?php echo $this->__('Average Customer Rating') ?>:</small>
36
+ <?php echo $this->helper('review/product')->getSummaryHtml($this->getProductData()) ?>
37
+ <?php endif; ?>
38
+ </div>
39
+ <div class="details">
40
+ <h3><?php echo $this->htmlEscape($this->getProductData()->getName()) ?></h3>
41
+ <?php if( $this->getRating() && $this->getRating()->getSize()): ?>
42
+ <strong><?php echo $this->__('Product Rating:') ?></strong>
43
+ <?php foreach ($this->getRating() as $_rating): ?>
44
+ <?php if($_rating->getPercent()): ?>
45
+ <div class="ratings">
46
+ <?php echo $this->__($this->escapeHtml($_rating->getRatingCode())) ?>
47
+ <div class="rating-box">
48
+ <div class="rating" style="width:<?php echo ceil($_rating->getPercent()) ?>%;"></div>
49
+ </div>
50
+ </div>
51
+ <?php endif; ?>
52
+ <?php endforeach; ?>
53
+ <?php endif; ?>
54
+ <div class="clear"></div>
55
+ <?php echo $this->__('Product Review (submitted on %s):', $this->dateFormat($this->getReviewData()->getCreatedAt())) ?>
56
+ <div class="description">
57
+ <p><?php echo nl2br($this->htmlEscape($this->getReviewData()->getDetail())) ?></p>
58
+ </div>
59
+ </div></div>
60
+ <div class="button-set"><a href="<?php echo $this->getBackUrl() ?>" class="left">&laquo; <?php echo $this->__('Back to Product Reviews') ?></a></div><br />
61
+ <?php endif; ?>
app/design/frontend/default/iphone/template/rss/list.phtml ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <div class="page-head">
28
+ <h3><?php echo $this->__('RSS Feeds') ?> <img src="<?php echo $this->getSkinUrl() ?>images/icon_big_rss.png" class="v-middle" style="margin-bottom:3px;" /></h3>
29
+ </div>
30
+ <?php
31
+ $_categories = $this->getRssCatalogFeeds();
32
+ $_misc = $this->getRssMiscFeeds();
33
+ ?>
34
+ <?php if($_misc): ?>
35
+ <table cellspacing="0" class="data-table" id="rss-table-misc">
36
+ <thead><tr><th><?php echo $this->__('Miscellaneous Feeds') ?></th></tr></thead>
37
+ <tbody>
38
+ <?php foreach ($_misc as $_feed): ?>
39
+ <tr>
40
+ <td class="a-right"><span class="left"><?php echo $_feed->getLabel() ?></span><a href="<?php echo $_feed->getUrl() ?>" class="link-feed"><?php echo $this->__('Get Feed'); ?></a></td>
41
+ </tr>
42
+ <?php endforeach; ?>
43
+ </tbody>
44
+ </table>
45
+ <?php endif; ?>
46
+ <?php if ($_categories || $_misc): ?><br/><?php endif ?>
47
+ <?php if($_categories): ?>
48
+ <table cellspacing="0" class="data-table" id="rss-table-category">
49
+ <thead><tr><th><?php echo $this->__('Category Feeds') ?></th></tr></thead>
50
+ <tbody>
51
+ <?php foreach ($_categories as $_category): ?>
52
+ <tr>
53
+ <td class="a-right"><span class="left"><?php echo $_category->getLabel() ?></span><a href="<?php echo $_category->getUrl() ?>" class="link-feed"><?php echo $this->__('Get Feed'); ?></a></td>
54
+ </tr>
55
+ <?php endforeach; ?>
56
+ </tbody>
57
+ </table>
58
+ <script type="text/javascript">decorateTable('rss-table-misc'); decorateTable('rss-table-category')</script>
59
+ <?php else: ?>
60
+ <p><?php echo $this->__('There are no Rss Feeds.'); ?></p>
61
+ <?php endif; ?>
app/design/frontend/default/iphone/template/rss/nofeed.phtml ADDED
@@ -0,0 +1 @@
 
1
+ There was no RSS feed enabled.
app/design/frontend/default/iphone/template/rss/order/details.phtml ADDED
@@ -0,0 +1,102 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ /*
27
+ store view name = $_order->getStore()->getName()
28
+ web site name = $_order->getStore()->getWebsite()->getName()
29
+ store name = $_order->getStore()->getGroup()->getName()
30
+ */
31
+ ?>
32
+ <?php $_order=$this->getOrder() ?>
33
+ <div>
34
+ <?php echo $this->__('Customer Name: %s', $_order->getCustomerFirstname()?$_order->getCustomerName():$_order->getBillingAddress()->getName()) ?><br/>
35
+ <?php echo $this->__('Purchased From: %s', $_order->getStore()->getGroup()->getName()) ?><br/>
36
+ </div>
37
+ <table cellspacing="0" cellpadding="0" border="0" width="100%" style="border:1px solid #bebcb7; background:#f8f7f5;">
38
+ <thead>
39
+ <tr>
40
+ <th align="left" bgcolor="#d9e5ee" style="padding:3px 9px">Item</th>
41
+ <th align="center" bgcolor="#d9e5ee" style="padding:3px 9px">Qty</th>
42
+ <th align="right" bgcolor="#d9e5ee" width="10%" style="padding:3px 9px">Subtotal</th>
43
+ </tr>
44
+ </thead>
45
+
46
+ <tbody>
47
+ <?php $i=0; foreach ($_order->getAllItems() as $_item): $i++ ?>
48
+ <tr <?php echo $i%2?'bgcolor="#eeeded"':'' ?>>
49
+ <td align="left" valign="top" style="padding:3px 9px"><?php echo $this->htmlEscape($_item->getName()) ?>
50
+ <?php if($_item->getGiftMessageId() && $_giftMessage = $this->helper('giftmessage/message')->getGiftMessage($_item->getGiftMessageId())): ?>
51
+ <br /><strong><?php echo $this->__('Gift Message') ?></strong>
52
+ <br /><?php echo $this->__('From:'); ?> <?php echo $this->htmlEscape($_giftMessage->getSender()) ?>
53
+ <br /><?php echo $this->__('To:'); ?> <?php echo $this->htmlEscape($_giftMessage->getRecipient()) ?>
54
+ <br /><?php echo $this->__('Message:'); ?><br/> <?php echo $this->htmlEscape($_giftMessage->getMessage()) ?>
55
+ <?php endif; ?>
56
+ </td>
57
+ <td align="center" valign="top" style="padding:3px 9px"><?php echo $_item->getQtyOrdered()*1 ?></td>
58
+ <td align="right" valign="top" style="padding:3px 9px"><?php echo $_order->formatPrice($_item->getRowTotal()) ?></td>
59
+ </tr>
60
+ <?php endforeach ?>
61
+ </tbody>
62
+
63
+ <tfoot>
64
+ <?php if($_order->getGiftMessageId() && $_giftMessage = $this->helper('giftmessage/message')->getGiftMessage($_order->getGiftMessageId())): ?>
65
+ <tr>
66
+ <td colspan="3" align="left" style="padding:3px 9px">
67
+ <strong><?php echo $this->__('Gift Message') ?></strong>
68
+ <br /><?php echo $this->__('From:'); ?> <?php echo $this->htmlEscape($_giftMessage->getSender()) ?>
69
+ <br /><?php echo $this->__('To:'); ?> <?php echo $this->htmlEscape($_giftMessage->getRecipient()) ?>
70
+ <br /><?php echo $this->__('Message:'); ?><br/> <?php echo $this->htmlEscape($_giftMessage->getMessage()) ?>
71
+ </td>
72
+ </tr>
73
+ <?php endif; ?>
74
+ <tr>
75
+ <td colspan="2" align="right" style="padding:3px 9px"><?php echo $this->__('Subtotal') ?></td>
76
+ <td align="right" style="padding:3px 9px"><?php echo $_order->formatPrice($_order->getSubtotal()) ?></td>
77
+ </tr>
78
+ <?php if ($_order->getDiscountAmount() > 0): ?>
79
+ <tr>
80
+ <td colspan="2" align="right" style="padding:3px 9px"><?php echo $_order->getCouponCode() ? $this->__('Discount (%s)', $_order->getCouponCode()) : $this->__('Discount'); ?></td>
81
+ <td align="right" style="padding:3px 9px"><?php echo $_order->formatPrice(0.00 - $_order->getDiscountAmount()) ?></td>
82
+ </tr>
83
+ <?php endif; ?>
84
+ <?php if ($_order->getShippingAmount() || $_order->getShippingDescription()): ?>
85
+ <tr>
86
+ <td colspan="2" align="right" style="padding:3px 9px"><?php echo $this->__('Shipping & Handling') ?></td>
87
+ <td align="right" style="padding:3px 9px"><?php echo $_order->formatPrice($_order->getShippingAmount()) ?></td>
88
+ </tr>
89
+ <?php endif; ?>
90
+ <?php if ($_order->getTaxAmount() > 0): ?>
91
+ <tr>
92
+ <td colspan="2" align="right" style="padding:3px 9px"><?php echo $this->__('Tax') ?></td>
93
+ <td align="right" style="padding:3px 9px"><?php echo $_order->formatPrice($_order->getTaxAmount()) ?></td>
94
+ </tr>
95
+ <?php endif; ?>
96
+ <tr bgcolor="#DEE5E8">
97
+ <td colspan="2" align="right" style="padding:3px 9px"><strong><big><?php echo $this->__('Grand Total') ?></big></strong></td>
98
+ <td align="right" style="padding:6px 9px"><strong><big><?php echo $_order->formatPrice($_order->getGrandTotal()) ?></big></strong></td>
99
+ </tr>
100
+ </tfoot>
101
+
102
+ </table>
app/design/frontend/default/iphone/template/sales/order/creditmemo.phtml ADDED
@@ -0,0 +1,111 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php if($this->helper('giftmessage/message')->getIsMessagesAvailable('order', $this->getOrder())): ?>
28
+ <script type="text/javascript">
29
+ function giftMessageToogle(giftMessageIdentifier)
30
+ {
31
+ var link = $('order-item-gift-message-link-'+giftMessageIdentifier);
32
+ var container = $('order-item-gift-message-'+giftMessageIdentifier);
33
+ var row = $('order-item-row-'+giftMessageIdentifier);
34
+
35
+
36
+ if(link.expanded) {
37
+ link.expanded = false;
38
+ link.removeClassName('collapse');
39
+ link.addClassName('expand');
40
+ if(container.hasClassName('last')) {
41
+ row.addClassName('last');
42
+ }
43
+ container.hide();
44
+ } else {
45
+ link.expanded = true;
46
+ link.addClassName('collapse');
47
+ link.removeClassName('expand');
48
+ if(container.hasClassName('last')) {
49
+ row.removeClassName('last');
50
+ }
51
+ container.show();
52
+ }
53
+
54
+ return false;
55
+ }
56
+ </script>
57
+ <?php endif; ?>
58
+ <?php $_order = $this->getOrder() ?>
59
+ <a href="<?php echo $this->getPrintAllCreditmemosUrl($_order) ?>" target="_blank"><?php echo $this->__('Print All Refunds') ?></a>
60
+ <?php foreach ($_order->getCreditmemosCollection() as $_creditmemo): ?>
61
+ <br />
62
+ <div class="head">
63
+ <h3><?php echo $this->__('Refund #') ?><?php echo $_creditmemo->getIncrementId(); ?></h3>
64
+ <a href="<?php echo $this->getPrintCreditmemoUrl($_creditmemo) ?>" target="_blank"><?php echo $this->__('Print Refund') ?></a>
65
+ </div>
66
+ <h4><?php echo $this->__('Items Refunded') ?></h4>
67
+ <table cellspacing="0" class="data-table" id="my-orders-table">
68
+ <thead>
69
+ <tr>
70
+ <th><?php echo $this->__('Product Name') ?></th>
71
+ <th width="10%"><?php echo $this->__('SKU') ?></th>
72
+ <th width="10%"><?php echo $this->__('Price') ?></th>
73
+ <th class="a-center" width="5%"><?php echo $this->__('Qty') ?></th>
74
+ <th><?php echo $this->__('Subtotal') ?></th>
75
+ <th class="wrap" width="7%"><?php echo $this->__('Tax Amount') ?></th>
76
+ <th class="wrap" width="7%"><?php echo $this->__('Discount Amount') ?></th>
77
+ <th class="wrap"><?php echo $this->__('Row Total') ?></th>
78
+ </tr>
79
+ </thead>
80
+ <tbody>
81
+ <?php $_items = $_creditmemo->getAllItems(); ?>
82
+ <?php $_count = count($_items); ?>
83
+ <?php $_index = 0; ?>
84
+ <?php foreach ($_items as $_item): ?>
85
+ <tr <?php echo ($_index++ > $_count ? ' class="last"' : '') ?> id="order-item-row-<?php echo $_item->getId() ?>">
86
+ <td>
87
+ <?php echo $this->htmlEscape($_item->getName()) ?>
88
+ <?php echo $this->htmlEscape($_item->getDescription()) ?>
89
+ </td>
90
+ <td><?php echo $this->htmlEscape($_item->getSku()) ?></td>
91
+ <td class="a-right nowrap"><?php echo $_order->formatPrice($_item->getPrice()) ?> </td>
92
+ <td><?php echo $_item->getQty()*1 ?></td>
93
+ <td class="a-right"><?php echo $_order->formatPrice($_item->getRowTotal()) ?></td>
94
+ <td class="a-right"><?php echo $_order->formatPrice($_item->getTaxAmount()) ?></td>
95
+ <td class="a-right"><?php echo $_order->formatPrice(-$_item->getDiscountAmount()) ?></td>
96
+ <td class="last a-right nowrap">
97
+ <?php echo $_order->formatPrice($_item->getRowTotal()-$_item->getDiscountAmount()+$_item->getTaxAmount()) ?>
98
+ </td>
99
+ </tr>
100
+ <?php endforeach; ?>
101
+
102
+ </tbody>
103
+ <tfoot>
104
+ <?php echo $this->getTotalsHtml($_creditmemo);?>
105
+ </tfoot>
106
+ </table>
107
+ <script type="text/javascript">decorateTable('my-orders-table')</script>
108
+ <?php endforeach; ?>
109
+ <div class="button-set">
110
+ <a href="<?php echo $this->getBackUrl() ?>" class="left">&laquo; <?php echo $this->__('Back to My Orders') ?></a>
111
+ </div>
app/design/frontend/default/iphone/template/sales/order/details.phtml ADDED
@@ -0,0 +1,107 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php $_order = $this->getOrder() ?>
28
+ <div class="page-head button-level">
29
+ <h2><?php echo $this->__('My Orders - Details') ?></h2>
30
+ <button class="form-button"><span><?php echo $this->__('Print All Invoices') ?></span></button>
31
+ </div>
32
+ <h3><?php echo $this->__('Order #%s', $_order->getRealOrderId()) ?></h3>
33
+ <?php foreach ($this->getInvoices() as $_invoice): ?>
34
+ <div class="divider"></div>
35
+ <div class="head">
36
+ <h3><?php echo $this->__('Invoice #%s', $_invoice->getIncrementId()) ?></h3>
37
+ <a href="#"><?php echo $this->__('Print Invoice') ?></a>
38
+ </div>
39
+ <div class="col2-set">
40
+ <div class="col-1">
41
+ <h4><?php echo $this->__('Shipping Address') ?></h4>
42
+ <?php $_shipping = $_invoice->getShippingAddress() ?>
43
+ <address><?php echo $_shipping->getFirstname() ?> <?php echo $_shipping->getLastname() ?><br />
44
+ <?php echo $_shipping->getCompany() ?><br />
45
+ <?php echo $_shipping->getStreet() ?><br />
46
+ <?php echo $_shipping->getCity() ?>, <?php echo $_shipping->getRegion() ?> <?php echo $_shipping->getPostcode() ?><br />
47
+ <strong>T</strong> | <?php echo $_shipping->getTelephone();
48
+ if ($_shipping->getFax()): ?><br /><strong>F</strong> | <?php echo $_shipping->getFax() ?><?php endif; ?></address>
49
+ </div>
50
+ <div class="col-2">
51
+ <h4><?php echo $this->__('Billing Address') ?></h4>
52
+ <?php $_billing = $_invoice->getbillingAddress() ?>
53
+ <address><?php echo $_billing->getFirstname() ?> <?php echo $_billing->getLastname() ?><br />
54
+ <?php echo $_billing->getCompany() ?><br />
55
+ <?php echo $_billing->getStreet() ?><br />
56
+ <?php echo $_billing->getCity() ?>, <?php echo $_billing->getRegion() ?> <?php echo $_billing->getPostcode() ?><br />
57
+ <strong>T</strong> | <?php echo $_billing->getTelephone();
58
+ if ($_billing->getFax()): ?><br /><strong>F</strong> | <?php echo $_billing->getFax() ?><?php endif; ?></address>
59
+ </div>
60
+ </div>
61
+ <br />
62
+ <div class="col2-set">
63
+ <div class="col-1">
64
+ <h4><?php echo $this->__('Shipping Method') ?></h4>
65
+ <?php echo $_order->getShippingMethod() ?> <?php echo $_order->getShippingDescription() ?>
66
+ </div>
67
+ <div class="col-2">
68
+ <h4><?php echo $this->__('Payment Method') ?></h4>
69
+ <?php $_payment = $_order->getPayment() ?>
70
+ <?php echo $_payment->getMethod() ?>: <?php echo $_payment->getCcType() ?> xxxx<?php echo $_payment->getCcLast4() ?>
71
+ </div>
72
+ </div>
73
+ <br />
74
+ <h4><?php echo $this->__('Items Ordered') ?></h4>
75
+ <table cellspacing="0" class="data-table">
76
+ <thead>
77
+ <tr>
78
+ <th><?php echo $this->__('Product Name') ?></th>
79
+ <th class="a-right" width="15%"><?php echo $this->__('Price') ?></th>
80
+ <th class="a-center" width="10%"><?php echo $this->__('Qty Ordered') ?></th>
81
+ <th class="a-center" width="10%"><?php echo $this->__('Qty Shipped') ?></th>
82
+ <th class="a-right" width="20%"><?php echo $this->__('Subtotal') ?></th>
83
+ </tr>
84
+ </thead>
85
+ <tbody>
86
+ <?php $_items = $_invoice->getItemsCollection(); ?>
87
+ <?php $_count = $_items->count(); ?>
88
+ <?php $_index = 0; ?>
89
+ <?php foreach ($_items as $_item): ?>
90
+ <tr<?php echo ($_index++ > $_count ? ' class="last"' : '') ?>>
91
+ <td><?php echo $this->htmlEscape($_item->getProductName()) ?></td>
92
+ <td class="a-right nowrap"><?php echo $_order->formatPrice($_item->getPrice()*1) ?></td>
93
+ <td class="a-center"><?php echo $_item->getQty()*1 ?></td>
94
+ <td class="a-center"><?php echo $_item->getQty()*1 ?></td>
95
+ <td class="last a-right nowrap"><?php echo $_order->formatPrice($_item->getRowTotal()*1) ?></td>
96
+ <?php endforeach; ?>
97
+ </tr>
98
+ </tbody>
99
+ <tfoot>
100
+ <tr>
101
+ <td colspan="4" class="a-right"><?php echo $this->__('Order Subtotal') ?></td>
102
+ <td class="last a-right"><?php echo $_order->formatPrice($_invoice->getSubtotal()) ?></td>
103
+ </tr>
104
+ </tfoot>
105
+ </table>
106
+ <br/>
107
+ <?php endforeach; ?>
app/design/frontend/default/iphone/template/sales/order/history.phtml ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php $_orders = $this->getOrders(); ?>
28
+ <div class="in-page">
29
+ <div class="page-head"><h3><?php echo $this->__('My Orders') ?></h3></div>
30
+ <?php echo $this->getPagerHtml(); ?>
31
+ <?php if($_orders->getSize()): ?>
32
+ <table cellspacing="0" class="shopping-cart checkout-review" id="my-orders-table">
33
+ <thead>
34
+ <tr>
35
+ <th><?php echo $this->__('Order #') ?></th>
36
+ <th><?php echo $this->__('Date') ?></th>
37
+ <th><?php echo $this->__('Ship To') ?></th>
38
+ <th><?php echo $this->__('Total') ?></th>
39
+ <th><?php echo $this->__('Status') ?></th>
40
+ <th>&nbsp;</th>
41
+ </tr>
42
+ </thead>
43
+ <tbody>
44
+ <?php $_odd = ''; ?>
45
+ <?php foreach ($_orders as $_order): ?>
46
+ <tr>
47
+ <td><?php echo $_order->getRealOrderId() ?></td>
48
+ <td><?php echo $this->formatDate($_order->getCreatedAtStoreDate()) ?></td>
49
+ <td><?php echo $_order->getShippingAddress() ? $this->htmlEscape($_order->getShippingAddress()->getName()): '' ?></td>
50
+ <td><?php echo $_order->formatPrice($_order->getGrandTotal()) ?></td>
51
+ <td><em><?php echo $_order->getStatusLabel() ?></em></td>
52
+ <td class="a-center"><a href="<?php echo $this->getViewUrl($_order) ?>"><?php echo $this->__('View') ?></a>
53
+ <?php if ($this->helper('sales/reorder')->canReorder($_order)) : ?>
54
+ <br /><a href="<?php echo $this->getReorderUrl($_order) ?>" style="font-weight: bold; color: #FF6600;"><?php echo $this->__('Reorder') ?></a>
55
+ <?php endif ?>
56
+ </td>
57
+ </tr>
58
+ <?php endforeach; ?>
59
+ </tbody>
60
+ </table>
61
+ <script type="text/javascript">decorateTable('my-orders-table')</script>
62
+ <?php echo $this->getPagerHtml(); ?>
63
+ <?php else: ?>
64
+ <p><?php echo $this->__('You have placed no orders.'); ?></p>
65
+ <?php endif ?>
66
+ </div>
app/design/frontend/default/iphone/template/sales/order/info.phtml ADDED
@@ -0,0 +1,92 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php $_order = $this->getOrder() ?>
28
+ <div class="in-page">
29
+ <div class="page-head button-level">
30
+ <h3><?php echo $this->__('Order #%s - %s', $_order->getRealOrderId(), $_order->getStatusLabel()) ?></h3>
31
+ <div class="col2-alt-set" style="margin:5px 0;">
32
+ <div class="col-1">
33
+ <?php if ($this->helper('sales/reorder')->canReorder($_order)) : ?>
34
+ <a href="<?php echo $this->getReorderUrl($_order) ?>" class="link-cart"><?php echo $this->__('Reorder') ?></a>
35
+ <?php endif ?>
36
+ </div>
37
+ <div class="col-2 a-right"><?php echo $this->__('Order Date: %s', $this->formatDate($_order->getCreatedAtStoreDate(), 'long')) ?></div><div class="clear"></div>
38
+ </div>
39
+ </div>
40
+ <?php echo $this->getStatusHistoryRssUrl($_order) ?>
41
+ <div class="order-access">
42
+ <div class="order-info">
43
+ <table cellspacing="0" class="shopping-cart checkout-review">
44
+ <thead>
45
+ <tr>
46
+ <th class="a-left"><?php echo $this->__('About This Order:') ?></th>
47
+ </tr>
48
+ </thead>
49
+ <tr>
50
+ <td style="border:0;">
51
+ <ul>
52
+ <?php $_links = $this->getLinks(); ?>
53
+ <?php foreach ($_links as $_link): ?>
54
+ <?php if($_link->getUrl()): ?>
55
+ <li><a href="<?php echo $_link->getUrl() ?>"><?php echo $_link->getLabel() ?></a></li>
56
+ <?php else: ?>
57
+ <li class="selected"><?php echo $_link->getLabel() ?></li>
58
+ <?php endif; ?>
59
+ <?php endforeach; ?>
60
+ </ul>
61
+ </td>
62
+ </tr>
63
+ </table>
64
+ </div>
65
+ </div>
66
+ <?php if (!$_order->getIsVirtual()): ?>
67
+ <div class="col2-set generic-box">
68
+ <div class="col-1">
69
+ <h4><?php echo $this->__('Shipping Address') ?></h4>
70
+ <address><?php echo $_order->getShippingAddress()->format('html') ?></address>
71
+ </div>
72
+ <div class="col-2">
73
+ <h4><?php echo $this->__('Shipping Method') ?></h4>
74
+ <?php if ($_order->getShippingDescription()): ?>
75
+ <?php echo $_order->getShippingDescription() ?>
76
+ <?php else: ?>
77
+ <?php echo $this->helper('sales')->__('No shipping information available'); ?>
78
+ <?php endif; ?>
79
+ </div>
80
+ </div>
81
+ <?php endif; ?>
82
+ <div class="col2-set generic-box">
83
+ <div class="col-1">
84
+ <h4><?php echo $this->__('Billing Address') ?></h4>
85
+ <address><?php echo $_order->getBillingAddress()->format('html') ?></address>
86
+ </div>
87
+ <div class="col-2">
88
+ <h4><?php echo $this->__('Payment Method') ?></h4>
89
+ <?php echo $this->getPaymentInfoHtml() ?>
90
+ </div>
91
+ </div>
92
+ </div><div class="clear"></div>
app/design/frontend/default/iphone/template/sales/order/invoice.phtml ADDED
@@ -0,0 +1,107 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php if($this->helper('giftmessage/message')->getIsMessagesAvailable('order', $this->getOrder())): ?>
28
+ <script type="text/javascript">
29
+ function giftMessageToogle(giftMessageIdentifier)
30
+ {
31
+ var link = $('order-item-gift-message-link-'+giftMessageIdentifier);
32
+ var container = $('order-item-gift-message-'+giftMessageIdentifier);
33
+ var row = $('order-item-row-'+giftMessageIdentifier);
34
+
35
+
36
+ if(link.expanded) {
37
+ link.expanded = false;
38
+ link.removeClassName('collapse');
39
+ link.addClassName('expand');
40
+ if(container.hasClassName('last')) {
41
+ row.addClassName('last');
42
+ }
43
+ container.hide();
44
+ } else {
45
+ link.expanded = true;
46
+ link.addClassName('collapse');
47
+ link.removeClassName('expand');
48
+ if(container.hasClassName('last')) {
49
+ row.removeClassName('last');
50
+ }
51
+ container.show();
52
+ }
53
+
54
+ return false;
55
+ }
56
+ </script>
57
+ <?php endif; ?>
58
+ <?php $_order = $this->getOrder() ?>
59
+ <a href="<?php echo $this->getPrintAllInvoicesUrl($_order) ?>" target="_blank"><?php echo $this->__('Print All Invoices') ?></a>
60
+ <?php foreach ($_order->getInvoiceCollection() as $_invoice): ?>
61
+ <br />
62
+ <div class="head">
63
+ <h3><?php echo $this->__('Invoice #') ?><?php echo $_invoice->getIncrementId(); ?></h3>
64
+ <a href="<?php echo $this->getPrintInvoiceUrl($_invoice) ?>" target="_blank"><?php echo $this->__('Print Invoice') ?></a>
65
+ </div>
66
+
67
+ <h4><?php echo $this->__('Items Invoiced') ?></h4>
68
+ <table cellspacing="0" class="data-table" id="my-orders-table-<?php echo $_invoice->getId(); ?>">
69
+ <col />
70
+ <col width="15%" />
71
+ <col width="10%" />
72
+ <col width="20%" />
73
+ <thead>
74
+ <tr>
75
+ <th><?php echo $this->__('Product Name') ?></th>
76
+ <th width="10%"><?php echo $this->__('SKU') ?></th>
77
+ <th width="10%"><?php echo $this->__('Price') ?></th>
78
+ <th class="a-center" width="10%"><?php echo $this->__('Qty Invoiced') ?></th>
79
+ <th class="a-right" width="15%"><?php echo $this->__('Subtotal') ?></th>
80
+ </tr>
81
+ </thead>
82
+ <tbody>
83
+ <?php $_items = $_invoice->getAllItems(); ?>
84
+ <?php $_count = count($_items) ?>
85
+ <?php $_index = 0; ?>
86
+ <?php foreach ($_items as $_item): ?>
87
+ <tr <?php echo ($_index++ > $_count ? ' class="last"' : '') ?> id="order-item-row-<?php echo $_item->getId() ?>">
88
+ <td>
89
+ <?php echo $this->htmlEscape($_item->getName()) ?>
90
+ <?php echo $this->htmlEscape($_item->getDescription()) ?>
91
+ </td>
92
+ <td><?php echo $this->htmlEscape($_item->getSku()) ?></td>
93
+ <td class="a-right nowrap"><?php echo $_order->formatPrice($_item->getPrice()) ?> </td>
94
+ <td class="a-center"><?php echo $_item->getQty()*1 ?> </td>
95
+ <td class="last a-right nowrap"><?php echo $_order->formatPrice($_item->getRowTotal()) ?> </td>
96
+ </tr>
97
+ <?php endforeach; ?>
98
+ </tbody>
99
+ <tfoot>
100
+ <?php echo $this->getInvoiceTotalsHtml($_invoice)?>
101
+ </tfoot>
102
+ </table>
103
+ <script type="text/javascript">decorateTable('my-orders-table-<?php echo $_invoice->getId(); ?>')</script>
104
+ <?php endforeach; ?>
105
+ <div class="button-set">
106
+ <a href="<?php echo $this->getBackUrl() ?>" class="left">&laquo; <?php echo $this->__('Back to My Orders') ?></a>
107
+ </div>
app/design/frontend/default/iphone/template/sales/order/items.phtml ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php $_order = $this->getOrder() ?>
28
+ <table cellspacing="0" class="shopping-cart checkout-review" id="my-orders-table">
29
+ <col />
30
+ <col width="25%" />
31
+ <col width="1" />
32
+ <col width="1" />
33
+ <col width="1" />
34
+ <thead>
35
+ <tr>
36
+ <th><?php echo $this->__('Product Name') ?></th>
37
+ <th><?php echo $this->__('SKU') ?></th>
38
+ <th class="a-right"><?php echo $this->__('Price') ?></th>
39
+ <th class="a-center"><?php echo $this->__('Qty') ?></th>
40
+ <th class="a-right"><?php echo $this->__('Subtotal') ?></th>
41
+ </tr>
42
+ </thead>
43
+ <tfoot>
44
+ <?php echo $this->getChildHtml('order_totals') ?>
45
+ </tfoot>
46
+ <?php $_items = $_order->getItemsCollection(); ?>
47
+ <?php $_index = 0; ?>
48
+ <?php $_count = $_items->count(); ?>
49
+ <?php foreach ($_items as $_item): ?>
50
+ <?php if ($_item->getParentItem()) continue; ?>
51
+ <tbody>
52
+ <?php echo $this->getItemHtml($_item) ?>
53
+ <?php if($this->helper('giftmessage/message')->getIsMessagesAvailable('order_item', $_item) && $_item->getGiftMessageId()): ?>
54
+ <tr class="border<?php echo ($_index++ > $_count ?' last':'') ?>" id="order-item-gift-message-<?php echo $_item->getId() ?>" style="display:none;">
55
+ <?php $_giftMessage=$this->helper('giftmessage/message')->getGiftMessageForEntity($_item); ?>
56
+ <td class="giftmessage-row last" colspan="7">
57
+ <ul class="giftmessage-content">
58
+ <li><label><?php echo $this->__('From') ?></label> <?php echo $this->htmlEscape($_giftMessage->getRecipient()) ?></li>
59
+ <li><label><?php echo $this->__('To') ?></label> <?php echo $this->htmlEscape($_giftMessage->getSender()) ?></li>
60
+ <li><?php echo $this->helper('giftmessage/message')->getEscapedGiftMessage($_item) ?></li>
61
+ </ul>
62
+ <div class="giftmessage-close"><a href="#" onclick="return giftMessageToogle('<?php echo $_item->getId() ?>');"><img src="<?php echo $this->getSkinUrl('images/gift-message-close.gif') ?>" alt="" /></a></div>
63
+ </td>
64
+ </tr>
65
+ <?php endif ?>
66
+ </tbody>
67
+ <?php endforeach; ?>
68
+ </table>
69
+ <script type="text/javascript">decorateTable('my-orders-table', {'tbody' : ['odd', 'even'], 'tbody tr' : ['first', 'last']})</script>
app/design/frontend/default/iphone/template/sales/order/items/renderer/default.phtml ADDED
@@ -0,0 +1,317 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php $_item = $this->getItem() ?>
28
+ <tr class="border" id="order-item-row-<?php echo $_item->getId() ?>">
29
+ <td><h5 class="title"><?php echo $this->htmlEscape($_item->getName()) ?></h5>
30
+ <?php if($_options = $this->getItemOptions()): ?>
31
+ <dl class="item-options">
32
+ <?php foreach ($_options as $_option) : ?>
33
+ <dt><?php echo $this->htmlEscape($_option['label']) ?></dt>
34
+ <?php if (!$this->getPrintStatus()): ?>
35
+ <?php $_formatedOptionValue = $this->getFormatedOptionValue($_option) ?>
36
+ <dd<?php if (isset($_formatedOptionValue['full_view'])): ?> class="truncated"<?php endif; ?>>
37
+ <?php echo $_formatedOptionValue['value'] ?>
38
+ <?php if (isset($_formatedOptionValue['full_view'])): ?>
39
+ <div class="truncated_full_value">
40
+ <dl class="item-options">
41
+ <dt><?php echo $this->htmlEscape($_option['label']) ?></dt>
42
+ <dd><?php echo $_formatedOptionValue['full_view'] ?></dd>
43
+ </dl>
44
+ </div>
45
+ <?php endif; ?>
46
+ </dd>
47
+ <?php else: ?>
48
+ <dd><?php echo $this->htmlEscape( (isset($_option['print_value']) ? $_option['print_value'] : $_option['value']) ) ?></dd>
49
+ <?php endif; ?>
50
+ <?php endforeach; ?>
51
+ </dl>
52
+ <?php endif; ?>
53
+ <?php echo $this->htmlEscape($_item->getDescription()) ?>
54
+ <?php if($this->helper('giftmessage/message')->getIsMessagesAvailable('order_item', $_item) && $_item->getGiftMessageId()): ?>
55
+ <br /><a href="#" id="order-item-gift-message-link-<?php echo $_item->getId() ?>" class="giftmessage-preview-link expand" onclick="return giftMessageToogle('<?php echo $_item->getId() ?>')"><?php echo $this->__('Gift Message') ?></a>
56
+ <?php endif; ?>
57
+ </td>
58
+ <td><?php echo $this->htmlEscape(Mage::helper('core/string')->splitInjection($this->getSku())) ?></td>
59
+ <td class="a-right nowrap">
60
+ <?php if ($this->helper('tax')->displaySalesBothPrices() || $this->helper('tax')->displaySalesPriceExclTax()): ?>
61
+ <span class="price-excl-tax">
62
+ <?php if ($this->helper('tax')->displaySalesBothPrices()): ?>
63
+ <?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
64
+ <div class="cart-price">
65
+ <?php endif; ?>
66
+ <span class="label"><?php echo $this->__('Excl. Tax'); ?>:</span>
67
+ <?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
68
+ </div>
69
+ <?php endif; ?>
70
+ <?php endif; ?>
71
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
72
+ <div class="cart-tax-total" onclick="taxToggle('eunit-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
73
+ <?php else: ?>
74
+ <div class="cart-price">
75
+ <?php endif; ?>
76
+
77
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(0, 1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
78
+ <?php echo $this->getOrder()->formatPrice($this->getItem()->getPrice()+$this->getItem()->getWeeeTaxAppliedAmount()+$this->getItem()->getWeeeTaxDisposition()); ?>
79
+ <?php else: ?>
80
+ <?php echo $this->getOrder()->formatPrice($this->getItem()->getPrice()) ?>
81
+ <?php endif; ?>
82
+
83
+ </div>
84
+
85
+
86
+ <?php if (Mage::helper('weee')->getApplied($this->getItem())): ?>
87
+
88
+ <div class="cart-tax-info" id="eunit-item-tax-details<?php echo $this->getItem()->getId(); ?>" style="display: none;">
89
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 1, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
90
+ <small>
91
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
92
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['amount']); ?></span>
93
+ <?php endforeach; ?>
94
+ </small>
95
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
96
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
97
+ <span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['amount_incl_tax']); ?></small></span>
98
+ <?php endforeach; ?>
99
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 4, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
100
+ <small>
101
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
102
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['amount_incl_tax']); ?></span>
103
+ <?php endforeach; ?>
104
+ </small>
105
+ <?php endif; ?>
106
+ </div>
107
+
108
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
109
+ <div class="cart-tax-total" onclick="taxToggle('eunit-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
110
+ <span class="nobr"><?php echo Mage::helper('weee')->__('Total'); ?>:<br /> <?php echo $this->getOrder()->formatPrice($this->getItem()->getPrice()+$this->getItem()->getWeeeTaxAppliedAmount()+$this->getItem()->getWeeeTaxDisposition()); ?></span>
111
+ </div>
112
+ <?php endif; ?>
113
+ <?php endif; ?>
114
+ </span>
115
+ <br />
116
+ <?php endif; ?>
117
+ <?php if ($this->helper('tax')->displaySalesBothPrices() || $this->helper('tax')->displaySalesPriceInclTax()): ?>
118
+ <span class="price-incl-tax">
119
+ <?php if ($this->helper('tax')->displaySalesBothPrices()): ?>
120
+ <?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
121
+ <div class="cart-price">
122
+ <?php endif; ?>
123
+ <span class="label"><?php echo $this->__('Incl. Tax'); ?>:</span>
124
+ <?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
125
+ </div>
126
+ <?php endif; ?>
127
+ <?php endif; ?>
128
+ <?php $_incl = $this->helper('checkout')->getPriceInclTax($this->getItem()); ?>
129
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
130
+ <div class="cart-tax-total" onclick="taxToggle('unit-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
131
+ <?php else: ?>
132
+ <div class="cart-price">
133
+ <?php endif; ?>
134
+
135
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(0, 1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
136
+ <?php echo $this->getOrder()->formatPrice($_incl+$this->getItem()->getWeeeTaxAppliedAmount()); ?>
137
+ <?php else: ?>
138
+ <?php echo $this->getOrder()->formatPrice($_incl-$this->getItem()->getWeeeTaxDisposition()) ?>
139
+ <?php endif; ?>
140
+
141
+ </div>
142
+
143
+
144
+ <?php if (Mage::helper('weee')->getApplied($this->getItem())): ?>
145
+
146
+ <div class="cart-tax-info" id="unit-item-tax-details<?php echo $this->getItem()->getId(); ?>" style="display: none;">
147
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 1, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
148
+ <small>
149
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
150
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['amount']); ?></span>
151
+ <?php endforeach; ?>
152
+ </small>
153
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
154
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
155
+ <span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['amount_incl_tax']); ?></small></span>
156
+ <?php endforeach; ?>
157
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 4, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
158
+ <small>
159
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
160
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['amount_incl_tax']); ?></span>
161
+ <?php endforeach; ?>
162
+ </small>
163
+ <?php endif; ?>
164
+ </div>
165
+
166
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
167
+ <div class="cart-tax-total" onclick="taxToggle('unit-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
168
+ <span class="nobr"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>:<br /> <?php echo $this->getOrder()->formatPrice($_incl+$this->getItem()->getWeeeTaxAppliedAmount()); ?></span>
169
+ </div>
170
+ <?php endif; ?>
171
+ <?php endif; ?>
172
+ </span>
173
+ <?php endif; ?>
174
+ </td>
175
+ <td class="a-right nowrap">
176
+ <span class="nobr">
177
+ <?php if ($this->getItem()->getQtyOrdered() > 0): ?>
178
+ <?php echo $this->__('Ordered'); ?>: <strong><?php echo $this->getItem()->getQtyOrdered()*1 ?></strong><br />
179
+ <?php endif; ?>
180
+ <?php if ($this->getItem()->getQtyShipped() > 0): ?>
181
+ <?php echo $this->__('Shipped'); ?>: <strong><?php echo $this->getItem()->getQtyShipped()*1 ?></strong><br />
182
+ <?php endif; ?>
183
+ <?php if ($this->getItem()->getQtyCanceled() > 0): ?>
184
+ <?php echo $this->__('Canceled'); ?>: <strong><?php echo $this->getItem()->getQtyCanceled()*1 ?></strong><br />
185
+ <?php endif; ?>
186
+ <?php if ($this->getItem()->getQtyRefunded() > 0): ?>
187
+ <?php echo $this->__('Refunded'); ?>: <strong><?php echo $this->getItem()->getQtyRefunded()*1 ?></strong><br />
188
+ <?php endif; ?>
189
+ </span>
190
+ </td>
191
+ <td class="a-right nowrap">
192
+ <?php if ($this->helper('tax')->displaySalesBothPrices() || $this->helper('tax')->displaySalesPriceExclTax()): ?>
193
+ <span class="price-excl-tax">
194
+ <?php if ($this->helper('tax')->displaySalesBothPrices()): ?>
195
+ <?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
196
+ <div class="cart-price">
197
+ <?php endif; ?>
198
+ <span class="label"><?php echo $this->__('Excl. Tax'); ?>:</span>
199
+ <?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
200
+ </div>
201
+ <?php endif; ?>
202
+ <?php endif; ?>
203
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
204
+ <div class="cart-tax-total" onclick="taxToggle('esubtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
205
+ <?php else: ?>
206
+ <div class="cart-price">
207
+ <?php endif; ?>
208
+
209
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(0, 1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
210
+ <?php echo $this->getOrder()->formatPrice($this->getItem()->getRowTotal()+$this->getItem()->getWeeeTaxAppliedRowAmount()+$this->getItem()->getWeeeTaxRowDisposition()); ?>
211
+ <?php else: ?>
212
+ <?php echo $this->getOrder()->formatPrice($this->getItem()->getRowTotal()) ?>
213
+ <?php endif; ?>
214
+
215
+ </div>
216
+
217
+
218
+ <?php if (Mage::helper('weee')->getApplied($this->getItem())): ?>
219
+
220
+ <div class="cart-tax-info" id="esubtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>" style="display: none;">
221
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 1, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
222
+ <small>
223
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
224
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['row_amount']); ?></span>
225
+ <?php endforeach; ?>
226
+ </small>
227
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
228
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
229
+ <span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['row_amount_incl_tax']); ?></small></span>
230
+ <?php endforeach; ?>
231
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 4, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
232
+ <small>
233
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
234
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['row_amount_incl_tax']); ?></span>
235
+ <?php endforeach; ?>
236
+ </small>
237
+ <?php endif; ?>
238
+ </div>
239
+
240
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
241
+ <div class="cart-tax-total" onclick="taxToggle('esubtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
242
+ <span class="nobr"><?php echo Mage::helper('weee')->__('Total'); ?>:<br /> <?php echo $this->getOrder()->formatPrice($this->getItem()->getRowTotal()+$this->getItem()->getWeeeTaxAppliedRowAmount()+$this->getItem()->getWeeeTaxRowDisposition()); ?></span>
243
+ </div>
244
+ <?php endif; ?>
245
+ <?php endif; ?>
246
+ </span>
247
+ <br />
248
+ <?php endif; ?>
249
+ <?php if ($this->helper('tax')->displaySalesBothPrices() || $this->helper('tax')->displaySalesPriceInclTax()): ?>
250
+ <span class="price-incl-tax">
251
+ <?php if ($this->helper('tax')->displaySalesBothPrices()): ?>
252
+ <?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
253
+ <div class="cart-price">
254
+ <?php endif; ?>
255
+ <span class="label"><?php echo $this->__('Incl. Tax'); ?>:</span>
256
+ <?php if (!Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
257
+ </div>
258
+ <?php endif; ?>
259
+ <?php endif; ?>
260
+ <?php $_incl = $this->helper('checkout')->getSubtotalInclTax($this->getItem()); ?>
261
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
262
+ <div class="cart-tax-total" onclick="taxToggle('subtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
263
+ <?php else: ?>
264
+ <div class="cart-price">
265
+ <?php endif; ?>
266
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), array(0, 1, 4), 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
267
+ <?php echo $this->getOrder()->formatPrice($_incl+$this->getItem()->getWeeeTaxAppliedRowAmount()); ?>
268
+ <?php else: ?>
269
+ <?php echo $this->getOrder()->formatPrice($_incl-$this->getItem()->getWeeeTaxRowDisposition()) ?>
270
+ <?php endif; ?>
271
+
272
+ </div>
273
+
274
+
275
+ <?php if (Mage::helper('weee')->getApplied($this->getItem())): ?>
276
+
277
+ <div class="cart-tax-info" id="subtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>" style="display: none;">
278
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 1, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
279
+ <small>
280
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
281
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['row_amount']); ?></span>
282
+ <?php endforeach; ?>
283
+ </small>
284
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
285
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
286
+ <span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['row_amount_incl_tax']); ?></small></span>
287
+ <?php endforeach; ?>
288
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($this->getItem(), 4, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
289
+ <small>
290
+ <?php foreach (Mage::helper('weee')->getApplied($this->getItem()) as $tax): ?>
291
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo $this->getOrder()->formatPrice($tax['row_amount_incl_tax']); ?></span>
292
+ <?php endforeach; ?>
293
+ </small>
294
+ <?php endif; ?>
295
+ </div>
296
+
297
+ <?php if (Mage::helper('weee')->typeOfDisplay($this->getItem(), 2, 'sales') && (float)$this->getItem()->getWeeeTaxAppliedAmount()): ?>
298
+ <div class="cart-tax-total" onclick="taxToggle('subtotal-item-tax-details<?php echo $this->getItem()->getId(); ?>', this, 'cart-tax-total-expanded');">
299
+ <span class="nobr"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>:<br /> <?php echo $this->getOrder()->formatPrice($_incl+$this->getItem()->getWeeeTaxAppliedRowAmount()); ?></span>
300
+ </div>
301
+ <?php endif; ?>
302
+ <?php endif; ?>
303
+
304
+
305
+
306
+ </span>
307
+ <?php endif; ?>
308
+ </td>
309
+ <!--
310
+ <?php if ($this->helper('tax')->displaySalesBothPrices() || $this->helper('tax')->displaySalesPriceExclTax()): ?>
311
+ <th class="nowrap a-right"><?php echo $this->getOrder()->formatPrice($this->getItem()->getRowTotal()) ?></th>
312
+ <?php endif; ?>
313
+ <?php if ($this->helper('tax')->displaySalesBothPrices() || $this->helper('tax')->displaySalesPriceInclTax()): ?>
314
+ <th class="nowrap a-right"><?php echo $this->getOrder()->formatPrice($this->helper('checkout')->getSubtotalInclTax($this->getItem())); ?></th>
315
+ <?php endif; ?>
316
+ -->
317
+ </tr>
app/design/frontend/default/iphone/template/sales/order/print.phtml ADDED
@@ -0,0 +1,84 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php $_order = $this->getOrder() ?>
28
+ <h3><?php echo $this->__('Order #%s', $_order->getRealOrderId()) ?></h3>
29
+ <div class="divider"></div>
30
+ <div class="col2-set">
31
+ <div class="col-1">
32
+ <h4><?php echo $this->__('Shipping Address') ?></h4>
33
+ <address><?php echo $_order->getShippingAddress()->format('html') ?></address>
34
+ </div>
35
+ <div class="col-2">
36
+ <h4><?php echo $this->__('Billing Address') ?></h4>
37
+ <address><?php echo $_order->getBillingAddress()->format('html') ?></address>
38
+ </div>
39
+ </div>
40
+ <br />
41
+ <div class="col2-set">
42
+ <div class="col-1">
43
+ <h4><?php echo $this->__('Shipping Method') ?></h4>
44
+ <?php echo $_order->getShippingDescription() ?>
45
+ </div>
46
+ <div class="col-2">
47
+ <h4><?php echo $this->__('Payment Method') ?></h4>
48
+ <?php echo $this->getPaymentInfoHtml() ?>
49
+ </div>
50
+ </div>
51
+ <br />
52
+ <h4><?php echo $this->__('Items Ordered') ?></h4>
53
+ <table cellspacing="0" class="data-table">
54
+ <thead>
55
+ <tr>
56
+ <th><?php echo $this->__('Product Name') ?></th>
57
+ <th class="a-right" width="15%"><?php echo $this->__('Price') ?></th>
58
+ <th class="a-center" width="10%"><?php echo $this->__('Qty Ordered') ?></th>
59
+ <th class="a-center" width="10%"><?php echo $this->__('Qty Shipped') ?></th>
60
+ <th class="a-right last" width="20%"><?php echo $this->__('Subtotal') ?></th>
61
+ </tr>
62
+ </thead>
63
+ <tbody>
64
+ <?php $_items = $_order->getItemsCollection(); ?>
65
+ <?php $_count = $_items->count(); ?>
66
+ <?php $_index = 0; ?>
67
+ <?php foreach ($_items as $_item): ?>
68
+ <tr<?php echo ($_index++ > $_count ? ' class="last"' : '') ?>>
69
+ <td>
70
+ <?php echo $this->htmlEscape($_item->getName()) ?>
71
+ <?php echo $this->htmlEscape($_item->getDescription()) ?>
72
+ </td>
73
+ <td class="a-right nowrap"><?php echo $_order->formatPrice($_item->getPrice()) ?></td>
74
+ <td class="a-center"><?php echo $_item->getQtyOrdered()*1 ?></td>
75
+ <td class="a-center"><?php echo $_item->getQtyShipped()*1 ?></td>
76
+ <td class="last a-right nowrap"><?php echo $_order->formatPrice($_item->getRowTotal()) ?></td>
77
+ <?php endforeach; ?>
78
+ </tr>
79
+ </tbody>
80
+ <tfoot>
81
+ <?php echo $this->getChildHtml('order_totals') ?>
82
+ </tfoot>
83
+ </table>
84
+ <script type="text/javascript">window.print();</script>
app/design/frontend/default/iphone/template/sales/order/print/creditmemo.phtml ADDED
@@ -0,0 +1,112 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php $_order = $this->getOrder() ?>
28
+ <!--<div class="page-head button-level">
29
+ <h2><?php echo $this->__('Refunds') ?></h2>
30
+ <button class="form-button" onclick="window.print();"><span><?php echo $this->__('Print All Refunds') ?></span></button>
31
+ </div>-->
32
+ <h3><?php echo $this->__('Order #%s', $_order->getRealOrderId()) ?></h3>
33
+ <?php $_creditmemo = $this->getCreditmemo() ?>
34
+ <?php if($_creditmemo): ?>
35
+ <?php $_creditmemos = array($_creditmemo); ?>
36
+ <?php else: ?>
37
+ <?php $_creditmemos = $_order->getCreditmemosCollection() ?>
38
+ <?php endif; ?>
39
+ <?php foreach ($_creditmemos as $_creditmemo): ?>
40
+ <div class="divider"></div>
41
+ <div class="head">
42
+ <h3><?php echo $this->__('Refund #%s', $_creditmemo->getIncrementId()) ?></h3>
43
+ <!--<a href="#"><?php echo $this->__('Print Invoice') ?></a>-->
44
+ </div>
45
+ <div class="col2-set">
46
+ <div class="col-1">
47
+ <h4><?php echo $this->__('Shipping Address') ?></h4>
48
+ <?php $_shipping = $_creditmemo->getShippingAddress() ?>
49
+ <address><?php echo $_shipping->format('html') ?></address>
50
+ </div>
51
+ <div class="col-2">
52
+ <h4><?php echo $this->__('Billing Address') ?></h4>
53
+ <?php $_billing = $_creditmemo->getbillingAddress() ?>
54
+ <address><?php echo $_order->getBillingAddress()->format('html') ?></address>
55
+ </div>
56
+ </div>
57
+ <br />
58
+ <div class="col2-set">
59
+ <div class="col-1">
60
+ <h4><?php echo $this->__('Shipping Method') ?></h4>
61
+ <?php echo $_order->getShippingDescription() ?>
62
+ </div>
63
+ <div class="col-2">
64
+ <h4><?php echo $this->__('Payment Method') ?></h4>
65
+ <?php echo $this->getPaymentInfoHtml() ?>
66
+ </div>
67
+ </div>
68
+ <br />
69
+ <h4><?php echo $this->__('Items Ordered') ?></h4>
70
+ <table cellspacing="0" class="data-table" id="my-orders-table">
71
+ <thead>
72
+ <tr>
73
+ <th><?php echo $this->__('Product Name') ?></th>
74
+ <th width="10%"><?php echo $this->__('SKU') ?></th>
75
+ <th width="10%"><?php echo $this->__('Price') ?></th>
76
+ <th class="a-center" width="5%"><?php echo $this->__('Qty') ?></th>
77
+ <th><?php echo $this->__('Subtotal') ?></th>
78
+ <th class="wrap" width="7%"><?php echo $this->__('Tax Amount') ?></th>
79
+ <th class="wrap" width="7%"><?php echo $this->__('Discount Amount') ?></th>
80
+ <th class="wrap"><?php echo $this->__('Row Total') ?></th>
81
+ </tr>
82
+ </thead>
83
+ <tbody>
84
+ <?php $_items = $_creditmemo->getAllItems(); ?>
85
+ <?php $_count = count($_items); ?>
86
+ <?php $_index = 0; ?>
87
+ <?php foreach ($_items as $_item): ?>
88
+ <tr <?php echo ($_index++ > $_count ? ' class="last"' : '') ?> id="order-item-row-<?php echo $_item->getId() ?>">
89
+ <td>
90
+ <?php echo $this->htmlEscape($_item->getName()) ?>
91
+ <?php echo $this->htmlEscape($_item->getDescription()) ?>
92
+ </td>
93
+ <td><?php echo $this->htmlEscape($_item->getSku()) ?></td>
94
+ <td class="a-right nowrap"><?php echo $_order->formatPrice($_item->getPrice()) ?> </td>
95
+ <td><?php echo $_item->getQty()*1 ?></td>
96
+ <td class="a-right"><?php echo $_order->formatPrice($_item->getRowTotal()) ?></td>
97
+ <td class="a-right"><?php echo $_order->formatPrice($_item->getTaxAmount()) ?></td>
98
+ <td class="a-right"><?php echo $_order->formatPrice(-$_item->getDiscountAmount()) ?></td>
99
+ <td class="last a-right nowrap">
100
+ <?php echo $_order->formatPrice($_item->getRowTotal()-$_item->getDiscountAmount()+$_item->getTaxAmount()) ?>
101
+ </td>
102
+ </tr>
103
+ <?php endforeach; ?>
104
+
105
+ </tbody>
106
+ <tfoot>
107
+ <?php echo $this->getTotalsHtml($_creditmemo);?>
108
+ </tfoot>
109
+ </table>
110
+ <br/>
111
+ <?php endforeach; ?>
112
+ <script type="text/javascript">window.print();</script>
app/design/frontend/default/iphone/template/sales/order/print/invoice.phtml ADDED
@@ -0,0 +1,95 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php $_order = $this->getOrder() ?>
28
+ <!--<div class="page-head button-level">
29
+ <h2><?php echo $this->__('Invoices') ?></h2>
30
+ <button class="form-button"><span><?php echo $this->__('Print All Invoices') ?></span></button>
31
+ </div>-->
32
+ <h3><?php echo $this->__('Order #%s', $_order->getRealOrderId()) ?></h3>
33
+ <?php $_invoice = $this->getInvoice() ?>
34
+ <?php if($_invoice): ?>
35
+ <?php $_invoices = array($_invoice); ?>
36
+ <?php else: ?>
37
+ <?php $_invoices = $_order->getInvoiceCollection() ?>
38
+ <?php endif; ?>
39
+ <?php foreach ($_invoices as $_invoice): ?>
40
+ <div class="divider"></div>
41
+ <div class="head">
42
+ <h3><?php echo $this->__('Invoice #%s', $_invoice->getIncrementId()) ?></h3>
43
+ <!-- <a href="#"><?php echo $this->__('Print Invoice') ?></a>-->
44
+ </div>
45
+ <div class="col2-set">
46
+ <div class="col-1">
47
+ <h4><?php echo $this->__('Shipping Address') ?></h4>
48
+ <?php $_shipping = $_invoice->getShippingAddress() ?>
49
+ <address><?php echo $_shipping->format('html') ?></address>
50
+ </div>
51
+ <div class="col-2">
52
+ <h4><?php echo $this->__('Billing Address') ?></h4>
53
+ <?php $_billing = $_invoice->getbillingAddress() ?>
54
+ <address><?php echo $_order->getBillingAddress()->format('html') ?></address>
55
+ </div>
56
+ </div>
57
+ <br />
58
+ <div class="col2-set">
59
+ <div class="col-1">
60
+ <h4><?php echo $this->__('Shipping Method') ?></h4>
61
+ <?php echo $_order->getShippingDescription() ?>
62
+ </div>
63
+ <div class="col-2">
64
+ <h4><?php echo $this->__('Payment Method') ?></h4>
65
+ <?php echo $this->getPaymentInfoHtml() ?>
66
+ </div>
67
+ </div>
68
+ <br />
69
+ <h4><?php echo $this->__('Items Ordered') ?></h4>
70
+ <table cellspacing="0" class="data-table">
71
+ <thead>
72
+ <tr>
73
+ <th><?php echo $this->__('Product Name') ?></th>
74
+ <th class="a-right" width="15%"><?php echo $this->__('Price') ?></th>
75
+ <th class="a-center" width="10%"><?php echo $this->__('Qty Ordered') ?></th>
76
+ <th class="a-center" width="10%"><?php echo $this->__('Qty Shipped') ?></th>
77
+ <th class="a-right last" width="20%"><?php echo $this->__('Subtotal') ?></th>
78
+ </tr>
79
+ </thead>
80
+ <tbody>
81
+ <?php $_items = $_invoice->getItemsCollection(); ?>
82
+ <?php $_count = $_items->count(); ?>
83
+ <?php $_index = 0; ?>
84
+ <?php foreach ($_items as $_item): ?>
85
+ <?php if ($_item->getOrderItem()->getParentItem()) continue; ?>
86
+ <?php echo $this->getItemHtml($_item) ?>
87
+ <?php endforeach; ?>
88
+ </tbody>
89
+ <tfoot>
90
+ <?php echo $this->getInvoiceTotalsHtml($_invoice)?>
91
+ </tfoot>
92
+ </table>
93
+ <br />
94
+ <?php endforeach; ?>
95
+ <script type="text/javascript">window.print();</script>
app/design/frontend/default/iphone/template/sales/order/print/shipment.phtml ADDED
@@ -0,0 +1,117 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php $_order = $this->getOrder() ?>
28
+ <!--<div class="page-head button-level">
29
+ <h2><?php echo $this->__('My Orders - Details') ?></h2>
30
+ <button class="form-button"><span><?php echo $this->__('Print All Shipments') ?></span></button>
31
+ </div>-->
32
+ <h3><?php echo $this->__('Order #%s', $_order->getRealOrderId()) ?></h3>
33
+ <?php $_shipment = $this->getShipment() ?>
34
+ <?php if($_shipment): ?>
35
+ <?php $_shipments = array($_shipment); ?>
36
+ <?php else: ?>
37
+ <?php $_shipments = $_order->getShipmentsCollection() ?>
38
+ <?php endif; ?>
39
+
40
+ <?php foreach ($_shipments as $_shipment): ?>
41
+ <div class="divider"></div>
42
+ <div class="head">
43
+ <h3><?php echo $this->__('Shipment #%s', $_shipment->getIncrementId()) ?></h3>
44
+ </div>
45
+ <div class="col2-set">
46
+ <div class="col-1">
47
+ <h4><?php echo $this->__('Shipping Address') ?></h4>
48
+ <?php $_shipping = $_shipment->getShippingAddress() ?>
49
+ <address><?php echo $_shipping->format('html') ?></address>
50
+ </div>
51
+ <div class="col-2">
52
+ <h4><?php echo $this->__('Billing Address') ?></h4>
53
+ <?php $_billing = $_shipment->getbillingAddress() ?>
54
+ <address><?php echo $_order->getBillingAddress()->format('html') ?></address>
55
+ </div>
56
+ </div>
57
+ <br />
58
+ <div class="col2-set">
59
+ <div class="col-1">
60
+ <h4><?php echo $this->__('Shipping Method') ?></h4>
61
+ <?php echo $_order->getShippingDescription() ?>
62
+ <?php if (count($_order->getTracksCollection()) > 0): ?>
63
+ <table class="data-table">
64
+ <col />
65
+ <col />
66
+ <thead>
67
+ <tr>
68
+ <th><?php echo Mage::helper('sales')->__('Title')?></th>
69
+ <th><?php echo Mage::helper('sales')->__('Number')?></th>
70
+ </tr>
71
+ </thead>
72
+ <tbody>
73
+ <?php foreach ($_order->getTracksCollection() as $track): ?>
74
+ <tr>
75
+ <td><?php echo $track->getTitle() ?></td>
76
+ <td><?php echo $track->getNumber() ?></td>
77
+ </tr>
78
+ <?php endforeach; ?>
79
+ </tbody>
80
+ </table>
81
+ <?php endif; ?>
82
+ </div>
83
+ <div class="col-2">
84
+ <h4><?php echo $this->__('Payment Method') ?></h4>
85
+ <?php echo $this->getPaymentInfoHtml() ?>
86
+ </div>
87
+ </div>
88
+ <br />
89
+ <h4><?php echo $this->__('Items Ordered') ?></h4>
90
+ <table cellspacing="0" class="data-table">
91
+ <thead>
92
+ <tr>
93
+ <th><?php echo $this->__('Product Name') ?></th>
94
+ <th class="a-center" width="10%"><?php echo $this->__('SKU') ?></th>
95
+ <th class="a-center" width="10%"><?php echo $this->__('Qty Shipped') ?></th>
96
+ </tr>
97
+ </thead>
98
+ <tbody>
99
+ <?php $_items = $_shipment->getItemsCollection(); ?>
100
+ <?php $_count = $_items->count(); ?>
101
+ <?php $_index = 0; ?>
102
+ <?php foreach ($_items as $_item): ?>
103
+ <tr<?php echo ($_index++ > $_count ? ' class="last"' : '') ?>>
104
+ <td>
105
+ <?php echo $this->htmlEscape($_item->getName()) ?>
106
+ <?php echo $this->htmlEscape($_item->getDescription()) ?>
107
+ </td>
108
+ <td class="a-center"><?php echo $this->htmlEscape($_item->getSku()) ?></td>
109
+ <td class="a-center"><?php echo $_item->getQty()*1 ?></td>
110
+
111
+ <?php endforeach; ?>
112
+ </tr>
113
+ </tbody>
114
+ </table>
115
+ <br />
116
+ <?php endforeach; ?>
117
+ <script type="text/javascript">window.print();</script>
app/design/frontend/default/iphone/template/sales/order/recent.phtml ADDED
@@ -0,0 +1,67 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <div class="account-box ad-orders">
28
+ <?php $_orders = $this->getOrders(); ?>
29
+ <div class="head">
30
+ <h4><?php echo $this->__('Recent Orders') ?></h4>
31
+ <?php if( sizeof($_orders->getItems()) > 0 ): ?><div style="margin:5px 0;"><a href="<?php echo $this->getUrl('sales/order/history') ?>"><?php echo $this->__('View All') ?></a></div><?php endif; ?>
32
+ </div>
33
+ <?php if( sizeof($_orders->getItems()) > 0 ): ?>
34
+ <table cellspacing="0" class="shopping-cart checkout-review" id="my-orders-table">
35
+ <thead>
36
+ <tr>
37
+ <th><?php echo $this->__('Order #') ?></th>
38
+ <th><?php echo $this->__('Date') ?></th>
39
+ <th><?php echo $this->__('Ship To') ?></th>
40
+ <th><?php echo $this->__('Total') ?></th>
41
+ <th><?php echo $this->__('Status') ?></th>
42
+ <th></th>
43
+ </tr>
44
+ </thead>
45
+ <tbody>
46
+ <?php $_odd = ''; ?>
47
+ <?php foreach ($_orders as $_order): ?>
48
+ <tr class="<?php echo ($_odd = ($_odd ? 'odd' : '')) ?>">
49
+ <td><?php echo $_order->getRealOrderId() ?>&nbsp;</td>
50
+ <td><?php echo $this->formatDate($_order->getCreatedAtStoreDate()) ?> </td>
51
+ <td><?php echo $_order->getShippingAddress() ? $this->htmlEscape($_order->getShippingAddress()->getName()):'' ?>&nbsp;</td>
52
+ <td><?php echo $_order->formatPrice($_order->getGrandTotal()) ?>&nbsp;</td>
53
+ <td><em><?php echo $_order->getStatusLabel() ?></em>&nbsp;</td>
54
+ <td class="last a-center"><a href="<?php echo $this->getViewUrl($_order) ?>"><?php echo $this->__('View') ?></a>
55
+ <?php if ($this->helper('sales/reorder')->canReorder($_order)) : ?>
56
+ <br /><a href="<?php echo $this->getReorderUrl($_order) ?>" style="font-weight: bold; color: #FF6600;"><?php echo $this->__('Reorder') ?></a>
57
+ <?php endif ?>
58
+ </td>
59
+ </tr>
60
+ <?php endforeach; ?>
61
+ </tbody>
62
+ </table>
63
+ <script type="text/javascript">decorateTable('my-orders-table')</script>
64
+ <?php else: ?>
65
+ <p><?php echo $this->__('You have placed no orders.'); ?></p>
66
+ <?php endif; ?>
67
+ </div>
app/design/frontend/default/iphone/template/sales/order/shipment.phtml ADDED
@@ -0,0 +1,128 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php if($this->helper('giftmessage/message')->getIsMessagesAvailable('order', $this->getOrder())): ?>
28
+ <script type="text/javascript">
29
+ function giftMessageToogle(giftMessageIdentifier)
30
+ {
31
+ var link = $('order-item-gift-message-link-'+giftMessageIdentifier);
32
+ var container = $('order-item-gift-message-'+giftMessageIdentifier);
33
+ var row = $('order-item-row-'+giftMessageIdentifier);
34
+
35
+
36
+ if(link.expanded) {
37
+ link.expanded = false;
38
+ link.removeClassName('collapse');
39
+ link.addClassName('expand');
40
+ if(container.hasClassName('last')) {
41
+ row.addClassName('last');
42
+ }
43
+ container.hide();
44
+ } else {
45
+ link.expanded = true;
46
+ link.addClassName('collapse');
47
+ link.removeClassName('expand');
48
+ if(container.hasClassName('last')) {
49
+ row.removeClassName('last');
50
+ }
51
+ container.show();
52
+ }
53
+
54
+ return false;
55
+ }
56
+ </script>
57
+ <?php endif; ?>
58
+ <?php $_order = $this->getOrder() ?>
59
+ <?php if ($_order->getTracksCollection()->count()) : ?>
60
+ <div style="float:right">
61
+ <a href="#" id="linkId" onclick="popWin('<?php echo $this->helper('shipping')->getTrackingPopupUrlBySalesModel($_order) ?>','trackorder','width=800,height=600,resizable=yes,scrollbars=yes')" title="<?php echo $this->__('Track all shipment(s)') ?>"><?php echo $this->__('Track all shipments') ?></a>
62
+ </div>
63
+ <?php endif; ?>
64
+ <a href="<?php echo $this->getPrintAllShipmentsUrl($_order) ?>" target="_blank"><?php echo $this->__('Print All Shipments') ?></a>
65
+ <br />
66
+ <?php foreach ($_order->getShipmentsCollection() as $_shipment): ?>
67
+ <br />
68
+ <div class="head">
69
+ <h3><?php echo $this->__('Shipment #') ?><?php echo $_shipment->getIncrementId(); ?></h3>
70
+ <a href="<?php echo $this->getPrintShipmentUrl($_shipment) ?>" target="_blank"><?php echo $this->__('Print Shipment') ?></a>
71
+ </div>
72
+ <table class="data">
73
+ <?php $tracks = $_shipment->getTracksCollection(); ?>
74
+ <?php if ($tracks->count()): ?>
75
+ <tr>
76
+ <td colspan="2">
77
+ <a href="#" id="linkId" onclick="popWin('<?php echo $this->helper('shipping')->getTrackingPopupUrlBySalesModel($_shipment) ?>','trackshipment','width=800,height=600,resizable=yes,scrollbars=yes')" title="<?php echo $this->__('Track this shipment') ?>"><?php echo $this->__('Track this shipment') ?></a>
78
+ </td>
79
+ </tr>
80
+ <tr>
81
+ <td class="label"><?php echo $this->__('Tracking Number(s)') ?>:</td>
82
+ <td>&nbsp;
83
+ <?php
84
+ $i = 1;
85
+ $_size = $tracks->count();
86
+ foreach($tracks as $track): ?>
87
+ <?php if($track->isCustom()): ?>
88
+ <?php echo $track->getNumber() ?>
89
+ <?php else: ?>
90
+ <a href="#" onclick="popWin('<?php echo $this->helper('shipping')->getTrackingPopupUrlBySalesModel($track) ?>','trackorder','width=800,height=600,resizable=yes,scrollbars=yes')" ><?php echo $track->getNumber() ?></a>
91
+ <?php endif; ?>
92
+ <?php if($i!=$_size): ?>, <?php endif; ?>
93
+ <?php $i++;
94
+ endforeach; ?>
95
+ </td>
96
+ </tr>
97
+ <?php endif; ?>
98
+ </table>
99
+ <h4><?php echo $this->__('Items Shipped') ?></h4>
100
+ <table cellspacing="0" class="data-table" id="my-orders-table-<?php echo $_shipment->getId(); ?>">
101
+ <thead>
102
+ <tr>
103
+ <th><?php echo $this->__('Product Name') ?></th>
104
+ <th width="15%"><?php echo $this->__('SKU') ?></th>
105
+ <th class="a-center" width="15%"><?php echo $this->__('Qty Shipped') ?></th>
106
+ </tr>
107
+ </thead>
108
+ <tbody>
109
+ <?php $_items = $_shipment->getAllItems(); ?>
110
+ <?php $_count = count($_items) ?>
111
+ <?php $_index = 0; ?>
112
+ <?php foreach ($_items as $_item): ?>
113
+ <tr <?php echo ($_index++ > $_count ? ' class="last"' : '') ?> id="order-item-row-<?php echo $_item->getId() ?>">
114
+ <td>
115
+ <?php echo $this->htmlEscape($_item->getName()) ?>
116
+ <?php echo $this->htmlEscape($_item->getDescription()) ?>
117
+ </td>
118
+ <td><?php echo $this->htmlEscape($_item->getSku()) ?></td>
119
+ <td class="a-center"><?php echo $_item->getQty()*1 ?></td>
120
+ </tr>
121
+ <?php endforeach; ?>
122
+ </tbody>
123
+ </table>
124
+ <script type="text/javascript">decorateTable('my-orders-table-<?php echo $_shipment->getId(); ?>')</script>
125
+ <?php endforeach; ?>
126
+ <div class="button-set">
127
+ <a href="<?php echo $this->getBackUrl() ?>" class="left">&laquo; <?php echo $this->__('Back to My Orders') ?></a>
128
+ </div>
app/design/frontend/default/iphone/template/sales/order/totals.phtml ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ /**
27
+ * @var $this Mage_Sales_Block_Order_Totals
28
+ * @see Mage_Sales_Block_Order_Totals
29
+ */
30
+ ?>
31
+ <?php foreach ($this->getTotals() as $_code => $_total): ?>
32
+ <?php if ($_total->getBlockName()): ?>
33
+ <?php echo $this->getChildHtml($_total->getBlockName(), false); ?>
34
+ <?php else:?>
35
+ <tr class="<?php echo $_code?>">
36
+ <td <?php echo $this->getLabelProperties()?>>
37
+ <?php if ($_total->getStrong()):?>
38
+ <strong><?php echo $_total->getLabel()?></strong>
39
+ <?php else:?>
40
+ <?php echo $_total->getLabel()?>
41
+ <?php endif?>
42
+ </td>
43
+ <td <?php echo $this->getValueProperties()?>>
44
+ <?php if ($_total->getStrong()):?>
45
+ <strong><?php echo $this->formatValue($_total) ?></strong>
46
+ <?php else:?>
47
+ <?php echo $this->formatValue($_total) ?>
48
+ <?php endif?>
49
+ </td>
50
+ </tr>
51
+ <?php endif?>
52
+ <?php endforeach?>
app/design/frontend/default/iphone/template/sales/order/trackinginfo.phtml ADDED
@@ -0,0 +1,68 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <span class="field-row grid" id="shipment_tracking_info">
28
+
29
+ <?php if($this->trackingInfo): ?>
30
+
31
+ <b><?php echo $this->trackingInfo->getCarrierTitle() ?></b> - <?php echo $this->trackingInfo->getTracking() ?>
32
+ <div class="info">
33
+ <?php if ($this->trackingInfo->getErrorMessage()): ?>
34
+ <?php echo $this->trackingInfo->getErrorMessage() ?>
35
+ <?php else: ?>
36
+ <?php if ($this->trackingInfo->getUrl()): ?>
37
+ Please, visit for more info: <a href="<?php echo $this->trackingInfo->getUrl() ?>" target="_blank"><?php echo $this->trackingInfo->getCarrierTitle() ?></a><br />
38
+ <?php endif; ?>
39
+
40
+ <?php if ($this->trackingInfo->getStatus()): ?>
41
+ Status: <?php echo $this->trackingInfo->getStatus() ?><br />
42
+ <?php endif; ?>
43
+
44
+ <?php if ($this->trackingInfo->getDeliverydate()): ?>
45
+ Delivery Date: <?php echo $this->trackingInfo->getDeliverydate() ?><br />
46
+ <?php endif; ?>
47
+
48
+ <?php if ($this->trackingInfo->getDeliverytime()): ?>
49
+ Delivery Time: <?php echo $this->trackingInfo->getDeliverytime() ?><br />
50
+ <?php endif; ?>
51
+
52
+ <?php if ($this->trackingInfo->getDeliverylocation()): ?>
53
+ Delivery Location: <?php echo $this->trackingInfo->getDeliverylocation() ?><br />
54
+ <?php endif; ?>
55
+
56
+ <?php if ($this->trackingInfo->getSignedby()): ?>
57
+ Signed by: <?php echo $this->trackingInfo->getSignedby() ?><br />
58
+ <?php endif; ?>
59
+
60
+ <?php if ($this->trackingInfo->getTrackSummary()): ?>
61
+ Tracking summary: <?php echo $this->trackingInfo->getTrackSummary() ?><br />
62
+ <?php endif; ?>
63
+
64
+ <?php endif; ?>
65
+ </div>
66
+ <?php endif; ?>
67
+
68
+ </span>
app/design/frontend/default/iphone/template/sales/order/view.phtml ADDED
@@ -0,0 +1,98 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php if ($this->helper('giftmessage/message')->getIsMessagesAvailable('items', $this->getOrder())): ?>
28
+ <script type="text/javascript">
29
+ //<![CDATA[
30
+ function giftMessageToogle(giftMessageIdentifier)
31
+ {
32
+ var link = $('order-item-gift-message-link-'+giftMessageIdentifier);
33
+ var container = $('order-item-gift-message-'+giftMessageIdentifier);
34
+ var row = $('order-item-row-'+giftMessageIdentifier);
35
+ if(link.expanded) {
36
+ link.expanded = false;
37
+ link.removeClassName('collapse');
38
+ link.addClassName('expand');
39
+ if(container.hasClassName('last')) {
40
+ row.addClassName('last');
41
+ }
42
+ container.hide();
43
+ } else {
44
+ link.expanded = true;
45
+ link.addClassName('collapse');
46
+ link.removeClassName('expand');
47
+ if(container.hasClassName('last')) {
48
+ row.removeClassName('last');
49
+ }
50
+ container.show();
51
+ }
52
+
53
+ return false;
54
+ }
55
+ //]]>
56
+ </script>
57
+ <?php endif; ?>
58
+ <?php $_order = $this->getOrder() ?>
59
+ <h4><?php echo $this->__('Items Ordered') ?>
60
+ <?php if ($_order->getTracksCollection()->count()) : ?>
61
+ <span class="separator">|</span> <a href="#" id="linkId" onclick="popWin('<?php echo $this->helper('shipping')->getTrackingPopupUrlBySalesModel($_order) ?>','trackorder','width=800,height=600,resizable=yes,scrollbars=yes')" title="<?php echo $this->__('Track your order') ?>"><?php echo $this->__('Track your order') ?></a>
62
+ <?php endif; ?>
63
+ </h4>
64
+
65
+ <?php echo $this->getChildHtml('order_items') ?>
66
+
67
+ <?php if($this->helper('giftmessage/message')->getIsMessagesAvailable('order', $_order) && $_order->getGiftMessageId()): ?>
68
+ <div class="giftmessage">
69
+ <?php $_giftMessage=$this->helper('giftmessage/message')->getGiftMessageForEntity($_order); ?>
70
+ <strong><?php echo $this->__('Gift Message for this Order') ?></strong>
71
+ <ul>
72
+ <li>
73
+ <label><?php echo $this->__('From') ?></label> <?php echo $this->htmlEscape($_giftMessage->getSender()) ?>
74
+ </li>
75
+ <li>
76
+ <label><?php echo $this->__('To') ?></label> <?php echo $this->htmlEscape($_giftMessage->getRecipient()) ?>
77
+ </li>
78
+ <li><?php echo $this->helper('giftmessage/message')->getEscapedGiftMessage($_order) ?></li>
79
+ </ul>
80
+ </div>
81
+ <?php endif; ?>
82
+ <?php $_history = $this->getOrder()->getVisibleStatusHistory() ?>
83
+ <?php if (count($_history)): ?>
84
+ <div class="clear"></div>
85
+ <h4><?php echo $this->__('About Your Order') ?></h4>
86
+ <div>
87
+ <dl>
88
+ <?php foreach ($_history as $_historyItem): ?>
89
+ <dt><?php echo $this->formatDate($_historyItem->getCreatedAtStoreDate(), 'medium', true) ?></dt>
90
+ <dd><?php echo $this->escapeHtml($_historyItem->getComment()) ?></dd>
91
+ <?php endforeach; ?>
92
+ </dl>
93
+ </div>
94
+ <?php endif; ?>
95
+
96
+ <div class="button-set">
97
+ <a href="<?php echo $this->getBackUrl() ?>" class="left">&laquo; <?php echo $this->__('Back to My Orders') ?></a>
98
+ </div>
app/design/frontend/default/iphone/template/sales/reorder/sidebar.phtml ADDED
@@ -0,0 +1,72 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php
28
+ /**
29
+ * Last order sidebar
30
+ *
31
+ * @see Mage_Sales_Block_Reorder_Sidebar
32
+ */
33
+ ?>
34
+ <?php $_items = $this->getItems()?>
35
+ <?php if($_items): ?>
36
+ <div class="box base-mini mini-compare-products">
37
+ <form method="post" action="<?php echo $this->getFormActionUrl() ?>" id="reorder-validate-detail">
38
+ <div class="head">
39
+ <h4 style="display: block; float: left;"><?php echo $this->__('My Orders') ?>&nbsp;&nbsp;-&nbsp;&nbsp;</h4>
40
+ <a href="<?php echo $this->getUrl('customer/account') ?>"><?php echo $this->__('View All'); ?></a><br /><br />
41
+ <h5><?php echo $this->__('Last ordered items') ?></h5>
42
+ </div>
43
+ <ol id="cart-sidebar-reorder">
44
+ <?php $_showAddButtonFlag = false; ?>
45
+ <?php foreach ($_items as $_item): ?>
46
+ <li class="field-row">
47
+ <div class="product-checkbox">
48
+ <?php if ($this->isItemAvailableForReorder($_item)): ?>
49
+ <?php $_showAddButtonFlag = true; ?>
50
+ <input type="checkbox" name="products[]" value="<?php echo $_item->getProductId() ?>" class="validate-one-required-by-name" />
51
+ <?php endif; ?>
52
+ </div>
53
+ <div class="product-names">
54
+ <a href="<?php echo $this->getItemProductUrl($_item) ?>"><?php echo $this->getItemProductName($_item) ?></a>
55
+ </div>
56
+ </li>
57
+ <?php endforeach; ?>
58
+ </ol>
59
+ <?php if ($_showAddButtonFlag): ?>
60
+ <div class="actions">
61
+ <button class="form-button" type="submit"><span><?php echo $this->__('Add to Cart') ?></span></button><br />
62
+ </div>
63
+ <?php endif; ?>
64
+ </form>
65
+ </div>
66
+ <?php echo $this->getPagerHtml(); ?>
67
+ <script type="text/javascript">
68
+ <!--
69
+ var reorderFormDetail = new VarienForm('reorder-validate-detail');
70
+ //-->
71
+ </script>
72
+ <?php endif ?>
app/design/frontend/default/iphone/template/sendfriend/send.phtml ADDED
@@ -0,0 +1,142 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ /* @var $this Mage_Sendfriend_Block_Send */
27
+ /**
28
+ * Send to friend form
29
+ *
30
+ * @see Mage_Sendfriend_Block_Send
31
+ */
32
+ ?>
33
+ <script type="text/javascript">
34
+ /*<![CDATA[*/
35
+ i=0;
36
+ var recipCount = 1;
37
+ var maxRecip = <?php echo $this->getMaxRecipients() ?>;
38
+ function remove_recipient(i){
39
+ $('recipients_name'+i).up(2).remove();
40
+ recipCount--;
41
+ if(recipCount<maxRecip && maxRecip != 0) {
42
+ $('add_recipient_button').show();
43
+ $('max_recipient_message').hide();
44
+ }
45
+ return false;
46
+ }
47
+
48
+ function add_recipient(){
49
+ ul = $('recipients_options');
50
+ var li_mail = Element.extend(document.createElement("LI"));
51
+ li_mail.addClassName('addElement');
52
+ li_mail.innerHTML = '<div align="right"><a href="delete_email" onclick="remove_recipient('+i+');return false"><img src="<?php echo $this->getSkinUrl('images/list_remove_btn.gif') ?>" alt="<?php echo $this->__('Remove Email') ?>"/><\/a><\/div>'
53
+ li_mail.innerHTML += '<div class="left"><label for="recipients_name"><?php echo $this->__('Name:') ?> <span class="required">*<\/span><\/label><br /><div style="width:250px"><input name="recipients[name][]" type="text" class="input-text required-entry" id="recipients_name'+i+'" style="width:250px;" /><\/div><br /><br /><\/div>';
54
+ li_mail.innerHTML += '<div class="right"><label for="recipients_email"><?php echo $this->__('Email Address:') ?><span class="required">*<\/span><\/label><br /><div style="width:250px"><input name="recipients[email][]" value="" title="<?php echo $this->__('Email Address') ?>" id="recipients_email'+i+'" type="text" class="input-text required-entry validate-email" style="width:250px;" /><\/div><\/div>';
55
+ i++;
56
+ recipCount++;
57
+ if(recipCount>=maxRecip && maxRecip != 0) {
58
+ $('add_recipient_button').hide();
59
+ $('max_recipient_message').show();
60
+ }
61
+
62
+ ul.appendChild(li_mail);
63
+ }
64
+ /*]]>*/
65
+ </script>
66
+
67
+ <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
68
+ <div class="page-head">
69
+ <h3><?php echo $this->__('Email to a Friend') ?></h3>
70
+ </div>
71
+ <form action="<?php echo $this->getSendUrl() ?>" method="post" id="product_sendtofriend_form">
72
+ <?php echo $this->getBlockHtml('formkey')?>
73
+ <div class="col-1 login-box">
74
+ <div class="col-1 registered-users">
75
+ <div class="content ">
76
+ <div>
77
+ <h4><?php echo $this->__('Sender:') ?></h4>
78
+ <ul class="form-list" id="sender_options">
79
+ <li>
80
+ <div class="left">
81
+ <label for="sender_name"><?php echo $this->__('Name:') ?> <span class="required">*</span></label><br/>
82
+ <div style="width:250px"><input name="sender[name]" value="<?php echo $this->htmlEscape($this->getUserName()) ?>" title="<?php echo $this->__('Name') ?>" id="sender_name" type="text" class="input-text required-entry" style="width:250px;" /></div>
83
+ </div>
84
+ <div class="right">
85
+ <label for="sender_email"><?php echo $this->__('Email:') ?> <span class="required">*</span></label><br/>
86
+ <div style="width:250px"><input name="sender[email]" value="<?php echo $this->htmlEscape($this->getEmail()) ?>" title="<?php echo $this->__('Email Address') ?>" id="sender_email" type="text" class="input-text required-entry validate-email" style="width:250px;" /></div>
87
+ </div>
88
+ </li>
89
+ <li>
90
+ <label for="sender_message"><?php echo $this->__('Message:') ?> <span class="required">*</span></label><br/>
91
+ <textarea name="sender[message]" class="input-text required-entry" id="sender_message" cols="3" rows="3" style="width:100%;height:100px"><?php echo $this->htmlEscape($this->getMessage())?></textarea>
92
+ </li>
93
+
94
+ </ul>
95
+ </div>
96
+
97
+ <div>
98
+ <div>
99
+ <br />
100
+ <h4><?php echo $this->__('Recipient:') ?></h4>
101
+ <ul class="form-list" id="recipients_options">
102
+ <li>
103
+ <div class="left">
104
+ <label for="recipients_name"><?php echo $this->__('Name:') ?> <span class="required">*</span></label><br/>
105
+ <div style="width:250px"><input name="recipients[name][]" type="text" class="input-text required-entry" id="recipients_name" style="width:250px;" /></div><br /><br />
106
+ </div>
107
+ <div class="right">
108
+ <label for="recipients_email"><?php echo $this->__('Email Address:') ?> <span class="required">*</span></label><br/>
109
+ <div style="width:250px"><input name="recipients[email][]" value="" title="<?php echo $this->__('Email Address') ?>" id="recipients_email" type="text" class="input-text required-entry validate-email" style="width:250px;" /></div>
110
+ </div>
111
+ </li>
112
+ </ul>
113
+ <div id="max_recipient_message" style="display:none">
114
+ <?php if ($this->getMaxRecipients()): ?>
115
+ <?php echo $this->__('Maximum %d email addresses allowed.', $this->getMaxRecipients()) ?>
116
+ <?php endif; ?>
117
+ </div>
118
+ <?php if (1 < $this->getMaxRecipients()): ?>
119
+ <div id="add_recipient_button">
120
+ <button class="form-button" onclick="add_recipient();" type="button"><span><?php echo $this->__('Add Recipient') ?></span></button>
121
+ </div>
122
+ <?php endif; ?>
123
+ </div>
124
+ </div>
125
+ <div style="clear:both"></div>
126
+
127
+ </div>
128
+
129
+ <div class="button-set">
130
+ <button class="form-button right<?php if (!$this->canSend()):?> disabled<?php endif ?>" type="submit"<?php if (!$this->canSend()):?> disabled="disabled"<?php endif ?>><span><?php echo $this->__('Send email') ?></span></button>
131
+ </div>
132
+ </div>
133
+ </div>
134
+ </form>
135
+ <script type="text/javascript">
136
+ var productSendtofriendForm = new VarienForm('product_sendtofriend_form');
137
+ productSendtofriendForm.submit = function() {
138
+ if(this.validator.validate()) {
139
+ this.form.submit();
140
+ }
141
+ }.bind(productSendtofriendForm);
142
+ </script>
app/design/frontend/default/iphone/template/shipping/tracking/ajax.phtml ADDED
@@ -0,0 +1 @@
 
1
+
app/design/frontend/default/iphone/template/shipping/tracking/popup.phtml ADDED
@@ -0,0 +1,172 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php $_results = $this->getTrackingInfo() ?>
28
+ <div class="shipping-tracking">
29
+ <div class="button-set">
30
+ <button class="form-button" onclick="window.close();window.opener.focus();"><span><?php echo $this->__('Close Window') ?></span></button>
31
+ </div>
32
+ <?php if(sizeof($_results)>0): ?>
33
+ <?php foreach($_results as $shipid => $_result): ?>
34
+ <?php if($shipid): ?>
35
+ <div class="box-header"><?php echo $this->__('Shipment #').$shipid; ?></div>
36
+ <?php endif; ?>
37
+ <?php if(sizeof($_result)>0): ?>
38
+ <?php $rowCount = sizeof($_result); $counter = 1; ?>
39
+ <?php foreach($_result as $track): ?>
40
+ <table class="generic-table">
41
+ <?php if(is_object($track)): ?>
42
+ <tr>
43
+ <td class="first label"><?php echo $this->__('Tracking Number:'); ?></td>
44
+ <td><?php echo $track->getTracking(); ?></td>
45
+ </tr>
46
+ <?php if ($track->getCarrierTitle()): ?>
47
+ <tr>
48
+ <td class="first label"><?php echo $this->__('Carrier:'); ?></td>
49
+ <td><?php echo $track->getCarrierTitle(); ?></td>
50
+ </tr>
51
+ <?php endif; ?>
52
+ <?php if($track->getErrorMessage()): ?>
53
+ <tr>
54
+ <td class="first label"><?php echo $this->__('Error:'); ?></td>
55
+ <td class="error"><?php echo $this->__('Tracking information is currently not available. Please '); if ($this->getContactUsEnabled()) : ?><a href="<?php echo $this->getContactUs() ?>" onclick="this.target='_blank'"><?php echo $this->__('contact us') ?></a><?php echo $this->__(' for more information or '); endif; echo $this->__('email us at '); ?><a href="mailto:<?php echo $this->getStoreSupportEmail() ?>"><?php echo $this->getStoreSupportEmail() ?></a></td>
56
+ </tr>
57
+ <?php elseif($track->getTrackSummary()): ?>
58
+ <tr>
59
+ <td class="first label"><?php echo $this->__('Info:'); ?></td>
60
+ <td><?php echo $track->getTrackSummary(); ?></td>
61
+ </tr>
62
+ <?php elseif($track->getUrl()): ?>
63
+ <tr>
64
+ <td class="first label"><?php echo $this->__('Track:'); ?></td>
65
+ <td><a href="<?php echo $track->getUrl(); ?>" target="_blank"><?php echo $track->getUrl(); ?></a></td>
66
+ </tr>
67
+ <?php else: ?>
68
+ <?php if ($track->getStatus()): ?>
69
+ <tr>
70
+ <td class="first label"><?php echo $this->__('Status:'); ?></td>
71
+ <td><?php echo $track->getStatus(); ?></td>
72
+ </tr>
73
+ <?php endif; ?>
74
+
75
+ <?php if ($track->getDeliverydate()): ?>
76
+ <tr>
77
+ <td class="first label"><?php echo $this->__('Delivered on:'); ?></td>
78
+ <td><?php echo $this->formatDeliveryDateTime($track->getDeliverydate(),$track->getDeliverytime()); ?></td>
79
+ </tr>
80
+ <?php endif; ?>
81
+
82
+ <?php if ($track->getSignedby()): ?>
83
+ <tr>
84
+ <td class="first label"><?php echo $this->__('Signed by:'); ?></td>
85
+ <td><?php echo $track->getSignedby(); ?></td>
86
+ </tr>
87
+ <?php endif; ?>
88
+
89
+ <?php if ($track->getDeliveryLocation()): ?>
90
+ <tr>
91
+ <td class="first label"><?php echo $this->__('Delivered to:'); ?></td>
92
+ <td><?php echo $track->getDeliveryLocation(); ?></td>
93
+ </tr>
94
+ <?php endif; ?>
95
+
96
+ <?php if ($track->getShippedDate()): ?>
97
+ <tr>
98
+ <td class="first label"><?php echo $this->__('Shipped or billed on:'); ?></td>
99
+ <td><?php echo $track->getShippedDate(); ?></td>
100
+ </tr>
101
+ <?php endif; ?>
102
+
103
+ <?php if ($track->getService()): ?>
104
+ <tr>
105
+ <td class="first label"><?php echo $this->__('Service Type:'); ?></td>
106
+ <td><?php echo $track->getService(); ?></td>
107
+ </tr>
108
+ <?php endif; ?>
109
+
110
+ <?php if ($track->getWeight()): ?>
111
+ <tr>
112
+ <td class="first label"><?php echo $this->__('Weight:'); ?></td>
113
+ <td><?php echo $track->getWeight(); ?></td>
114
+ </tr>
115
+ <?php endif; ?>
116
+
117
+ <?php endif; ?>
118
+ <?php elseif(isset($track['title']) && isset($track['number']) && $track['number']): ?>
119
+ <!--if the tracking is custom value-->
120
+ <tr>
121
+ <td class="first label"><?php echo ($track['title'] ? $this->escapeHtml($track['title']) : $this->__('N/A')); ?>:</td>
122
+ <td><?php echo (isset($track['number']) ? $this->escapeHtml($track['number']) : ''); ?></td>
123
+ </tr>
124
+ <?php endif; ?>
125
+
126
+ </table>
127
+
128
+ <?php if (is_object($track) && sizeof($track->getProgressdetail())>0): ?>
129
+ <br />
130
+ <table cellspacing="0" class="data-table" id="track-history-table-<?php echo $track->getTracking(); ?>">
131
+ <thead>
132
+ <tr>
133
+ <th><?php echo $this->__('Location') ?></th>
134
+ <th><?php echo $this->__('Date') ?></th>
135
+ <th><?php echo $this->__('Local Time') ?></th>
136
+ <th><?php echo $this->__('Description') ?></th>
137
+ </tr>
138
+ </thead>
139
+ <?php foreach($track->getProgressdetail() as $_detail): ?>
140
+ <?php $_detailDate = (isset($_detail['deliverydate']) ? $this->formatDeliveryDate($_detail['deliverydate']) : '') ?>
141
+ <?php $_detailTime = (isset($_detail['deliverytime']) ? $this->formatDeliveryTime($_detail['deliverytime'], $_detailDate) : '') ?>
142
+ <tr>
143
+ <td><?php echo (isset($_detail['deliverylocation']) ? $_detail['deliverylocation'] : ''); ?></td>
144
+ <td><?php echo $_detailDate ?></td>
145
+ <td><?php echo $_detailTime ?></td>
146
+ <td><?php echo (isset($_detail['activity']) ? $_detail['activity'] : '') ?></td>
147
+ </tr>
148
+ <?php endforeach; ?>
149
+ </table>
150
+ <script type="text/javascript">
151
+ decorateTable('track-history-table-<?php echo $track->getTracking(); ?>');
152
+ </script>
153
+ <?php endif; ?>
154
+
155
+ <?php if($counter!=$rowCount): ?>
156
+ <div class="divider"></div>
157
+ <?php endif; ?>
158
+ <?php $counter++; ?>
159
+ <!--end for each tracking information-->
160
+ <?php endforeach; ?>
161
+ <?php else: ?>
162
+ <div><?php echo $this->__('There is no tracking available for this shipment.'); ?></div>
163
+ <?php endif; ?>
164
+
165
+ <?php endforeach; ?>
166
+ <?php else: ?>
167
+ <div><?php echo $this->__('There is no tracking available.'); ?></div>
168
+ <?php endif; ?>
169
+ </div>
170
+ <div class="button-set">
171
+ <button class="form-button" onclick="window.close();window.opener.focus();"><span><?php echo $this->__('Close Window') ?></span></button>
172
+ </div>
app/design/frontend/default/iphone/template/tag/cloud.phtml ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <div class="page-head">
28
+ <h3><?php echo $this->__('All Tags') ?></h3>
29
+ </div>
30
+ <div class="box base-mini mini-product-tags">
31
+ <div class="content">
32
+ <?php if( sizeof($this->getTags()) > 0 ): ?>
33
+ <ul>
34
+ <?php foreach ($this->getTags() as $_tag): ?>
35
+ <li><a href="<?php echo $_tag->getTaggedProductsUrl() ?>" style="font-size:<?php echo $_tag->getRatio()*70+75 ?>%;"><?php echo $this->htmlEscape($_tag->getName()) ?></a></li>
36
+ <?php endforeach; ?>
37
+ </ul>
38
+ <?php else: ?>
39
+ <p class="a-center"><small><?php echo $this->__('There are no tags available.') ?></small></p>
40
+ <?php endif; ?>
41
+ </div>
42
+ </div>
app/design/frontend/default/iphone/template/tag/customer/edit.phtml ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <div class="page-head">
28
+ <h3><?php echo $this->__('Edit Tag') ?></h3>
29
+ </div>
30
+ <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
31
+ <form id="addTagForm" action="<?php echo $this->getFormAction(); ?>" method="post">
32
+ <fieldset class="group-select">
33
+ <h4 class="legend"><?php echo $this->__('Tag Information') ?></h4>
34
+ <ul>
35
+ <li>
36
+ <div class="input-box">
37
+ <input type="text" class="input-text required-entry" style="width:300px;" name="productTagName" value="<?php echo $this->htmlEscape($this->getTag()->getName()) ?>" />
38
+ </div>
39
+ </li>
40
+ </ul>
41
+ </fieldset>
42
+ <div class="button-set">
43
+ <a href="<?php echo $this->getUrl('*/*/view/', array('tagId' => $this->getTag()->getTagId())) ?>" class="left">&laquo; <?php echo $this->__('Back to view Tag') ?></a>
44
+ <button type="button" class="form-button" onclick="tagForm.submit();"><span><?php echo $this->__('Save Tag') ?></span></button>
45
+ </div>
46
+ </form>
47
+ <script type="text/javascript">
48
+ var tagForm = new VarienForm('addTagForm');
49
+ </script>
app/design/frontend/default/iphone/template/tag/customer/recent.phtml ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <div class="account-box ad-tags">
28
+ <div class="head">
29
+ <h4><?php echo $this->__('My Recent Tags') ?></h4>
30
+ <a href="<?php echo $this->getAllTagsUrl() ?>"><?php echo $this->__('View All Tags') ?></a>
31
+ </div>
32
+ <ol>
33
+ <?php $iterator = 0 ?>
34
+ <?php foreach( $this->getCollection()->getItems() as $_item ): ?>
35
+ <li<?php if($iterator % 2 == 0): ?> class="odd"<?php else: ?> class="even"<?php endif; ?>>
36
+ <div class="count"><?php echo ++$iterator ?></div>
37
+ <div class="content">
38
+ <a href="<?php echo $_item->getProductUrl() ?>"><?php echo $this->htmlEscape($_item->getName()) ?></a><br/>
39
+ <strong><?php echo $this->__('Tags:') ?></strong>
40
+ <?php $_i = 0; ?>
41
+ <?php foreach( $_item->getProductTags() as $_tag ): ?>
42
+ <a href="<?php echo $_tag->getViewTagUrl() ?>"><?php echo $this->htmlEscape($_tag->getName()) ?></a><?php if(++$_i != sizeof($_item->getProductTags()->getItems())): ?>,<?php endif; ?>
43
+ <?php endforeach; ?>
44
+ </div>
45
+ </li>
46
+ <?php endforeach; ?>
47
+ </ol>
48
+ </div>
app/design/frontend/default/iphone/template/tag/customer/tags.phtml ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <div class="page-head">
28
+ <h3><?php echo $this->__('My Tags') ?></h3>
29
+ </div>
30
+ <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
31
+ <?php if($this->getTags()): ?>
32
+ <p><?php echo $this->__('Click on a tag to view your corresponding products.') ?></p>
33
+ <div class="box base-mini mini-product-tags">
34
+ <div class="content">
35
+ <ul>
36
+ <?php foreach ($this->getTags() as $_tag): ?>
37
+ <li><a href="<?php echo $this->getUrl('tag/customer/view', array('tagId' => $_tag->getTagId())) ?>" style="font-size:<?php echo $_tag->getRatio()*70+75 ?>%;"><?php echo $this->htmlEscape($_tag->getName()) ?></a></li>
38
+ <?php endforeach; ?>
39
+ </ul>
40
+ </div>
41
+ </div>
42
+ <?php else: ?>
43
+ <p><?php echo $this->__('You have not tagged any products yet.') ?></p>
44
+ <?php endif; ?>
45
+ <div class="button-set">
46
+ <a href="<?php echo $this->escapeUrl($this->getBackUrl()) ?>" class="left">&laquo; <?php echo $this->__('Back') ?></a>
47
+ </div>
app/design/frontend/default/iphone/template/tag/customer/view.phtml ADDED
@@ -0,0 +1,75 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <div class="account-box">
28
+ <div class="page-head">
29
+ <h3><?php echo $this->__('My Tags') ?></h3>
30
+ </div>
31
+ <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
32
+ <p>
33
+ <?php echo $this->__('Tag Name: %s', $this->htmlEscape($this->getTagInfo()->getName())) ?>
34
+ <button type="button" class="button" onclick="if(confirm('<?php echo $this->__('Are you sure you want to delete this tag?') ?>')) window.location='<?php echo $this->getTagInfo()->getRemoveTagUrl(); ?>';"><span><?php echo $this->__('Delete') ?></span></button>
35
+ </p>
36
+ <?php echo $this->getToolbarHtml() ?>
37
+ <table class="data-table box-table" id="my-tags-table" cellspacing="0">
38
+ <?php if( sizeof($this->getMyProducts()) > 0 ): ?>
39
+ <col width="100" />
40
+ <col />
41
+ <col width="75" />
42
+ <tbody>
43
+ <?php $iterator = 0 ?>
44
+ <?php foreach($this->getMyProducts() as $_product): ?>
45
+ <tr<?php if($iterator % 2 == 0): ?> class="odd"<?php $iterator++;endif; ?>>
46
+ <td><a href="<?php echo $_product->getProductUrl(); ?>"><img src="<?php echo $this->helper('catalog/image')->init($_product, 'small_image')->resize(100, 100); ?>" alt="" height="100" width="100" /></a></td>
47
+ <td>
48
+ <a href="<?php echo $_product->getProductUrl() ?>"><?php echo $this->htmlEscape($_product->getName()) ?></a>
49
+ <?php echo $this->getSummaryHtml($_product, 'short') ?>
50
+ <?php echo $this->getPriceHtml($_product) ?>
51
+ <?php echo $this->htmlEscape($_product->getDescription()) ?>
52
+ </td>
53
+ <td class="a-center">
54
+ <?php if($_product->isSaleable()): ?>
55
+ <button type="button" class="form-button" onclick="setLocation('<?php echo $this->getUrl('checkout/cart/add',array('product'=>$_product->getId())) ?>')"><span><?php echo $this->__('Add to Cart') ?></span></button>
56
+ <?php endif; ?>
57
+ <?php if ($this->helper('wishlist')->isAllow()) : ?>
58
+ <br /><a href="<?php echo $this->getUrl('wishlist/index/add',array('product'=>$_product->getId())) ?>"><?php echo $this->__('Add to Wishlist') ?></a>
59
+ <?php endif; ?>
60
+ </td>
61
+ </tr>
62
+ <?php endforeach; ?>
63
+ </tbody>
64
+ <?php else: ?>
65
+ <tr>
66
+ <td><p><?php echo $this->__("Unable to find any products tagged with '%s' in the current store.", $this->htmlEscape($this->getTagInfo()->getName()) ) ?></p></td>
67
+ </tr>
68
+ <?php endif; ?>
69
+ </table>
70
+ <script type="text/javascript">decorateTable('my-tags-table')</script>
71
+ <?php echo $this->getToolbarHtml() ?>
72
+ <div class="button-set a-left">
73
+ <a href="<?php echo $this->getUrl('*/*/')?>">&laquo;<?php echo $this->__('Back to Tags List')?></a>
74
+ </div>
75
+ </div>
app/design/frontend/default/iphone/template/tag/list.phtml ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php if( $this->getCount() ): ?>
28
+ <br /><div class="head"><h4><?php echo $this->__('Product Tags') ?></h4></div>
29
+ <div class="tags-list">
30
+ <?php echo $this->renderTags('<a href="%1$s">%2$s</a> (%3$s)', ' ,') ?>
31
+ </div>
32
+ <?php endif; ?>
app/design/frontend/default/iphone/template/tag/mytags.phtml ADDED
@@ -0,0 +1,75 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <script type="text/javascript">
28
+ function editTag(id, name) {
29
+ var new_name = prompt('Please type new tag name', name)
30
+ if (new_name) {
31
+ var req = new Ajax.Request('/tag/index/update', {
32
+ method:'post',
33
+ parameters: {
34
+ tagname: new_name,
35
+ tag_id: id
36
+ },
37
+ onSuccess: function(req, json){
38
+ eval('var json = ' + req.responseText);
39
+ if (1 === json.error) {
40
+ alert(json.error_message);
41
+ }
42
+ }
43
+ });
44
+ }
45
+ }
46
+
47
+ function deleteTag(id) {
48
+ if (confirm('Do tou realy want to delete the Tag?')) {
49
+ var req = new Ajax.Request('/tag/index/delete', {
50
+ method:'post',
51
+ parameters: {
52
+ tag_id: id
53
+ },
54
+ onSuccess: function(req, json){
55
+ eval('var json = ' + req.responseText);
56
+ if (1 === json.error) {
57
+ alert(json.error_message);
58
+ }
59
+ }
60
+ });
61
+ }
62
+ }
63
+ </script>
64
+
65
+ <?php foreach ($collection->getItems() as $tag) { /* $tag = $tag->getData();*/ ?>
66
+ <span>
67
+ <a style="font-size:<?php echo $collection->getFSize($tag->getTag_id()); ?>" href="/tag/index/show?tag=<?php echo $tag->getTagname(); ?>">
68
+ <?php echo $tag->getTagname(); ?>
69
+ </a>
70
+ <span>
71
+ <a href="#" title="edit tag" onclick="editTag(<?php echo $tag->getTag_id(); ?>, '<?php echo $tag->getTagname(); ?>'); return false;">e</a>
72
+ <a href="#" title="delete tag" onclick="deleteTag(<?php echo $tag->getTag_id(); ?>); return false;">d</a>
73
+ </span>
74
+ </span>
75
+ <?php } ?>
app/design/frontend/default/iphone/template/tag/popular.phtml ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <div class="box base-mini mini-product-tags">
28
+ <div class="head">
29
+ <h4><?php echo $this->__('Popular Tags'); ?></h4>
30
+ </div>
31
+ <div class="content">
32
+ <ul>
33
+ <?php foreach ($this->getTags() as $_tag): ?>
34
+ <li><a href="<?php echo $_tag->getTaggedProductsUrl() ?>" style="font-size:<?php echo $_tag->getRatio()*70+75 ?>%;"><?php echo $this->htmlEscape($_tag->getName()) ?></a></li>
35
+ <?php endforeach; ?>
36
+ </ul>
37
+ </div>
38
+ <div class="actions">
39
+ <a href="<?php echo $this->getUrl('tag/list') ?>"><small><?php echo $this->__('View All Tags') ?></small></a>
40
+ </div>
41
+ </div>
app/design/frontend/default/iphone/template/tag/product/result.phtml ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php if( $this->getTagInfo()->getName() ): ?>
28
+ <div class="page-head">
29
+ <h3><?php echo $this->__("Products tagged with '%s'", $this->htmlEscape($this->getTagInfo()->getName())) ?></h3>
30
+ </div>
31
+ <?php endif; ?>
32
+ <?php echo $this->getListHtml() ?>
33
+ <table class="data-table box-table" id="tags-table" cellspacing="0">
34
+ <?php if( $this->getCount() > 0 ): ?>
35
+ <col width="100" />
36
+ <col />
37
+ <col width="75" />
38
+ <tbody>
39
+ <?php $iterator = 0 ?>
40
+ <?php foreach($this->getProducts() as $_product): ?>
41
+ <tr<?php if($iterator % 2 == 0): ?> class="odd"<?php $iterator++;endif; ?>>
42
+ <td><a href="<?php echo $_product->getProductUrl(); ?>"><img src="<?php echo $this->helper('catalog/image')->init($_product, 'small_image')->resize(100, 100); ?>" alt="" height="100" width="100" /></a></td>
43
+ <td>
44
+
45
+ <h5><a href="<?php echo $_product->getProductUrl() ?>"><?php echo $this->htmlEscape($_product->getName()) ?></a></h5>
46
+ <?php echo $this->helper('catalog/product')->getPriceHtml($_product) ?>
47
+ <?php echo $this->helper('review/product')->getSummaryHtml($_product, 'short') ?>
48
+ <p><?php echo $this->htmlEscape($_product->getDescription()) ?></p>
49
+ </td>
50
+ <td class="a-center">
51
+ <button type="button" class="form-button" onclick="setLocation('<?php echo $this->getUrl('checkout/cart/add',array('product'=>$_product->getId())) ?>')"><span><?php echo $this->__('Add to Cart') ?></span></button>
52
+ <?php if ($this->helper('wishlist')->isAllow()) : ?>
53
+ <br /><a href="<?php echo $this->getUrl('wishlist/index/add',array('product'=>$_product->getId())) ?>"><?php echo $this->__('Add to Wishlist') ?></a>
54
+ <?php endif; ?>
55
+ </td>
56
+ </tr>
57
+ <?php endforeach; ?>
58
+ </tbody>
59
+ <?php else: ?>
60
+ <tr>
61
+ <td><p><?php echo $this->__("Unable to find any products tagged with '%s' in the current store", $this->htmlEscape($this->getTagInfo()->getName()) ) ?></p></td>
62
+ </tr>
63
+ <?php endif; ?>
64
+ </table>
65
+ <script type="text/javascript">decorateTable('tags-table')</script>
66
+ <?php echo $this->getListHtml() ?>
app/design/frontend/default/iphone/template/tag/result.phtml ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <h1 class="page-head"><?php echo $this->__("Search Results for '%s' (<a href='%s'>RSS</a>)", $query, '/taggedproducts/xml/?tag='.$query) ?></h1>
28
+ <ul>
29
+ <?php foreach ($hits as $hit) { ?>
30
+
31
+ <li>
32
+ <h3><?php echo $hit['name']; ?></h3>
33
+ <p>
34
+ <?php foreach ($hit['tags']['data'] as $tag) { ?>
35
+ <a style="font-size:<?php echo $tag['size']; ?>" href="/taggedproducts/?tag=<?php echo $tag['tag_name']; ?>">
36
+ <?php echo $tag['tag_name']; ?>
37
+ </a>
38
+ <?php } ?>
39
+ </p>
40
+ </li>
41
+ <?php } ?>
42
+ </ul>
app/design/frontend/default/iphone/template/tag/search.phtml ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <div class="page-head">
28
+ <h3><?php echo $this->__("Products tagged with '%s' (<a href='%s'>RSS</a>)", $query, '/tag/index/xml?tag='.$query) ?></h3>
29
+ </div>
30
+ <?php if (!empty($collection)) { ?>
31
+ <ol>
32
+ <?php foreach ($collection as $item) { ?>
33
+ <li>
34
+ <?php echo $item['name']; ?>
35
+ <strong>Tags:</strong>
36
+ <?php foreach ($item['tags'] as $tag) { ?>
37
+ <A href="/tag/index/search?q=<?php echo $tag['tagname']; ?>"><?php echo $tag['tagname']; ?></a>
38
+ <?php } ?>
39
+ </li>
40
+ <?php } ?>
41
+ </ol>
42
+ <?php } ?>
app/design/frontend/default/iphone/template/tax/checkout/discount.phtml ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
app/design/frontend/default/iphone/template/tax/checkout/grandtotal.phtml ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ /**
27
+ * @var $this Mage_Tax_Block_Checkout_Grandtotal
28
+ * @see Mage_Tax_Block_Checkout_Grandtotal
29
+ */
30
+ ?>
31
+ <?php if ($this->includeTax() && $this->getTotalExclTax()>=0):?>
32
+ <tr>
33
+ <td style="<?php echo $this->getStyle() ?>" class="a-right" colspan="<?php echo $this->getColspan(); ?>">
34
+ <strong><?php echo $this->helper('tax')->__('Grand Total Excl. Tax')?></strong>
35
+ </td>
36
+ <td style="<?php echo $this->getStyle() ?>" class="a-right">
37
+ <strong><?php echo $this->helper('checkout')->formatPrice($this->getTotalExclTax()) ?></strong>
38
+ </td>
39
+ </tr>
40
+ <?php echo $this->renderTotals('taxes', $this->getColspan()); ?>
41
+ <tr>
42
+ <td style="<?php echo $this->getStyle() ?>" class="a-right" colspan="<?php echo $this->getColspan(); ?>">
43
+ <strong><?php echo $this->helper('tax')->__('Grand Total Incl. Tax')?></strong>
44
+ </td>
45
+ <td style="<?php echo $this->getStyle() ?>" class="a-right">
46
+ <strong><?php echo $this->helper('checkout')->formatPrice($this->getTotal()->getValue()) ?></strong>
47
+ </td>
48
+ </tr>
49
+ <?php else:?>
50
+ <tr>
51
+ <td style="<?php echo $this->getStyle() ?>" class="a-right" colspan="<?php echo $this->getColspan(); ?>">
52
+ <strong><?php echo $this->getTotal()->getTitle() ?></strong>
53
+ </td>
54
+ <td style="<?php echo $this->getStyle() ?>" class="a-right">
55
+ <strong><?php echo $this->helper('checkout')->formatPrice($this->getTotal()->getValue()) ?></strong>
56
+ </td>
57
+ </tr>
58
+ <?php endif;?>
app/design/frontend/default/iphone/template/tax/checkout/shipping.phtml ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ /**
27
+ * @var $this Mage_Tax_Block_Checkout_Shipping
28
+ * @see Mage_Tax_Block_Checkout_Shipping
29
+ */
30
+ ?>
31
+ <?php if ($this->displayBoth()):?>
32
+ <tr>
33
+ <td style="<?php echo $this->getStyle() ?>" class="a-right" colspan="<?php echo $this->getColspan(); ?>">
34
+ <?php echo $this->getExcludeTaxLabel() ?>
35
+ </td>
36
+ <td style="<?php echo $this->getStyle() ?>" class="a-right">
37
+ <?php echo $this->helper('checkout')->formatPrice($this->getShippingExcludeTax()) ?>
38
+ </td>
39
+ </tr>
40
+ <tr>
41
+ <td style="<?php echo $this->getStyle() ?>" class="a-right" colspan="<?php echo $this->getColspan(); ?>">
42
+ <?php echo $this->getIncludeTaxLabel() ?>
43
+ </td>
44
+ <td style="<?php echo $this->getStyle() ?>" class="a-right">
45
+ <?php echo $this->helper('checkout')->formatPrice($this->getShippingIncludeTax()) ?>
46
+ </td>
47
+ </tr>
48
+ <?php elseif($this->displayIncludeTax()) : ?>
49
+ <tr>
50
+ <td style="<?php echo $this->getStyle() ?>" class="a-right" colspan="<?php echo $this->getColspan(); ?>">
51
+ <?php echo $this->getTotal()->getTitle() ?>
52
+ </td>
53
+ <td style="<?php echo $this->getStyle() ?>" class="a-right">
54
+ <?php echo $this->helper('checkout')->formatPrice($this->getShippingIncludeTax()) ?>
55
+ </td>
56
+ </tr>
57
+ <?php else:?>
58
+ <tr>
59
+ <td style="<?php echo $this->getStyle() ?>" class="a-right" colspan="<?php echo $this->getColspan(); ?>">
60
+ <?php echo $this->getTotal()->getTitle() ?>
61
+ </td>
62
+ <td style="<?php echo $this->getStyle() ?>" class="a-right">
63
+ <?php echo $this->helper('checkout')->formatPrice($this->getShippingExcludeTax()) ?>
64
+ </td>
65
+ </tr>
66
+ <?php endif;?>
app/design/frontend/default/iphone/template/tax/checkout/subtotal.phtml ADDED
@@ -0,0 +1,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ /**
27
+ * @var $this Mage_Tax_Block_Checkout_Subtotal
28
+ * @see Mage_Tax_Block_Checkout_Subtotal
29
+ */
30
+ ?>
31
+ <?php if ($this->displayBoth()):?>
32
+ <tr>
33
+ <td style="<?php echo $this->getStyle() ?>" class="a-right" colspan="<?php echo $this->getColspan(); ?>">
34
+ <?php echo $this->helper('tax')->__('Subtotal (Excl. Tax)') ?>
35
+ </td>
36
+ <td style="<?php echo $this->getStyle() ?>" class="a-right">
37
+ <?php echo $this->helper('checkout')->formatPrice($this->getTotal()->getValueExclTax()) ?>
38
+ </td>
39
+ </tr>
40
+ <tr>
41
+ <td style="<?php echo $this->getStyle() ?>" class="a-right" colspan="<?php echo $this->getColspan(); ?>">
42
+ <?php echo $this->helper('tax')->__('Subtotal (Incl. Tax)') ?>
43
+ </td>
44
+ <td style="<?php echo $this->getStyle() ?>" class="a-right">
45
+ <?php echo $this->helper('checkout')->formatPrice($this->getTotal()->getValueInclTax()) ?>
46
+ </td>
47
+ </tr>
48
+ <?php else : ?>
49
+ <tr>
50
+ <td style="<?php echo $this->getStyle() ?>" class="a-right" colspan="<?php echo $this->getColspan(); ?>">
51
+ <?php echo $this->getTotal()->getTitle() ?>
52
+ </td>
53
+ <td style="<?php echo $this->getStyle() ?>" class="a-right">
54
+ <?php echo $this->helper('checkout')->formatPrice($this->getTotal()->getValue()) ?>
55
+ </td>
56
+ </tr>
57
+ <?php endif;?>
app/design/frontend/default/iphone/template/tax/checkout/tax.phtml ADDED
@@ -0,0 +1,74 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ /**
27
+ * @var $this Mage_Tax_Block_Checkout_Tax
28
+ * @see Mage_Tax_Block_Checkout_Tax
29
+ */
30
+ ?>
31
+ <?php
32
+ $_value = $this->getTotal()->getValue();
33
+ $_style = $this->getTotal()->getStyle();
34
+ ?>
35
+ <?php global $taxIter; $taxIter++; ?>
36
+ <?php if ($this->helper('tax')->displayFullSummary() && $_value!=0): ?>
37
+ <?php $isTop = 1; ?>
38
+ <?php foreach ($this->getTotal()->getFullInfo() as $info): ?>
39
+ <?php if (isset($info['hidden']) && $info['hidden']) continue; ?>
40
+ <?php $percent = $info['percent']; ?>
41
+ <?php $amount = $info['amount']; ?>
42
+ <?php $rates = $info['rates']; ?>
43
+ <?php $isFirst = 1; ?>
44
+
45
+ <?php foreach ($rates as $rate): ?>
46
+ <tr class="summary-details-<?php echo $taxIter; ?> summary-details<?php if ($isTop): echo ' summary-details-first'; endif; ?>" style="display:none;">
47
+ <td class="a-right" style="<?php echo $_style ?>" colspan="<?php echo $this->getColspan(); ?>">
48
+ <?php echo $rate['title']; ?>
49
+ <?php if ($rate['percent']): ?>
50
+ (<?php echo $rate['percent']; ?>%)
51
+ <?php endif; ?>
52
+ <br />
53
+ </td>
54
+ <?php if ($isFirst): ?>
55
+ <td style="<?php echo $_style ?>" class="a-right" rowspan="<?php echo count($rates); ?>">
56
+ <?php echo $this->helper('checkout')->formatPrice($amount); ?>
57
+ </td>
58
+ <?php endif; ?>
59
+ </tr>
60
+ <?php $isFirst = 0; ?>
61
+ <?php $isTop = 0; ?>
62
+ <?php endforeach; ?>
63
+ <?php endforeach; ?>
64
+ <?php endif;?>
65
+ <tr <?php if ($this->helper('tax')->displayFullSummary() && $_value!=0): ?> class="summary-total" onclick="expandDetails(this, '.summary-details-<?php echo $taxIter;?>')"<?php endif; ?>>
66
+ <td style="<?php echo $_style ?>" class="a-right" colspan="<?php echo $this->getColspan(); ?>">
67
+ <?php if ($this->helper('tax')->displayFullSummary()): ?>
68
+ <div class="summary-collapse"><?php echo $this->getTotal()->getTitle() ?></div>
69
+ <?php else: ?>
70
+ <?php echo $this->getTotal()->getTitle() ?>
71
+ <?php endif;?>
72
+ </td>
73
+ <td style="<?php echo $_style ?>" class="a-right"><?php echo $this->helper('checkout')->formatPrice($_value) ?></td>
74
+ </tr>
app/design/frontend/default/iphone/template/tax/order/tax.phtml ADDED
@@ -0,0 +1,81 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <?php
28
+ $_order = $this->getOrder();
29
+ $_source = $this->getSource();
30
+ $_fullInfo = $_source->getFullTaxInfo();
31
+ global $taxIter; $taxIter++;
32
+ ?>
33
+ <?php ?>
34
+
35
+ <?php if ($this->displayFullSummary()): ?>
36
+ <?php $isTop = 1; ?>
37
+ <?php if ($_fullInfo) foreach ($_fullInfo as $info): ?>
38
+ <?php if (isset($info['hidden']) && $info['hidden']) continue; ?>
39
+ <?php
40
+ $percent = $info['percent'];
41
+ $amount = $info['amount'];
42
+ $rates = $info['rates'];
43
+ $isFirst = 1;
44
+ ?>
45
+ <?php foreach ($rates as $rate): ?>
46
+ <tr class="summary-details-<?php echo $taxIter; ?> summary-details<?php if ($isTop): echo ' summary-details-first'; endif; ?>"<?php if (!$this->getIsPlaneMode()):?> style="display:none;"<?php endif;?>>
47
+ <td <?php echo $this->getLabelProperties()?>>
48
+ <?php echo $rate['title']; ?>
49
+ <?php if ($rate['percent']): ?>
50
+ (<?php echo $rate['percent']; ?>%)
51
+ <?php endif; ?>
52
+ <br />
53
+ </td>
54
+ <?php if ($isFirst): ?>
55
+ <td <?php echo $this->getValueProperties()?> rowspan="<?php echo count($rates); ?>">
56
+ <?php echo $_order->formatPrice($amount); ?>
57
+ </td>
58
+ <?php endif; ?>
59
+ </tr>
60
+ <?php $isFirst = 0; ?>
61
+ <?php $isTop = 0; ?>
62
+ <?php endforeach; ?>
63
+ <?php endforeach; ?>
64
+ <?php endif;?>
65
+
66
+ <?php if ($this->displayFullSummary() && $_fullInfo && !$this->getIsPlaneMode()): ?>
67
+ <tr class="summary-total" onclick="expandDetails(this, '.summary-details-<?php echo $taxIter;?>')">
68
+ <?php elseif ($this->displayFullSummary() && $_fullInfo && $this->getIsPlaneMode()): ?>
69
+ <tr class="show-details">
70
+ <?php else: ?>
71
+ <tr>
72
+ <?php endif; ?>
73
+ <td <?php echo $this->getLabelProperties()?>>
74
+ <?php if ($this->displayFullSummary()): ?>
75
+ <div class="summary-collapse"><?php echo $this->__('Tax'); ?></div>
76
+ <?php else: ?>
77
+ <?php echo $this->__('Tax'); ?>
78
+ <?php endif;?>
79
+ </td>
80
+ <td <?php echo $this->getValueProperties()?>><?php echo $_order->formatPrice($_source->getTaxAmount()) ?></td>
81
+ </tr>
app/design/frontend/default/iphone/template/wishlist/email/items.phtml ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ /* @var $this Mage_Wishlist_Block_Share_Email_Items */
27
+ ?>
28
+ <?php $l = $this->getWishlistItemsCount() ?>
29
+ <div style="border:1px solid #BEBCB7; padding:15px; background:#F8F7F5;">
30
+ <table cellspacing="0" cellpadding="0">
31
+ <tr>
32
+ <?php $i = 0; foreach($this->getWishlistItems() as $item): $i++ ?>
33
+ <td width="32%">
34
+ <p align="center"><a href="<?php echo $this->getProductUrl($item) ?>"><img src="<?php echo $this->helper('catalog/image')->init($item, 'small_image')->resize(135); ?>" style="border:1px solid #ccc;" width="135" alt="" /></a></p>
35
+ <p align="center"><a href="<?php echo $this->getProductUrl($item) ?>" style="color:#203548;"><strong><?php echo $this->htmlEscape($item->getName()) ?></strong></a></p>
36
+ <?php if($this->hasDescription($item)): ?><p align="center"><?php echo $this->__('Comment') ?>:<br /><?php echo $this->getEscapedDescription($item) ?></p><?php endif; ?>
37
+ <p align="center"><a href="<?php echo $this->getProductUrl($item) ?>" style="color:#1E7EC8;"><?php echo $this->__('View Product') ?></a> <small>
38
+ <?php if ($item->getIsSalable()):?>|</small> <a href="<?php echo $this->getAddToCartUrl($item) ?>" style="color:#DC6809;"><strong><?php echo $this->__('Add to Cart') ?></strong></a><?php endif;?>
39
+ </p></td>
40
+ <?php if ($i%3!=0): ?>
41
+ <td width="2%"></td>
42
+ <?php else: ?>
43
+ </tr>
44
+ <tr>
45
+ <td colspan="5">&nbsp;</td>
46
+ </tr>
47
+ <?php if ($i<$l): ?>
48
+ <tr>
49
+ <?php endif ?>
50
+ <?php endif ?>
51
+ <?php endforeach ?>
52
+ </table>
53
+ </div>
app/design/frontend/default/iphone/template/wishlist/email/rss.phtml ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <div>
28
+ <?php echo $this->__("RSS link to %s's wishlist",$this->helper('wishlist')->getCustomerName()) ?>
29
+ <br />
30
+ <a href="<?php echo $this->helper('wishlist')->getRssUrl(); ?>"><?php echo $this->helper('wishlist')->getRssUrl(); ?></a>
31
+ </div>
app/design/frontend/default/iphone/template/wishlist/shared.phtml ADDED
@@ -0,0 +1,76 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ /* @var $this Mage_Wishlist_Block_Share_Wishlist */
27
+ ?>
28
+ <div class="in-page">
29
+ <div class="page-head">
30
+ <h3><?php echo $this->htmlEscape($this->getHeader()) ?></h3>
31
+ </div>
32
+ <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
33
+ <?php if ($this->hasWishlistItems()): ?>
34
+ <form action="<?php echo $this->getUrl('*/*/update') ?>" method="post">
35
+ <table cellspacing="0" width="100%" class="shopping-cart product-data" id="wishlist-table">
36
+ <thead>
37
+ <tr>
38
+ <th class="align-left"><?php echo $this->__('Product') ?></th>
39
+ <th class="align-center"><?php echo $this->__('Comment') ?></th>
40
+ <th class="align-center">&nbsp;</th>
41
+ </tr>
42
+ </thead>
43
+ <tbody>
44
+ <?php foreach($this->getWishlistItems() as $item): ?>
45
+ <tr>
46
+ <td>
47
+ <div>
48
+ <a href="<?php echo $this->getProductUrl($item) ?>">
49
+ <img src="<?php echo $this->helper('catalog/image')->init($item, 'small_image')->resize(113); ?>" alt="<?php echo $this->htmlEscape($item->getName()) ?>" width="113" />
50
+ </a>
51
+ </div>
52
+ <div><a href="<?php echo $this->getProductUrl($item) ?>" title="<?php echo $this->htmlEscape($item->getName()) ?>"><?php echo $this->htmlEscape($item->getName()) ?></a></div>
53
+ <?php echo $this->helper('catalog/product')->getPriceHtml($item) ?>
54
+ </td>
55
+ <td class="align-center"><?php echo $this->getEscapedDescription($item) ?></td>
56
+ <td class="align-center">
57
+ <?php if ($item->isSaleable()): ?>
58
+ <a href="#" onclick="setLocation('<?php echo $this->getAddToCartUrl($item) ?>');return false;" class="link-cart"><?php echo $this->__('Add to Cart') ?></a><br/>
59
+ <?php endif;?>
60
+ <a href="#" onclick="setLocation('<?php echo $this->getAddToWishlistUrl($item) ?>');return false;" class="link-cart"><?php echo $this->__('Add to Wishlist') ?></a>
61
+ </td>
62
+ </tr>
63
+ <?php endforeach ?>
64
+ </tbody>
65
+ </table>
66
+ <script type="text/javascript">decorateTable('wishlist-table')</script>
67
+ <?php if($this->isSaleable()):?>
68
+ <div class="button-set">
69
+ <button onclick="setLocation('<?php echo $this->getUrl('*/*/allcart', array('_current'=>true)) ?>')" class="form-button-alt" type="button"><span><?php echo $this->__('Add All to Cart') ?></span></button>&nbsp;
70
+ </div>
71
+ <?php endif;?>
72
+ </form>
73
+ <?php else: ?>
74
+ <p><?php echo $this->__('Wishlist is empty now.') ?></p>
75
+ <?php endif ?>
76
+ </div>
app/design/frontend/default/iphone/template/wishlist/sharing.phtml ADDED
@@ -0,0 +1,89 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ ?>
27
+ <div class="in-page">
28
+ <div class="page-head">
29
+ <h3><?php echo $this->__('Share Your Wishlist') ?></h3>
30
+ </div>
31
+ <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
32
+ <form action="<?php echo $this->getSendUrl() ?>" id="form-validate" method="post">
33
+ <?php echo $this->getBlockHtml('formkey')?>
34
+ <fieldset class="group-select">
35
+ <h4 class="legend"><?php echo $this->__('Sharing Information') ?></h4>
36
+ <ul class="form-list">
37
+ <li>
38
+ <label for="email_address"><?php echo $this->__('Email addresses, separated by commas') ?> <span class="required">*</span></label><br/>
39
+ <textarea name="emails" cols="5" rows="5" style="width:99%;height:50px;" class="validate-emails required-entry"><?php echo $this->getEnteredData('emails') ?></textarea>
40
+ </li>
41
+ <li>
42
+ <label for="message"><?php echo $this->__('Message') ?></label><br/>
43
+ <textarea id="message" name="message" cols="5" rows="5" style="width:99%;height:80px;"><?php echo $this->getEnteredData('message') ?></textarea>
44
+ </li>
45
+ <?php if($this->helper('wishlist')->isRssAllow()): ?>
46
+ <li>
47
+ <input type="checkbox" name="rss_url" id="rss_url" value="1" />
48
+ <label for="rss_url"><?php echo $this->__('Check this checkbox if you want to add a link to an rss feed to your wishlist.') ?></label>
49
+ </li>
50
+ <?php endif; ?>
51
+ </ul>
52
+ </fieldset>
53
+ <div class="col2-alt-set button-set">
54
+ <div class="col-1">
55
+ <p class="required"><?php echo $this->__('* Required Fields') ?></p>
56
+ <br /><br />
57
+ <a href="<?php echo $this->getUrl('*/')?>" class="left">&laquo; <?php echo $this->__('Back')?></a>
58
+ </div>
59
+ <div class="col-2">
60
+ <div class="form-buttons">
61
+ <button type="submit" class="form-button"><span><?php echo $this->__('Share Wishlist') ?></span></button>
62
+ </div>
63
+ </div>
64
+ </div><div class="clear"></div><br /><br />
65
+ </form>
66
+ </div>
67
+ <script type="text/javascript">
68
+ <!--
69
+ Validation.addAllThese([
70
+ ['validate-emails', '<?php echo $this->__('Please enter a valid email addresses, separated by commas. For example johndoe@domain.com, johnsmith@domain.com.') ?>', function (v) {
71
+ if(Validation.get('IsEmpty').test(v)) {
72
+ return true;
73
+ }
74
+
75
+ var valid_regexp = /^[a-z0-9\._-]{1,30}@([a-z0-9_-]{1,30}\.){1,5}[a-z]{2,4}$/;
76
+ var emails = v.split(',');
77
+
78
+ for (var i=0; i<emails.length; i++) {
79
+ if(!valid_regexp.test(emails[i].strip())) {
80
+ return false;
81
+ }
82
+ }
83
+
84
+ return true;
85
+ }]
86
+ ]);
87
+ var dataForm = new VarienForm('form-validate', true);
88
+ //-->
89
+ </script>
app/design/frontend/default/iphone/template/wishlist/sidebar.phtml ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ /* @var $this Mage_Wishlist_Block_Customer_Sidebar */
27
+ ?>
28
+ <?php if ($this->helper('wishlist')->isAllow()) : ?>
29
+ <div class="box base-mini mini-wishlist">
30
+ <div class="head">
31
+ <h4><?php echo $this->__('My Wishlist - <a href="%s">%d Item(s)</a>',
32
+ $this->helper('wishlist')->getListUrl(),
33
+ $this->helper('wishlist')->getItemCount()
34
+ ) ?></h4>
35
+ <h5><?php echo $this->__('Last Added Items') ?></h5>
36
+ </div>
37
+ <?php if ($this->hasWishlistItems()): ?>
38
+ <ol id="wishlist-sidebar">
39
+ <?php foreach($this->getWishlistItems() as $_item): ?>
40
+ <li>
41
+ <div class="product-images">
42
+ <a href="<?php echo $this->getProductUrl($_item) ?>">
43
+ <img src="<?php echo $this->helper('catalog/image')->init($_item, 'thumbnail')->resize(50); ?>" alt="<?php echo $this->htmlEscape($_item->getName()) ?>" width="50" height="50" />
44
+ </a>
45
+ </div>
46
+ <div class="product-details">
47
+ <a href="<?php echo $this->getItemRemoveUrl($_item) ?>" onclick="return confirm('<?php echo $this->__('Are you sure you would like to remove this item from the wishlist?') ?>');" class="widget-btn">
48
+ <img src="<?php echo $this->getSkinUrl('images/list_remove_btn.gif') ?>" alt="<?php echo $this->__('Remove Item') ?>" />
49
+ </a>
50
+ <a href="<?php echo $this->getProductUrl($_item) ?>"><?php echo $this->htmlEscape($_item->getName()) ?></a>
51
+ <?php echo $this->helper('catalog/product')->getPriceHtml($_item, false, '-wishlist') ?>
52
+ <?php if($_item->isSaleable()): ?>
53
+ <a href="<?php echo $this->getAddToCartItemUrl($_item) ?>" class="link-cart"><?php echo $this->__('Add to Cart') ?></a>
54
+ <?php endif; ?>
55
+ </div>
56
+ </li>
57
+ <?php endforeach; ?>
58
+ </ol>
59
+ <script type="text/javascript">decorateList('wishlist-sidebar')</script>
60
+ <?php else: ?>
61
+ <div class="content"><p><?php echo $this->__('You have no items in your wishlist.') ?></p></div>
62
+ <?php endif ?>
63
+ <div class="actions"><a href="<?php echo $this->helper('wishlist')->getListUrl() ?>"><?php echo $this->__('Go to Wishlist') ?></a></div>
64
+ </div>
65
+ <?php endif ?>
66
+ <!-- [ends] .mini-wishlist // -->
app/design/frontend/default/iphone/template/wishlist/view.phtml ADDED
@@ -0,0 +1,100 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
22
+ * @package default_iphone
23
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
24
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
25
+ */
26
+ /* @var $this Mage_Wishlist_Block_Customer_Wishlist */
27
+ ?>
28
+ <div class="in-page">
29
+ <div class="page-head"><h3><?php echo $this->__('My Wishlist') ?></h3></div>
30
+ <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
31
+ <?php if ($this->hasWishlistItems()): ?>
32
+ <?php if ($this->helper('wishlist')->isRssAllow()): ?>
33
+ <p class="a-right"><a href="<?php echo $this->helper('wishlist')->getRssUrl(); ?>" class="link-feed"><?php echo $this->__('RSS Feed') ?></a></p>
34
+ <?php endif; ?>
35
+ <form action="<?php echo $this->getUrl('*/*/update') ?>" method="post">
36
+ <?php echo $this->getBlockHtml('formkey')?>
37
+ <table cellspacing="0" class="shopping-cart product-data" id="wishlist-table">
38
+ <thead>
39
+ <tr>
40
+ <th><?php echo $this->__('Product') ?></th>
41
+ <th><?php echo $this->__('Added') ?></th>
42
+ <th class="a-center"><?php echo $this->__('Action') ?></th>
43
+ </tr>
44
+ </thead>
45
+ <tbody>
46
+ <?php foreach($this->getWishlistItems() as $item): ?>
47
+ <tr class="td-noborder">
48
+ <td style="padding-top:15px;">
49
+ <div><a href="<?php echo $this->getProductUrl($item) ?>"><img src="<?php echo $this->helper('catalog/image')->init($item, 'small_image')->resize(100, 100); ?>" alt="<?php echo $this->htmlEscape($item->getName()) ?>" width="100" /></a></div>
50
+ <div><a href="<?php echo $this->getProductUrl($item) ?>" title="<?php echo $this->htmlEscape($item->getName()) ?>"><?php echo $this->htmlEscape($item->getName()) ?></a></div>
51
+ <?php echo $this->getPriceHtml($item) ?>
52
+ </td>
53
+ <td class="a-center">
54
+ <?php echo $this->getFormatedDate($item->getAddedAt()) ?>
55
+ </td>
56
+ <td class="a-center">
57
+ <?php if($item->isSaleable()): ?>
58
+ <a href="<?php echo $this->getItemAddToCartUrl($item) ?>" class="link-cart"><?php echo $this->__('Add to Cart') ?></a><br />
59
+ <?php endif; ?>
60
+ <br /><a href="<?php echo $this->getItemRemoveUrl($item) ?>" onclick="return confirmRemoveWishlistItem();" class="link-remove" ><?php echo $this->__('Remove') ?></a>
61
+ </td>
62
+ </tr>
63
+ <tr>
64
+ <td colspan="3" style="padding-bottom:15px;">
65
+ <?php echo $this->__('Comment') ?>:
66
+ <textarea name="description[<?php echo $item->getWishlistItemId() ?>]" class="input-text" rows="3" cols="3" style="padding:3px;width:98%;height:40px;" onfocus="focusComment(this)" onblur="focusComment(this)"><?php echo $this->hasDescription($item) ? $this->getEscapedDescription($item) : $this->helper('wishlist')->defaultCommentString() ?></textarea>
67
+ </td>
68
+ </tr>
69
+ <?php endforeach ?>
70
+ </tbody>
71
+ </table>
72
+ <script type="text/javascript">decorateTable('wishlist-table')</script>
73
+ <div class="small-buttons a-center nobr">
74
+ <button type="submit" onclick="this.name='save_and_share'" class="form-button-alt"><span><?php echo $this->__('Share Wishlist') ?></span></button>
75
+ <?php if($this->isSaleable()):?>
76
+ <button onclick="setLocation('<?php echo $this->getUrl('*/*/allcart') ?>')" class="form-button-alt" type="button"><span><?php echo $this->__('Add All to Cart') ?></span></button>
77
+ <?php endif;?>
78
+ <button type="submit" onclick="this.name='do'" class="form-button"><span><?php echo $this->__('Update Wishlist') ?></span></button>
79
+ </div>
80
+ </form>
81
+ <?php else: ?>
82
+ <p><?php echo $this->__('You have no items in your wishlist.') ?></p>
83
+ <?php endif ?>
84
+ <br /><div class="button-set">
85
+ <a href="<?php echo $this->escapeUrl($this->getBackUrl()) ?>" class="left">&laquo; <?php echo $this->__('Back') ?></a>
86
+ </div><br /><br />
87
+ </div>
88
+ <script type="text/javascript">
89
+ function confirmRemoveWishlistItem() {
90
+ return confirm('<?php echo $this->__('Are you sure you want to remove this product from your wishlist?') ?>');
91
+ }
92
+
93
+ function focusComment(obj) {
94
+ if( obj.value == '<?php echo $this->__('Please, enter your comments...') ?>' ) {
95
+ obj.value = '';
96
+ } else if( obj.value == '' ) {
97
+ obj.value = '<?php echo $this->__('Please, enter your comments...') ?>';
98
+ }
99
+ }
100
+ </script>
package.xml ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <package>
3
+ <name>Interface_Frontend_Default_Iphone</name>
4
+ <version>1.4.1.0</version>
5
+ <stability>stable</stability>
6
+ <license uri="http://opensource.org/licenses/afl-3.0.php">AFL v3.0</license>
7
+ <channel>community</channel>
8
+ <extends/>
9
+ <summary>This is a new iPhone optimized theme to the Magento default interface.</summary>
10
+ <description>This is a new iPhone optimized theme to the Magento default interface.</description>
11
+ <notes>1.4.1.0</notes>
12
+ <authors><author><name>Magento Core Team</name><user>core</user><email>core@magentocommerce.com</email></author></authors>
13
+ <date>2010-07-27</date>
14
+ <time>2010-07-27</time>
15
+ <contents><target name="magedesign"><dir name="frontend"><dir name="default"><dir name="iphone"><dir name="etc"><file name="widget.xml" hash="149ae31248fa69ae8556c5b3d7cc612e"/></dir><dir name="layout"><file name="bundle.xml" hash="4829e617e41e8b683a0928bd6fa04c08"/><file name="catalog.xml" hash="ab2cfb99a6e59ff5ea52893d46a71d74"/><file name="catalogsearch.xml" hash="bb2f8c917f1e10d357536ca9291b1a44"/><file name="checkout.xml" hash="9eebebde14ee8bfff0afd57658ff8aaf"/><file name="cms.xml" hash="78220390a4d23095bcc1297210b064e2"/><file name="contacts.xml" hash="15f7922d67efa063babebfd2e422d7d5"/><file name="core.xml" hash="a4278be2b1b4835e84a751b8ceea6564"/><file name="customer.xml" hash="c2a3270b2bb01fc536f40d12eb957dc1"/><file name="directory.xml" hash="439c413d59d63cb2be5e1cc9bc447b52"/><file name="downloadable.xml" hash="edce3aa8a1f8f8ac343fa652e0487ab3"/><file name="giftmessage.xml" hash="98b28a18bc538a439349cc4e1086f7b5"/><file name="googleanalytics.xml" hash="f6443011ace29ddd08b7461f4d8a7811"/><file name="newsletter.xml" hash="3aaad1da84b64856eb7f6c14cf422127"/><file name="page.xml" hash="01a0a5e039b124e2996d52a58987cd39"/><file name="poll.xml" hash="6384bb2fef10470a2136b11b48fbedd2"/><file name="productalert.xml" hash="3d773f713e1093ddab138cc1523fd270"/><file name="reports.xml" hash="b4894025c8fdceab26feb6319e89b899"/><file name="review.xml" hash="79aecf8c2b0051b2abaf0121028ba7df"/><file name="rss.xml" hash="7cb17f3f589155aebb4c44abf2991206"/><file name="sales.xml" hash="91f6e369bdc360563cffa29477ae2679"/><file name="sendfriend.xml" hash="df8df4e8c8ad9b1672ce034feca85492"/><file name="shipping.xml" hash="fc6a3287f5f284dfa8a30b9edb4d14e1"/><file name="tag.xml" hash="fce93e589f5d6c5e2f91b2e12c937bda"/><file name="wishlist.xml" hash="737ac1ec97135e0d6bc3e72409c94c8c"/></dir><dir name="locale"><dir name="en_US"><file name="translate.csv" hash="793e1ff86039f24caff6fad87a094fa1"/></dir></dir><dir name="template"><dir name="catalog"><dir name="category"><file name="page.phtml" hash="83a307b7c1111b61fc45e2043a807808"/><file name="view.phtml" hash="3f726fc0635004b6a7e18c37130a925c"/></dir><dir name="layer"><file name="filter.phtml" hash="b2f2a3d6bde252c49a172614322f10f7"/><file name="state.phtml" hash="c4d62c66c20ae65eb429e08c91062eb6"/><file name="view.phtml" hash="b9733766966fa4c2606e5db8b4a18f91"/></dir><dir name="navigation"><file name="left.phtml" hash="782905d2bdb597846aeb1b9d6353f869"/><file name="top.phtml" hash="7478ae10583f13ada0e8bd3c97849ed2"/></dir><dir name="product"><dir name="compare"><file name="list.phtml" hash="79f945206326f7404b4d4991141514a5"/><file name="sidebar.phtml" hash="dcfe49982c514ddd746547e25767deff"/></dir><file name="gallery.phtml" hash="d682c97c30a5a8ee6c96c6610ca0577e"/><dir name="list"><file name="crosssell.phtml" hash="02974da958f56ade2bf7bc1044236956"/><file name="related.phtml" hash="2fa0b6b8f56b3138c9577283237946a0"/><dir name="toolbar"><file name="pager.phtml" hash="20026a3f87a97f1b8f6c463c737bb815"/></dir><file name="toolbar.phtml" hash="1261ad9bbe1e254f656cf3f35d1b3150"/><file name="upsell.phtml" hash="9b40cbf3cd30e6c3415ae7f3e223789f"/></dir><file name="list.phtml" hash="23eea11218b2805a6dcd76a76a0d2ae3"/><file name="new.phtml" hash="18f55388c86c0a90065bed057376cb77"/><file name="price.phtml" hash="4ccfcdbe47f187f0f683f1f4c3603cc3"/><file name="send.phtml" hash="f62a4fc854debc832ade1911c73dbbca"/><dir name="view"><file name="additional.phtml" hash="e78f8fb38d96f236fb15827a6c3d67ac"/><file name="addto.phtml" hash="3ead24121d1fdb29ac604664edb3b3be"/><file name="addtocart.phtml" hash="02bbbcebc5facac7d92bc2553bf209a5"/><file name="attributes.phtml" hash="6d243006b3cd883f33185c7d69ab7055"/><file name="bundle.phtml" hash="158dc8ab0a598165d084d313b0f587bc"/><file name="description.phtml" hash="7764b3cfd3cb4c8dfbc012a9574c739c"/><file name="media.phtml" hash="d9c5342d89887cb57a4e77b8d7ed73f5"/><dir name="options"><file name="js.phtml" hash="1d90ee38fd3b19588ebb83d650a74acf"/><dir name="type"><file name="date.phtml" hash="84d9625cff326c11d3646da7ff3a5704"/><file name="default.phtml" hash="ab3659831eceeb797bc43c3c2eb03c9d"/><file name="file.phtml" hash="82004323ea4eb0a487e2ba1994fe6202"/><file name="select.phtml" hash="d4c82c9f7abbfddd2123fb945a5d9e9a"/><file name="text.phtml" hash="490d5eefcac3e351250524d36f317428"/></dir><dir name="wrapper"><file name="bottom.phtml" hash="6f2160223f906de6863a0fcf15edfbdd"/></dir><file name="wrapper.phtml" hash="7af215e0c03560908a72538252c9e1b6"/></dir><file name="options.phtml" hash="c9c614efd911cbbebd4fef82374fcf7c"/><file name="price.phtml" hash="328dbef0b3358d88f747e864a6145d37"/><file name="price_clone.phtml" hash="058a76b5fd3a50c61c9f2a3fbfef8524"/><file name="tierprices.phtml" hash="e221d2e24d04ba70e5271f47b53da27e"/><dir name="type"><file name="configurable.phtml" hash="f9192c17ecdac3528363c069008a1dea"/><file name="grouped.phtml" hash="835b42a3c897baba4d6c2065f7042d1d"/><dir name="options"><file name="configurable.phtml" hash="507e3f22414ae70d7ec62bdf3f9a86b0"/></dir><file name="simple.phtml" hash="b108c1cbec72e49bb0f2a91e96fc81c3"/><file name="virtual.phtml" hash="b108c1cbec72e49bb0f2a91e96fc81c3"/></dir></dir><file name="view.phtml" hash="20f2ca729b78e1a7d50ee8c965c296da"/></dir><dir name="seo"><dir name="sitemap"><file name="container.phtml" hash="21f42934d185661d5150451be2faa263"/></dir><file name="sitemap.phtml" hash="8a3bdfa068b8bb83bfabaf5525ff4417"/><file name="tree.phtml" hash="28e92eda52d9d4c7b32fe7d3c7204bf4"/></dir></dir><dir name="catalogsearch"><dir name="advanced"><file name="form.phtml" hash="78ff45f7f15c9b426dee56dcdf977413"/><file name="result.phtml" hash="4a0f9da0c3f3e9e4996d30be5735ef2c"/></dir><file name="form.mini.phtml" hash="5a562fbb31c3939e7d2ab1fe1ae187bd"/><file name="result.phtml" hash="6d5e996d12d4197b4cbad76e9cb5130d"/><file name="term.phtml" hash="97ce51c712587eb869cbb7301a8a294d"/></dir><dir name="checkout"><dir name="cart"><file name="coupon.phtml" hash="3f46e3898d5a647acb4457165218fefd"/><file name="crosssell.phtml" hash="4e8f6b132ed18958ed4075938eec1bcd"/><dir name="item"><file name="default.phtml" hash="9ef6c8cb411de3a5b4b47a042e8eb737"/></dir><file name="noItems.phtml" hash="ca0955ba4bfd0bdcb735ad540186d45f"/><dir name="render"><file name="default.phtml" hash="899308a92824fb1562c1dd3abc932501"/><file name="simple.phtml" hash="899308a92824fb1562c1dd3abc932501"/></dir><file name="shipping.phtml" hash="113b2277b570ff4c9dda62cddf2ff98b"/><file name="sidebar.phtml" hash="654d2135063b299e018f3d2b89b93aaf"/><file name="totals.phtml" hash="fa018d49a70045ca0e47780278c31a75"/></dir><file name="cart.phtml" hash="1ee324cdf08cf658d0905396012a77a4"/><file name="links.phtml" hash="5b1ed73bb680d6b66aa3fc1e981b6980"/><dir name="multishipping"><dir name="address"><file name="select.phtml" hash="d6ca1600dda14f6d29e546adbee9f22d"/></dir><file name="addresses.phtml" hash="19f1e6b4b4aec406f91a93c0d7c7868f"/><file name="billing.phtml" hash="6655129ae45b21c9a8b7ca2faf34d7d1"/><dir name="item"><file name="default.phtml" hash="d3b10907b59f48500fce48e4f2eefa75"/></dir><file name="link.phtml" hash="b6dc58948e127b879a03c4a15f73cf0b"/><file name="overview.phtml" hash="e0e11e17a0334b9dc7ef548001913ebf"/><file name="shipping.phtml" hash="add02a6eb96e556d1498b8dbe8179266"/><file name="state.phtml" hash="c9e2f2fb4f7ddf931e7a166c7fa97f2d"/><file name="success.phtml" hash="102ebaad0ac738d798e608a25ed04ef6"/></dir><dir name="onepage"><file name="billing.phtml" hash="61e4bf2c80eed0d92416ff813fdb3a57"/><file name="link.phtml" hash="27544e2c8e592fe5af684fb0f41237df"/><file name="login.phtml" hash="e3db3df7b5d34222d58796d2ce975f8f"/><dir name="payment"><file name="methods.phtml" hash="2084402f4006832b5e728db77f40f352"/></dir><file name="payment.phtml" hash="158c8ee48676c5af8605db1a4bc4acfb"/><file name="progress.phtml" hash="fd201bf9483073063f50687dd418a501"/><dir name="review"><file name="info.phtml" hash="8e999acfc57104b329735ded39f3e9f8"/><file name="item.phtml" hash="e9f37368351b05f0cdbba77e517fab46"/><file name="totals.phtml" hash="232460b2bdc2701f160b5fe8fdc37950"/></dir><file name="review.phtml" hash="58599ffc9e933d3e62b6ef7438dfb650"/><file name="shipping.phtml" hash="e861c91f9368dbfe9a6299473bfe1629"/><dir name="shipping_method"><file name="additional.phtml" hash="573e85035a978f2e975ff0bf73a8df58"/><file name="available.phtml" hash="ffcec365f60e9f48edadcf89e97b5d55"/></dir><file name="shipping_method.phtml" hash="dacfb73e17676fd3e679fd9982a04251"/></dir><file name="onepage.phtml" hash="36b1bf52913fc137f66eaadc27fbf583"/><file name="success.phtml" hash="dc1645438ad6a7dad2de39fb591425a4"/></dir><dir name="cms"><file name="content.phtml" hash="6aa9b2a6ca0abc370791e58d9908560b"/><file name="content_heading.phtml" hash="c86cc53c21cbfc27c04994cc82aa714d"/><dir name="default"><file name="home.phtml" hash="15c248228c7b55a1eb1cb5b9762b22c4"/><file name="no-route.phtml" hash="5a5d6b11ad4fb607b48025d10d6d52a8"/></dir><file name="meta.phtml" hash="462072d394f5733ce607ba3246091472"/></dir><dir name="contacts"><file name="form.phtml" hash="224d4fce27aaafb4ad63cd3eab8e01bd"/></dir><dir name="core"><file name="formkey.phtml" hash="f7c636bebc4b516e67eabc8037791ba9"/><file name="link.phtml" hash="1dd49b96a33ed81425fd6510e39bd413"/><file name="messages.phtml" hash="093d7c3ec631d57d5287171424e6697c"/></dir><dir name="customer"><dir name="account"><dir name="dashboard"><file name="address.phtml" hash="1b3401ff40642bd0809762920b1e576f"/><file name="hello.phtml" hash="64918c23d16ed2aeec8bb4ec436cbbaf"/><file name="info.phtml" hash="45eafa0d47a1b1366b7da548445c6d22"/><file name="newsletter.phtml" hash="1f333d71728a4bb3c319d9fa9f8ef498"/><file name="sidebar.phtml" hash="5b1ed73bb680d6b66aa3fc1e981b6980"/></dir><file name="dashboard.phtml" hash="7e3450f85865856e292da26d26d6c99e"/><dir name="link"><file name="back.phtml" hash="488c151c7546f94e251edf5750bf973d"/></dir><file name="navigation.phtml" hash="1bdebe0310f179603760cc9b9d86c1fd"/></dir><dir name="address"><file name="book.phtml" hash="a4de761ceae889d6a425634116218079"/><file name="edit.phtml" hash="bbed75fa8741fb71f53f315e83fe25d0"/></dir><file name="address.phtml" hash="6d65339b3e99a9d47d59c2e3fcbaa5e9"/><file name="balance.phtml" hash="2037dd5e27b2ff1c79cea2c3aa8f34b9"/><file name="dashboard.phtml" hash="b876b51edf5e02fe485a508d1301d9fa"/><dir name="form"><file name="address.phtml" hash="ad5e5c33e1fb94307c47dc84cc3a2c1e"/><file name="changepassword.phtml" hash="6b3888aa7eaffe068009b6775885e63f"/><file name="edit.phtml" hash="658da51dd5f5fbed8dca8c0356118336"/><file name="forgotpassword.phtml" hash="64183b46c9e9df57b047705e87f88ca8"/><file name="login.phtml" hash="54f11396d6223d92124b5b00297c63c2"/><file name="mini.login.phtml" hash="4a8715eebed77bb4a9928e34497a1235"/><file name="mini.newsletter.phtml" hash="cb5243a1f105b418631f4616f2a0c302"/><file name="newsletter.phtml" hash="723c0673323b76ee4d42a2688672f82c"/><file name="register.phtml" hash="5ef63aeb718d316e32375e8b677bf3aa"/></dir><file name="logout.phtml" hash="0d8992f2a586a282bc53493701f9600d"/><dir name="order"><file name="view.phtml" hash="235cf8eb06a5aa1ac9831477259dbed5"/></dir><file name="orders.phtml" hash="e791c7eaae2a779e5d765c0822b20266"/><dir name="widget"><file name="dob.phtml" hash="f9f08b753e4d8e96afb0aa4bcf0d4cea"/><file name="gender.phtml" hash="41dc3d5e9969d492c13fc6a78bb2f65f"/><file name="name.phtml" hash="2a4a53e1849a65cbb61125fca9f30ec3"/><file name="taxvat.phtml" hash="21eb562fe0f3d3dec2c80560a20be2f1"/></dir><file name="wishlist.phtml" hash="95011ca67653bad37aa4ac7840196ca2"/></dir><dir name="giftmessage"><file name="form.phtml" hash="3e0d46d2462750aed63749fe8672bb03"/><file name="helper.phtml" hash="c6c28184d06c8677c0a96bf47ed32b1c"/><file name="inline.phtml" hash="571e115fb0716a0155987ca6b8b01298"/></dir><dir name="googlecheckout"><file name="link.phtml" hash="517a68b07232c6df0f063434d196cbc2"/></dir><dir name="newsletter"><file name="subscribe.phtml" hash="b70a998125a421ab4c1f6aae4a105197"/></dir><dir name="page"><file name="1column.phtml" hash="f75d92cdcb0bc57fc689cbdc96fc4fc3"/><file name="2columns-left.phtml" hash="28f57d3dbb56c81e6f5df3be8b3de8ca"/><file name="2columns-right.phtml" hash="5461ee0f1ad235b4e6f8e433b3331c82"/><file name="3columns.phtml" hash="28f57d3dbb56c81e6f5df3be8b3de8ca"/><file name="dashboard.phtml" hash="6ff9fec18c4beab5f7fa0852adcdcc44"/><dir name="html"><file name="breadcrumbs.phtml" hash="2b1d30d82f62410fc44adc2c0a53668b"/><file name="footer.phtml" hash="4e20e7c16edb03a8ce6102ea8dbf367d"/><file name="head.phtml" hash="5246e0d1399f0d8e833e9d4569a0475d"/><file name="header.phtml" hash="ab72e895b027b62d7a0b912b6f08f79d"/><file name="notices.phtml" hash="8b4e827f726d2f3b01ad8e9218c72c28"/><file name="pager.phtml" hash="227674864d512418d9adf639f3f133cd"/><file name="top.links.phtml" hash="9c193769030a21be758f7d76094b0906"/><file name="wrapper.phtml" hash="2fc4a9c6ad0c557d331175ab91c26754"/></dir><dir name="js"><file name="calendar.phtml" hash="40b1e0cc81a80b03f0c03154f734e06d"/></dir><file name="one-column.phtml" hash="805ccea3f5514819bdf0892b18dfbc29"/><file name="print.phtml" hash="056895feb72c30cdab0d276156f20890"/><dir name="switch"><file name="flags.phtml" hash="fc9a810621b1788667083ca7dd443ce0"/><file name="languages.phtml" hash="14394ad3c4622bccbf0dc72863ddcabb"/><file name="stores.phtml" hash="d2c382ad35b47c0f33707874cd3cd958"/></dir><dir name="template"><file name="container.phtml" hash="c27e723f9e24681368625557ce635578"/><file name="links.phtml" hash="f3dd8d248587e7137d9a2d7f0e2c113e"/></dir></dir><dir name="payment"><dir name="form"><file name="cc.phtml" hash="c7eb2beeae917327c99abd3c3f9b48e9"/><file name="ccsave.phtml" hash="3f0d97d29ef75e65d1c37ccbf69f3218"/><file name="checkmo.phtml" hash="52fc26903f7ab30efd756f4d186cd749"/><file name="purchaseorder.phtml" hash="b20d578446af68cd462deffd181a45aa"/></dir><dir name="info"><file name="checkmo.phtml" hash="9ee9bd44d8fbcbff86565ccc323a486d"/><file name="purchaseorder.phtml" hash="e586f138c8b301f2d040c0bc0a535f48"/></dir></dir><dir name="poll"><file name="active.phtml" hash="6b68e345b32e9c3db058c2ff378da2ea"/><file name="result.phtml" hash="560ca7d87bd0aa6a333395e2a8706059"/></dir><dir name="productalert"><file name="price.phtml" hash="672de7ed20def4760a020afd3a2a465f"/><file name="stock.phtml" hash="4803e38b716030a63a8412888dc8726a"/></dir><dir name="rating"><file name="detailed.phtml" hash="21e78e8f3d45774ad8a1949c073a5085"/><file name="empty.phtml" hash="00d45f857eb3f786043ea6b7ab589c58"/></dir><dir name="reports"><file name="home_product_compared.phtml" hash="7dd2e1699d384b408e20516bf16daaa3"/><file name="home_product_viewed.phtml" hash="e4a6ebbdec69fcde759d7c1d395e10b6"/><file name="product_compared.phtml" hash="54fb475aa17b19ddce978e742f7bf1c5"/><file name="product_viewed.phtml" hash="bbb5104053db1ac987cfeed87ff98fd0"/></dir><dir name="review"><dir name="customer"><file name="list.phtml" hash="f7c8929515a07285573f9a3371424dce"/><file name="recent.phtml" hash="b38452518db43ccd0a069fb646dffb1e"/><file name="view.phtml" hash="f0f2db6ee9841ecd9a2d51a12b3f4a11"/></dir><file name="form.phtml" hash="c79e102880b8a6918bac21a476d90ce4"/><dir name="helper"><file name="summary.phtml" hash="5e45061636b515eb06fc20f1683ffdf6"/><file name="summary_short.phtml" hash="178a85c4e1978f1f516e39a9713a0246"/></dir><file name="list.phtml" hash="66b7cd27a6b7c02f840cd6e36e04ef5d"/><dir name="product"><file name="detailed.phtml" hash="50494664f8d4e86fbbf9f76534ff20ad"/></dir><file name="view.phtml" hash="57acbf2660800f6e570d8c9647533967"/></dir><dir name="rss"><file name="list.phtml" hash="f908656a67012117556f74dbe424f976"/><file name="nofeed.phtml" hash="ce71d5af5c77b41ad7bd4b7503ac6c3b"/><dir name="order"><file name="details.phtml" hash="0ae22892635ea2dbda5ee48908c8cc6b"/></dir></dir><dir name="sales"><dir name="order"><file name="creditmemo.phtml" hash="34df1c0b6e6503800e9dbbd9e86659ea"/><file name="details.phtml" hash="3166dec31a753760a26cf83147b9d245"/><file name="history.phtml" hash="9e6eafd8a985b88a455ec4631bf95cf6"/><file name="info.phtml" hash="a07cb7bf17889a67bb96e30b0fb002ac"/><file name="invoice.phtml" hash="6a140797ed6690af2fcaf7e97807b3bc"/><dir name="items"><dir name="renderer"><file name="default.phtml" hash="3c11d1eabf727fdc360b00c3bc626738"/></dir></dir><file name="items.phtml" hash="45790a638a03a0cbdc4f0269351114f7"/><dir name="print"><file name="creditmemo.phtml" hash="6627f47e841d04ab582bcb51135be8cb"/><file name="invoice.phtml" hash="7deed971e2724e64d689225baaaf66d1"/><file name="shipment.phtml" hash="71cdb94f51930e0adf853092963d6e66"/></dir><file name="print.phtml" hash="2dbaf0885263a2902917af242f30b8e0"/><file name="recent.phtml" hash="f188d820639392e34fc358f4f929eccd"/><file name="shipment.phtml" hash="b8f8bc00d3ec3205b302506bf28f372f"/><file name="totals.phtml" hash="dbc4beec95960b68ee8b6c043b33b6b4"/><file name="trackinginfo.phtml" hash="bc8c8b4940d694be1f2874560fadb370"/><file name="view.phtml" hash="ed58cce40be6a9975c6a454ebfe62474"/></dir><dir name="reorder"><file name="sidebar.phtml" hash="be0354c6e3588808451754f840a94f88"/></dir></dir><dir name="sendfriend"><file name="send.phtml" hash="1d812f5cb3a767bab1f1ba73072b0e5b"/></dir><dir name="shipping"><dir name="tracking"><file name="ajax.phtml" hash="68b329da9893e34099c7d8ad5cb9c940"/><file name="popup.phtml" hash="f5f1deed013c17462d1929082602c76c"/></dir></dir><dir name="tag"><file name="cloud.phtml" hash="884fabc40c2a3460d7f5a252b31fa941"/><dir name="customer"><file name="edit.phtml" hash="eeacbd91fafe4a70f61a26deb959b77b"/><file name="recent.phtml" hash="3cbb8e526811b5a8e42cd7bd12fb6ef8"/><file name="tags.phtml" hash="4aabf84ed45edee14b4037d8212d28d3"/><file name="view.phtml" hash="a42b673caeca5933759a25f3482a86da"/></dir><file name="list.phtml" hash="2dfe5b015ddd7062de5dc68d7632fcdd"/><file name="mytags.phtml" hash="758a0a2a43dccab796199c53f9263368"/><file name="popular.phtml" hash="b7b47da5fabb77b178b37f108276f2f5"/><dir name="product"><file name="result.phtml" hash="743c015a9a00d601a0838d1c63965503"/></dir><file name="result.phtml" hash="e1d1a264e94ab2434ba876c395861fee"/><file name="search.phtml" hash="dfa14579e2e8f68ecb65c5141e3d52fe"/></dir><dir name="tax"><dir name="checkout"><file name="discount.phtml" hash="280e67a73736bf8fe3b7325c665326a0"/><file name="grandtotal.phtml" hash="d96f900e43814b4bfb8c0a6f0b9002d0"/><file name="shipping.phtml" hash="735a2c4c226023873dd2b114583174d6"/><file name="subtotal.phtml" hash="bab3833c21d91bb13537f2bf0d5993de"/><file name="tax.phtml" hash="3ccf9813e99a6dc916130305d85bde1e"/></dir><dir name="order"><file name="tax.phtml" hash="42a20e2ccd09cce5f0b0a19eb1b169a9"/></dir></dir><dir name="wishlist"><dir name="email"><file name="items.phtml" hash="e61396ad2992a1db385360fd62578c1a"/><file name="rss.phtml" hash="f80ff227cfac7a57af31d8a47d449d99"/></dir><file name="shared.phtml" hash="c933b4f13ee7389813bcbc1a5a747359"/><file name="sharing.phtml" hash="c59462140227c80b7b7a6ba930c1bdc0"/><file name="sidebar.phtml" hash="6e4565505732637813ceda8c4a312fdd"/><file name="view.phtml" hash="c248d6fa7cdf3d270d18a66106ddbce1"/></dir></dir></dir></dir></dir></target><target name="mageskin"><dir name="frontend"><dir name="default"><dir name="iphone"><dir name="css"><file name="clears.css" hash="0fb679b0071d0dae45a16165b38eb4fc"/><file name="iphone.css" hash="ba5bb4c81343ef85d9207fd26e025c19"/></dir><file name="favicon.ico" hash="88733ee53676a47fc354a61c32516e82"/><dir name="images"><file name="btn_google_checkout.gif" hash="843d75249ce05b5d87ca5419f37b1c3b"/><file name="btn_paypal_checkout.gif" hash="6edd61270b7b5632eafad10557129114"/><file name="btn_place_order.gif" hash="d35219f86ae2c983ee1a31557e37b612"/><file name="btn_proceed_to_checkout.gif" hash="4daac687b514fecfd1068539500ac3d7"/><file name="btn_proceed_to_checkout.png" hash="a65868bfdf37e6c9bc8651fc402c43b3"/><file name="btn_proceed_to_checkout_bg.gif" hash="d1f61b4cd9db50e0322d23b291f1f4c4"/><file name="btn_proceed_to_checkout_rad.gif" hash="ee0f96c5b22aab80149238c210d1bf95"/><file name="btn_trash.gif" hash="bcb22f558a0eb32243a2a36645189e9f"/><file name="btn_window_close.gif" hash="c83f3cbbb2aedfc580dff78d5cfb63ed"/><file name="chart_remove.gif" hash="234bddc4c5878c5ef16407a944824236"/><file name="error_msg_icon.gif" hash="e4f28607f075a105e53fa3113d84bd26"/><file name="footer-bg.gif" hash="7c474892fe9d3afbe9fc11415ec4d9b9"/><file name="free_shipping_callout.jpg" hash="cbf2e494ef7ca50acf8826321d739559"/><file name="gift-message-close.gif" hash="346e26eece27449a2f224aef76ae372e"/><file name="header-bg.gif" hash="bbc81c891dd6b50d3b85306433b315bc"/><file name="i_notice.gif" hash="ebd56dc80b8346e10e93628bc0e6c372"/><file name="link_separator.gif" hash="0995b801ce2a89ed32fddd91831d5d15"/><file name="list_remove_btn.gif" hash="6182e723aa2a253dc6cf334a3dfaaa84"/><file name="logo.gif" hash="bbe6cea7d10eb1ac188a0a9dc2068537"/><file name="logo_email.gif" hash="6b5211b7de79a89b162de049b224e56a"/><file name="logo_print.gif" hash="6b5211b7de79a89b162de049b224e56a"/><file name="menu-arrow.gif" hash="7a86f6b349c436db0d43fa2ebafadf86"/><file name="menu-bg.gif" hash="216ac10d06b04fcacb8e0d98db74e539"/><file name="np_cart_thumb.gif" hash="e9fdd943e0947e15f0638506f477e358"/><file name="np_more_img.gif" hash="ace357bfe3e81ffb62137cd5b25ae5e1"/><file name="np_product_main.gif" hash="d0cccda76de50efa025215ce85dacb1c"/><file name="np_thumb.gif" hash="e46270c89358ecc8341d1565c14644b8"/><file name="np_thumb2.gif" hash="8502866cdabc5c74aca7d7bd32a06a03"/><file name="opc-ajax-loader.gif" hash="e805ea7eca1f34c75ba0f93780d32d38"/><file name="opc_off_head_bg.gif" hash="f69b40b5331ab3760f54d038daf287eb"/><file name="opc_on_box_bg.gif" hash="065d507000e7d0b887fcb324bb9d5995"/><file name="page-bg.gif" hash="3f018fdfa3c3c67c3f536d09e843c20a"/><file name="pager_arrow_left.gif" hash="75973b020105dccbaf34e49d7852552d"/><file name="pager_arrow_right.gif" hash="ed4d6640624c2b6edeab4c212314bd6d"/><file name="pager_bg.gif" hash="e6967716de8c4bc4c96c206a0dbd2c5f"/><file name="ph.gif" hash="77d96eebccea5801290ad68b3ccb4199"/><file name="place_order_container_bg.gif" hash="8eebd513ac0d9c02cc566cff649799ce"/><file name="product_rating_blank_star.gif" hash="5e20a299c0ff16168be38b6dde580eda"/><file name="product_rating_full_star.gif" hash="dd5aae332178d928a7f49dea7691b5f6"/><file name="search-bg.gif" hash="254aed2532aba555b56fd70ee48a4f41"/><file name="search-close-but.gif" hash="52516dcd783c5447bb88b2a65f8fbcfc"/><file name="search-end.gif" hash="cab21c2667c72cf78d5379073f7268fe"/><file name="search-go-but.gif" hash="a07b060825a1463eb2a44053081d3cb7"/><file name="search-md.gif" hash="5875a13f1b8aa787b48bf9047c545a38"/><file name="search-st.gif" hash="4b82821fac3dc5073af9ceb297dc4e61"/><file name="search_criteria.gif" hash="cf67b9cc5c311ae3f99e68cd29ae17be"/><file name="shipping_method_pointer.gif" hash="17d68b5449adaa87dafc62ae0afa1b9a"/><file name="sort_asc_arrow.gif" hash="40aa554212d6a1f60593c27d78d85fa3"/><file name="sort_desc_arrow.gif" hash="92fd194bfae4ce5ae3354e1e47d7ac7d"/><file name="success_msg_icon.gif" hash="834dfafd5f8b44c4b24a4c00add56fcf"/><file name="validation_advice_bg.gif" hash="b85432906de8985a8b14eeb2dc652d3c"/></dir><dir name="js"><file name="opcheckout.js" hash="8075d02993793d95312bd4936b44a1ed"/><file name="search.js" hash="4b650bdc2f2364df3b93863b12a680d0"/></dir></dir></dir></dir></target></contents>
16
+ <compatible/>
17
+ <dependencies><required><php><min>5.2.0</min><max>6.0.0</max></php><package><name>Mage_Core_Modules</name><channel>community</channel><min>1.4.1.0</min><max>1.4.2</max></package></required></dependencies>
18
+ </package>
skin/frontend/default/iphone/css/clears.css ADDED
@@ -0,0 +1,71 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * Magento
3
+ *
4
+ * NOTICE OF LICENSE
5
+ *
6
+ * This source file is subject to the Academic Free License (AFL 3.0)
7
+ * that is bundled with this package in the file LICENSE_AFL.txt.
8
+ * It is also available through the world-wide-web at this URL:
9
+ * http://opensource.org/licenses/afl-3.0.php
10
+ * If you did not receive a copy of the license and are unable to
11
+ * obtain it through the world-wide-web, please send an email
12
+ * to license@magentocommerce.com so we can send you a copy immediately.
13
+ *
14
+ * DISCLAIMER
15
+ *
16
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
17
+ * versions in the future. If you wish to customize Magento for your
18
+ * needs please refer to http://www.magentocommerce.com for more information.
19
+ *
20
+ * @category design
21
+ * @package default_iphone
22
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
23
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
24
+ */
25
+
26
+ /****************************************************/
27
+ /****************[ Mage_CSS_B Clears ]***************/
28
+ /****************************************************/
29
+
30
+ .page-head:after,
31
+ .page-head-alt:after,
32
+ .clear:after,
33
+ .col2-set:after,
34
+ .col3-set:after,
35
+ .col4-set:after,
36
+ .col2-alt-set:after,
37
+ .head:after,
38
+ .inner-head:after,
39
+ .header-top:after,
40
+ .quick-access:after,
41
+ .header-nav:after,
42
+ #nav:after,
43
+ .middle:after,
44
+ .product-essential:after,
45
+ .button-set:after,
46
+ .actions:after,
47
+ .legend:after,
48
+ .form-list li:after,
49
+ .button-container:after,
50
+ .ratings:after,
51
+ .page-head:after,
52
+ .page-head-alt:after,
53
+ .group-select li:after,
54
+ .search-autocomplete li:after,
55
+ .side-col li:after,
56
+ .account-box li:after,
57
+ .address-list li:after,
58
+ .generic-product-list li:after,
59
+ .listing-type-list .listing-item:after,
60
+ .listing-type-list .product-info .product-reviews:after,
61
+ .my-review-detail:after,
62
+ .shopping-cart-totals .checkout-types:after {
63
+ content:".";
64
+ display:block;
65
+ clear:both;
66
+ height:0;
67
+ font-size:0;
68
+ line-height:0em;
69
+ visibility:hidden;
70
+ overflow:hidden;
71
+ }
skin/frontend/default/iphone/css/iphone.css ADDED
@@ -0,0 +1,440 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /**
2
+ * Magento
3
+ *
4
+ * NOTICE OF LICENSE
5
+ *
6
+ * This source file is subject to the Academic Free License (AFL 3.0)
7
+ * that is bundled with this package in the file LICENSE_AFL.txt.
8
+ * It is also available through the world-wide-web at this URL:
9
+ * http://opensource.org/licenses/afl-3.0.php
10
+ * If you did not receive a copy of the license and are unable to
11
+ * obtain it through the world-wide-web, please send an email
12
+ * to license@magentocommerce.com so we can send you a copy immediately.
13
+ *
14
+ * DISCLAIMER
15
+ *
16
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
17
+ * versions in the future. If you wish to customize Magento for your
18
+ * needs please refer to http://www.magentocommerce.com for more information.
19
+ *
20
+ * @category design
21
+ * @package default_iphone
22
+ * @copyright Copyright (c) 2010 Magento Inc. (http://www.magentocommerce.com)
23
+ * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
24
+ */
25
+
26
+ /****************************************************/
27
+ /***********[ Mage_CSS_B Common Elements ]***********/
28
+ /****************************************************/
29
+
30
+ /************************ Reset */
31
+ ul,ol,li,dl,dt,dd,fieldset { margin:0; padding:0; }
32
+
33
+
34
+ /********************** Columns */
35
+
36
+ /* All */
37
+ .col2-set, .col3-set, .col4-set, .col5-set { clear:both; }
38
+
39
+ /* Col2 */
40
+ .col2-set .col-1, .col2-set .col-2 { width:48.5%; }
41
+ .col2-set .col-1 { float:left; }
42
+ .col2-set .col-2 { float:right; }
43
+
44
+ /* Col2-alt */
45
+ .col2-alt-set .col-1 { width:32%; }
46
+ .col2-alt-set .col-2 { width:65%; }
47
+ .col2-alt-set .col-1 { float:left; }
48
+ .col2-alt-set .col-2 { float:right; }
49
+ .col-main { min-height:200px; }
50
+
51
+ /********************** Main */
52
+ body { margin:0; font-family:Helvetica; font-size:11px; color:#444; overflow-x:hidden; max-width:320px; -webkit-user-select:none; -webkit-text-size-adjust:none; }
53
+
54
+ a { cursor:pointer; display:inline; color:#0068b7; text-decoration:inherit; }
55
+ a[disabled="true"] { color:#c1cee2; text-shadow:none; }
56
+ table { font-family:Helvetica; font-size:11px; }
57
+ ul, ol, li { list-style:none; padding:0; margin:0; }
58
+ p { padding:0; margin:5px 0; }
59
+ img { border:0; }
60
+
61
+ fieldset { border:0; padding:0; }
62
+ fieldset legend { display:none; }
63
+ input,select,textarea,button { vertical-align:middle; }
64
+ select { font-size:10px; padding:0; }
65
+
66
+ .middle-container { padding:0px; }
67
+ .footer-container { background:transparent url(../images/footer-bg.gif) repeat-x top; padding-top:1px; }
68
+ #main { margin:0; padding:0; }
69
+
70
+ .clear { clear:both; }
71
+
72
+ .a-left { text-align:left !important; }
73
+ .a-center { text-align:center !important; }
74
+ .a-right { text-align:right !important; }
75
+ .v-top { vertical-align:top !important; }
76
+ .no-display { display:none; }
77
+ .nowrap,
78
+ .nobr { white-space:nowrap; }
79
+
80
+ /********************** Headings */
81
+ h1, h2, h3, h4, h5, h6 { margin:5px 0; padding:0; }
82
+ .inner-head { line-height:1.25em; text-align:right; }
83
+ .inner-head h1,.inner-head h2, .inner-head h3, .inner-head h4, .inner-head h5{ margin:0; float:left; }
84
+ .inner-head { background:#ddd; padding:3px 5px; }
85
+ /****************************************************8*/
86
+
87
+ .header-top {
88
+ background:#1e3647 url(../images/header-bg.gif) repeat-x;
89
+ height:36px;
90
+ padding:0 10px 0 0;
91
+ }
92
+ .header-top .col2-alt-set .col-2 {
93
+ text-align:right;
94
+ padding-top:7px;
95
+ }
96
+ h1#logo {
97
+ margin:0;
98
+ height:34px;
99
+ }
100
+ .shop-access ul, .informational ul {
101
+ list-style:none;
102
+ font-size:11px;
103
+ font-weight:bold;
104
+ padding:0;
105
+ margin:0
106
+ }
107
+
108
+ .inner-head a { float:right; }
109
+ .shop-access ul { background:transparent url(../images/menu-bg.gif) repeat-x; height:28px; }
110
+ .in-page { padding:0 5px 5px 5px; }
111
+ .informational { margin-top:7px; }
112
+ .informational ul {
113
+ font-size:11px;
114
+ font-weight:normal;
115
+ margin:5px 10px 0 0;
116
+ }
117
+ .shop-access ul li {
118
+ float:left;
119
+ width:32.5%;
120
+ text-align:center;
121
+ padding-top:7px;
122
+ margin:0;
123
+ }
124
+ .shop-access ul li a { color:#fff; }
125
+ .informational ul li { float:right; padding:0 0 5px 7px; }
126
+ .informational div { clear:both; }
127
+ .middle-container {
128
+ /*background:transparent url(../images/page-bg.gif) repeat-x left top;
129
+ border-top:1px solid #fff; */
130
+ }
131
+
132
+ .search-form {
133
+ text-align:center;
134
+ width:100%;
135
+ border:0;
136
+ height:35px !important;
137
+ }
138
+ .search-form-cont { background:#d1d1d1 url(../images/search-bg.gif) repeat-x bottom left; padding:0 10px; }
139
+ .search-form .col-1 { width:75%; }
140
+ .search-form .col-2 { width:22%; padding:8px 0 0 0; }
141
+ .search-st { background:transparent url(../images/search-st.gif) no-repeat top left; }
142
+ .search-end { background:transparent url(../images/search-end.gif) no-repeat top right; }
143
+ .search-md { background:transparent url(../images/search-md.gif) repeat-x top right; height:35px; }
144
+ .search-md input { font-size:12px; margin:10px 0 0 10px; width:190px; border:0; background:transparent; color:#999; }
145
+ .search-close,
146
+ .search-go { background:transparent url(../images/search-close-but.gif) no-repeat top left; width:20px; height:20px; display:block; float:right; }
147
+ .search-go { float:left; background-image:none; }
148
+
149
+
150
+ ul.breadcrumbs, .user-links ul { list-style:none; margin:5px 0; padding:0; }
151
+ ul.breadcrumbs { margin:10px 0; }
152
+ ul.breadcrumbs li { float:left; padding-right:5px; color:#818181; }
153
+ .user-links { float:right; height:28px; }
154
+ .user-links ul li { float:left; padding:0 0 0 4px; }
155
+ .user-links ul li a { display:block; color:#fff; background:transparent url(../images/link_separator.gif) no-repeat right 1px; padding:0 6px 0 3px; }
156
+ .user-links ul li.last a { padding-right:0; background-image:none; }
157
+
158
+ .category-head { font-size:11px; }
159
+
160
+ #nav { font:bold 14px/18px Helvetica; }
161
+ #nav ul li { font-weight:normal; padding:1px 0; }
162
+ #nav a, #nav a:hover { display:block; text-decoration:none; border-bottom:1px solid #a5adbc; background:transparent url(../images/menu-arrow.gif) no-repeat 98% 50%; padding-right:15px; }
163
+ #nav span { display:block; cursor:pointer; white-space:nowrap; }
164
+ #nav li ul span { white-space:normal; }
165
+ #nav li.active a { color:#7d90ae; }
166
+ #nav a { padding:8px 12px 9px 8px; /*color:#7d90ae;*/color:#797c7f; }
167
+ #nav .level0 li a { padding-left:10px; }
168
+ #nav .level1 li a { padding-left:20px; }
169
+ #nav .level3 li a { padding-left:30px; }
170
+ #nav .level4 li a { padding-left:40px; }
171
+ #nav .level5 li a { padding-left:50px; }
172
+
173
+ .c-list { border-top:1px solid #ccc; padding-top:3px; }
174
+ .c-list li { padding:8px 0 9px 0; }
175
+ .c-list li h5 { margin:0 0 5px 0; }
176
+ .c-list li h5 a { color:#7d90ae; font-size:12px; text-decoration:underline; }
177
+ .category-head h2, .page-head h3 { color:#7d90ae; font-size:13px; margin:7px 0; }
178
+ .c-list li div.col2-alt-set { border-bottom:1px solid #ccc; padding-bottom:10px; }
179
+ .c-list li div.col2-alt-set .col-1 { width:22%; }
180
+ .c-list li div.col2-alt-set .col-2 { width:74%; }
181
+ .c-list li .description { margin-top:5px; }
182
+ .product-image img { border:1px solid #ccc; }
183
+ .product-price,
184
+ .product-bundle-price { margin:5px 0; font:bold 12px/14px Arial; }
185
+
186
+ ul.breadcrumbs { padding:0 5px; }
187
+
188
+ .category-block { padding:0 5px; }
189
+
190
+ .legality { color:#818181; margin:6px 0; text-align:center; }
191
+
192
+ .pager { color:#444; margin:10px 0; }
193
+ .pager ol { float:right; }
194
+ .pager ol li { float:left; padding-left:5px; font-weight:bold; }
195
+ .pager ol li a, .pager ol li span.on { display:block; border:1px solid #ccc; padding:1px 4px; color:#cecece; background:#eee; }
196
+ .pager ol li a { color:#2a60b4; background:#c3cdde; border-color:#7d90ae; }
197
+ .page-num strong { float:right; }
198
+
199
+ .input-text { border:1px solid #ccc; width:100%; }
200
+ .button-set { margin-top:10px; padding:0 8px; }
201
+ .button-set .form-buttons { text-align:right; }
202
+ .form-buttons button { margin-bottom:7px; }
203
+ .select190inner select { width:190px; }
204
+ .select250inner select { width:250px; }
205
+ .select300inner select { width:300px; }
206
+
207
+ /*.form-button, .form-button-alt { padding:2px 5px; }*/
208
+ .product-info-box { padding:0 10px 10px 10px; }
209
+ .product-info-box h3 { color:#7d90ae; margin:0; }
210
+ .qty { width:50px; }
211
+ .data-table { width:100%; }
212
+ .data-table td { padding:2px 3px; vertical-align:top; }
213
+ .data-table td.label { background:#E4E4E4; text-align:right; border-top:1px solid #fff; }
214
+ .data-table td.data { background:#ECECEC; border-top:1px solid #fff; border-left:1px solid #fff; }
215
+
216
+ .shopping-cart { width:100%; }
217
+ .shopping-cart thead { background:#ccc; }
218
+ .shopping-cart th { padding:5px 3px; border-left:1px solid #fff; }
219
+ .shopping-cart .qty { width:20px; }
220
+ .shopping-cart tbody td { padding:10px 3px; border-bottom:1px solid #ccc; }
221
+ .shopping-cart tfoot td { padding:5px 3px; }
222
+ .checkout-review tfoot td { padding:3px; }
223
+ tr.td-noborder td { border:0; }
224
+
225
+ .shopping-cart-totals table td { text-align:right; padding:2px 5px; }
226
+ .shopping-cart-totals tfoot td { font:normal 14px/18px Arial; }
227
+ .p-methods { text-align:center; padding:10px; }
228
+
229
+ .discount-codes { background:#e2e2e2; margin:5px 0; padding:3px; }
230
+
231
+ .multicheckout tbody td { padding:5px 3px; }
232
+
233
+ .product-data { margin:5px 0; }
234
+ .product-data tbody td { padding:3px; }
235
+ .product-pricing, .product-attributes { margin:5px 0; }
236
+ .product-attributes td { padding-right:5px; }
237
+ .product-attributes select { width:100%; }
238
+
239
+ .small-buttons button { margin:5px 0; }
240
+ .small-buttons button span { font-size:11px; }
241
+
242
+ .price-box .price { font-weight:bold; white-space:nowrap; }
243
+ .old-price { text-decoration:line-through; }
244
+
245
+ .product-collateral { margin:10px 0; }
246
+ .product-collateral .up-sell .product-image {}
247
+ .product-collateral .up-sell .product-image img { border:1px solid #ddd; }
248
+
249
+ .product-options { margin:5px 0 0; }
250
+ .product-options dt { padding:0; margin:0; }
251
+ .product-options dt label { font-weight:bold; }
252
+ .product-options dd { margin:0 0 10px; padding:0 0 10px; border-bottom:1px solid #ddd; }
253
+ .product-options dd img { padding:4px 0 0; vertical-align:middle; }
254
+ .product-options dd select { width:100%; }
255
+ .product-options dd .time-picker { display:inline-block; padding:4px 0 0; vertical-align:middle; }
256
+ .product-options dl.last dd.last { margin:0; padding:0; border-bottom:0; }
257
+ .product-options-bottom { margin:0 0 5px; }
258
+
259
+ /********************** Messages */
260
+ .required { color:#df280a; }
261
+ p.required { text-align:right; }
262
+ .success { color:#3d6611; }
263
+ .error, .validation-advice { color:#df280a; }
264
+ .notice {color:#e26703; }
265
+ .success, .error { font-weight:bold; }
266
+ .messages,
267
+ .messages ul { list-style:none !important; margin:0 !important; padding:0 !important; }
268
+ .messages { width:100%; overflow:hidden; }
269
+ .error-msg, .success-msg, .notice-msg, .note-msg {
270
+ margin-bottom:1em !important;
271
+ border-style:solid !important;
272
+ border-width:1px !important;
273
+ background-repeat:no-repeat !important;
274
+ background-position:10px 10px !important;
275
+ padding:8px !important;
276
+ font-size:.95em !important;
277
+ font-weight:bold !important;
278
+ text-align:center !important;
279
+ }
280
+ .error-msg li, .success-msg li, .notice-msg li {margin-bottom:.2em; }
281
+ .error-msg, .success-msg, .notice-msg, .note-msg { border-left:0 !important; border-right:0 !important; }
282
+ .error-msg {
283
+ border-color:#f16048;
284
+ color:#df280a;
285
+ background-color:#faebe7;
286
+ }
287
+ .success-msg {
288
+ border-color:#446423;
289
+ color:#3d6611;
290
+ background-color:#eff5ea;
291
+ }
292
+ .notice-msg, .note-msg {
293
+ border-color:#fcd344;
294
+ color:#3d6611;
295
+ background-color:#fafaec;
296
+ }
297
+
298
+ .link-remove { color:#df280a; }
299
+ .link-cart { color:#3d6611; }
300
+
301
+ .login-box { padding:0 10px 10px 10px; }
302
+ .login-box h4 { margin:0; }
303
+ .registered-users { border-bottom:1px solid #ccc; padding-bottom:10px; margin-bottom:10px; }
304
+ .form-list { margin-right:10px; }
305
+ .form-list li { padding:3px 0; }
306
+ .form-list li .col-1 { text-align:right; padding-top:3px; }
307
+ .new-users .content { line-height:14px; }
308
+ .new-users .button-set { text-align:right; }
309
+ h4.legend { margin:1px 0 5px 0; }
310
+ .dashboard-block { margin:0 0 10px 0; }
311
+
312
+ .primary-address-list h4, .address-list h4 { background:#ccc; padding:5px; }
313
+ .primary-address-list ol li, .address-list ol li { border-bottom:1px solid #ccc; margin-bottom:10px; padding-bottom:5px; }
314
+
315
+ .checkout-types li { padding:10px 0; }
316
+ .shipment-methods li { padding:10px 0; }
317
+ .payment-methods dt, .payment-methods dd { padding:3px 0; }
318
+ .payment-methods dd { margin-left:20px; padding:5px 0 10px 0; }
319
+ .payment-methods .centinel-logos a { margin-right:3px; }
320
+ .payment-methods .centinel-logos img { vertical-align:middle; }
321
+ .v-fix { float:left; }
322
+ .v-fix select { width:95px; }
323
+
324
+ /* One-Page checkout */
325
+ .one-page-checkout .group-select { margin-right:0; }
326
+ .one-page-checkout .box {
327
+ border:1px solid #bbb6a5;
328
+ border-top:0;
329
+ padding:5px;
330
+ background:#faf7ee;
331
+ }
332
+ .one-page-checkout .head {
333
+ margin-bottom:0 ;
334
+ padding:4px 8px 6px 8px;
335
+ background:url(../images/opc_off_head_bg.gif) repeat-x 0 100% #eee;
336
+ border-width:0 1px 0 1px;
337
+ border-color:#D9DDE3;
338
+ border-style:solid;
339
+ border-top:1px solid #fff;
340
+ }
341
+ .one-page-checkout .head a { display:none; float:right; color:#a4b3b9; text-decoration:underline; } /* Hide Edit button in step header */
342
+ .one-page-checkout h3 { color:#999; font-size:1.05em; margin:0; width:55%; float:left; }
343
+ .one-page-checkout h4 { border-bottom:1px solid #E4E4E4; padding-bottom:2px; text-transform:uppercase; }
344
+ .one-page-checkout .step-count { background:#fff; font-size:.9em; padding:0 4px; line-height:1em; }
345
+ .one-page-checkout .content { padding:5px; }
346
+ .one-page-checkout label.label { font-size:1.05em; color:#2f2f2f; }
347
+ .one-page-checkout .allow .head { background:#d0dce1; border-color:#a3aeb3; border-width:1px 1px 0 1px; cursor:pointer; }
348
+ .one-page-checkout .active .head { margin-bottom:0; border:1px solid #BBAFA0; background:#F9F3E3; padding-bottom:5px; cursor:default; }
349
+ .one-page-checkout .allow .head a { display:block; } /* Display Edit button in active selection */
350
+ .one-page-checkout .active .head a { display:none; }
351
+ .one-page-checkout .group-select { margin-top:0; border:0; background:none; padding:0; }
352
+ .one-page-checkout .allow h3 { color:#a4b3b9; }
353
+ .one-page-checkout .active h3 { color:#F18200; }
354
+ .one-page-checkout .allow .step-count { background:#dbe6eb; }
355
+ .one-page-checkout .active .step-count { color:#fff; border:1px solid #f19900; background:#F18200; }
356
+ .one-page-checkout .active .box { display:block; border-color:#BBAFA0; background:url(../images/multi_address_box_bg.gif) repeat-x #FBFAF6; }
357
+ .one-page-checkout dd .form-list ul { margin:5px 17px 15px 17px; }
358
+ .one-page-checkout .checkmo-mailing-address { padding-left:20px; }
359
+ .one-page-checkout-progress .page-head { margin-bottom:1em; }
360
+ .one-page-checkout-progress li { border:1px solid #A3AEB3; background:#eee; margin-bottom:6px; }
361
+ .one-page-checkout-progress h4 { margin:0; color:#999; padding:2px 8px; background:#eee; text-transform:none; }
362
+ .one-page-checkout-progress h4.complete { border-bottom:1px solid #A3AEB3; background:#D0DCE1; color:#5e8ab4; }
363
+ .one-page-checkout-progress h4 a { text-transform:none; }
364
+ .one-page-checkout-progress .content { padding:8px 13px; }
365
+ #opc-login .button-set { border-top:0; }
366
+ #opc-review .box { border:0; padding:0; }
367
+ #opc-review .content { border:1px solid #D9DDE3; border-top:0; }
368
+ #opc-review .data-table{ border-top:0; }
369
+ .opc-please-wait { padding-right:7px; }
370
+ .one-page-checkout a.back { background:url(../images/icon_opc_back.gif) no-repeat; padding-left:16px; line-height:13px; }
371
+ .one-page-checkout .payment-methods dd { padding:0; }
372
+ .one-page-checkout .button-set { margin-top:0; padding-top:2em; }
373
+ .one-page-checkout ul.super-product-attributes { padding-left:15px; }
374
+ .default-box { margin-right:1px; }
375
+ .one-page-checkout li { zoom:1; vertical-align:top; }
376
+ .one-page-checkout .box { zoom:1; }
377
+
378
+ .checkout-progress { margin:0 auto; width:290px; }
379
+ .checkout-progress td {
380
+ margin-right:3px;
381
+ text-align:center;
382
+ border-top:3px solid #999;
383
+ padding:4px 6px;
384
+ color:#abb5ba;
385
+ font-weight:normal;
386
+ }
387
+ .checkout-progress td.active {
388
+ border-top-color:#e96200;
389
+ color:#e96200;
390
+ }
391
+
392
+ #checkout-review-load { border-right:1px solid #d9dde3; margin-right:0; }
393
+ #checkout-review-load #checkout-review-table thead tr.first th:first-child { border-left:none; }
394
+ .checkout-agreements { border:1px solid #d9dde3; border-left:none; padding:5px; }
395
+ .checkout-agreements .agreement-content { padding:5px; }
396
+
397
+ /* Centinel */
398
+ .centinel {}
399
+ .centinel .authentication { border:1px solid #ddd; background:#fff; }
400
+ .centinel .authentication iframe { width:99%; height:400px; background:transparent !important; margin:0 !important; padding:0 !important; border:0 !important; }
401
+
402
+
403
+ /********************* Customer */
404
+ /* Date of Birth */
405
+ .customer-dob .input-box { float:left; width:60px !important; }
406
+ .customer-dob input { width:50px !important; }
407
+ .customer-dob label.label-dob { font-weight:normal; color:#888; font-size:10px; }
408
+ /********************************/
409
+
410
+ /* Noscript Notice */
411
+ .noscript { background:#ffff90; font-size:12px; line-height:1.25; text-align:center; color:#2f2f2f; }
412
+ .noscript .noscript-inner { max-width:320px; margin:0 auto; padding:12px 0 12px; /*background:url(../images/i_notice.gif) 20px 50% no-repeat;*/ }
413
+ .noscript p { margin:0; }
414
+
415
+ /* For Demo store only */
416
+ .demo-notice { margin:0; background:#d75f07; padding:5px 10px 6px 10px; color:#fff; line-height:1em; text-align:center; }
417
+
418
+ /* Class: std - styles for admin-controlled content */
419
+ .std ul,
420
+ .std ol,
421
+ .std dl,
422
+ .std p,
423
+ .std address,
424
+ .std blockquote { margin:0 0 1em; padding:0; }
425
+ .std ul { list-style:disc outside; padding-left:1.5em; }
426
+ .std ol { list-style:decimal outside; padding-left:1.5em; }
427
+ .std ul ul { list-style-type:circle; }
428
+ .std ul ul,
429
+ .std ol ol,
430
+ .std ul ol,
431
+ .std ol ul { margin:.5em 0; }
432
+ .std dt { font-weight:bold; }
433
+ .std dd { padding:0 0 0 1.5em; }
434
+ .std blockquote { font-style:italic; padding:0 0 0 1.5em; }
435
+ .std address { font-style:normal; }
436
+ .std b,
437
+ .std strong { font-weight:bold; }
438
+ .std i,
439
+ .std em { font-style:italic; }
440
+ .std .a-top { text-align:right; }
skin/frontend/default/iphone/favicon.ico ADDED
Binary file
skin/frontend/default/iphone/images/btn_google_checkout.gif ADDED
Binary file
skin/frontend/default/iphone/images/btn_paypal_checkout.gif ADDED
Binary file
skin/frontend/default/iphone/images/btn_place_order.gif ADDED
Binary file
skin/frontend/default/iphone/images/btn_proceed_to_checkout.gif ADDED
Binary file
skin/frontend/default/iphone/images/btn_proceed_to_checkout.png ADDED
Binary file
skin/frontend/default/iphone/images/btn_proceed_to_checkout_bg.gif ADDED
Binary file
skin/frontend/default/iphone/images/btn_proceed_to_checkout_rad.gif ADDED
Binary file
skin/frontend/default/iphone/images/btn_trash.gif ADDED
Binary file
skin/frontend/default/iphone/images/btn_window_close.gif ADDED
Binary file
skin/frontend/default/iphone/images/chart_remove.gif ADDED
Binary file
skin/frontend/default/iphone/images/error_msg_icon.gif ADDED
Binary file
skin/frontend/default/iphone/images/footer-bg.gif ADDED
Binary file
skin/frontend/default/iphone/images/free_shipping_callout.jpg ADDED
Binary file
skin/frontend/default/iphone/images/gift-message-close.gif ADDED
Binary file
skin/frontend/default/iphone/images/header-bg.gif ADDED
Binary file
skin/frontend/default/iphone/images/i_notice.gif ADDED
Binary file
skin/frontend/default/iphone/images/link_separator.gif ADDED
Binary file
skin/frontend/default/iphone/images/list_remove_btn.gif ADDED
Binary file
skin/frontend/default/iphone/images/logo.gif ADDED
Binary file
skin/frontend/default/iphone/images/logo_email.gif ADDED
Binary file
skin/frontend/default/iphone/images/logo_print.gif ADDED
Binary file
skin/frontend/default/iphone/images/menu-arrow.gif ADDED
Binary file
skin/frontend/default/iphone/images/menu-bg.gif ADDED
Binary file
skin/frontend/default/iphone/images/np_cart_thumb.gif ADDED
Binary file
skin/frontend/default/iphone/images/np_more_img.gif ADDED
Binary file
skin/frontend/default/iphone/images/np_product_main.gif ADDED
Binary file
skin/frontend/default/iphone/images/np_thumb.gif ADDED
Binary file
skin/frontend/default/iphone/images/np_thumb2.gif ADDED
Binary file
skin/frontend/default/iphone/images/opc-ajax-loader.gif ADDED
Binary file
skin/frontend/default/iphone/images/opc_off_head_bg.gif ADDED
Binary file
skin/frontend/default/iphone/images/opc_on_box_bg.gif ADDED
Binary file
skin/frontend/default/iphone/images/page-bg.gif ADDED
Binary file
skin/frontend/default/iphone/images/pager_arrow_left.gif ADDED
Binary file
skin/frontend/default/iphone/images/pager_arrow_right.gif ADDED
Binary file
skin/frontend/default/iphone/images/pager_bg.gif ADDED
Binary file
skin/frontend/default/iphone/images/ph.gif ADDED
Binary file
skin/frontend/default/iphone/images/place_order_container_bg.gif ADDED
Binary file
skin/frontend/default/iphone/images/product_rating_blank_star.gif ADDED
Binary file
skin/frontend/default/iphone/images/product_rating_full_star.gif ADDED
Binary file
skin/frontend/default/iphone/images/search-bg.gif ADDED
Binary file
skin/frontend/default/iphone/images/search-close-but.gif ADDED
Binary file
skin/frontend/default/iphone/images/search-end.gif ADDED
Binary file
skin/frontend/default/{iphone/images/search-go-but.gif → i} RENAMED
File without changes