Modulesgarden_Crystal - Version 1.0.0

Version Notes

Initial Release

Download this release

Release Info

Developer ModulesGarden
Extension Modulesgarden_Crystal
Version 1.0.0
Comparing to
See all releases


Version 1.0.0

Files changed (237) hide show
  1. app/code/community/Modulesgarden/ThemeCrystal/Block/Product/Bestseller.php +29 -0
  2. app/code/community/Modulesgarden/ThemeCrystal/Block/Product/Featured.php +52 -0
  3. app/code/community/Modulesgarden/ThemeCrystal/Helper/Data.php +31 -0
  4. app/code/community/Modulesgarden/ThemeCrystal/Model/System/Config/Source/Select.php +72 -0
  5. app/code/community/Modulesgarden/ThemeCrystal/data/mgthemecrystal_setup/data-install-1.0.0.php +59 -0
  6. app/code/community/Modulesgarden/ThemeCrystal/etc/config.xml +88 -0
  7. app/code/community/Modulesgarden/ThemeCrystal/etc/system.xml +209 -0
  8. app/code/community/Modulesgarden/ThemeCrystal/moduleVersion.php +11 -0
  9. app/code/community/Modulesgarden/ThemeCrystal/sql/mgthemecrystal_setup/install-1.0.0.php +79 -0
  10. app/design/frontend/modulesgarden/crystal/layout/catalog.xml +449 -0
  11. app/design/frontend/modulesgarden/crystal/layout/catalogsearch.xml +142 -0
  12. app/design/frontend/modulesgarden/crystal/layout/checkout.xml +491 -0
  13. app/design/frontend/modulesgarden/crystal/layout/cms.xml +94 -0
  14. app/design/frontend/modulesgarden/crystal/layout/customer.xml +320 -0
  15. app/design/frontend/modulesgarden/crystal/layout/local.xml +77 -0
  16. app/design/frontend/modulesgarden/crystal/layout/newsletter.xml +69 -0
  17. app/design/frontend/modulesgarden/crystal/layout/page.xml +212 -0
  18. app/design/frontend/modulesgarden/crystal/layout/paypal.xml +207 -0
  19. app/design/frontend/modulesgarden/crystal/layout/poll.xml +61 -0
  20. app/design/frontend/modulesgarden/crystal/layout/reports.xml +45 -0
  21. app/design/frontend/modulesgarden/crystal/layout/review.xml +135 -0
  22. app/design/frontend/modulesgarden/crystal/layout/tag.xml +134 -0
  23. app/design/frontend/modulesgarden/crystal/layout/wishlist.xml +139 -0
  24. app/design/frontend/modulesgarden/crystal/template/callouts/left_col.phtml +39 -0
  25. app/design/frontend/modulesgarden/crystal/template/callouts/right_col.phtml +39 -0
  26. app/design/frontend/modulesgarden/crystal/template/catalog/category/page.phtml +36 -0
  27. app/design/frontend/modulesgarden/crystal/template/catalog/category/view.phtml +75 -0
  28. app/design/frontend/modulesgarden/crystal/template/catalog/category/widget/link/link_block.phtml +27 -0
  29. app/design/frontend/modulesgarden/crystal/template/catalog/category/widget/link/link_inline.phtml +27 -0
  30. app/design/frontend/modulesgarden/crystal/template/catalog/layer/filter.phtml +47 -0
  31. app/design/frontend/modulesgarden/crystal/template/catalog/layer/state.phtml +55 -0
  32. app/design/frontend/modulesgarden/crystal/template/catalog/layer/view.phtml +56 -0
  33. app/design/frontend/modulesgarden/crystal/template/catalog/navigation/left.phtml +59 -0
  34. app/design/frontend/modulesgarden/crystal/template/catalog/navigation/top.phtml +49 -0
  35. app/design/frontend/modulesgarden/crystal/template/catalog/product/bestseller.phtml +54 -0
  36. app/design/frontend/modulesgarden/crystal/template/catalog/product/compare/list.phtml +176 -0
  37. app/design/frontend/modulesgarden/crystal/template/catalog/product/compare/sidebar.phtml +60 -0
  38. app/design/frontend/modulesgarden/crystal/template/catalog/product/featured.phtml +58 -0
  39. app/design/frontend/modulesgarden/crystal/template/catalog/product/gallery.phtml +66 -0
  40. app/design/frontend/modulesgarden/crystal/template/catalog/product/list.phtml +166 -0
  41. app/design/frontend/modulesgarden/crystal/template/catalog/product/list/related.phtml +94 -0
  42. app/design/frontend/modulesgarden/crystal/template/catalog/product/list/toolbar.phtml +120 -0
  43. app/design/frontend/modulesgarden/crystal/template/catalog/product/list/upsell.phtml +72 -0
  44. app/design/frontend/modulesgarden/crystal/template/catalog/product/new.phtml +69 -0
  45. app/design/frontend/modulesgarden/crystal/template/catalog/product/price.phtml +471 -0
  46. app/design/frontend/modulesgarden/crystal/template/catalog/product/view.phtml +192 -0
  47. app/design/frontend/modulesgarden/crystal/template/catalog/product/view/additional.phtml +29 -0
  48. app/design/frontend/modulesgarden/crystal/template/catalog/product/view/addto.phtml +41 -0
  49. app/design/frontend/modulesgarden/crystal/template/catalog/product/view/addtocart.phtml +38 -0
  50. app/design/frontend/modulesgarden/crystal/template/catalog/product/view/attributes.phtml +52 -0
  51. app/design/frontend/modulesgarden/crystal/template/catalog/product/view/description.phtml +39 -0
  52. app/design/frontend/modulesgarden/crystal/template/catalog/product/view/media.phtml +69 -0
  53. app/design/frontend/modulesgarden/crystal/template/catalog/product/view/options.phtml +193 -0
  54. app/design/frontend/modulesgarden/crystal/template/catalog/product/view/options/js.phtml +89 -0
  55. app/design/frontend/modulesgarden/crystal/template/catalog/product/view/options/type/date.phtml +92 -0
  56. app/design/frontend/modulesgarden/crystal/template/catalog/product/view/options/type/default.phtml +30 -0
  57. app/design/frontend/modulesgarden/crystal/template/catalog/product/view/options/type/file.phtml +103 -0
  58. app/design/frontend/modulesgarden/crystal/template/catalog/product/view/options/type/select.phtml +40 -0
  59. app/design/frontend/modulesgarden/crystal/template/catalog/product/view/options/type/text.phtml +41 -0
  60. app/design/frontend/modulesgarden/crystal/template/catalog/product/view/options/wrapper.phtml +33 -0
  61. app/design/frontend/modulesgarden/crystal/template/catalog/product/view/options/wrapper/bottom.phtml +29 -0
  62. app/design/frontend/modulesgarden/crystal/template/catalog/product/view/price.phtml +34 -0
  63. app/design/frontend/modulesgarden/crystal/template/catalog/product/view/price_clone.phtml +27 -0
  64. app/design/frontend/modulesgarden/crystal/template/catalog/product/view/tierprices.phtml +232 -0
  65. app/design/frontend/modulesgarden/crystal/template/catalog/product/view/type/configurable.phtml +31 -0
  66. app/design/frontend/modulesgarden/crystal/template/catalog/product/view/type/default.phtml +36 -0
  67. app/design/frontend/modulesgarden/crystal/template/catalog/product/view/type/grouped.phtml +94 -0
  68. app/design/frontend/modulesgarden/crystal/template/catalog/product/view/type/options/configurable.phtml +48 -0
  69. app/design/frontend/modulesgarden/crystal/template/catalog/product/view/type/simple.phtml +31 -0
  70. app/design/frontend/modulesgarden/crystal/template/catalog/product/view/type/virtual.phtml +31 -0
  71. app/design/frontend/modulesgarden/crystal/template/catalog/product/widget/link/link_block.phtml +27 -0
  72. app/design/frontend/modulesgarden/crystal/template/catalog/product/widget/link/link_inline.phtml +27 -0
  73. app/design/frontend/modulesgarden/crystal/template/catalog/product/widget/new/column/new_default_list.phtml +56 -0
  74. app/design/frontend/modulesgarden/crystal/template/catalog/product/widget/new/column/new_images_list.phtml +47 -0
  75. app/design/frontend/modulesgarden/crystal/template/catalog/product/widget/new/column/new_names_list.phtml +47 -0
  76. app/design/frontend/modulesgarden/crystal/template/catalog/product/widget/new/content/new_grid.phtml +66 -0
  77. app/design/frontend/modulesgarden/crystal/template/catalog/product/widget/new/content/new_list.phtml +63 -0
  78. app/design/frontend/modulesgarden/crystal/template/catalogsearch/form.mini.phtml +43 -0
  79. app/design/frontend/modulesgarden/crystal/template/catalogsearch/result.phtml +55 -0
  80. app/design/frontend/modulesgarden/crystal/template/catalogsearch/term.phtml +38 -0
  81. app/design/frontend/modulesgarden/crystal/template/checkout/cart.phtml +156 -0
  82. app/design/frontend/modulesgarden/crystal/template/checkout/cart/coupon.phtml +59 -0
  83. app/design/frontend/modulesgarden/crystal/template/checkout/cart/crosssell.phtml +59 -0
  84. app/design/frontend/modulesgarden/crystal/template/checkout/cart/item/configure/updatecart.phtml +39 -0
  85. app/design/frontend/modulesgarden/crystal/template/checkout/cart/item/default.phtml +279 -0
  86. app/design/frontend/modulesgarden/crystal/template/checkout/cart/noItems.phtml +36 -0
  87. app/design/frontend/modulesgarden/crystal/template/checkout/cart/render/default.phtml +70 -0
  88. app/design/frontend/modulesgarden/crystal/template/checkout/cart/render/simple.phtml +70 -0
  89. app/design/frontend/modulesgarden/crystal/template/checkout/cart/shipping.phtml +139 -0
  90. app/design/frontend/modulesgarden/crystal/template/checkout/cart/sidebar.phtml +80 -0
  91. app/design/frontend/modulesgarden/crystal/template/checkout/cart/sidebar/default.phtml +145 -0
  92. app/design/frontend/modulesgarden/crystal/template/checkout/cart/totals.phtml +48 -0
  93. app/design/frontend/modulesgarden/crystal/template/checkout/multishipping/address/select.phtml +58 -0
  94. app/design/frontend/modulesgarden/crystal/template/checkout/multishipping/addresses.phtml +81 -0
  95. app/design/frontend/modulesgarden/crystal/template/checkout/multishipping/agreements.phtml +49 -0
  96. app/design/frontend/modulesgarden/crystal/template/checkout/multishipping/billing.phtml +116 -0
  97. app/design/frontend/modulesgarden/crystal/template/checkout/multishipping/billing/items.phtml +54 -0
  98. app/design/frontend/modulesgarden/crystal/template/checkout/multishipping/item/default.phtml +45 -0
  99. app/design/frontend/modulesgarden/crystal/template/checkout/multishipping/link.phtml +27 -0
  100. app/design/frontend/modulesgarden/crystal/template/checkout/multishipping/overview.phtml +243 -0
  101. app/design/frontend/modulesgarden/crystal/template/checkout/multishipping/overview/item.phtml +238 -0
  102. app/design/frontend/modulesgarden/crystal/template/checkout/multishipping/shipping.phtml +130 -0
  103. app/design/frontend/modulesgarden/crystal/template/checkout/multishipping/state.phtml +39 -0
  104. app/design/frontend/modulesgarden/crystal/template/checkout/multishipping/success.phtml +50 -0
  105. app/design/frontend/modulesgarden/crystal/template/checkout/onepage.phtml +60 -0
  106. app/design/frontend/modulesgarden/crystal/template/checkout/onepage/link.phtml +29 -0
  107. app/design/frontend/modulesgarden/crystal/template/checkout/onepage/login.phtml +124 -0
  108. app/design/frontend/modulesgarden/crystal/template/checkout/onepage/payment.phtml +73 -0
  109. app/design/frontend/modulesgarden/crystal/template/checkout/onepage/payment/info.phtml +29 -0
  110. app/design/frontend/modulesgarden/crystal/template/checkout/onepage/payment/methods.phtml +73 -0
  111. app/design/frontend/modulesgarden/crystal/template/checkout/onepage/review/button.phtml +27 -0
  112. app/design/frontend/modulesgarden/crystal/template/checkout/onepage/review/info.phtml +84 -0
  113. app/design/frontend/modulesgarden/crystal/template/checkout/onepage/shipping_method.phtml +46 -0
  114. app/design/frontend/modulesgarden/crystal/template/checkout/success.phtml +64 -0
  115. app/design/frontend/modulesgarden/crystal/template/checkout/total/default.phtml +38 -0
  116. app/design/frontend/modulesgarden/crystal/template/cms/content.phtml +27 -0
  117. app/design/frontend/modulesgarden/crystal/template/cms/widget/static_block/default.phtml +27 -0
  118. app/design/frontend/modulesgarden/crystal/template/contacts/form.phtml +73 -0
  119. app/design/frontend/modulesgarden/crystal/template/customer/account/dashboard.phtml +45 -0
  120. app/design/frontend/modulesgarden/crystal/template/customer/account/dashboard/address.phtml +50 -0
  121. app/design/frontend/modulesgarden/crystal/template/customer/account/dashboard/hello.phtml +30 -0
  122. app/design/frontend/modulesgarden/crystal/template/customer/account/dashboard/info.phtml +64 -0
  123. app/design/frontend/modulesgarden/crystal/template/customer/account/dashboard/newsletter.phtml +31 -0
  124. app/design/frontend/modulesgarden/crystal/template/customer/account/link/back.phtml +29 -0
  125. app/design/frontend/modulesgarden/crystal/template/customer/account/navigation.phtml +46 -0
  126. app/design/frontend/modulesgarden/crystal/template/customer/address.phtml +94 -0
  127. app/design/frontend/modulesgarden/crystal/template/customer/address/book.phtml +105 -0
  128. app/design/frontend/modulesgarden/crystal/template/customer/address/edit.phtml +165 -0
  129. app/design/frontend/modulesgarden/crystal/template/customer/balance.phtml +31 -0
  130. app/design/frontend/modulesgarden/crystal/template/customer/form/address.phtml +143 -0
  131. app/design/frontend/modulesgarden/crystal/template/customer/form/changepassword.phtml +67 -0
  132. app/design/frontend/modulesgarden/crystal/template/customer/form/confirmation.phtml +54 -0
  133. app/design/frontend/modulesgarden/crystal/template/customer/form/edit.phtml +117 -0
  134. app/design/frontend/modulesgarden/crystal/template/customer/form/forgotpassword.phtml +55 -0
  135. app/design/frontend/modulesgarden/crystal/template/customer/form/login.phtml +92 -0
  136. app/design/frontend/modulesgarden/crystal/template/customer/form/mini.login.phtml +40 -0
  137. app/design/frontend/modulesgarden/crystal/template/customer/form/newsletter.phtml +53 -0
  138. app/design/frontend/modulesgarden/crystal/template/customer/form/register.phtml +190 -0
  139. app/design/frontend/modulesgarden/crystal/template/customer/form/resetforgottenpassword.phtml +59 -0
  140. app/design/frontend/modulesgarden/crystal/template/customer/logout.phtml +35 -0
  141. app/design/frontend/modulesgarden/crystal/template/customer/orders.phtml +65 -0
  142. app/design/frontend/modulesgarden/crystal/template/customer/widget/dob.phtml +87 -0
  143. app/design/frontend/modulesgarden/crystal/template/customer/widget/gender.phtml +36 -0
  144. app/design/frontend/modulesgarden/crystal/template/customer/widget/name.phtml +101 -0
  145. app/design/frontend/modulesgarden/crystal/template/customer/widget/taxvat.phtml +30 -0
  146. app/design/frontend/modulesgarden/crystal/template/customer/wishlist.phtml +73 -0
  147. app/design/frontend/modulesgarden/crystal/template/downloadable/checkout/cart/item/default.phtml +315 -0
  148. app/design/frontend/modulesgarden/crystal/template/downloadable/customer/products/list.phtml +73 -0
  149. app/design/frontend/modulesgarden/crystal/template/newsletter/subscribe.phtml +49 -0
  150. app/design/frontend/modulesgarden/crystal/template/page/1column.phtml +93 -0
  151. app/design/frontend/modulesgarden/crystal/template/page/2columns-left.phtml +94 -0
  152. app/design/frontend/modulesgarden/crystal/template/page/2columns-right.phtml +93 -0
  153. app/design/frontend/modulesgarden/crystal/template/page/3columns.phtml +99 -0
  154. app/design/frontend/modulesgarden/crystal/template/page/baners.phtml +176 -0
  155. app/design/frontend/modulesgarden/crystal/template/page/brands.phtml +22 -0
  156. app/design/frontend/modulesgarden/crystal/template/page/html/breadcrumbs.phtml +46 -0
  157. app/design/frontend/modulesgarden/crystal/template/page/html/footer.phtml +67 -0
  158. app/design/frontend/modulesgarden/crystal/template/page/html/head.phtml +119 -0
  159. app/design/frontend/modulesgarden/crystal/template/page/html/header.phtml +76 -0
  160. app/design/frontend/modulesgarden/crystal/template/page/html/notices.phtml +48 -0
  161. app/design/frontend/modulesgarden/crystal/template/page/html/pager.phtml +133 -0
  162. app/design/frontend/modulesgarden/crystal/template/page/html/top.links.phtml +39 -0
  163. app/design/frontend/modulesgarden/crystal/template/page/html/topmenu.phtml +116 -0
  164. app/design/frontend/modulesgarden/crystal/template/page/html/viewpointmeta.phtml +1 -0
  165. app/design/frontend/modulesgarden/crystal/template/page/html/wrapper.phtml +50 -0
  166. app/design/frontend/modulesgarden/crystal/template/page/switch/languages.phtml +44 -0
  167. app/design/frontend/modulesgarden/crystal/template/page/template/links.phtml +43 -0
  168. app/design/frontend/modulesgarden/crystal/template/page/template/linksblock.phtml +32 -0
  169. app/design/frontend/modulesgarden/crystal/template/payment/catalog/product/view/profile/options.phtml +41 -0
  170. app/design/frontend/modulesgarden/crystal/template/payment/catalog/product/view/profile/schedule.phtml +39 -0
  171. app/design/frontend/modulesgarden/crystal/template/payment/form/banktransfer.phtml +35 -0
  172. app/design/frontend/modulesgarden/crystal/template/payment/form/cashondelivery.phtml +39 -0
  173. app/design/frontend/modulesgarden/crystal/template/payment/form/cc.phtml +138 -0
  174. app/design/frontend/modulesgarden/crystal/template/payment/form/ccsave.phtml +135 -0
  175. app/design/frontend/modulesgarden/crystal/template/payment/form/checkmo.phtml +44 -0
  176. app/design/frontend/modulesgarden/crystal/template/payment/form/purchaseorder.phtml +34 -0
  177. app/design/frontend/modulesgarden/crystal/template/payment/info/banktransfer.phtml +41 -0
  178. app/design/frontend/modulesgarden/crystal/template/payment/info/checkmo.phtml +38 -0
  179. app/design/frontend/modulesgarden/crystal/template/payment/info/default.phtml +49 -0
  180. app/design/frontend/modulesgarden/crystal/template/payment/info/purchaseorder.phtml +28 -0
  181. app/design/frontend/modulesgarden/crystal/template/persistent/checkout/onepage/billing.phtml +226 -0
  182. app/design/frontend/modulesgarden/crystal/template/persistent/checkout/onepage/login.phtml +149 -0
  183. app/design/frontend/modulesgarden/crystal/template/persistent/customer/form/login.phtml +94 -0
  184. app/design/frontend/modulesgarden/crystal/template/rating/detailed.phtml +46 -0
  185. app/design/frontend/modulesgarden/crystal/template/rating/empty.phtml +27 -0
  186. app/design/frontend/modulesgarden/crystal/template/review/customer/list.phtml +63 -0
  187. app/design/frontend/modulesgarden/crystal/template/review/customer/recent.phtml +54 -0
  188. app/design/frontend/modulesgarden/crystal/template/review/customer/view.phtml +75 -0
  189. app/design/frontend/modulesgarden/crystal/template/review/form.phtml +165 -0
  190. app/design/frontend/modulesgarden/crystal/template/review/helper/summary.phtml +42 -0
  191. app/design/frontend/modulesgarden/crystal/template/review/helper/summary_short.phtml +38 -0
  192. app/design/frontend/modulesgarden/crystal/template/review/product/view/count.phtml +29 -0
  193. app/design/frontend/modulesgarden/crystal/template/review/product/view/list.phtml +65 -0
  194. app/design/frontend/modulesgarden/crystal/template/review/product/view/other.phtml +31 -0
  195. app/design/frontend/modulesgarden/crystal/template/review/view.phtml +72 -0
  196. app/design/frontend/modulesgarden/crystal/template/sales/reorder/sidebar.phtml +78 -0
  197. app/design/frontend/modulesgarden/crystal/template/tag/list.phtml +63 -0
  198. app/design/frontend/modulesgarden/crystal/template/tag/popular.phtml +41 -0
  199. app/design/frontend/modulesgarden/crystal/template/wishlist/view.phtml +92 -0
  200. app/etc/modules/Modulesgarden_ThemeCrystal.xml +9 -0
  201. package.xml +20 -0
  202. skin/adminhtml/base/default/modulesgardenbase/css/modulesgarden.css +339 -0
  203. skin/adminhtml/base/default/modulesgardenbase/img/arrows.png +0 -0
  204. skin/adminhtml/base/default/modulesgardenbase/img/arrows_both.png +0 -0
  205. skin/adminhtml/base/default/modulesgardenbase/img/arrows_down.png +0 -0
  206. skin/adminhtml/base/default/modulesgardenbase/img/arrows_down_dr.png +0 -0
  207. skin/adminhtml/base/default/modulesgardenbase/img/arrows_right.png +0 -0
  208. skin/adminhtml/base/default/modulesgardenbase/img/arrows_right_dr.png +0 -0
  209. skin/adminhtml/base/default/modulesgardenbase/img/arrows_up.png +0 -0
  210. skin/adminhtml/base/default/modulesgardenbase/img/icons/add_btn_icon.gif +0 -0
  211. skin/adminhtml/base/default/modulesgardenbase/img/icons/bkg_btn-close2.gif +0 -0
  212. skin/adminhtml/base/default/modulesgardenbase/img/icons/btn_add-image_icon.gif +0 -0
  213. skin/adminhtml/base/default/modulesgardenbase/img/icons/btn_add-widget_icon.gif +0 -0
  214. skin/adminhtml/base/default/modulesgardenbase/img/icons/btn_go.gif +0 -0
  215. skin/adminhtml/base/default/modulesgardenbase/img/icons/btn_save_icon.gif +0 -0
  216. skin/adminhtml/base/default/modulesgardenbase/img/icons/btn_show-hide_icon.gif +0 -0
  217. skin/adminhtml/base/default/modulesgardenbase/img/icons/cancel_btn_icon.gif +0 -0
  218. skin/adminhtml/base/default/modulesgardenbase/img/icons/entry_edit_head_arrow_down.gif +0 -0
  219. skin/adminhtml/base/default/modulesgardenbase/img/icons/entry_edit_head_arrow_down2.gif +0 -0
  220. skin/adminhtml/base/default/modulesgardenbase/img/icons/entry_edit_head_arrow_up.gif +0 -0
  221. skin/adminhtml/base/default/modulesgardenbase/img/icons/error-msg.png +0 -0
  222. skin/adminhtml/base/default/modulesgardenbase/img/icons/error_msg_icon.gif +0 -0
  223. skin/adminhtml/base/default/modulesgardenbase/img/icons/icon_btn_add.gif +0 -0
  224. skin/adminhtml/base/default/modulesgardenbase/img/icons/module.png +0 -0
  225. skin/adminhtml/base/default/modulesgardenbase/img/icons/more_arrow.gif +0 -0
  226. skin/adminhtml/base/default/modulesgardenbase/img/icons/reload.png +0 -0
  227. skin/adminhtml/base/default/modulesgardenbase/img/icons/save_btn_icon.gif +0 -0
  228. skin/adminhtml/base/default/modulesgardenbase/img/mgcommerce-logo.png +0 -0
  229. skin/adminhtml/base/default/modulesgardenbase/img/modulesgarden.png +0 -0
  230. skin/frontend/modulesgarden/crystal/css/color-footer-dark.css +25 -0
  231. skin/frontend/modulesgarden/crystal/css/color-footer-lightgray.css +15 -0
  232. skin/frontend/modulesgarden/crystal/css/color-footer-white.css +16 -0
  233. skin/frontend/modulesgarden/crystal/css/font_awesome/css/font-awesome.css +1672 -0
  234. skin/frontend/modulesgarden/crystal/css/font_awesome/css/font-awesome.min.css +4 -0
  235. skin/frontend/modulesgarden/crystal/css/font_awesome/fonts/FontAwesome.otf +0 -0
  236. skin/frontend/modulesgarden/crystal/css/font_awesome/fonts/fontawesome-webfont.eot +0 -0
  237. skin/frontend/modulesgarden/crystal/css/font_awesome/fonts/fontawesome-webfont.svg +182 -0
app/code/community/Modulesgarden/ThemeCrystal/Block/Product/Bestseller.php ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class Modulesgarden_ThemeCrystal_Block_Product_Bestseller extends Mage_Catalog_Block_Product_Abstract {
4
+
5
+ public function __construct() {
6
+ parent::__construct();
7
+
8
+ $visibility = array(
9
+ Mage_Catalog_Model_Product_Visibility::VISIBILITY_BOTH,
10
+ Mage_Catalog_Model_Product_Visibility::VISIBILITY_IN_CATALOG,
11
+ );
12
+
13
+ $storeId = Mage::app()->getStore()->getId();
14
+ $products = Mage::getResourceModel('reports/product_collection')
15
+ ->addOrderedQty()
16
+ ->addAttributeToSelect(array('name', 'price', 'small_image', 'mg_is_new'))
17
+ ->setStoreId($storeId)
18
+ ->addStoreFilter($storeId)
19
+ ->addAttributeToFilter('status', array('eq' => Mage_Catalog_Model_Product_Status::STATUS_ENABLED))
20
+ ->addAttributeToFilter('visibility' , array('in' => $visibility))
21
+ ->setOrder('ordered_qty', 'desc'); // most best sellers on top
22
+
23
+ Mage::getSingleton('cataloginventory/stock')->addInStockFilterToCollection($products);
24
+
25
+ $products->setPageSize(3)->setCurPage(1);
26
+ $this->setProductCollection($products);
27
+ }
28
+
29
+ }
app/code/community/Modulesgarden/ThemeCrystal/Block/Product/Featured.php ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /* * ********************************************************************
4
+ * Customization Services by ModulesGarden.com
5
+ * Copyright (c) ModulesGarden, INBS Group Brand, All Rights Reserved
6
+ * (2014-10-31, 13:42:58)
7
+ *
8
+ *
9
+ * CREATED BY MODULESGARDEN -> http://modulesgarden.com
10
+ * CONTACT -> contact@modulesgarden.com
11
+ *
12
+ *
13
+ *
14
+ *
15
+ * This software is furnished under a license and may be used and copied
16
+ * only in accordance with the terms of such license and with the
17
+ * inclusion of the above copyright notice. This software or any other
18
+ * copies thereof may not be provided or otherwise made available to any
19
+ * other person. No title to and ownership of the software is hereby
20
+ * transferred.
21
+ *
22
+ *
23
+ * ******************************************************************** */
24
+
25
+ /**
26
+ * @author Grzegorz Draganik <grzegorz@modulesgarden.com>
27
+ */
28
+ class Modulesgarden_ThemeCrystal_Block_Product_Featured extends Mage_Catalog_Block_Product_Abstract {
29
+
30
+ public function getProducts() {
31
+ $visibility = array(
32
+ Mage_Catalog_Model_Product_Visibility::VISIBILITY_BOTH,
33
+ Mage_Catalog_Model_Product_Visibility::VISIBILITY_IN_CATALOG,
34
+ );
35
+
36
+ $storeId = Mage::app()->getStore()->getId();
37
+
38
+ $products = Mage::getModel('catalog/product')->getCollection()
39
+ ->addAttributeToFilter('mg_is_featured', array('eq' => 1))
40
+ ->addAttributeToSelect(array('name', 'price', 'small_image', 'mg_is_new'))
41
+ ->setStoreId($storeId)
42
+ ->addStoreFilter($storeId)
43
+ ->addAttributeToFilter('status', array('eq' => Mage_Catalog_Model_Product_Status::STATUS_ENABLED))
44
+ ->addAttributeToFilter('visibility' , array('in' => $visibility))
45
+ ->setPageSize(10);
46
+
47
+ Mage::getSingleton('cataloginventory/stock')->addInStockFilterToCollection($products);
48
+
49
+ return $products;
50
+ }
51
+
52
+ }
app/code/community/Modulesgarden/ThemeCrystal/Helper/Data.php ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /* * ********************************************************************
4
+ * Customization Services by ModulesGarden.com
5
+ * Copyright (c) ModulesGarden, INBS Group Brand, All Rights Reserved
6
+ * (2014-09-08, 15:56:42)
7
+ *
8
+ *
9
+ * CREATED BY MODULESGARDEN -> http://modulesgarden.com
10
+ * CONTACT -> contact@modulesgarden.com
11
+ *
12
+ *
13
+ *
14
+ *
15
+ * This software is furnished under a license and may be used and copied
16
+ * only in accordance with the terms of such license and with the
17
+ * inclusion of the above copyright notice. This software or any other
18
+ * copies thereof may not be provided or otherwise made available to any
19
+ * other person. No title to and ownership of the software is hereby
20
+ * transferred.
21
+ *
22
+ *
23
+ * ******************************************************************** */
24
+
25
+ /**
26
+ * @author Grzegorz Draganik <grzegorz@modulesgarden.com>
27
+ */
28
+
29
+ class Modulesgarden_ThemeCrystal_Helper_Data extends Mage_Core_Helper_Abstract {
30
+
31
+ }
app/code/community/Modulesgarden/ThemeCrystal/Model/System/Config/Source/Select.php ADDED
@@ -0,0 +1,72 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /* * ********************************************************************
4
+ * Customization Services by ModulesGarden.com
5
+ * Copyright (c) ModulesGarden, INBS Group Brand, All Rights Reserved
6
+ * (2014-09-09, 08:23:25)
7
+ *
8
+ *
9
+ * CREATED BY MODULESGARDEN -> http://modulesgarden.com
10
+ * CONTACT -> contact@modulesgarden.com
11
+ *
12
+ *
13
+ *
14
+ *
15
+ * This software is furnished under a license and may be used and copied
16
+ * only in accordance with the terms of such license and with the
17
+ * inclusion of the above copyright notice. This software or any other
18
+ * copies thereof may not be provided or otherwise made available to any
19
+ * other person. No title to and ownership of the software is hereby
20
+ * transferred.
21
+ *
22
+ *
23
+ * ******************************************************************** */
24
+
25
+ /**
26
+ * @author Grzegorz Draganik <grzegorz@modulesgarden.com>
27
+ */
28
+ class Modulesgarden_ThemeCrystal_Model_System_Config_Source_Select extends Varien_Object {
29
+
30
+ protected $_options;
31
+
32
+ public function toOptionArray() {
33
+ $options = array();
34
+ $pathExplode = explode('/', $this->getPath());
35
+ if (count($pathExplode) != 3)
36
+ return $options;
37
+
38
+ list($pathSection, $pathGroup, $pathField) = $pathExplode;
39
+
40
+ $section = Mage::getSingleton('adminhtml/config')->getSection($pathSection);
41
+ foreach ($section->groups->children() as $group_id => $group) {
42
+ if ($group_id == $pathGroup) {
43
+ foreach ($group->fields->children() as $field_id => $field) {
44
+ if ($field_id == $pathField) {
45
+ if ($field->options) {
46
+ foreach ($field->options->children() as $option) {
47
+ $options[] = array(
48
+ 'value' => $option->value,
49
+ 'label' => $option->label,
50
+ );
51
+ }
52
+ }
53
+ }
54
+ }
55
+ }
56
+ }
57
+ $this->_options = $options;
58
+ return $options;
59
+ }
60
+
61
+ public function toArray(array $arrAttributes = array()){
62
+ if ($this->_options === null)
63
+ $this->_options = $this->toOptionArray();
64
+
65
+ $options = array();
66
+ foreach ($this->_options as $op){
67
+ $options[$op['value']] = Mage::helper('adminhtml')->__($op['label']);
68
+ }
69
+ return $options;
70
+ }
71
+
72
+ }
app/code/community/Modulesgarden/ThemeCrystal/data/mgthemecrystal_setup/data-install-1.0.0.php ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ $storeName = Mage::getStoreConfig('general/store_information/name');
4
+ if(!$storeName) { $storeName = "Theme Crystal";}
5
+ $storeAddress = Mage::getStoreConfig('general/store_information/address');
6
+ if(!$storeAddress) { $storeAddress = "Your Street 22/A, Alaska";}
7
+ $storePhone = Mage::getStoreConfig('general/store_information/phone');
8
+ if(!$storePhone) { $storePhone = "+48 112 334 567";}
9
+ $storeEmail = Mage::getStoreConfig('trans_email/ident_general/email');
10
+ if(!$storeEmail) { $storeEmail = "company@my-company.com";}
11
+ $storeUrl = Mage::getBaseUrl();
12
+
13
+ $now = date("Y-m-d H:i:s", Mage::getModel('core/date')->timestamp(time()));
14
+ $block1 = Mage::getModel('cms/block')
15
+ ->setTitle('Contact Block - Footer')
16
+ ->setIdentifier('crystal-footer-col1')
17
+ ->setContent("<h2>Contact:</h2>\r\n<ul>\r\n<li>{$storeName}<br />{$storeAddress}</li>\r\n<li>{$storePhone}</li>\r\n<li>{$storeEmail}</li>\r\n</ul>")
18
+ ->setCreationTime($now)
19
+ ->setUpdateTime($now)
20
+ ->setIsActive(1)
21
+ ->save();
22
+ $block2 = Mage::getModel('cms/block')
23
+ ->setTitle('Information Block - Footer')
24
+ ->setIdentifier('crystal-footer-col2')
25
+ ->setContent("<h2>Information</h2>\r\n<ul>\r\n<li><a title=\"About Us\" href=\"{$storeUrl}about\">About Us</a></li>\r\n<li><a title=\"Contact Us\" href=\"{$storeUrl}contacts\">Contact Us</a></li>\r\n<li><a title=\"Terms &amp;Conditions\" href=\"{$storeUrl}terms-conditions\">Terms &amp; Conditions</a></li>\r\n<li><a title=\"Privacy Policy\" href=\"{$storeUrl}privacy-policy\">Privacy Policy</a></li>\r\n<li><a title=\"Orders and Returns\" href=\"{$storeUrl}orders-and-returns\">Orders and Returns</a></li>\r\n<li><a title=\"Site Map\" href=\"{$storeUrl}sitemap\">Site Map</a></li>\r\n</ul>")
26
+ ->setCreationTime($now)
27
+ ->setUpdateTime($now)
28
+ ->setIsActive(1)
29
+ ->save();
30
+ $block3 = Mage::getModel('cms/block')
31
+ ->setTitle('Why choose us - Footer')
32
+ ->setIdentifier('crystal-footer-col3')
33
+ ->setContent("<h2>Why choose us</h2>\r\n<ul>\r\n<li><a title=\"Returns and Exchanges\" href=\"{$storeUrl}returns-and-exchanges\">Returns and Exchanges</a></li>\r\n<li><a title=\"Shipping Options\" href=\"{$storeUrl}shipping-options\">Shipping Options</a></li>\r\n<li><a title=\"Help &amp; FAQs\" href=\"{$storeUrl}faq\">Help &amp; FAQs</a></li>\r\n</ul>")
34
+ ->setCreationTime($now)
35
+ ->setUpdateTime($now)
36
+ ->setIsActive(1)
37
+ ->save();
38
+ $block4 = Mage::getModel('cms/block')
39
+ ->setTitle('My Account Block - Footer')
40
+ ->setIdentifier('crystal-footer-col4')
41
+ ->setContent("<h2>My Account</h2>\r\n<ul>\r\n<li><a title=\"Sign In\" href=\"{$storeUrl}customer/account/login/\">Sign In</a></li>\r\n<li><a title=\"View Cart\" href=\"{$storeUrl}checkout/cart/\">View Cart</a></li>\r\n<li><a title=\"My Wishlist\" href=\"{$storeUrl}wishlist/\">My Wishlist</a></li>\r\n<li><a title=\"Checkout\" href=\"{$storeUrl}checkout/onepage/\">Check out</a></li>\r\n<li><a title=\"Help\" href=\"{$storeUrl}help\">Help</a></li>\r\n</ul>")
42
+ ->setCreationTime($now)
43
+ ->setUpdateTime($now)
44
+ ->setIsActive(1)
45
+ ->save();
46
+
47
+ $installer = $this;
48
+ $installer->startSetup();
49
+
50
+ foreach (array($block1->getId(), $block2->getId(), $block3->getId(), $block4->getId()) as $block_id){
51
+ $installer->run("INSERT INTO ".Mage::getSingleton('core/resource')->getTableName('cms_block_store')." (block_id, store_id) VALUES ({$block_id}, 0)");
52
+ }
53
+
54
+ $installer->run("
55
+ INSERT INTO `".Mage::getSingleton('core/resource')->getTableName('cms_page')."` (`page_id`, `title`, `root_template`, `meta_keywords`, `meta_description`, `identifier`, `content_heading`, `content`, `creation_time`, `update_time`, `is_active`, `sort_order`, `layout_update_xml`, `custom_theme`, `custom_root_template`, `custom_layout_update_xml`, `custom_theme_from`, `custom_theme_to`) VALUES
56
+ (NULL, 'Home page', 'one_column', NULL, NULL, 'home', NULL, '<h2>Welcome to our website</h2>\r\n<p><strong>Lorem ipsum dolor sit amet</strong>, consectetur adipiscing elit. Curabitur id est et sem facilisis tincidunt. In blandit elementum hendrerit. Donec efficitur sodales tincidunt. Etiam ac est dignissim, ornare magna ut, mattis magna. Nulla eu maximus tortor, non vehicula purus. Nullam ullamcorper vitae quam eu consequat.</p>\r\n<p>Aliquam tempus urna ipsum, quis dictum neque fermentum id. Etiam facilisis malesuada euismod. Sed in velit vulputate, volutpat nibh ut, faucibus nisi. Nam eget imperdiet ante. Quisque sit amet faucibus velit, id ornare ante. Cras eget metus lorem. Sed elit elit, imperdiet a mattis eget, tincidunt interdum turpis.</p>\r\n', '2007-08-23 10:03:25', '2014-11-06 15:13:54', 1, 0, NULL, NULL, NULL, NULL, NULL, NULL);
57
+ ");
58
+
59
+ $installer->endSetup();
app/code/community/Modulesgarden/ThemeCrystal/etc/config.xml ADDED
@@ -0,0 +1,88 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <config>
3
+ <modules>
4
+ <Modulesgarden_ThemeCrystal>
5
+ <version>1.0.0</version>
6
+ </Modulesgarden_ThemeCrystal>
7
+ </modules>
8
+
9
+ <global>
10
+ <models>
11
+ <mgthemecrystal>
12
+ <class>Modulesgarden_ThemeCrystal_Model</class>
13
+ <resourceModel>mgthemecrystal_resource</resourceModel>
14
+ </mgthemecrystal>
15
+ <mgthemecrystal_resource>
16
+ <class>Modulesgarden_ThemeCrystal_Model_Resource</class>
17
+ </mgthemecrystal_resource>
18
+ </models>
19
+ <blocks>
20
+ <mgthemecrystal>
21
+ <class>Modulesgarden_ThemeCrystal_Block</class>
22
+ </mgthemecrystal>
23
+ </blocks>
24
+ <helpers>
25
+ <mgthemecrystal>
26
+ <class>Modulesgarden_ThemeCrystal_Helper</class>
27
+ </mgthemecrystal>
28
+ </helpers>
29
+ <resources>
30
+ <mgthemecrystal_setup>
31
+ <setup>
32
+ <module>Modulesgarden_ThemeCrystal</module>
33
+ <class>Mage_Sales_Model_Mysql4_Setup</class>
34
+ </setup>
35
+ <connection>
36
+ <use>core_setup</use>
37
+ </connection>
38
+ </mgthemecrystal_setup>
39
+ <mgthemecrystal_write>
40
+ <connection>
41
+ <use>core_write</use>
42
+ </connection>
43
+ </mgthemecrystal_write>
44
+ <mgthemecrystal_read>
45
+ <connection>
46
+ <use>core_read</use>
47
+ </connection>
48
+ </mgthemecrystal_read>
49
+ </resources>
50
+ </global>
51
+
52
+ <adminhtml>
53
+ <acl>
54
+ <resources>
55
+ <admin>
56
+ <children>
57
+ <system>
58
+ <children>
59
+ <config>
60
+ <children>
61
+ <mgthemecrystal> <!-- the same as <sections> child name -->
62
+ <title>Modulesgarden Theme Crystal</title>
63
+ </mgthemecrystal>
64
+ </children>
65
+ </config>
66
+ </children>
67
+ </system>
68
+ </children>
69
+ </admin>
70
+ </resources>
71
+ </acl>
72
+ </adminhtml>
73
+
74
+ <default>
75
+ <mgthemecrystal>
76
+ <main>
77
+ <colorscheme>green</colorscheme>
78
+ <fontfamily>opensans</fontfamily>
79
+ <colorfooter>lightgray</colorfooter>
80
+ <breadcrumbs>yes</breadcrumbs>
81
+ <showhome>no</showhome>
82
+ <slider>group</slider>
83
+ <colorslider>dark</colorslider>
84
+ <shadowslider>none</shadowslider>
85
+ </main>
86
+ </mgthemecrystal>
87
+ </default>
88
+ </config>
app/code/community/Modulesgarden/ThemeCrystal/etc/system.xml ADDED
@@ -0,0 +1,209 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <config>
3
+ <tabs>
4
+ <modulesgarden>
5
+ <label><![CDATA[<div style="position: absolute;"><img id="mg_logo_block" src=""border="0" /></div>&nbsp;<script>var baseurl = SKIN_URL.indexOf("adminhtml"); $('mg_logo_block').src = SKIN_URL.substring(0, baseurl) + "adminhtml/base/default/modulesgardenbase/img/mgcommerce-logo.png";</script>]]></label>
6
+ <sort_order>1100</sort_order>
7
+ </modulesgarden>
8
+ </tabs>
9
+ <sections>
10
+ <mgthemecrystal translate="label">
11
+ <class>separator-top</class>
12
+ <label>Theme Crystal</label> <!-- change it for theme name -->
13
+ <tab>modulesgarden</tab>
14
+ <sort_order>12</sort_order>
15
+ <show_in_default>1</show_in_default>
16
+ <show_in_website>1</show_in_website>
17
+ <show_in_store>1</show_in_store>
18
+ <groups>
19
+ <main translate="label">
20
+ <label>Configuration</label>
21
+ <frontend_type>text</frontend_type>
22
+ <sort_order>1</sort_order>
23
+ <show_in_default>1</show_in_default>
24
+ <show_in_website>1</show_in_website>
25
+ <show_in_store>1</show_in_store>
26
+ <fields>
27
+ <!-- FIELDS IN CONFIGURATION -->
28
+ <colorscheme translate="label"> <!-- Mage::getStoreConfig('mgthemecrystal/main/colorscheme') -->
29
+ <label>Color Scheme</label>
30
+ <comment></comment>
31
+ <frontend_type>select</frontend_type> <!-- http://www.magentocommerce.com/wiki/5_-_modules_and_development/admin/xml_structure_for_admin_configurations -->
32
+ <source_model>mgthemecrystal/system_config_source_select</source_model> <!-- only if select|multiselect with constant options (see below) -->
33
+ <options> <!-- only if select|multiselect with constant options -->
34
+ <green>
35
+ <label>Green</label>
36
+ <value>green</value>
37
+ </green>
38
+ <blue> <!-- just unique -->
39
+ <label>Blue</label>
40
+ <value>blue</value>
41
+ </blue>
42
+ <red>
43
+ <label>Red</label>
44
+ <value>red</value>
45
+ </red>
46
+ </options>
47
+ <sort_order>1</sort_order>
48
+ <show_in_default>1</show_in_default>
49
+ <show_in_website>1</show_in_website>
50
+ <show_in_store>1</show_in_store> <!-- field per Store View -->
51
+ </colorscheme>
52
+ <colorslider translate="label"> <!-- Mage::getStoreConfig('mgthemecrystal/main/colorscheme') -->
53
+ <label>Font color on slider</label>
54
+ <comment>Select font color for slider.</comment>
55
+ <frontend_type>select</frontend_type> <!-- http://www.magentocommerce.com/wiki/5_-_modules_and_development/admin/xml_structure_for_admin_configurations -->
56
+ <source_model>mgthemecrystal/system_config_source_select</source_model> <!-- only if select|multiselect with constant options (see below) -->
57
+ <options> <!-- only if select|multiselect with constant options -->
58
+ <dark>
59
+ <label>Dark</label>
60
+ <value>dark</value>
61
+ </dark>
62
+ <bright> <!-- just unique -->
63
+ <label>Bright</label>
64
+ <value>bright</value>
65
+ </bright>
66
+ </options>
67
+ <sort_order>1</sort_order>
68
+ <show_in_default>1</show_in_default>
69
+ <show_in_website>1</show_in_website>
70
+ <show_in_store>1</show_in_store> <!-- field per Store View -->
71
+ </colorslider>
72
+ <shadowslider translate="label"> <!-- Mage::getStoreConfig('mgthemecrystal/main/colorscheme') -->
73
+ <label>Shadowed text on slider</label>
74
+ <comment>Add shadow for white text on slider.</comment>
75
+ <frontend_type>select</frontend_type> <!-- http://www.magentocommerce.com/wiki/5_-_modules_and_development/admin/xml_structure_for_admin_configurations -->
76
+ <source_model>mgthemecrystal/system_config_source_select</source_model> <!-- only if select|multiselect with constant options (see below) -->
77
+ <options> <!-- only if select|multiselect with constant options -->
78
+ <none>
79
+ <label>No shadow</label>
80
+ <value>none</value>
81
+ </none>
82
+ <shadow> <!-- just unique -->
83
+ <label>Add shadow</label>
84
+ <value>shadow</value>
85
+ </shadow>
86
+ </options>
87
+ <sort_order>1</sort_order>
88
+ <show_in_default>1</show_in_default>
89
+ <show_in_website>1</show_in_website>
90
+ <show_in_store>1</show_in_store> <!-- field per Store View -->
91
+ </shadowslider>
92
+ <slider translate="label"> <!-- Mage::getStoreConfig('mgthemecrystal/main/colorscheme') -->
93
+ <label>Select Slider type</label>
94
+ <comment>Select type of slider which you want display on your home page</comment>
95
+ <frontend_type>select</frontend_type> <!-- http://www.magentocommerce.com/wiki/5_-_modules_and_development/admin/xml_structure_for_admin_configurations -->
96
+ <source_model>mgthemecrystal/system_config_source_select</source_model> <!-- only if select|multiselect with constant options (see below) -->
97
+ <options> <!-- only if select|multiselect with constant options -->
98
+ <group>
99
+ <label>Gropup sliders (1 big and 2 small)</label>
100
+ <value>group</value>
101
+ </group>
102
+ <one> <!-- just unique -->
103
+ <label>One big slider</label>
104
+ <value>one</value>
105
+ </one>
106
+ </options>
107
+ <sort_order>1</sort_order>
108
+ <show_in_default>1</show_in_default>
109
+ <show_in_website>1</show_in_website>
110
+ <show_in_store>1</show_in_store> <!-- field per Store View -->
111
+ </slider>
112
+ <fontfamily translate="label">
113
+ <label>Font</label>
114
+ <comment>Choose your favorite font.</comment>
115
+ <frontend_type>select</frontend_type> <!-- http://www.magentocommerce.com/wiki/5_-_modules_and_development/admin/xml_structure_for_admin_configurations -->
116
+ <source_model>mgthemecrystal/system_config_source_select</source_model> <!-- only if select|multiselect with constant options (see below) -->
117
+ <options> <!-- only if select|multiselect with constant options -->
118
+ <opensans> <!-- just unique -->
119
+ <label>Open Sans</label>
120
+ <value>opensans</value>
121
+ </opensans>
122
+ <lato>
123
+ <label>Lato</label>
124
+ <value>lato</value>
125
+ </lato>
126
+ <roboto>
127
+ <label>Roboto</label>
128
+ <value>roboto</value>
129
+ </roboto>
130
+ <raleway>
131
+ <label>Raleway</label>
132
+ <value>raleway</value>
133
+ </raleway>
134
+ </options>
135
+ <sort_order>1</sort_order>
136
+ <show_in_default>1</show_in_default>
137
+ <show_in_website>1</show_in_website>
138
+ <show_in_store>1</show_in_store> <!-- field per Store View -->
139
+ </fontfamily>
140
+ <colorfooter translate="label">
141
+ <label>Choose color (footer and top-header)</label>
142
+ <comment></comment>
143
+ <frontend_type>select</frontend_type> <!-- http://www.magentocommerce.com/wiki/5_-_modules_and_development/admin/xml_structure_for_admin_configurations -->
144
+ <source_model>mgthemecrystal/system_config_source_select</source_model> <!-- only if select|multiselect with constant options (see below) -->
145
+ <options> <!-- only if select|multiselect with constant options -->
146
+ <lightgray> <!-- just unique -->
147
+ <label>Light Gray</label>
148
+ <value>lightgray</value>
149
+ </lightgray>
150
+ <dark>
151
+ <label>Dark</label>
152
+ <value>dark</value>
153
+ </dark>
154
+ <white>
155
+ <label>White</label>
156
+ <value>white</value>
157
+ </white>
158
+ </options>
159
+ <sort_order>1</sort_order>
160
+ <show_in_default>1</show_in_default>
161
+ <show_in_website>1</show_in_website>
162
+ <show_in_store>1</show_in_store> <!-- field per Store View -->
163
+ </colorfooter>
164
+ <breadcrumbs translate="label">
165
+ <label>Show breadcrumbs</label>
166
+ <comment>Breadcrumbs under menu navigation.</comment>
167
+ <frontend_type>select</frontend_type> <!-- http://www.magentocommerce.com/wiki/5_-_modules_and_development/admin/xml_structure_for_admin_configurations -->
168
+ <source_model>mgthemecrystal/system_config_source_select</source_model> <!-- only if select|multiselect with constant options (see below) -->
169
+ <options> <!-- only if select|multiselect with constant options -->
170
+ <yes> <!-- just unique -->
171
+ <label>Yes</label>
172
+ <value>yes</value>
173
+ </yes>
174
+ <no>
175
+ <label>No</label>
176
+ <value>no</value>
177
+ </no>
178
+ </options>
179
+ <sort_order>1</sort_order>
180
+ <show_in_default>1</show_in_default>
181
+ <show_in_website>1</show_in_website>
182
+ <show_in_store>1</show_in_store> <!-- field per Store View -->
183
+ </breadcrumbs>
184
+ <showhome translate="label"> <!-- just an example -->
185
+ <label>Show home page link</label>
186
+ <comment>Add home page link in top-navigation</comment>
187
+ <frontend_type>select</frontend_type> <!-- http://www.magentocommerce.com/wiki/5_-_modules_and_development/admin/xml_structure_for_admin_configurations -->
188
+ <source_model>mgthemecrystal/system_config_source_select</source_model> <!-- only if select|multiselect with constant options (see below) -->
189
+ <options> <!-- only if select|multiselect with constant options -->
190
+ <no>
191
+ <label>No</label>
192
+ <value>no</value>
193
+ </no>
194
+ <yes>
195
+ <label>Yes</label>
196
+ <value>yes</value>
197
+ </yes>
198
+ </options>
199
+ <sort_order>1</sort_order>
200
+ <show_in_default>1</show_in_default>
201
+ <show_in_website>1</show_in_website>
202
+ <show_in_store>1</show_in_store> <!-- field per Store View -->
203
+ </showhome>
204
+ </fields>
205
+ </main>
206
+ </groups>
207
+ </mgthemecrystal>
208
+ </sections>
209
+ </config>
app/code/community/Modulesgarden/ThemeCrystal/moduleVersion.php ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /*
3
+ * File generated by ModulesGarden packages system
4
+ *
5
+ * Below you can find current version & revision of this module
6
+ */
7
+
8
+ $moduleName = 'Crystal - Fresh Responsive Magento Theme';
9
+ $moduleVersion = '1.0.0';
10
+ $moduleRevision = '84408d475a78d65bd334ddc0e7f4a7714d70ecfd';
11
+ $moduleWikiUrl = 'http://www.docs.modulesgarden.com/';
app/code/community/Modulesgarden/ThemeCrystal/sql/mgthemecrystal_setup/install-1.0.0.php ADDED
@@ -0,0 +1,79 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /* * ********************************************************************
4
+ * Customization Services by ModulesGarden.com
5
+ * Copyright (c) ModulesGarden, INBS Group Brand, All Rights Reserved
6
+ * (2014-10-06, 11:20:48)
7
+ *
8
+ *
9
+ * CREATED BY MODULESGARDEN -> http://modulesgarden.com
10
+ * CONTACT -> contact@modulesgarden.com
11
+ *
12
+ *
13
+ *
14
+ *
15
+ * This software is furnished under a license and may be used and copied
16
+ * only in accordance with the terms of such license and with the
17
+ * inclusion of the above copyright notice. This software or any other
18
+ * copies thereof may not be provided or otherwise made available to any
19
+ * other person. No title to and ownership of the software is hereby
20
+ * transferred.
21
+ *
22
+ *
23
+ * ******************************************************************** */
24
+
25
+ /**
26
+ * @author Grzegorz Draganik <grzegorz@modulesgarden.com>
27
+ */
28
+
29
+ $installer = $this;
30
+ $installer->startSetup();
31
+
32
+ $attrs = array(
33
+ array(
34
+ 'code' => 'mg_is_featured',
35
+ 'type' => 'int',
36
+ 'label' => 'Is Featured?',
37
+ 'note' => 'Attribute For ModulesGarden Themes',
38
+ 'group' => 'General',
39
+ ),
40
+ array(
41
+ 'code' => 'mg_is_new',
42
+ 'type' => 'int',
43
+ 'label' => 'Is New?',
44
+ 'note' => 'Attribute For ModulesGarden Themes',
45
+ 'group' => 'General',
46
+ )
47
+ );
48
+
49
+ $objCatalogEavSetup = Mage::getResourceModel('catalog/eav_mysql4_setup', 'core_setup');
50
+ foreach ($attrs as $attr){
51
+ $attrIdTest = $objCatalogEavSetup->getAttributeId(Mage_Catalog_Model_Product::ENTITY, $attr['code']);
52
+
53
+ if ($attrIdTest === false) {
54
+ $objCatalogEavSetup->addAttribute(Mage_Catalog_Model_Product::ENTITY, $attr['code'], array(
55
+ 'group' => $attr['group'],
56
+ 'sort_order' => 7,
57
+ 'type' => $attr['type'],
58
+ 'backend' => '',
59
+ 'frontend' => '',
60
+ 'label' => $attr['label'],
61
+ 'note' => $attr['note'],
62
+ 'input' => 'boolean',
63
+ 'source' => 'eav/entity_attribute_source_table',
64
+ 'class' => '',
65
+ 'source' => '',
66
+ 'global' => Mage_Catalog_Model_Resource_Eav_Attribute::SCOPE_GLOBAL,
67
+ 'visible' => true,
68
+ 'required' => false,
69
+ 'user_defined' => true,
70
+ 'default' => '0',
71
+ 'visible_on_front' => false,
72
+ 'unique' => false,
73
+ 'is_configurable' => false,
74
+ 'used_for_promo_rules' => false
75
+ ));
76
+ }
77
+ }
78
+
79
+ $installer->endSetup();
app/design/frontend/modulesgarden/crystal/layout/catalog.xml ADDED
@@ -0,0 +1,449 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 base_default
24
+ * @copyright Copyright (c) 2014 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="left">
49
+ <block type="core/template" name="left.permanent.callout" template="callouts/left_col.phtml">
50
+ <action method="setImgSrc"><src>images/media/col_left_callout.jpg</src></action>
51
+ <action method="setImgAlt" translate="alt" module="catalog"><alt>Our customer service is available 24/7. Call us at (555) 555-0123.</alt></action>
52
+ <action method="setLinkUrl"><url>checkout/cart</url></action>
53
+ </block>
54
+ </reference>
55
+
56
+ <reference name="left">
57
+ <remove name="left.permanent.callout" />
58
+ </reference>
59
+
60
+ <reference name="right">
61
+ <block type="catalog/product_compare_sidebar" before="cart_sidebar" name="catalog.compare.sidebar" template="catalog/product/compare/sidebar.phtml"/>
62
+ <block type="core/template" name="right.permanent.callout" template="callouts/right_col.phtml">
63
+ <action method="setImgSrc"><src>images/media/col_right_callout.jpg</src></action>
64
+ <action method="setImgAlt" translate="alt" module="catalog"><alt>Keep your eyes open for our special Back to School items and save A LOT!</alt></action>
65
+ </block>
66
+ </reference>
67
+
68
+ <reference name="right">
69
+ <remove name="right.permanent.callout" />
70
+ </reference>
71
+
72
+ <reference name="footer_links">
73
+ <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>
74
+ </reference>
75
+ <block type="catalog/product_price_template" name="catalog_product_price_template" />
76
+ </default>
77
+
78
+
79
+ <!--
80
+ Category default layout
81
+ -->
82
+
83
+ <catalog_category_default translate="label">
84
+ <label>Catalog Category (Non-Anchor)</label>
85
+ <reference name="root">
86
+ <action method="setTemplate"><template>page/2columns-left.phtml</template></action>
87
+ </reference>
88
+ <reference name="left">
89
+ <block type="catalog/navigation" name="catalog.leftnav" after="currency" template="catalog/navigation/left.phtml"/>
90
+ </reference>
91
+ <reference name="content">
92
+ <block type="catalog/category_view" name="category.products" template="catalog/category/view.phtml">
93
+ <block type="catalog/product_list" name="product_list" template="catalog/product/list.phtml">
94
+ <block type="catalog/product_list_toolbar" name="product_list_toolbar" template="catalog/product/list/toolbar.phtml">
95
+ <block type="page/html_pager" name="product_list_toolbar_pager"/>
96
+ <!-- The following code shows how to set your own pager increments -->
97
+ <!--
98
+ <action method="setDefaultListPerPage"><limit>4</limit></action>
99
+ <action method="setDefaultGridPerPage"><limit>9</limit></action>
100
+ <action method="addPagerLimit"><mode>list</mode><limit>2</limit></action>
101
+ <action method="addPagerLimit"><mode>list</mode><limit>4</limit></action>
102
+ <action method="addPagerLimit"><mode>list</mode><limit>6</limit></action>
103
+ <action method="addPagerLimit"><mode>list</mode><limit>8</limit></action>
104
+ <action method="addPagerLimit" translate="label"><mode>list</mode><limit>all</limit><label>All</label></action>
105
+ -->
106
+ </block>
107
+
108
+ <action method="addColumnCountLayoutDepend"><pageLayout>empty</pageLayout><columnCount>4</columnCount></action>
109
+ <action method="addColumnCountLayoutDepend"><pageLayout>one_column</pageLayout><columnCount>4</columnCount></action>
110
+ <action method="addColumnCountLayoutDepend"><pageLayout>two_columns_left</pageLayout><columnCount>3</columnCount></action>
111
+ <action method="addColumnCountLayoutDepend"><pageLayout>two_columns_right</pageLayout><columnCount>3</columnCount></action>
112
+ <action method="addColumnCountLayoutDepend"><pageLayout>three_columns</pageLayout><columnCount>2</columnCount></action>
113
+
114
+ <action method="addColumnCountLayoutDepend"><layout>empty</layout><count>4</count></action>
115
+ <action method="addColumnCountLayoutDepend"><layout>one_column</layout><count>4</count></action>
116
+ <action method="addColumnCountLayoutDepend"><layout>two_columns_left</layout><count>3</count></action>
117
+ <action method="addColumnCountLayoutDepend"><layout>two_columns_right</layout><count>3</count></action>
118
+ <action method="addColumnCountLayoutDepend"><layout>three_columns</layout><count>2</count></action>
119
+ <action method="setToolbarBlockName"><name>product_list_toolbar</name></action>
120
+ </block>
121
+ </block>
122
+ </reference>
123
+ </catalog_category_default>
124
+
125
+ <!--
126
+ Category layered navigation layout
127
+ -->
128
+
129
+ <catalog_category_layered translate="label">
130
+ <label>Catalog Category (Anchor)</label>
131
+ <reference name="root">
132
+ <action method="setTemplate"><template>page/2columns-left.phtml</template></action>
133
+ </reference>
134
+ <reference name="left">
135
+ <block type="catalog/layer_view" name="catalog.leftnav" after="currency" template="catalog/layer/view.phtml"/>
136
+ </reference>
137
+ <reference name="content">
138
+ <block type="catalog/category_view" name="category.products" template="catalog/category/view.phtml">
139
+ <block type="catalog/product_list" name="product_list" template="catalog/product/list.phtml">
140
+ <!-- <action method="addReviewSummaryTemplate"><type>default</type><template>review/helper/su.phtml</template></action> -->
141
+ <block type="catalog/product_list_toolbar" name="product_list_toolbar" template="catalog/product/list/toolbar.phtml">
142
+ <block type="page/html_pager" name="product_list_toolbar_pager"/>
143
+ <!-- The following code shows how to set your own pager increments -->
144
+ <!--
145
+ <action method="setDefaultListPerPage"><limit>4</limit></action>
146
+ <action method="setDefaultGridPerPage"><limit>3</limit></action>
147
+ <action method="addPagerLimit"><mode>list</mode><limit>2</limit></action>
148
+ <action method="addPagerLimit"><mode>list</mode><limit>4</limit></action>
149
+ <action method="addPagerLimit"><mode>list</mode><limit>6</limit></action>
150
+ <action method="addPagerLimit"><mode>list</mode><limit>8</limit></action>
151
+ <action method="addPagerLimit" translate="label"><mode>list</mode><limit>all</limit><label>All</label></action>
152
+ <action method="addPagerLimit"><mode>grid</mode><limit>3</limit></action>
153
+ <action method="addPagerLimit"><mode>grid</mode><limit>6</limit></action>
154
+ <action method="addPagerLimit"><mode>grid</mode><limit>9</limit></action>
155
+ <action method="addPagerLimit" translate="label"><mode>grid</mode><limit>all</limit><label>All</label></action>
156
+ -->
157
+ </block>
158
+
159
+ <action method="addColumnCountLayoutDepend"><pageLayout>empty</pageLayout><columnCount>4</columnCount></action>
160
+ <action method="addColumnCountLayoutDepend"><pageLayout>one_column</pageLayout><columnCount>4</columnCount></action>
161
+ <action method="addColumnCountLayoutDepend"><pageLayout>two_columns_left</pageLayout><columnCount>3</columnCount></action>
162
+ <action method="addColumnCountLayoutDepend"><pageLayout>two_columns_right</pageLayout><columnCount>3</columnCount></action>
163
+ <action method="addColumnCountLayoutDepend"><pageLayout>three_columns</pageLayout><columnCount>2</columnCount></action>
164
+
165
+ <action method="addColumnCountLayoutDepend"><layout>empty</layout><count>4</count></action>
166
+ <action method="addColumnCountLayoutDepend"><layout>one_column</layout><count>4</count></action>
167
+ <action method="addColumnCountLayoutDepend"><layout>two_columns_left</layout><count>3</count></action>
168
+ <action method="addColumnCountLayoutDepend"><layout>two_columns_right</layout><count>3</count></action>
169
+ <action method="addColumnCountLayoutDepend"><layout>three_columns</layout><count>2</count></action>
170
+ <action method="setToolbarBlockName"><name>product_list_toolbar</name></action>
171
+ </block>
172
+ </block>
173
+ </reference>
174
+ </catalog_category_layered>
175
+
176
+ <!--
177
+ Compare products page
178
+ -->
179
+
180
+ <catalog_product_compare_index translate="label">
181
+ <label>Catalog Product Compare List</label>
182
+ <!-- Mage_Catalog -->
183
+ <reference name="root">
184
+ <action method="setTemplate"><template>page/popup.phtml</template></action>
185
+ </reference>
186
+ <reference name="head">
187
+ <action method="addJs"><script>scriptaculous/scriptaculous.js</script></action>
188
+ <action method="addJs"><script>varien/product.js</script></action>
189
+ </reference>
190
+ <reference name="content">
191
+ <block type="catalog/product_compare_list" name="catalog.compare.list" template="catalog/product/compare/list.phtml"/>
192
+ </reference>
193
+ </catalog_product_compare_index>
194
+
195
+ <customer_account_index>
196
+ <reference name="right">
197
+ <action method="unsetChild"><name>catalog.compare.sidebar</name></action>
198
+ </reference>
199
+ </customer_account_index>
200
+
201
+ <!--
202
+ Product view
203
+ -->
204
+
205
+ <catalog_product_view translate="label">
206
+ <label>Catalog Product View (Any)</label>
207
+ <!-- Mage_Catalog -->
208
+ <reference name="root">
209
+ <action method="setTemplate"><template>page/2columns-right.phtml</template></action>
210
+ </reference>
211
+ <reference name="head">
212
+ <action method="addJs"><script>varien/product.js</script></action>
213
+ <action method="addJs"><script>varien/configurable.js</script></action>
214
+
215
+ <action method="addItem"><type>js_css</type><name>calendar/calendar-win2k-1.css</name><params/><!--<if/><condition>can_load_calendar_js</condition>--></action>
216
+ <action method="addItem"><type>js</type><name>calendar/calendar.js</name><!--<params/><if/><condition>can_load_calendar_js</condition>--></action>
217
+ <action method="addItem"><type>js</type><name>calendar/calendar-setup.js</name><!--<params/><if/><condition>can_load_calendar_js</condition>--></action>
218
+ </reference>
219
+ <reference name="content">
220
+ <block type="catalog/product_view" name="product.info" template="catalog/product/view.phtml">
221
+
222
+ <action method="addReviewSummaryTemplate"><type>default</type><template>review/helper/summary.phtml</template></action>
223
+ <action method="addReviewSummaryTemplate"><type>short</type><template>review/helper/summary_short.phtml</template></action>
224
+ <action method="addReviewSummaryTemplate"><type>...</type><template>...</template></action>
225
+
226
+ <block type="catalog/product_view_media" name="product.info.media" as="media" template="catalog/product/view/media.phtml"/>
227
+ <block type="core/text_list" name="alert.urls" as="alert_urls" translate="label">
228
+ <label>Alert Urls</label>
229
+ </block>
230
+
231
+ <action method="setTierPriceTemplate"><template>catalog/product/view/tierprices.phtml</template></action>
232
+
233
+ <block type="catalog/product_list_upsell" name="product.info.upsell" as="upsell_products" template="catalog/product/list/upsell.phtml">
234
+ <action method="setColumnCount"><columns>3</columns></action>
235
+ <action method="setItemLimit"><type>upsell</type><limit>4</limit></action>
236
+ </block>
237
+
238
+ <block type="catalog/product_view_additional" name="product.info.additional" as="product_additional_data" />
239
+ <block type="catalog/product_view_description" name="product.description" as="description" template="catalog/product/view/description.phtml">
240
+ <action method="addToParentGroup"><group>detailed_info</group></action>
241
+ </block>
242
+ <block type="catalog/product_view_attributes" name="product.attributes" as="additional" template="catalog/product/view/attributes.phtml">
243
+ <action method="addToParentGroup"><group>detailed_info</group></action>
244
+ </block>
245
+ <block type="catalog/product_view" name="product.info.addto" as="addto" template="catalog/product/view/addto.phtml"/>
246
+ <block type="catalog/product_view" name="product.info.addtocart" as="addtocart" template="catalog/product/view/addtocart.phtml"/>
247
+
248
+ <block type="core/text_list" name="product.info.extrahint" as="extrahint" translate="label">
249
+ <label>Product View Extra Hint</label>
250
+ </block>
251
+
252
+ <block type="catalog/product_view" name="product.info.options.wrapper" as="product_options_wrapper" template="catalog/product/view/options/wrapper.phtml" translate="label">
253
+ <label>Info Column Options Wrapper</label>
254
+ <block type="core/template" name="options_js" template="catalog/product/view/options/js.phtml"/>
255
+ <block type="catalog/product_view_options" name="product.info.options" as="product_options" template="catalog/product/view/options.phtml">
256
+ <action method="addOptionRenderer"><type>text</type><block>catalog/product_view_options_type_text</block><template>catalog/product/view/options/type/text.phtml</template></action>
257
+ <action method="addOptionRenderer"><type>file</type><block>catalog/product_view_options_type_file</block><template>catalog/product/view/options/type/file.phtml</template></action>
258
+ <action method="addOptionRenderer"><type>select</type><block>catalog/product_view_options_type_select</block><template>catalog/product/view/options/type/select.phtml</template></action>
259
+ <action method="addOptionRenderer"><type>date</type><block>catalog/product_view_options_type_date</block><template>catalog/product/view/options/type/date.phtml</template></action>
260
+ </block>
261
+ <block type="core/html_calendar" name="html_calendar" as="html_calendar" template="page/js/calendar.phtml"/>
262
+ </block>
263
+ <block type="catalog/product_view" name="product.info.options.wrapper.bottom" as="product_options_wrapper_bottom" template="catalog/product/view/options/wrapper/bottom.phtml" translate="label">
264
+ <label>Bottom Block Options Wrapper</label>
265
+ <action method="insert"><block>product.tierprices</block></action>
266
+ <block type="catalog/product_view" name="product.clone_prices" as="prices" template="catalog/product/view/price_clone.phtml"/>
267
+ <action method="append"><block>product.info.addtocart</block></action>
268
+ <action method="append"><block>product.info.addto</block></action>
269
+ </block>
270
+
271
+ <block type="core/template_facade" name="product.info.container1" as="container1">
272
+ <action method="setDataByKey"><key>alias_in_layout</key><value>container1</value></action>
273
+ <action method="setDataByKeyFromRegistry"><key>options_container</key><key_in_registry>product</key_in_registry></action>
274
+ <action method="append"><block>product.info.options.wrapper</block></action>
275
+ <action method="append"><block>product.info.options.wrapper.bottom</block></action>
276
+ </block>
277
+ <block type="core/template_facade" name="product.info.container2" as="container2">
278
+ <action method="setDataByKey"><key>alias_in_layout</key><value>container2</value></action>
279
+ <action method="setDataByKeyFromRegistry"><key>options_container</key><key_in_registry>product</key_in_registry></action>
280
+ <action method="append"><block>product.info.options.wrapper</block></action>
281
+ <action method="append"><block>product.info.options.wrapper.bottom</block></action>
282
+ </block>
283
+ <action method="unsetCallChild"><child>container1</child><call>ifEquals</call><if>0</if><key>alias_in_layout</key><key>options_container</key></action>
284
+ <action method="unsetCallChild"><child>container2</child><call>ifEquals</call><if>0</if><key>alias_in_layout</key><key>options_container</key></action>
285
+ </block>
286
+ </reference>
287
+
288
+ <reference name="right">
289
+ <block type="catalog/product_list_related" name="catalog.product.related" before="-" template="catalog/product/list/related.phtml"/>
290
+ </reference>
291
+ </catalog_product_view>
292
+
293
+ <!--
294
+ Additional block dependant on product type
295
+ -->
296
+ <PRODUCT_TYPE_simple translate="label" module="catalog">
297
+ <label>Catalog Product View (Simple)</label>
298
+ <reference name="product.info">
299
+ <block type="catalog/product_view_type_simple" name="product.info.simple" as="product_type_data" template="catalog/product/view/type/default.phtml">
300
+ <block type="core/text_list" name="product.info.simple.extra" as="product_type_data_extra" translate="label">
301
+ <label>Product Extra Info</label>
302
+ </block>
303
+ </block>
304
+ </reference>
305
+ </PRODUCT_TYPE_simple>
306
+ <PRODUCT_TYPE_configurable translate="label" module="catalog">
307
+ <label>Catalog Product View (Configurable)</label>
308
+ <reference name="product.info">
309
+ <block type="catalog/product_view_type_configurable" name="product.info.configurable" as="product_type_data" template="catalog/product/view/type/default.phtml">
310
+ <block type="core/text_list" name="product.info.configurable.extra" as="product_type_data_extra" translate="label">
311
+ <label>Product Extra Info</label>
312
+ </block>
313
+ </block>
314
+ </reference>
315
+ <reference name="product.info.options.wrapper">
316
+ <block type="catalog/product_view_type_configurable" name="product.info.options.configurable" as="options_configurable" before="-" template="catalog/product/view/type/options/configurable.phtml"/>
317
+ </reference>
318
+ </PRODUCT_TYPE_configurable>
319
+ <PRODUCT_TYPE_grouped translate="label" module="catalog">
320
+ <label>Catalog Product View (Grouped)</label>
321
+ <reference name="product.info">
322
+ <block type="catalog/product_view_type_grouped" name="product.info.grouped" as="product_type_data" template="catalog/product/view/type/grouped.phtml">
323
+ <block type="core/text_list" name="product.info.grouped.extra" as="product_type_data_extra" translate="label">
324
+ <label>Product Extra Info</label>
325
+ </block>
326
+ </block>
327
+ </reference>
328
+ </PRODUCT_TYPE_grouped>
329
+ <PRODUCT_TYPE_virtual translate="label" module="catalog">
330
+ <label>Catalog Product View (Virtual)</label>
331
+ <reference name="product.info">
332
+ <block type="catalog/product_view_type_virtual" name="product.info.virtual" as="product_type_data" template="catalog/product/view/type/default.phtml">
333
+ <block type="core/text_list" name="product.info.virtual.extra" as="product_type_data_extra" translate="label">
334
+ <label>Product Extra Info</label>
335
+ </block>
336
+ </block>
337
+ </reference>
338
+ </PRODUCT_TYPE_virtual>
339
+
340
+
341
+
342
+ <!--
343
+ Product send to friend
344
+ -->
345
+
346
+ <catalog_product_send translate="label">
347
+ <label>Catalog Product Email to a Friend</label>
348
+ <!-- Mage_Catalog -->
349
+ <reference name="root">
350
+ <action method="setTemplate"><template>page/2columns-right.phtml</template></action>
351
+ </reference>
352
+ <reference name="head">
353
+ <action method="addJs"><script>varien/product.js</script></action>
354
+ </reference>
355
+ <reference name="content">
356
+ <block type="catalog/product_send" name="product.send" template="catalog/product/send.phtml">
357
+ </block>
358
+ </reference>
359
+ </catalog_product_send>
360
+
361
+ <!--
362
+ Product additional images gallery popup
363
+ -->
364
+
365
+ <catalog_product_gallery translate="label">
366
+ <label>Catalog Product Image Gallery Popup</label>
367
+ <!-- Mage_Catalog -->
368
+ <reference name="root">
369
+ <action method="setTemplate"><template>page/popup.phtml</template></action>
370
+ </reference>
371
+ <reference name="content">
372
+ <block type="catalog/product_gallery" name="catalog_product_gallery" template="catalog/product/gallery.phtml"/>
373
+ </reference>
374
+ </catalog_product_gallery>
375
+
376
+ <!--
377
+ SEO Site Map
378
+ -->
379
+
380
+ <catalog_seo_sitemap translate="label">
381
+ <label>Catalog Seo Sitemap (Common)</label>
382
+ <remove name="right"/>
383
+ <remove name="left"/>
384
+
385
+ <reference name="root">
386
+ <action method="setTemplate"><template>page/1column.phtml</template></action>
387
+ </reference>
388
+ <reference name="content">
389
+ <block type="page/template_container" name="seo.sitemap.container" template="catalog/seo/sitemap/container.phtml">
390
+ <block type="page/template_links" name="seo.sitemap.links" as="links" template="page/template/links.phtml"/>
391
+ <block type="page/html_pager" name="seo.sitemap.pager.top" as="pager_top" template="page/html/pager.phtml"/>
392
+ <block type="page/html_pager" name="seo.sitemap.pager.bottom" as="pager_bottom" template="page/html/pager.phtml"/>
393
+ </block>
394
+ </reference>
395
+ </catalog_seo_sitemap>
396
+
397
+ <catalog_seo_sitemap_category translate="label">
398
+ <label>Catalog Seo Sitemap (Category List)</label>
399
+ <reference name="head">
400
+ <action method="setTitle" translate="title" module="catalog"><title>Site Map</title></action>
401
+ </reference>
402
+ <update handle="catalog_seo_sitemap" />
403
+ <reference name="seo.sitemap.container">
404
+ <action method="setTitle" translate="title" module="catalog"><title>Categories</title></action>
405
+ <block type="catalog/seo_sitemap_category" name="seo.sitemap.sitemap" as="sitemap" after="pager_top" template="catalog/seo/sitemap.phtml">
406
+ <action method="bindPager"><pager>seo.sitemap.pager.top</pager></action>
407
+ <action method="bindPager"><pager>seo.sitemap.pager.bottom</pager></action>
408
+ <action method="setItemsTitle" translate="title" module="catalog"><title>categories</title></action>
409
+ </block>
410
+ </reference>
411
+ <reference name="seo.sitemap.links">
412
+ <action method="addLink" translate="label title" module="catalog"><label>Products Sitemap</label><url helper="catalog/map/getProductUrl"/><title>Products Sitemap</title></action>
413
+ </reference>
414
+ </catalog_seo_sitemap_category>
415
+
416
+ <catalog_seo_sitemap_category_tree translate="label">
417
+ <label>Catalog Seo Sitemap (Category Tree)</label>
418
+ <reference name="seo.sitemap.container">
419
+ <remove name="seo.sitemap.pager.top" />
420
+ <remove name="seo.sitemap.pager.bottom" />
421
+ <block type="catalog/seo_sitemap_tree_pager" name="seo.sitemap.tree.pager.top" as="pager_top" template="page/html/pager.phtml"/>
422
+ <block type="catalog/seo_sitemap_tree_pager" name="seo.sitemap.tree.pager.bottom" as="pager_bottom" template="page/html/pager.phtml"/>
423
+ <remove name="seo.sitemap.sitemap" />
424
+ <block type="catalog/seo_sitemap_tree_category" name="seo.sitemap.sitemap_tree" as="sitemap" after="pager_top" template="catalog/seo/tree.phtml">
425
+ <action method="bindPager"><pager>seo.sitemap.tree.pager.top</pager></action>
426
+ <action method="bindPager"><pager>seo.sitemap.tree.pager.bottom</pager></action>
427
+ </block>
428
+ </reference>
429
+ </catalog_seo_sitemap_category_tree>
430
+
431
+ <catalog_seo_sitemap_product translate="label">
432
+ <label>Catalog Seo Sitemap (Product List)</label>
433
+ <reference name="head">
434
+ <action method="setTitle" translate="title" module="catalog"><title>Site Map</title></action>
435
+ </reference>
436
+ <update handle="catalog_seo_sitemap" />
437
+ <reference name="seo.sitemap.container">
438
+ <action method="setTitle" translate="title" module="catalog"><title>Products</title></action>
439
+ <block type="catalog/seo_sitemap_product" name="seo.sitemap.sitemap" as="sitemap" after="pager_top" template="catalog/seo/sitemap.phtml">
440
+ <action method="bindPager"><pager>seo.sitemap.pager.top</pager></action>
441
+ <action method="bindPager"><pager>seo.sitemap.pager.bottom</pager></action>
442
+ <action method="setItemsTitle" translate="title" module="catalog"><title>products</title></action>
443
+ </block>
444
+ </reference>
445
+ <reference name="seo.sitemap.links">
446
+ <action method="addLink" translate="label title" module="catalog"><label>Categories Sitemap</label><url helper="catalog/map/getCategoryUrl"/><title>Categories Sitemap</title></action>
447
+ </reference>
448
+ </catalog_seo_sitemap_product>
449
+ </layout>
app/design/frontend/modulesgarden/crystal/layout/catalogsearch.xml ADDED
@@ -0,0 +1,142 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 base_default
24
+ * @copyright Copyright (c) 2014 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="catalog.topnav">
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">
37
+ <label>Search Terms</label>
38
+ <url helper="catalogsearch/getSearchTermUrl" />
39
+ <title>Search Terms</title>
40
+ </action>
41
+ <action method="addLink" translate="label title" module="catalogsearch">
42
+ <label>Advanced Search</label>
43
+ <url helper="catalogsearch/getAdvancedSearchUrl" />
44
+ <title>Advanced Search</title>
45
+ </action>
46
+ </reference>
47
+ </default>
48
+
49
+ <catalogsearch_result_index translate="label">
50
+ <label>Quick Search Form</label>
51
+ <reference name="root">
52
+ <action method="setTemplate"><template>page/3columns.phtml</template></action>
53
+ </reference>
54
+ <reference name="left">
55
+ <block type="catalogsearch/layer" name="catalogsearch.leftnav" after="currency" template="catalog/layer/view.phtml"/>
56
+ </reference>
57
+ <reference name="content">
58
+ <block type="catalogsearch/result" name="search.result" template="catalogsearch/result.phtml">
59
+ <block type="catalog/product_list" name="search_result_list" template="catalog/product/list.phtml">
60
+ <block type="catalog/product_list_toolbar" name="product_list_toolbar" template="catalog/product/list/toolbar.phtml">
61
+ <block type="page/html_pager" name="product_list_toolbar_pager"/>
62
+ </block>
63
+ <action method="addColumnCountLayoutDepend"><layout>empty</layout><count>6</count></action>
64
+ <action method="addColumnCountLayoutDepend"><layout>one_column</layout><count>5</count></action>
65
+ <action method="addColumnCountLayoutDepend"><layout>two_columns_left</layout><count>4</count></action>
66
+ <action method="addColumnCountLayoutDepend"><layout>two_columns_right</layout><count>4</count></action>
67
+ <action method="addColumnCountLayoutDepend"><layout>three_columns</layout><count>3</count></action>
68
+ <action method="setToolbarBlockName"><name>product_list_toolbar</name></action>
69
+ </block>
70
+ <action method="setListOrders"/>
71
+ <action method="setListModes"/>
72
+ <action method="setListCollection"/>
73
+ </block>
74
+ </reference>
75
+ </catalogsearch_result_index>
76
+
77
+ <catalogsearch_advanced_index translate="label">
78
+ <label>Advanced Search Form</label>
79
+ <!-- Mage_Catalogsearch -->
80
+ <reference name="root">
81
+ <action method="setTemplate"><template>page/2columns-right.phtml</template></action>
82
+ </reference>
83
+ <reference name="head">
84
+ <action method="setTitle" translate="title" module="catalogsearch"><title>Advanced Search</title></action>
85
+ <action method="addItem"><type>js_css</type><name>calendar/calendar-win2k-1.css</name><params/><!--<if/><condition>can_load_calendar_js</condition>--></action>
86
+ <action method="addItem"><type>js</type><name>calendar/calendar.js</name><!--<params/><if/><condition>can_load_calendar_js</condition>--></action>
87
+ <action method="addItem"><type>js</type><name>calendar/calendar-setup.js</name><!--<params/><if/><condition>can_load_calendar_js</condition>--></action>
88
+ </reference>
89
+ <reference name="content">
90
+ <block type="catalogsearch/advanced_form" name="catalogsearch_advanced_form" template="catalogsearch/advanced/form.phtml"/>
91
+ <block type="core/html_calendar" name="html_calendar" as="html_calendar" template="page/js/calendar.phtml"/>
92
+ </reference>
93
+ </catalogsearch_advanced_index>
94
+
95
+ <!--
96
+ Advanced search results
97
+ -->
98
+
99
+ <catalogsearch_advanced_result translate="label">
100
+ <label>Advanced Search Result</label>
101
+ <update handle="page_two_columns_right" />
102
+ <!-- Mage_Catalogsearch -->
103
+ <reference name="root">
104
+ <action method="setTemplate"><template>page/2columns-right.phtml</template></action>
105
+ </reference>
106
+ <reference name="content">
107
+ <block type="catalogsearch/advanced_result" name="catalogsearch_advanced_result" template="catalogsearch/advanced/result.phtml">
108
+ <block type="catalog/product_list" name="search_result_list" template="catalog/product/list.phtml">
109
+ <block type="catalog/product_list_toolbar" name="product_list_toolbar" template="catalog/product/list/toolbar.phtml">
110
+ <block type="page/html_pager" name="product_list_toolbar_pager"/>
111
+ </block>
112
+ <action method="addColumnCountLayoutDepend"><layout>empty</layout><count>6</count></action>
113
+ <action method="addColumnCountLayoutDepend"><layout>one_column</layout><count>5</count></action>
114
+ <action method="addColumnCountLayoutDepend"><layout>two_columns_left</layout><count>4</count></action>
115
+ <action method="addColumnCountLayoutDepend"><layout>two_columns_right</layout><count>4</count></action>
116
+ <action method="addColumnCountLayoutDepend"><layout>three_columns</layout><count>3</count></action>
117
+ <action method="setToolbarBlockName"><name>product_list_toolbar</name></action>
118
+ </block>
119
+ <action method="setListOrders"/>
120
+ <action method="setListModes"/>
121
+ <action method="setListCollection"/>
122
+ </block>
123
+ </reference>
124
+ </catalogsearch_advanced_result>
125
+
126
+ <catalogsearch_term_popular translate="label">
127
+ <label>Popular Search Terms</label>
128
+ <remove name="right"/>
129
+ <remove name="left"/>
130
+
131
+ <reference name="head">
132
+ <action method="setTitle" translate="title" module="catalogsearch"><title>Search Terms</title></action>
133
+ </reference>
134
+ <reference name="root">
135
+ <action method="setTemplate"><template>page/1column.phtml</template></action>
136
+ </reference>
137
+ <reference name="content">
138
+ <block type="catalogsearch/term" name="seo.searchterm" template="catalogsearch/term.phtml"/>
139
+ </reference>
140
+ </catalogsearch_term_popular>
141
+
142
+ </layout>
app/design/frontend/modulesgarden/crystal/layout/checkout.xml ADDED
@@ -0,0 +1,491 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 base_default
24
+ * @copyright Copyright (c) 2014 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" template="checkout/cart/sidebar.phtml" before="-">
46
+ <action method="addItemRender"><type>simple</type><block>checkout/cart_item_renderer</block><template>checkout/cart/sidebar/default.phtml</template></action>
47
+ <action method="addItemRender"><type>grouped</type><block>checkout/cart_item_renderer_grouped</block><template>checkout/cart/sidebar/default.phtml</template></action>
48
+ <action method="addItemRender"><type>configurable</type><block>checkout/cart_item_renderer_configurable</block><template>checkout/cart/sidebar/default.phtml</template></action>
49
+ <block type="core/text_list" name="cart_sidebar.extra_actions" as="extra_actions" translate="label" module="checkout">
50
+ <label>Shopping Cart Sidebar Extra Actions</label>
51
+ </block>
52
+ </block>
53
+ </reference>
54
+ </default>
55
+
56
+ <checkout_cart_index translate="label">
57
+ <label>Shopping Cart</label>
58
+ <remove name="right"/>
59
+ <remove name="left"/>
60
+ <!-- Mage_Checkout -->
61
+ <reference name="root">
62
+ <action method="setTemplate"><template>page/1column.phtml</template></action>
63
+ </reference>
64
+ <reference name="content">
65
+ <block type="checkout/cart" name="checkout.cart">
66
+ <action method="setCartTemplate"><value>checkout/cart.phtml</value></action>
67
+ <action method="setEmptyTemplate"><value>checkout/cart/noItems.phtml</value></action>
68
+ <action method="chooseTemplate"/>
69
+ <action method="addItemRender"><type>simple</type><block>checkout/cart_item_renderer</block><template>checkout/cart/item/default.phtml</template></action>
70
+ <action method="addItemRender"><type>grouped</type><block>checkout/cart_item_renderer_grouped</block><template>checkout/cart/item/default.phtml</template></action>
71
+ <action method="addItemRender"><type>configurable</type><block>checkout/cart_item_renderer_configurable</block><template>checkout/cart/item/default.phtml</template></action>
72
+
73
+ <block type="core/text_list" name="checkout.cart.top_methods" as="top_methods" translate="label">
74
+ <label>Payment Methods Before Checkout Button</label>
75
+ <block type="checkout/onepage_link" name="checkout.cart.methods.onepage" template="checkout/onepage/link.phtml"/>
76
+ </block>
77
+
78
+ <block type="page/html_wrapper" name="checkout.cart.form.before" as="form_before" translate="label">
79
+ <label>Shopping Cart Form Before</label>
80
+ </block>
81
+
82
+ <block type="core/text_list" name="checkout.cart.methods" as="methods" translate="label">
83
+ <label>Payment Methods After Checkout Button</label>
84
+ <block type="checkout/onepage_link" name="checkout.cart.methods.onepage" template="checkout/onepage/link.phtml"/>
85
+ <block type="checkout/multishipping_link" name="checkout.cart.methods.multishipping" template="checkout/multishipping/link.phtml"/>
86
+ </block>
87
+
88
+ <block type="checkout/cart_coupon" name="checkout.cart.coupon" as="coupon" template="checkout/cart/coupon.phtml"/>
89
+ <block type="checkout/cart_shipping" name="checkout.cart.shipping" as="shipping" template="checkout/cart/shipping.phtml"/>
90
+ <block type="checkout/cart_crosssell" name="checkout.cart.crosssell" as="crosssell" template="checkout/cart/crosssell.phtml"/>
91
+
92
+ <block type="checkout/cart_totals" name="checkout.cart.totals" as="totals" template="checkout/cart/totals.phtml"/>
93
+ </block>
94
+ </reference>
95
+ <block type="core/text_list" name="additional.product.info" translate="label">
96
+ <label>Additional Product Info</label>
97
+ </block>
98
+ </checkout_cart_index>
99
+
100
+ <checkout_cart_configure translate="label">
101
+ <label>Configure Cart Item</label>
102
+ <update handle="catalog_product_view"/>
103
+ <reference name="product.info">
104
+ <block type="checkout/cart_item_configure" name="checkout.cart.item.configure.block"></block>
105
+ </reference>
106
+ </checkout_cart_configure>
107
+
108
+ <!--
109
+ Multi address shipping checkout main layout,
110
+ will be rendered on all checkout pages
111
+ -->
112
+
113
+ <checkout_multishipping translate="label">
114
+ <label>Multishipping Checkout</label>
115
+ <!-- Mage_Checkout -->
116
+ <remove name="right"/>
117
+ <remove name="left"/>
118
+
119
+ <reference name="root">
120
+ <action method="setTemplate"><template>page/1column.phtml</template></action>
121
+ </reference>
122
+ <reference name="content">
123
+ <block type="checkout/multishipping_state" name="checkout_state" template="checkout/multishipping/state.phtml"/>
124
+ </reference>
125
+ </checkout_multishipping>
126
+
127
+ <checkout_multishipping_login>
128
+ <update handle="customer_account_login"/>
129
+ </checkout_multishipping_login>
130
+
131
+ <checkout_multishipping_register>
132
+ <update handle="customer_account_create"/>
133
+ </checkout_multishipping_register>
134
+
135
+ <!--
136
+ Multi address shipping checkout selection of address per item page
137
+ -->
138
+
139
+ <checkout_multishipping_address_select translate="label">
140
+ <label>Multishipping Checkout Shipping Address Selection</label>
141
+ <update handle="checkout_multishipping"/>
142
+ <!-- Mage_Checkout -->
143
+ <reference name="content">
144
+ <block type="checkout/multishipping_address_select" name="checkout_address_select" template="checkout/multishipping/address/select.phtml"/>
145
+ </reference>
146
+ </checkout_multishipping_address_select>
147
+
148
+ <checkout_multishipping_address_selectbilling translate="label">
149
+ <label>Multishipping Checkout Billing Address Selection</label>
150
+ <update handle="checkout_multishipping"/>
151
+ <!-- Mage_Checkout -->
152
+ <reference name="content">
153
+ <block type="checkout/multishipping_address_select" name="checkout_address_select" template="checkout/multishipping/address/select.phtml"/>
154
+ </reference>
155
+ </checkout_multishipping_address_selectbilling>
156
+
157
+
158
+ <checkout_multishipping_address_newshipping translate="label">
159
+ <label>Multishipping Checkout Shipping Address Creation</label>
160
+ <update handle="checkout_multishipping"/>
161
+ <update handle="checkout_multishipping_customer_address"/>
162
+ </checkout_multishipping_address_newshipping>
163
+
164
+ <checkout_multishipping_address_newbilling translate="label">
165
+ <label>Multishipping Checkout Billing Address Creation</label>
166
+ <update handle="checkout_multishipping"/>
167
+ <update handle="checkout_multishipping_customer_address"/>
168
+ </checkout_multishipping_address_newbilling>
169
+
170
+ <checkout_multishipping_address_editshipping translate="label">
171
+ <label>Multishipping Checkout Shipping Address Edit Form</label>
172
+ <update handle="checkout_multishipping"/>
173
+ <update handle="checkout_multishipping_customer_address"/>
174
+ </checkout_multishipping_address_editshipping>
175
+
176
+ <checkout_multishipping_address_editaddress>
177
+ <update handle="checkout_multishipping"/>
178
+ <update handle="checkout_multishipping_customer_address"/>
179
+ </checkout_multishipping_address_editaddress>
180
+
181
+ <checkout_multishipping_address_editbilling translate="label">
182
+ <label>Multishipping Checkout Billing Address Edit Form</label>
183
+ <update handle="checkout_multishipping"/>
184
+ <update handle="checkout_multishipping_customer_address"/>
185
+ </checkout_multishipping_address_editbilling>
186
+
187
+ <checkout_multishipping_customer_address translate="label">
188
+ <label>Multishipping Checkout Customer Address Edit Form</label>
189
+ <reference name="content">
190
+ <block type="customer/address_edit" name="customer_address_edit" template="customer/address/edit.phtml"/>
191
+ </reference>
192
+ </checkout_multishipping_customer_address>
193
+
194
+ <!--
195
+ Multi address shipping checkout address page
196
+ -->
197
+
198
+ <checkout_multishipping_addresses translate="label">
199
+ <label>Multishipping Checkout Address (Any) Form</label>
200
+ <update handle="checkout_multishipping"/>
201
+ <!-- Mage_Checkout -->
202
+ <reference name="content">
203
+ <block type="checkout/multishipping_addresses" name="checkout_addresses" template="checkout/multishipping/addresses.phtml">
204
+ <action method="addItemRender"><type>default</type><block>checkout/cart_item_renderer</block><template>checkout/multishipping/item/default.phtml</template></action>
205
+ <action method="addItemRender"><type>grouped</type><block>checkout/cart_item_renderer_grouped</block><template>checkout/multishipping/item/default.phtml</template></action>
206
+ <action method="addItemRender"><type>configurable</type><block>checkout/cart_item_renderer_configurable</block><template>checkout/multishipping/item/default.phtml</template></action>
207
+ </block>
208
+ </reference>
209
+ </checkout_multishipping_addresses>
210
+
211
+ <!--
212
+ Multi address shipping checkout shipping information
213
+ -->
214
+
215
+ <checkout_multishipping_shipping translate="label">
216
+ <label>Multishipping Checkout Shipping Information Step</label>
217
+ <update handle="checkout_multishipping"/>
218
+ <!-- Mage_Checkout -->
219
+ <reference name="content">
220
+ <block type="checkout/multishipping_shipping" name="checkout_shipping" template="checkout/multishipping/shipping.phtml">
221
+ <action method="addItemRender"><type>default</type><block>checkout/cart_item_renderer</block><template>checkout/multishipping/item/default.phtml</template></action>
222
+ <action method="addItemRender"><type>grouped</type><block>checkout/cart_item_renderer_grouped</block><template>checkout/multishipping/item/default.phtml</template></action>
223
+ <action method="addItemRender"><type>configurable</type><block>checkout/cart_item_renderer_configurable</block><template>checkout/multishipping/item/default.phtml</template></action>
224
+
225
+ <block type="checkout/multishipping_billing_items" name="checkout_billing_items" template="checkout/multishipping/billing/items.phtml">
226
+ <action method="addItemRender"><type>default</type><block>checkout/cart_item_renderer</block><template>checkout/multishipping/item/default.phtml</template></action>
227
+ <action method="addItemRender"><type>grouped</type><block>checkout/cart_item_renderer_grouped</block><template>checkout/multishipping/item/default.phtml</template></action>
228
+ <action method="addItemRender"><type>configurable</type><block>checkout/cart_item_renderer_configurable</block><template>checkout/multishipping/item/default.phtml</template></action>
229
+ </block>
230
+ </block>
231
+ </reference>
232
+ </checkout_multishipping_shipping>
233
+
234
+ <!--
235
+ Multi address shipping checkout billing information
236
+ -->
237
+
238
+ <checkout_multishipping_billing translate="label">
239
+ <label>Multishipping Checkout Billing Information Step</label>
240
+ <update handle="checkout_multishipping"/>
241
+ <!-- Mage_Checkout -->
242
+ <reference name="content">
243
+ <block type="checkout/multishipping_billing" name="checkout_billing" template="checkout/multishipping/billing.phtml">
244
+ <action method="setMethodFormTemplate"><method>purchaseorder</method><template>payment/form/purchaseorder.phtml</template></action>
245
+
246
+ <!--<block type="checkout/multishipping_billing_items" name="checkout_billing_items" template="checkout/multishipping/billing/items.phtml">
247
+ <action method="addItemRender"><type>default</type><block>checkout/cart_item_renderer</block><template>checkout/multishipping/item/default.phtml</template></action>
248
+ <action method="addItemRender"><type>grouped</type><block>checkout/cart_item_renderer_grouped</block><template>checkout/multishipping/item/default.phtml</template></action>
249
+ <action method="addItemRender"><type>configurable</type><block>checkout/cart_item_renderer_configurable</block><template>checkout/multishipping/item/default.phtml</template></action>
250
+ </block>-->
251
+
252
+ </block>
253
+ </reference>
254
+ </checkout_multishipping_billing>
255
+
256
+ <!--
257
+ Multi address shipping checkout overview
258
+ -->
259
+
260
+ <checkout_multishipping_overview translate="label">
261
+ <label>Multishipping Checkout Overview</label>
262
+ <update handle="checkout_multishipping"/>
263
+ <!-- Mage_Checkout -->
264
+ <reference name="content">
265
+ <block type="checkout/multishipping_overview" name="checkout_overview" template="checkout/multishipping/overview.phtml">
266
+ <action method="addItemRender"><type>default</type><block>checkout/cart_item_renderer</block><template>checkout/multishipping/item/default.phtml</template></action>
267
+ <action method="addItemRender"><type>grouped</type><block>checkout/cart_item_renderer_grouped</block><template>checkout/multishipping/item/default.phtml</template></action>
268
+ <action method="addItemRender"><type>configurable</type><block>checkout/cart_item_renderer_configurable</block><template>checkout/multishipping/item/default.phtml</template></action>
269
+ <action method="addRowItemRender"><type>grouped</type><block>checkout/cart_item_renderer_grouped</block><template>checkout/multishipping/overview/item.phtml</template></action>
270
+ <action method="addRowItemRender"><type>configurable</type><block>checkout/cart_item_renderer_configurable</block><template>checkout/multishipping/overview/item.phtml</template></action>
271
+ <block type="checkout/multishipping_payment_info" name="payment_info">
272
+ <action method="setInfoTemplate"><method></method><template></template></action>
273
+ </block>
274
+ <block type="checkout/agreements" name="checkout.multishipping.agreements" as="agreements" template="checkout/multishipping/agreements.phtml"/>
275
+ <block type="checkout/cart_totals" name="totals" />
276
+ <block type="core/text_list" name="checkout.multishipping.overview.items.after" as="items_after" translate="label">
277
+ <label>Overview Items After</label>
278
+ </block>
279
+ </block>
280
+ </reference>
281
+ </checkout_multishipping_overview>
282
+
283
+ <!--
284
+ Multi address shipping checkout success
285
+ -->
286
+
287
+ <checkout_multishipping_success translate="label">
288
+ <label>Multishipping Checkout Success</label>
289
+ <update handle="checkout_multishipping"/>
290
+ <!-- Mage_Checkout -->
291
+ <reference name="content">
292
+ <block type="checkout/multishipping_success" name="checkout_success" template="checkout/multishipping/success.phtml"/>
293
+ </reference>
294
+ </checkout_multishipping_success>
295
+
296
+ <!--
297
+ One page checkout main layout
298
+ -->
299
+
300
+ <checkout_onepage_index translate="label">
301
+ <label>One Page Checkout</label>
302
+ <!-- Mage_Checkout -->
303
+ <remove name="left"/>
304
+
305
+ <reference name="root">
306
+ <action method="setTemplate"><template>page/2columns-right.phtml</template></action>
307
+ </reference>
308
+ <reference name="right">
309
+ <action method="unsetChildren"></action>
310
+ <block type="page/html_wrapper" name="checkout.progress.wrapper" translate="label">
311
+ <label>Checkout Progress Wrapper</label>
312
+ <action method="setElementId"><value>checkout-progress-wrapper</value></action>
313
+ <block type="checkout/onepage_progress" name="checkout.progress" before="-" template="checkout/onepage/progress.phtml">
314
+ <block type="checkout/onepage_progress" name="billing.progress" template="checkout/onepage/progress/billing.phtml"></block>
315
+ <block type="checkout/onepage_progress" name="shipping.progress" template="checkout/onepage/progress/shipping.phtml"></block>
316
+ <block type="checkout/onepage_progress" name="shippingmethod.progress" template="checkout/onepage/progress/shipping_method.phtml"></block>
317
+ <block type="checkout/onepage_progress" name="payment.progress" template="checkout/onepage/progress/payment.phtml"></block>
318
+ </block>
319
+ </block>
320
+ </reference>
321
+ <reference name="content">
322
+ <block type="checkout/onepage" name="checkout.onepage" template="checkout/onepage.phtml">
323
+ <block type="checkout/onepage_login" name="checkout.onepage.login" as="login" template="checkout/onepage/login.phtml">
324
+ <block type="page/html_wrapper" name="checkout.onepage.login.before" as="login_before" translate="label">
325
+ <label>Login/Registration Before</label>
326
+ <action method="setMayBeInvisible"><value>1</value></action>
327
+ </block>
328
+ </block>
329
+ <block type="checkout/onepage_billing" name="checkout.onepage.billing" as="billing" template="checkout/onepage/billing.phtml"/>
330
+ <block type="checkout/onepage_shipping" name="checkout.onepage.shipping" as="shipping" template="checkout/onepage/shipping.phtml"/>
331
+ <block type="checkout/onepage_shipping_method" name="checkout.onepage.shipping_method" as="shipping_method" template="checkout/onepage/shipping_method.phtml">
332
+ <block type="checkout/onepage_shipping_method_available" name="checkout.onepage.shipping_method.available" as="available" template="checkout/onepage/shipping_method/available.phtml"/>
333
+ <block type="checkout/onepage_shipping_method_additional" name="checkout.onepage.shipping_method.additional" as="additional" template="checkout/onepage/shipping_method/additional.phtml"/>
334
+ </block>
335
+ <block type="checkout/onepage_payment" name="checkout.onepage.payment" as="payment" template="checkout/onepage/payment.phtml">
336
+ <block type="checkout/onepage_payment_methods" name="checkout.payment.methods" as="methods" template="checkout/onepage/payment/info.phtml">
337
+ <action method="setMethodFormTemplate"><method>purchaseorder</method><template>payment/form/purchaseorder.phtml</template></action>
338
+ </block>
339
+ </block>
340
+ <block type="checkout/onepage_review" name="checkout.onepage.review" as="review" template="checkout/onepage/review.phtml"/>
341
+ </block>
342
+ </reference>
343
+ </checkout_onepage_index>
344
+
345
+ <!--
346
+ One page checkout progress block
347
+ -->
348
+
349
+ <checkout_onepage_progress>
350
+ <!-- Mage_Checkout -->
351
+ <remove name="right"/>
352
+ <remove name="left"/>
353
+
354
+ <block type="checkout/onepage_progress" name="root" output="toHtml" template="checkout/onepage/progress.phtml">
355
+ <action method="setInfoTemplate"><method></method><template></template></action>
356
+ <block type="checkout/onepage_progress" name="billing.progress" template="checkout/onepage/progress/billing.phtml"></block>
357
+ <block type="checkout/onepage_progress" name="shipping.progress" template="checkout/onepage/progress/shipping.phtml"></block>
358
+ <block type="checkout/onepage_progress" name="shippingmethod.progress" template="checkout/onepage/progress/shipping_method.phtml"></block>
359
+ <block type="checkout/onepage_progress" name="payment.progress" template="checkout/onepage/progress/payment.phtml"></block>
360
+ </block>
361
+ </checkout_onepage_progress>
362
+
363
+ <!-- Individual blocks for Progress steps begins -->
364
+ <checkout_onepage_progress_billing>
365
+ <!-- Mage_Checkout -->
366
+ <remove name="right"/>
367
+ <remove name="left"/>
368
+
369
+ <block type="checkout/onepage_progress" name="root" output="toHtml" template="checkout/onepage/progress/billing.phtml">
370
+ <action method="setInfoTemplate"><method></method><template></template></action>
371
+ </block>
372
+ </checkout_onepage_progress_billing>
373
+
374
+
375
+ <checkout_onepage_progress_shipping>
376
+ <!-- Mage_Checkout -->
377
+ <remove name="right"/>
378
+ <remove name="left"/>
379
+
380
+ <block type="checkout/onepage_progress" name="root" output="toHtml" template="checkout/onepage/progress/shipping.phtml">
381
+ <action method="setInfoTemplate"><method></method><template></template></action>
382
+ </block>
383
+ </checkout_onepage_progress_shipping>
384
+
385
+
386
+ <checkout_onepage_progress_shipping_method>
387
+ <!-- Mage_Checkout -->
388
+ <remove name="right"/>
389
+ <remove name="left"/>
390
+
391
+ <block type="checkout/onepage_progress" name="root" output="toHtml" template="checkout/onepage/progress/shipping_method.phtml">
392
+ <action method="setInfoTemplate"><method></method><template></template></action>
393
+ </block>
394
+ </checkout_onepage_progress_shipping_method>
395
+
396
+ <checkout_onepage_progress_payment>
397
+ <!-- Mage_Checkout -->
398
+ <remove name="right"/>
399
+ <remove name="left"/>
400
+
401
+ <block type="checkout/onepage_progress" name="root" output="toHtml" template="checkout/onepage/progress/payment.phtml">
402
+ <block type="checkout/onepage_payment_info" name="payment_info">
403
+ <action method="setInfoTemplate"><method></method><template></template></action>
404
+ </block>
405
+ <action method="setInfoTemplate"><method></method><template></template></action>
406
+ </block>
407
+ </checkout_onepage_progress_payment>
408
+
409
+ <!-- end individual progress blocks -->
410
+
411
+ <!--
412
+ One page checkout payment methods block
413
+ -->
414
+ <checkout_onepage_paymentmethod>
415
+ <remove name="right"/>
416
+ <remove name="left"/>
417
+
418
+ <block type="checkout/onepage_payment_methods" name="root" output="toHtml" template="checkout/onepage/payment/methods.phtml">
419
+ <action method="setMethodFormTemplate"><method>purchaseorder</method><template>payment/form/purchaseorder.phtml</template></action>
420
+ </block>
421
+ </checkout_onepage_paymentmethod>
422
+
423
+
424
+ <!--
425
+ One page checkout shipping methods block
426
+ -->
427
+
428
+ <checkout_onepage_shippingmethod>
429
+ <!-- Mage_Checkout -->
430
+ <remove name="right"/>
431
+ <remove name="left"/>
432
+
433
+ <block type="checkout/onepage_shipping_method_available" name="root" output="toHtml" template="checkout/onepage/shipping_method/available.phtml"/>
434
+ </checkout_onepage_shippingmethod>
435
+
436
+ <checkout_onepage_additional>
437
+ <!-- Mage_Checkout -->
438
+ <remove name="right"/>
439
+ <remove name="left"/>
440
+
441
+ <block type="checkout/onepage_shipping_method_additional" name="root" output="toHtml" template="checkout/onepage/shipping_method/additional.phtml">
442
+ <action method="setDontDisplayContainer"><param>1</param></action>
443
+ </block>
444
+ </checkout_onepage_additional>
445
+
446
+ <!--
447
+ One page checkout order review block
448
+ -->
449
+
450
+ <checkout_onepage_review translate="label">
451
+ <label>One Page Checkout Overview</label>
452
+ <!-- Mage_Checkout -->
453
+ <remove name="right"/>
454
+ <remove name="left"/>
455
+
456
+ <block type="checkout/onepage_review_info" name="root" output="toHtml" template="checkout/onepage/review/info.phtml">
457
+ <action method="addItemRender"><type>default</type><block>checkout/cart_item_renderer</block><template>checkout/onepage/review/item.phtml</template></action>
458
+ <action method="addItemRender"><type>grouped</type><block>checkout/cart_item_renderer_grouped</block><template>checkout/onepage/review/item.phtml</template></action>
459
+ <action method="addItemRender"><type>configurable</type><block>checkout/cart_item_renderer_configurable</block><template>checkout/onepage/review/item.phtml</template></action>
460
+ <block type="checkout/cart_totals" name="checkout.onepage.review.info.totals" as="totals" template="checkout/onepage/review/totals.phtml"/>
461
+ <block type="core/text_list" name="checkout.onepage.review.info.items.before" as="items_before" translate="label">
462
+ <label>Items Before</label>
463
+ </block>
464
+ <block type="core/text_list" name="checkout.onepage.review.info.items.after" as="items_after" translate="label">
465
+ <label>Items After</label>
466
+ </block>
467
+ <block type="checkout/agreements" name="checkout.onepage.agreements" as="agreements" template="checkout/onepage/agreements.phtml"/>
468
+ <block type="core/template" name="checkout.onepage.review.button" as="button" template="checkout/onepage/review/button.phtml"/>
469
+ </block>
470
+ </checkout_onepage_review>
471
+
472
+ <checkout_onepage_success translate="label">
473
+ <label>One Page Checkout Success</label>
474
+ <reference name="root">
475
+ <action method="setTemplate"><template>page/2columns-right.phtml</template></action>
476
+ </reference>
477
+ <reference name="content">
478
+ <block type="checkout/onepage_success" name="checkout.success" template="checkout/success.phtml"/>
479
+ </reference>
480
+ </checkout_onepage_success>
481
+ <checkout_onepage_failure translate="label">
482
+ <label>One Page Checkout Failure</label>
483
+ <reference name="root">
484
+ <action method="setTemplate"><template>page/2columns-right.phtml</template></action>
485
+ </reference>
486
+ <reference name="content">
487
+ <block type="checkout/onepage_failure" name="checkout.failure" template="checkout/onepage/failure.phtml"/>
488
+ </reference>
489
+ </checkout_onepage_failure>
490
+ <block type="core/list" name="additional.product.info"/>
491
+ </layout>
app/design/frontend/modulesgarden/crystal/layout/cms.xml ADDED
@@ -0,0 +1,94 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 base_default
24
+ * @copyright Copyright (c) 2014 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
+
33
+ <default>
34
+ <reference name="footer">
35
+ <block type="cms/block" name="cms_footer_links" before="footer_links">
36
+ <!--
37
+ The content of this block is taken from the database by its block_id.
38
+ You can manage it in admin CMS -> Static Blocks
39
+ -->
40
+ <action method="setBlockId"><block_id>footer_links</block_id></action>
41
+ </block>
42
+ </reference>
43
+ </default>
44
+
45
+ <cms_page translate="label">
46
+ <label>CMS Pages (All)</label>
47
+ <reference name="content">
48
+ <block type="core/template" name="page_content_heading" template="cms/content_heading.phtml"/>
49
+ <block type="page/html_wrapper" name="cms.wrapper" translate="label">
50
+ <label>CMS Content Wrapper</label>
51
+ <action method="setElementClass"><value>std</value></action>
52
+ <block type="cms/page" name="cms_page"/>
53
+ </block>
54
+ </reference>
55
+
56
+ <reference name="content">
57
+ <remove name="page_content_heading"/>
58
+ </reference>
59
+
60
+ </cms_page>
61
+
62
+ <cms_index_index translate="label">
63
+ <label>CMS Home Page</label>
64
+ </cms_index_index>
65
+
66
+ <cms_index_defaultindex>
67
+ <remove name="right"/>
68
+ <remove name="left"/>
69
+
70
+ <reference name="root">
71
+ <action method="setTemplate"><template>page/2columns-left.phtml</template></action>
72
+ </reference>
73
+ <reference name="content">
74
+ <block type="core/template" name="default_home_page" template="cms/default/home.phtml"/>
75
+ </reference>
76
+ </cms_index_defaultindex>
77
+
78
+ <cms_index_noroute translate="label">
79
+ <label>CMS No-Route Page</label>
80
+ </cms_index_noroute>
81
+
82
+ <cms_index_defaultnoroute>
83
+ <remove name="right"/>
84
+ <remove name="left"/>
85
+
86
+ <reference name="root">
87
+ <action method="setTemplate"><template>page/2columns-left.phtml</template></action>
88
+ </reference>
89
+ <reference name="content">
90
+ <block type="core/template" name="default_no_route" template="cms/default/no-route.phtml"/>
91
+ </reference>
92
+ </cms_index_defaultnoroute>
93
+
94
+ </layout>
app/design/frontend/modulesgarden/crystal/layout/customer.xml ADDED
@@ -0,0 +1,320 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 base_default
24
+ * @copyright Copyright (c) 2014 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_confirmation
37
+ - customer_account_edit
38
+
39
+ Supported layout update handles (special):
40
+ - default
41
+
42
+ -->
43
+ <layout version="0.1.0">
44
+
45
+ <!--
46
+ Default layout, loads most of the pages
47
+ -->
48
+
49
+ <default>
50
+ <!-- Mage_Customer -->
51
+ <reference name="top.links">
52
+ <action method="addLink" translate="label title" module="customer">
53
+ <label>My Account</label>
54
+ <url helper="customer/getAccountUrl"/>
55
+ <title>My Account</title>
56
+ <prepare/>
57
+ <urlParams/>
58
+ <position>10</position>
59
+ <liParams/>
60
+ <aParams>class="icon-user"</aParams>
61
+ </action>
62
+ </reference>
63
+ </default>
64
+
65
+ <!--
66
+ Load this update on every page when customer is logged in
67
+ -->
68
+
69
+ <customer_logged_in>
70
+ <reference name="top.links">
71
+ <action method="addLink" translate="label title" module="customer">
72
+ <label>Log Out</label>
73
+ <url helper="customer/getLogoutUrl"/>
74
+ <title>Log Out</title>
75
+ <prepare/>
76
+ <urlParams/>
77
+ <position>100</position>
78
+ <liParams/>
79
+ <aParams>class="icon-logout"</aParams>
80
+ </action>
81
+ </reference>
82
+ </customer_logged_in>
83
+
84
+ <!--
85
+ Load this update on every page when customer is logged out
86
+ -->
87
+
88
+ <customer_logged_out>
89
+ <!---<reference name="right">
90
+ <block type="customer/form_login" name="customer_form_mini_login" before="-" template="customer/form/mini.login.phtml"/>
91
+ </reference>-->
92
+ <reference name="top.links">
93
+ <action method="addLink" translate="label title" module="customer">
94
+ <label>Log In</label>
95
+ <url helper="customer/getLoginUrl"/>
96
+ <title>Log In</title>
97
+ <prepare/>
98
+ <urlParams/>
99
+ <position>100</position>
100
+ <liParams/>
101
+ <aParams>class="icon-login"</aParams>
102
+ </action>
103
+ </reference>
104
+ <remove name="reorder"></remove>
105
+ </customer_logged_out>
106
+
107
+ <!--
108
+ Layout for customer login page
109
+ -->
110
+
111
+ <customer_account_login translate="label">
112
+ <label>Customer Account Login Form</label>
113
+ <!-- Mage_Customer -->
114
+ <remove name="right"/>
115
+ <remove name="left"/>
116
+
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_login" name="customer_form_login" template="customer/form/login.phtml" />
122
+ </reference>
123
+ </customer_account_login>
124
+
125
+ <!--
126
+ Layout for customer log out page
127
+ -->
128
+
129
+ <customer_account_logoutsuccess translate="label">
130
+ <label>Customer Account Logout Success</label>
131
+ <!-- Mage_Customer -->
132
+ <remove name="right"/>
133
+ <remove name="left"/>
134
+
135
+ <reference name="root">
136
+ <action method="setTemplate"><template>page/1column.phtml</template></action>
137
+ </reference>
138
+ <reference name="content">
139
+ <block type="core/template" name="customer_logout" template="customer/logout.phtml"/>
140
+ </reference>
141
+ </customer_account_logoutsuccess>
142
+
143
+ <!--
144
+ New customer registration
145
+ -->
146
+
147
+ <customer_account_create translate="label">
148
+ <label>Customer Account Registration Form</label>
149
+ <!-- Mage_Customer -->
150
+ <remove name="right"/>
151
+ <remove name="left"/>
152
+
153
+ <reference name="root">
154
+ <action method="setTemplate"><template>page/1column.phtml</template></action>
155
+ </reference>
156
+ <reference name="content">
157
+ <block type="customer/form_register" name="customer_form_register" template="customer/form/register.phtml">
158
+ <block type="page/html_wrapper" name="customer.form.register.fields.before" as="form_fields_before" translate="label">
159
+ <label>Form Fields Before</label>
160
+ </block>
161
+ </block>
162
+ </reference>
163
+ </customer_account_create>
164
+
165
+ <customer_account_forgotpassword translate="label">
166
+ <label>Customer Forgot Password Form</label>
167
+ <remove name="right"/>
168
+ <remove name="left"/>
169
+
170
+ <reference name="head">
171
+ <action method="setTitle" translate="title" module="customer"><title>Forgot Your Password</title></action>
172
+ </reference>
173
+ <reference name="root">
174
+ <action method="setTemplate"><template>page/1column.phtml</template></action>
175
+ <action method="setHeaderTitle" translate="title" module="customer"><title>Password forgotten</title></action>
176
+ </reference>
177
+ <reference name="content">
178
+ <!--<block type="core/template" name="forgotPassword" template="customer/form/forgotpassword.phtml"/>-->
179
+ <block type="customer/account_forgotpassword" name="forgotPassword" template="customer/form/forgotpassword.phtml" />
180
+ </reference>
181
+ </customer_account_forgotpassword>
182
+
183
+ <customer_account_resetpassword translate="label">
184
+ <label>Reset a Password</label>
185
+ <remove name="right"/>
186
+ <remove name="left"/>
187
+
188
+ <reference name="head">
189
+ <action method="setTitle" translate="title" module="customer">
190
+ <title>Reset a Password</title>
191
+ </action>
192
+ </reference>
193
+ <reference name="root">
194
+ <action method="setTemplate">
195
+ <template>page/1column.phtml</template>
196
+ </action>
197
+ <action method="setHeaderTitle" translate="title" module="customer">
198
+ <title>Reset a Password</title>
199
+ </action>
200
+ </reference>
201
+ <reference name="content">
202
+ <block type="customer/account_resetpassword" name="resetPassword" template="customer/form/resetforgottenpassword.phtml"/>
203
+ </reference>
204
+ </customer_account_resetpassword>
205
+
206
+ <customer_account_confirmation>
207
+ <remove name="right"/>
208
+ <remove name="left"/>
209
+
210
+ <reference name="root">
211
+ <action method="setTemplate"><template>page/1column.phtml</template></action>
212
+ <action method="setHeaderTitle" translate="title" module="customer"><title>Send confirmation link</title></action>
213
+ </reference>
214
+ <reference name="content">
215
+ <block type="core/template" name="accountConfirmation" template="customer/form/confirmation.phtml"/>
216
+ </reference>
217
+ </customer_account_confirmation>
218
+
219
+ <customer_account_edit translate="label">
220
+ <label>Customer Account Edit Form</label>
221
+ <update handle="customer_account"/>
222
+ <reference name="root">
223
+ <action method="setHeaderTitle" translate="title" module="customer"><title>Edit Account Info</title></action>
224
+ </reference>
225
+ <reference name="my.account.wrapper">
226
+ <block type="customer/form_edit" name="customer_edit" template="customer/form/edit.phtml"/>
227
+ </reference>
228
+
229
+ <reference name="left">
230
+ <action method="unsetChild"><name>left.permanent.callout</name></action>
231
+ </reference>
232
+ </customer_account_edit>
233
+
234
+ <!--
235
+ Customer account pages, rendered for all tabs in dashboard
236
+ -->
237
+
238
+ <customer_account translate="label">
239
+ <label>Customer My Account (All Pages)</label>
240
+ <!--remove name="catalog.compare.sidebar"/>
241
+ <remove name="sale.reorder.sidebar"/-->
242
+ <!-- Mage_Customer -->
243
+ <reference name="root">
244
+ <action method="setTemplate"><template>page/2columns-left.phtml</template></action>
245
+ </reference>
246
+
247
+ <reference name="content">
248
+ <block type="page/html_wrapper" name="my.account.wrapper" translate="label">
249
+ <label>My Account Wrapper</label>
250
+ <action method="setElementClass"><value>my-account</value></action>
251
+ </block>
252
+ </reference>
253
+
254
+ <reference name="left">
255
+ <block type="customer/account_navigation" name="customer_account_navigation" before="-" template="customer/account/navigation.phtml">
256
+ <action method="addLink" translate="label" module="customer"><name>account</name><path>customer/account/</path><label>Account Dashboard</label></action>
257
+ <action method="addLink" translate="label" module="customer"><name>account_edit</name><path>customer/account/edit/</path><label>Account Information</label></action>
258
+ <action method="addLink" translate="label" module="customer"><name>address_book</name><path>customer/address/</path><label>Address Book</label></action>
259
+ </block>
260
+ <block type="checkout/cart_sidebar" name="cart_sidebar" template="checkout/cart/sidebar.phtml">
261
+ <action method="addItemRender"><type>simple</type><block>checkout/cart_item_renderer</block><template>checkout/cart/sidebar/default.phtml</template></action>
262
+ <action method="addItemRender"><type>grouped</type><block>checkout/cart_item_renderer_grouped</block><template>checkout/cart/sidebar/default.phtml</template></action>
263
+ <action method="addItemRender"><type>configurable</type><block>checkout/cart_item_renderer_configurable</block><template>checkout/cart/sidebar/default.phtml</template></action>
264
+ </block>
265
+ <block type="catalog/product_compare_sidebar" name="catalog.compare.sidebar" template="catalog/product/compare/sidebar.phtml"/>
266
+ <remove name="tags_popular"/>
267
+
268
+ </reference>
269
+ </customer_account>
270
+
271
+ <!--
272
+ Customer account home dashboard layout
273
+ -->
274
+
275
+ <customer_account_index translate="label">
276
+ <label>Customer My Account Dashboard</label>
277
+ <update handle="customer_account"/>
278
+ <!-- Mage_Customer -->
279
+ <reference name="root">
280
+ <action method="setTemplate"><template>page/2columns-left.phtml</template></action>
281
+ </reference>
282
+ <reference name="my.account.wrapper">
283
+ <block type="customer/account_dashboard" name="customer_account_dashboard" template="customer/account/dashboard.phtml">
284
+ <block type="customer/account_dashboard_hello" name="customer_account_dashboard_hello" as="hello" template="customer/account/dashboard/hello.phtml"/>
285
+ <block type="core/template" name="customer_account_dashboard_top" as="top" />
286
+ <block type="customer/account_dashboard_info" name="customer_account_dashboard_info" as="info" template="customer/account/dashboard/info.phtml"/>
287
+ <block type="customer/account_dashboard_newsletter" name="customer_account_dashboard_newsletter" as="newsletter" template="customer/account/dashboard/newsletter.phtml"/>
288
+ <block type="customer/account_dashboard_address" name="customer_account_dashboard_address" as="address" template="customer/account/dashboard/address.phtml"/>
289
+ </block>
290
+ </reference>
291
+
292
+ </customer_account_index>
293
+
294
+ <!--
295
+ Customer account address book
296
+ -->
297
+
298
+ <customer_address_index translate="label">
299
+ <label>Customer My Account Address Book</label>
300
+ <!-- Mage_Customer -->
301
+ <update handle="customer_account"/>
302
+ <reference name="my.account.wrapper">
303
+ <block type="customer/address_book" name="address_book" template="customer/address/book.phtml"/>
304
+ </reference>
305
+ </customer_address_index>
306
+
307
+ <!--
308
+ Customer account address edit page
309
+ -->
310
+
311
+ <customer_address_form translate="label">
312
+ <label>Customer My Account Address Edit Form</label>
313
+ <!-- Mage_Customer -->
314
+ <update handle="customer_account"/>
315
+ <reference name="my.account.wrapper">
316
+ <block type="customer/address_edit" name="customer_address_edit" template="customer/address/edit.phtml"/>
317
+ </reference>
318
+ </customer_address_form>
319
+
320
+ </layout>
app/design/frontend/modulesgarden/crystal/layout/local.xml ADDED
@@ -0,0 +1,77 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <layout version="0.1.0">
3
+
4
+ <cms_index_index>
5
+ <reference name="left">
6
+ <remove name="left.newsletter" />
7
+ <remove name="tags_popular" />
8
+ </reference>
9
+
10
+ <reference name="right">
11
+ <remove name="catalog.compare.sidebar"/>
12
+ <remove name="cart_sidebar"/>
13
+ <remove name="right.reports.product.viewed" />
14
+ <remove name="wishlist_sidebar"/>
15
+ <remove name="sale.reorder.sidebar"/>
16
+ <remove name="right.reports.product.viewed"/>
17
+ <remove name="right.reports.product.compared"/>
18
+ </reference>
19
+
20
+ <reference name="content">
21
+ <remove name="home.catalog.product.new"/>
22
+ <remove name="home.reports.product.viewed"/>
23
+ <remove name="home.reports.product.compared"/>
24
+ <remove name="tags_popular" />
25
+ </reference>
26
+ <reference name="newreference">
27
+ <block type="mgthemecrystal/product_bestseller" name="bestseller" template="catalog/product/bestseller.phtml" />
28
+ <block type="mgthemecrystal/product_featured" name="featured" template="catalog/product/featured.phtml" />
29
+ </reference>
30
+
31
+ <reference name="baners">
32
+ <block type="core/template" name="newBanersBlock" template="page/baners.phtml" />
33
+ </reference>
34
+ </cms_index_index>
35
+
36
+ <default>
37
+
38
+ <reference name="wishlist_link">
39
+ <action method="setAParams"><params>class="icon-wishlist"</params></action>
40
+ </reference>
41
+
42
+ <reference name="topLinks">
43
+ <remove name="checkout_cart_link" />
44
+ </reference>
45
+
46
+ <reference name="root">
47
+ <action method="setTemplate"><template>page/2columns-left.phtml</template></action>
48
+ </reference>
49
+
50
+ <reference name="head">
51
+
52
+ </reference>
53
+
54
+ <reference name="right">
55
+ <remove name="paypal.partner.right.logo" />
56
+ </reference>
57
+
58
+ <reference name="brands">
59
+ <block type="core/template" name="brandsBlock" template="page/brands.phtml" />
60
+ </reference>
61
+
62
+ </default>
63
+
64
+
65
+ <catalog_category_default translate="label">
66
+ <reference name="root">
67
+ <action method="setTemplate"><template>page/2columns-left.phtml</template></action>
68
+ </reference>
69
+ </catalog_category_default>
70
+
71
+ <catalogsearch_result_index>
72
+ <reference name="root">
73
+ <action method="setTemplate"><template>page/2columns-left.phtml</template></action>
74
+ </reference>
75
+ </catalogsearch_result_index>
76
+
77
+ </layout>
app/design/frontend/modulesgarden/crystal/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 base_default
24
+ * @copyright Copyright (c) 2014 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="footer">
39
+ <block type="newsletter/subscribe" name="footer.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
+ <remove name="left.newsletter"/>
54
+ </customer_account>
55
+
56
+ <newsletter_manage_index translate="label">
57
+ <label>Customer My Account Newsletter Subscriptions</label>
58
+ <update handle="customer_account"/>
59
+ <reference name="my.account.wrapper">
60
+ <block type="customer/newsletter" name="customer_newsletter">
61
+ <block type="page/html_wrapper" name="customer.newsletter.form.before" as="form_before" translate="label">
62
+ <label>Newsletter Subscription Form Before</label>
63
+ <action method="setMayBeInvisible"><value>1</value></action>
64
+ </block>
65
+ </block>
66
+ </reference>
67
+ </newsletter_manage_index>
68
+
69
+ </layout>
app/design/frontend/modulesgarden/crystal/layout/page.xml ADDED
@@ -0,0 +1,212 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 base_default
24
+ * @copyright Copyright (c) 2014 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
+
33
+ <default translate="label" module="page">
34
+ <label>All Pages</label>
35
+ <block type="page/html" name="root" output="toHtml" template="page/3columns.phtml">
36
+
37
+ <block type="page/html_head" name="head" as="head">
38
+
39
+ <!--<action method="addItem"><type>skin_js</type><name>js/layerslider/js/jquery.js</name></action>-->
40
+
41
+ <action method="addItem"><type>skin_js</type><name>js/jquery.flexisel.js</name></action>
42
+ <action method="addJs"><script>prototype/prototype.js</script></action>
43
+ <action method="addJs"><script>lib/ccard.js</script></action>
44
+ <action method="addJs"><script>prototype/validation.js</script></action>
45
+ <action method="addJs"><script>scriptaculous/builder.js</script></action>
46
+ <action method="addJs"><script>scriptaculous/effects.js</script></action>
47
+ <action method="addJs"><script>scriptaculous/dragdrop.js</script></action>
48
+ <action method="addJs"><script>scriptaculous/controls.js</script></action>
49
+ <action method="addJs"><script>scriptaculous/slider.js</script></action>
50
+ <action method="addJs"><script>varien/js.js</script></action>
51
+ <action method="addJs"><script>varien/form.js</script></action>
52
+ <action method="addJs"><script>mage/translate.js</script></action>
53
+ <action method="addJs"><script>mage/cookies.js</script></action>
54
+
55
+
56
+ <block type="page/js_cookie" name="js_cookies" template="page/js/cookie.phtml"/>
57
+
58
+ <action method="addCss"><stylesheet>js/owl-carousel/owl.carousel.css</stylesheet></action>
59
+ <action method="addCss"><stylesheet>js/owl-carousel/owl.theme.css</stylesheet></action>
60
+ <action method="addCss"><stylesheet>js/owl-carousel/owl.transitions.css</stylesheet></action>
61
+ <action method="addCss"><stylesheet>css/font_awesome/css/font-awesome.min.css</stylesheet></action>
62
+ <action method="addCss"><stylesheet>js/fancybox/jquery.fancybox.css</stylesheet></action>
63
+ <!-- <action method="addCss"><stylesheet>css/styles.css</stylesheet></action> -->
64
+ <action method="addItem"><type>skin_css</type><name>css/styles-ie.css</name><params/><if>lt IE 8</if></action>
65
+ <action method="addCss"><stylesheet>css/widgets.css</stylesheet></action>
66
+ <action method="addCss"><stylesheet>css/print.css</stylesheet><params>media="print"</params></action>
67
+ <action method="addCss"><stylesheet>css/responsive.css</stylesheet></action>
68
+ <action method="addCss"><stylesheet>js/layerslider/css/layerslider.css</stylesheet></action>
69
+
70
+ <action method="addItem"><type>js</type><name>lib/ds-sleight.js</name><params/><if>lt IE 7</if></action>
71
+ <action method="addItem"><type>skin_js</type><name>js/ie6.js</name><params/><if>lt IE 7</if></action>
72
+ </block>
73
+
74
+ <block type="core/text_list" name="after_body_start" as="after_body_start" translate="label">
75
+ <label>Page Top</label>
76
+ </block>
77
+
78
+ <block type="page/html_notices" name="global_notices" as="global_notices" template="page/html/notices.phtml" />
79
+
80
+ <block type="page/html_header" name="header" as="header">
81
+ <block type="page/template_links" name="top.links" as="topLinks"/>
82
+ <block type="page/switch" name="store_language" as="store_language" template="page/switch/languages.phtml"/>
83
+ <block type="core/text_list" name="top.menu" as="topMenu" translate="label">
84
+ <label>Navigation Bar</label>
85
+ <block type="page/html_topmenu" name="catalog.topnav" template="page/html/topmenu.phtml"/>
86
+ </block>
87
+ <block type="page/html_wrapper" name="top.container" as="topContainer" translate="label">
88
+ <label>Page Header</label>
89
+ <action method="setElementClass"><value>top-container</value></action>
90
+ </block>
91
+ <block type="page/html_welcome" name="welcome" as="welcome"/>
92
+ </block>
93
+
94
+ <block type="page/html_breadcrumbs" name="breadcrumbs" as="breadcrumbs"/>
95
+
96
+ <block type="core/text_list" name="left" as="left" translate="label">
97
+ <label>Left Column</label>
98
+ </block>
99
+
100
+ <block type="core/text_list" name="baners" as="baners"/>
101
+
102
+ <block type="core/text_list" name="newreference" as="newreference"/>
103
+
104
+ <block type="core/messages" name="global_messages" as="global_messages"/>
105
+ <block type="core/messages" name="messages" as="messages"/>
106
+
107
+ <block type="core/text_list" name="content" as="content" translate="label">
108
+ <label>Main Content Area</label>
109
+ </block>
110
+
111
+ <block type="core/text_list" name="brands" as="brands"/>
112
+
113
+ <block type="core/text_list" name="right" as="right" translate="label">
114
+ <label>Right Column</label>
115
+ </block>
116
+
117
+ <block type="page/html_footer" name="footer" as="footer" template="page/html/footer.phtml">
118
+ <block type="page/html_wrapper" name="bottom.container" as="bottomContainer" translate="label">
119
+ <label>Page Footer</label>
120
+ <action method="setElementClass"><value>bottom-container</value></action>
121
+ </block>
122
+ <block type="page/switch" name="store_switcher" as="store_switcher" template="page/switch/stores.phtml"/>
123
+ <block type="page/template_links" name="footer_links" as="footer_links" template="page/template/links.phtml"/>
124
+ </block>
125
+
126
+ <block type="core/text_list" name="before_body_end" as="before_body_end" translate="label">
127
+ <label>Page Bottom</label>
128
+ <block type="page/html_cookieNotice" name="global_cookie_notice" as ="global_cookie_notice" template="page/html/cookienotice.phtml" before="-" />
129
+ </block>
130
+ </block>
131
+
132
+ <block type="core/profiler" output="toHtml" name="core_profiler"/>
133
+ </default>
134
+
135
+ <print translate="label" module="page">
136
+ <label>All Pages (Print Version)</label>
137
+ <!-- Mage_Page -->
138
+ <block type="page/html" name="root" output="toHtml" template="page/print.phtml">
139
+
140
+ <block type="page/html_head" name="head" as="head">
141
+ <action method="addJs"><script>prototype/prototype.js</script></action>
142
+ <action method="addJs"><script>mage/translate.js</script></action>
143
+ <action method="addJs"><script>lib/ccard.js</script></action>
144
+ <action method="addJs"><script>prototype/validation.js</script></action>
145
+ <action method="addJs"><script>varien/js.js</script></action>
146
+
147
+ <!-- <action method="addCss"><stylesheet>css/styles.css</stylesheet></action> -->
148
+ <action method="addItem"><type>skin_css</type><name>css/styles-ie.css</name><params/><if>lt IE 8</if></action>
149
+ <action method="addCss"><stylesheet>css/widgets.css</stylesheet></action>
150
+ <action method="addCss"><stylesheet>css/print.css</stylesheet><params>media="print"</params></action>
151
+
152
+ <action method="addItem"><type>js</type><name>lib/ds-sleight.js</name><params/><if>lt IE 7</if></action>
153
+ <action method="addItem"><type>skin_js</type><name>js/ie6.js</name><params/><if>lt IE 7</if></action>
154
+
155
+ @import url(http://fonts.googleapis.com/css?family=Open+Sans:400,300,600,700,800);
156
+
157
+ </block>
158
+
159
+ <block type="core/text_list" name="content" as="content" translate="label">
160
+ <label>Main Content Area</label>
161
+ </block>
162
+
163
+ </block>
164
+ </print>
165
+
166
+ <!-- Custom page layout handles -->
167
+ <page_empty translate="label">
168
+ <label>All Empty Layout Pages</label>
169
+ <reference name="root">
170
+ <action method="setTemplate"><template>page/empty.phtml</template></action>
171
+ <!-- Mark root page block that template is applied -->
172
+ <action method="setIsHandle"><applied>1</applied></action>
173
+ </reference>
174
+ </page_empty>
175
+
176
+ <page_one_column translate="label">
177
+ <label>All One-Column Layout Pages</label>
178
+ <reference name="root">
179
+ <action method="setTemplate"><template>page/1column.phtml</template></action>
180
+ <!-- Mark root page block that template is applied -->
181
+ <action method="setIsHandle"><applied>1</applied></action>
182
+ </reference>
183
+ </page_one_column>
184
+
185
+ <page_two_columns_left translate="label">
186
+ <label>All Two-Column Layout Pages (Left Column)</label>
187
+ <reference name="root">
188
+ <action method="setTemplate"><template>page/2columns-left.phtml</template></action>
189
+ <!-- Mark root page block that template is applied -->
190
+ <action method="setIsHandle"><applied>1</applied></action>
191
+ </reference>
192
+
193
+ </page_two_columns_left>
194
+
195
+ <page_two_columns_right translate="label">
196
+ <label>All Two-Column Layout Pages (Right Column)</label>
197
+ <reference name="root">
198
+ <action method="setTemplate"><template>page/2columns-right.phtml</template></action>
199
+ <!-- Mark root page block that template is applied -->
200
+ <action method="setIsHandle"><applied>1</applied></action>
201
+ </reference>
202
+ </page_two_columns_right>
203
+
204
+ <page_three_columns translate="label">
205
+ <label>All Three-Column Layout Pages</label>
206
+ <reference name="root">
207
+ <action method="setTemplate"><template>page/3columns.phtml</template></action>
208
+ <!-- Mark root page block that template is applied -->
209
+ <action method="setIsHandle"><applied>1</applied></action>
210
+ </reference>
211
+ </page_three_columns>
212
+ </layout>
app/design/frontend/modulesgarden/crystal/layout/paypal.xml ADDED
@@ -0,0 +1,207 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 base_default
24
+ * @copyright Copyright (c) 2014 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
+ <checkout_cart_index>
31
+ <reference name="checkout.cart.top_methods">
32
+ <block type="paypal/express_shortcut" name="checkout.cart.methods.paypal_express.top" before="-" template="paypal/express/shortcut.phtml">
33
+ <action method="setIsQuoteAllowed"><value>1</value></action>
34
+ </block>
35
+ </reference>
36
+
37
+ <reference name="checkout.cart.methods">
38
+ <block type="paypal/express_shortcut" name="checkout.cart.methods.paypal_express.bottom" before="-" template="paypal/express/shortcut.phtml">
39
+ <action method="setIsQuoteAllowed"><value>1</value></action>
40
+ </block>
41
+ </reference>
42
+
43
+ <update handle="SHORTCUT_popup" />
44
+ </checkout_cart_index>
45
+
46
+ <paypal_express_review translate="label">
47
+ <label>PayPal Express Order Review Form</label>
48
+ <remove name="right"/>
49
+ <remove name="left"/>
50
+
51
+ <reference name="root">
52
+ <action method="setTemplate"><template>page/1column.phtml</template></action>
53
+ </reference>
54
+ <reference name="content">
55
+ <block type="paypal/express_review" name="paypal.express.review" template="paypal/express/review.phtml">
56
+ <block type="paypal/express_review" name="express.review.shipping.method" as="shipping_method" template="paypal/express/review/shipping/method.phtml"/>
57
+ <block type="paypal/express_review_details" name="paypal.express.review.details" as="details" template="paypal/express/review/details.phtml">
58
+ <action method="addItemRender"><type>default</type><block>checkout/cart_item_renderer</block><template>checkout/onepage/review/item.phtml</template></action>
59
+ <action method="addItemRender"><type>grouped</type><block>checkout/cart_item_renderer_grouped</block><template>checkout/onepage/review/item.phtml</template></action>
60
+ <action method="addItemRender"><type>configurable</type><block>checkout/cart_item_renderer_configurable</block><template>checkout/onepage/review/item.phtml</template></action>
61
+ <block type="checkout/cart_totals" name="paypal.express.review.details.totals" as="totals" template="checkout/onepage/review/totals.phtml"/>
62
+ </block>
63
+ <block type="checkout/agreements" name="paypal.express.review.details.agreements" as="agreements" template="checkout/onepage/agreements.phtml"/>
64
+ </block>
65
+ </reference>
66
+ <reference name="head">
67
+ <action method="addItem"><type>skin_js</type><name>js/checkout/review.js</name></action>
68
+ </reference>
69
+ <block type="core/text_list" name="additional.product.info" />
70
+ </paypal_express_review>
71
+
72
+ <paypal_express_review_details>
73
+ <block type="paypal/express_review_details" name="root" output="toHtml" template="paypal/express/review/details.phtml">
74
+ <action method="addItemRender"><type>default</type><block>checkout/cart_item_renderer</block><template>checkout/onepage/review/item.phtml</template></action>
75
+ <action method="addItemRender"><type>grouped</type><block>checkout/cart_item_renderer_grouped</block><template>checkout/onepage/review/item.phtml</template></action>
76
+ <action method="addItemRender"><type>configurable</type><block>checkout/cart_item_renderer_configurable</block><template>checkout/onepage/review/item.phtml</template></action>
77
+ <block type="checkout/cart_totals" name="paypal.express.review.details.totals" as="totals" template="checkout/onepage/review/totals.phtml"/>
78
+ </block>
79
+ </paypal_express_review_details>
80
+
81
+ <!--
82
+ Available logo types can be assigned with action="setLogoType":
83
+ - wePrefer_150x60
84
+ - wePrefer_150x40
85
+ - nowAccepting_150x60
86
+ - nowAccepting_150x40
87
+ - paymentsBy_150x60
88
+ - paymentsBy_150x40
89
+ - shopNowUsing_150x60
90
+ - shopNowUsing_150x40
91
+ -->
92
+ <catalog_product_view>
93
+ <reference name="product.info.addtocart">
94
+ <block type="page/html_wrapper" name="product.info.addtocart.paypal.wrapper" translate="label">
95
+ <label>PayPal Express Checkout Shortcut Wrapper</label>
96
+ <block type="paypal/express_shortcut" name="product.info.addtocart.paypal" template="paypal/express/shortcut.phtml">
97
+ <action method="setIsInCatalogProduct"><value>1</value></action>
98
+ </block>
99
+ </block>
100
+ </reference>
101
+ <update handle="SHORTCUT_popup" />
102
+ <reference name="right">
103
+ <block type="paypal/logo" name="paypal.partner.right.logo" template="paypal/partner/logo.phtml">
104
+ <!--action method="setLogoType"><value>wePrefer_150x60</value></action-->
105
+ </block>
106
+ </reference>
107
+
108
+ <reference name="right">
109
+ <remove name="paypal.partner.right.logo" />
110
+ </reference>
111
+
112
+ </catalog_product_view>
113
+
114
+ <catalog_category_default>
115
+ <update handle="SHORTCUT_popup" />
116
+ <reference name="right">
117
+ <block type="paypal/logo" name="paypal.partner.right.logo" template="paypal/partner/logo.phtml"/>
118
+ </reference>
119
+ </catalog_category_default>
120
+
121
+ <catalog_category_layered>
122
+ <update handle="SHORTCUT_popup" />
123
+ <reference name="right">
124
+ <block type="paypal/logo" name="paypal.partner.right.logo" template="paypal/partner/logo.phtml"/>
125
+ </reference>
126
+ </catalog_category_layered>
127
+
128
+ <catalog_product_compare_index>
129
+ <update handle="SHORTCUT_popup" />
130
+ </catalog_product_compare_index>
131
+
132
+ <catalogsearch_result_index>
133
+ <update handle="SHORTCUT_popup" />
134
+ </catalogsearch_result_index>
135
+
136
+ <catalogsearch_advanced_result>
137
+ <update handle="SHORTCUT_popup" />
138
+ </catalogsearch_advanced_result>
139
+
140
+ <tag_product_list>
141
+ <update handle="SHORTCUT_popup" />
142
+ </tag_product_list>
143
+ <tag_customer_view>
144
+ <update handle="SHORTCUT_popup" />
145
+ </tag_customer_view>
146
+
147
+ <wishlist_index_index>
148
+ <update handle="SHORTCUT_popup" />
149
+ </wishlist_index_index>
150
+ <review_product_list>
151
+ <update handle="SHORTCUT_popup" />
152
+ </review_product_list>
153
+
154
+ <checkout_onepage_success>
155
+ <update handle="SHORTCUT_popup" />
156
+ </checkout_onepage_success>
157
+ <checkout_onepage_failure>
158
+ <update handle="SHORTCUT_popup" />
159
+ </checkout_onepage_failure>
160
+
161
+ <cms_index_index>
162
+ <reference name="right">
163
+ <block type="paypal/logo" name="paypal.partner.right.logo" template="paypal/partner/logo.phtml"/>
164
+ </reference>
165
+ </cms_index_index>
166
+
167
+ <default>
168
+ <reference name="topCart.extra_actions">
169
+ <block type="paypal/express_shortcut" name="paypal.partner.top_cart.shortcut" template="paypal/express/shortcut.phtml"/>
170
+ </reference>
171
+ <reference name="cart_sidebar.extra_actions">
172
+ <block type="paypal/express_shortcut" name="paypal.partner.cart_sidebar.shortcut" template="paypal/express/shortcut.phtml"/>
173
+ </reference>
174
+ </default>
175
+
176
+ <checkout_onepage_review>
177
+ <reference name="checkout.onepage.review.info.items.after">
178
+ <block type="paypal/iframe" name="paypal.iframe" />
179
+ </reference>
180
+ <reference name="checkout.onepage.review.button">
181
+ <action method="setTemplate"><template helper="paypal/hss/getReviewButtonTemplate"><name>paypal/hss/review/button.phtml</name><block>checkout.onepage.review.button</block></template></action>
182
+ </reference>
183
+ </checkout_onepage_review>
184
+
185
+ <paypal_payflow_link_iframe>
186
+ <block type="paypal/payflow_link_iframe" name="payflow.link.iframe" template="paypal/payflowlink/form.phtml" />
187
+ </paypal_payflow_link_iframe>
188
+
189
+ <paypal_payflow_advanced_iframe>
190
+ <block type="paypal/payflow_advanced_iframe" name="payflow.advanced.iframe" template="paypal/payflowadvanced/form.phtml" />
191
+ </paypal_payflow_advanced_iframe>
192
+
193
+ <paypal_hosted_pro_iframe>
194
+ <block type="paypal/hosted_pro_iframe" name="hosted.pro.iframe" template="paypal/hss/form.phtml"/>
195
+ </paypal_hosted_pro_iframe>
196
+
197
+ <SHORTCUT_popup>
198
+ <reference name="product.tooltip">
199
+ <block type="page/html_wrapper" name="product.info.addtocart.paypal.wrapper" translate="label">
200
+ <block type="paypal/express_shortcut" name="product.info.addtocart.paypal" template="paypal/express/shortcut.phtml">
201
+ <action method="setIsInCatalogProduct"><value>1</value></action>
202
+ <action method="setShowOrPosition"><value>after</value></action>
203
+ </block>
204
+ </block>
205
+ </reference>
206
+ </SHORTCUT_popup>
207
+ </layout>
app/design/frontend/modulesgarden/crystal/layout/poll.xml ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 base_default
24
+ * @copyright Copyright (c) 2014 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
+ <reference name="right">
46
+ <remove name="right.poll"/>
47
+ </reference>
48
+
49
+ </default>
50
+
51
+ <!--
52
+ Customer account home dashboard layout
53
+ -->
54
+
55
+ <customer_account_index>
56
+ <reference name="right">
57
+ <action method="unsetChild"><name>right.poll</name></action>
58
+ </reference>
59
+ </customer_account_index>
60
+
61
+ </layout>
app/design/frontend/modulesgarden/crystal/layout/reports.xml ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 base_default
24
+ * @copyright Copyright (c) 2014 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" after="-" 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
+
38
+ <catalog_category_layered_nochildren translate="label">
39
+ <label>Catalog Category (Without Subcategories)</label>
40
+ <remove name="right.reports.product.viewed" />
41
+ <reference name="right">
42
+ <block type="reports/product_viewed" before="right.permanent.callout" name="left.reports.product.viewed" template="reports/product_viewed.phtml" />
43
+ </reference>
44
+ </catalog_category_layered_nochildren>
45
+ </layout>
app/design/frontend/modulesgarden/crystal/layout/review.xml ADDED
@@ -0,0 +1,135 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 base_default
24
+ * @copyright Copyright (c) 2014 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>review/customer</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
+ <block type="review/customer_recent" name="customer_account_dashboard_info1" as="info1" template="review/customer/recent.phtml"/>
48
+ </reference>
49
+
50
+ </customer_account_index>
51
+
52
+
53
+ <!--
54
+ Product reviews page (?)
55
+ -->
56
+
57
+ <reviews>
58
+ <!-- Mage_Review -->
59
+ <reference name="root">
60
+ <action method="setTemplate"><template>page/2columns-left.phtml</template></action>
61
+ </reference>
62
+ </reviews>
63
+
64
+ <!--
65
+ Product reviews page
66
+ -->
67
+
68
+ <review_product_list translate="label">
69
+ <label>Catalog Product Reviews List</label>
70
+ <reference name="root">
71
+ <action method="setTemplate"><template>page/2columns-right.phtml</template></action>
72
+ </reference>
73
+ <reference name="head">
74
+ <action method="addJs"><script>varien/product.js</script></action>
75
+ <action method="addJs"><script>varien/configurable.js</script></action>
76
+ </reference>
77
+ <reference name="content">
78
+ <block type="review/product_view" name="product.info" template="catalog/product/view.phtml">
79
+ <block type="catalog/product_view_media" name="product.info.media" as="media" template="catalog/product/view/media.phtml">
80
+ <action method="disableGallery"/>
81
+ </block>
82
+ <block type="catalog/product_view" name="product.info.addto" as="addto" template="catalog/product/view/addto.phtml"/>
83
+ <block type="catalog/product_view" name="product.info.addtocart" as="addtocart" template="catalog/product/view/addtocart.phtml">
84
+ <!-- workaround: a better place for this code is in paypal.xml -->
85
+ <block type="page/html_wrapper" name="review.product.info.addtocart.paypal.wrapper" translate="label" module="paypal">
86
+ <label>PayPal Express Checkout Shortcut Wrapper</label>
87
+ <block type="paypal/express_shortcut" name="review.product.info.addtocart.paypal" template="paypal/express/shortcut.phtml">
88
+ <action method="setIsInCatalogProduct"><value>1</value></action>
89
+ </block>
90
+ </block>
91
+ </block>
92
+ <block type="catalog/product_view" name="product.tierprices" as="tierprices" template="catalog/product/view/tierprices.phtml"/>
93
+ <block type="core/template" name="product.info.other" as="other" template="review/product/view/other.phtml"/>
94
+ <block type="page/html_pager" name="product_review_list.toolbar" />
95
+ <block type="core/template" name="product_review_list.count" template="review/product/view/count.phtml" />
96
+ <block type="review/product_view_list" name="product.info.product_additional_data" as="product_additional_data" template="review/product/view/list.phtml">
97
+ <block type="review/form" name="product.review.form" as="review_form">
98
+ <block type="page/html_wrapper" name="product.review.form.fields.before" as="form_fields_before" translate="label">
99
+ <label>Review Form Fields Before</label>
100
+ <action method="setMayBeInvisible"><value>1</value></action>
101
+ </block>
102
+ </block>
103
+ </block>
104
+ </block>
105
+ </reference>
106
+ </review_product_list>
107
+
108
+ <review_product_view translate="label">
109
+ <label>Catalog Product Review View</label>
110
+ <reference name="root">
111
+ <action method="setTemplate"><template>page/2columns-right.phtml</template></action>
112
+ </reference>
113
+ <reference name="content">
114
+ <block type="review/view" name="review_view"/>
115
+ </reference>
116
+
117
+ </review_product_view>
118
+
119
+ <review_customer_index translate="label">
120
+ <label>Customer My Account Product Reviews</label>
121
+ <update handle="customer_account"/>
122
+ <reference name="my.account.wrapper">
123
+ <block type="review/customer_list" name="review_customer_list" template="review/customer/list.phtml"/>
124
+ </reference>
125
+ </review_customer_index>
126
+
127
+ <review_customer_view translate="label">
128
+ <label>Customer My Account Review Details</label>
129
+ <update handle="customer_account"/>
130
+ <reference name="my.account.wrapper">
131
+ <block type="review/customer_view" name="customers_review"/>
132
+ </reference>
133
+ </review_customer_view>
134
+
135
+ </layout>
app/design/frontend/modulesgarden/crystal/layout/tag.xml ADDED
@@ -0,0 +1,134 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 base_default
24
+ * @copyright Copyright (c) 2014 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.phtml"/>
39
+ </reference>
40
+
41
+ </default>
42
+
43
+ <!--
44
+ Customer account pages, rendered for all tabs in dashboard
45
+ -->
46
+
47
+ <customer_account>
48
+ <!-- Mage_Tag -->
49
+ <reference name="customer_account_navigation">
50
+ <action method="addLink" translate="label" module="tag"><name>tags</name><path>tag/customer/</path><label>My Tags</label></action>
51
+ </reference>
52
+ </customer_account>
53
+
54
+ <!--
55
+ Customer account home dashboard layout
56
+ -->
57
+
58
+ <customer_account_index>
59
+ <!-- Mage_Tag -->
60
+ <reference name="customer_account_dashboard">
61
+ <action method="unsetChild"><name>customer_account_dashboard_info2</name></action>
62
+ <block type="tag/customer_recent" name="customer_account_dashboard_info2" as="info2" template="tag/customer/recent.phtml"/>
63
+ </reference>
64
+ </customer_account_index>
65
+
66
+ <catalog_product_view translate="label">
67
+ <label>Catalog Product View</label>
68
+ <!-- Mage_Tag -->
69
+ <reference name="product.info.additional">
70
+ <block type="tag/product_list" name="product_tag_list" before="-" template="tag/list.phtml">
71
+ <block type="page/html_wrapper" name="product.tag.list.list.before" as="list_before" translate="label">
72
+ <label>Tags List Before</label>
73
+ <action method="setMayBeInvisible"><value>1</value></action>
74
+ </block>
75
+ </block>
76
+ </reference>
77
+ </catalog_product_view>
78
+
79
+ <!--
80
+ All tags page
81
+ -->
82
+
83
+ <tag_list_index translate="label">
84
+ <label>Tags List (All Available)</label>
85
+ <!-- Mage_Tag -->
86
+ <reference name="root">
87
+ <action method="setTemplate"><template>page/2columns-right.phtml</template></action>
88
+ </reference>
89
+ <reference name="content">
90
+ <block type="tag/all" name="tags_all" template="tag/cloud.phtml"/>
91
+ </reference>
92
+ </tag_list_index>
93
+
94
+ <tag_product_list translate="label">
95
+ <label>Tagged Products List</label>
96
+ <!-- Mage_Tag -->
97
+ <reference name="content">
98
+ <block type="tag/product_result" name="tag_products" template="catalogsearch/result.phtml">
99
+ <block type="catalog/product_list" name="search_result_list" template="catalog/product/list.phtml">
100
+ <block type="catalog/product_list_toolbar" name="product_list_toolbar" template="catalog/product/list/toolbar.phtml">
101
+ <block type="page/html_pager" name="product_list_toolbar_pager"/>
102
+ </block>
103
+ <action method="setToolbarBlockName"><name>product_list_toolbar</name></action>
104
+ </block>
105
+ <action method="setListOrders"/>
106
+ <action method="setListModes"/>
107
+ <action method="setListCollection"/>
108
+ </block>
109
+ </reference>
110
+ </tag_product_list>
111
+
112
+ <tag_customer_index translate="label">
113
+ <label>Customer My Account My Tags List</label>
114
+ <update handle="customer_account"/>
115
+ <reference name="root">
116
+ <action method="setHeaderTitle" translate="title" module="customer"><title>My Account</title></action>
117
+ </reference>
118
+ <reference name="my.account.wrapper">
119
+ <block type="tag/customer_tags" name="customer_tags" template="tag/customer/tags.phtml"/>
120
+ </reference>
121
+ </tag_customer_index>
122
+
123
+ <tag_customer_view translate="label">
124
+ <label>Customer My Account Tag View</label>
125
+ <update handle="customer_account"/>
126
+ <reference name="root">
127
+ <action method="setHeaderTitle" translate="title" module="customer"><title>My Account</title></action>
128
+ </reference>
129
+ <reference name="my.account.wrapper">
130
+ <block type="tag/customer_view" name="customer_view" template="tag/customer/view.phtml"/>
131
+ </reference>
132
+ </tag_customer_view>
133
+
134
+ </layout>
app/design/frontend/modulesgarden/crystal/layout/wishlist.xml ADDED
@@ -0,0 +1,139 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 base_default
24
+ * @copyright Copyright (c) 2014 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="top.links">
37
+ <block type="wishlist/links" name="wishlist_link" />
38
+ <action method="addLinkBlock"><blockName>wishlist_link</blockName></action>
39
+ </reference>
40
+
41
+ <!-- Mage_Wishlist -->
42
+ <reference name="right">
43
+ <block type="wishlist/customer_sidebar" name="wishlist_sidebar" as="wishlist" after="cart_sidebar" template="wishlist/sidebar.phtml" />
44
+ </reference>
45
+ </default>
46
+
47
+ <!--
48
+ Customer account pages, rendered for all tabs in dashboard
49
+ -->
50
+
51
+ <customer_account>
52
+ <!-- Mage_Wishlist -->
53
+ <reference name="customer_account_navigation">
54
+ <action method="addLink" translate="label" module="wishlist" ifconfig="wishlist/general/active"><name>wishlist</name><path>wishlist/</path><label>My Wishlist</label></action>
55
+ </reference>
56
+ </customer_account>
57
+
58
+ <!--
59
+ Customer account home dashboard layout
60
+ -->
61
+
62
+ <customer_account_index>
63
+ <reference name="right">
64
+ <action method="unsetChild"><name>wishlist</name></action>
65
+ </reference>
66
+ </customer_account_index>
67
+
68
+ <!--
69
+ Wishlist pages
70
+ -->
71
+
72
+ <wishlist_index_index translate="label">
73
+ <label>Customer My Account My Wishlist</label>
74
+ <!-- Mage_Wishlist -->
75
+ <update handle="customer_account" />
76
+ <reference name="my.account.wrapper">
77
+ <block type="wishlist/customer_wishlist" name="customer.wishlist" template="wishlist/view.phtml">
78
+ <action method="setTitle" translate="title">
79
+ <title>My Wishlist</title>
80
+ </action>
81
+ <block type="wishlist/customer_wishlist_items" name="customer.wishlist.items" as="items" template="wishlist/item/list.phtml">
82
+ <block type="wishlist/customer_wishlist_item_column_image" name="customer.wishlist.item.image" template="wishlist/item/column/image.phtml" />
83
+ <block type="wishlist/customer_wishlist_item_column_comment" name="customer.wishlist.item.info" template="wishlist/item/column/info.phtml">
84
+ <action method="setTitle" translate="title">
85
+ <title>Product Details and Comment</title>
86
+ </action>
87
+ </block>
88
+ <block type="wishlist/customer_wishlist_item_column_cart" name="customer.wishlist.item.cart" template="wishlist/item/column/cart.phtml">
89
+ <action method="setTitle" translate="title">
90
+ <title>Add to Cart</title>
91
+ </action>
92
+ <block type="wishlist/customer_wishlist_item_options" name="customer.wishlist.item.options" />
93
+ </block>
94
+ <block type="wishlist/customer_wishlist_item_column_remove" name="customer.wishlist.item.remove" template="wishlist/item/column/remove.phtml" />
95
+ </block>
96
+ <block type="core/text_list" name="customer.wishlist.buttons" as="control_buttons">
97
+ <block type="wishlist/customer_wishlist_button" name="customer.wishlist.button.share" template="wishlist/button/share.phtml" />
98
+ <block type="wishlist/customer_wishlist_button" name="customer.wishlist.button.toCart" template="wishlist/button/tocart.phtml" />
99
+ <block type="wishlist/customer_wishlist_button" name="customer.wishlist.button.update" template="wishlist/button/update.phtml" />
100
+ </block>
101
+ </block>
102
+ </reference>
103
+ <reference name="right">
104
+ <action method="unsetChild"><name>wishlist_customer_sidebar</name></action>
105
+ </reference>
106
+ </wishlist_index_index>
107
+
108
+ <wishlist_index_share translate="label">
109
+ <label>Customer My Account Wishlist Sharing Form</label>
110
+ <!-- Mage_Wishlist -->
111
+ <update handle="customer_account" />
112
+ <reference name="my.account.wrapper">
113
+ <block type="wishlist/customer_sharing" name="wishlist.sharing" template="wishlist/sharing.phtml" />
114
+ </reference>
115
+ <reference name="right">
116
+ <action method="unsetChild"><name>wishlist_customer_sidebar</name></action>
117
+ </reference>
118
+ </wishlist_index_share>
119
+
120
+ <wishlist_index_configure translate="label">
121
+ <label>Configure Wishlist Item</label>
122
+ <update handle="catalog_product_view" />
123
+ <reference name="product.info">
124
+ <block type="wishlist/item_configure" name="product.info.addto" as="addto" template="wishlist/item/configure/addto.phtml" />
125
+ </reference>
126
+ <reference name="product.info.options.wrapper.bottom">
127
+ <action method="unsetChild"><name>product.info.addto</name></action>
128
+ <action method="append"><block>product.info.addto</block></action>
129
+ </reference>
130
+ </wishlist_index_configure>
131
+
132
+ <wishlist_shared_index translate="label">
133
+ <label>Customer Shared Wishlist View</label>
134
+ <!-- Mage_Wishlist -->
135
+ <reference name="content">
136
+ <block type="wishlist/share_wishlist" name="customer.wishlist" template="wishlist/shared.phtml" />
137
+ </reference>
138
+ </wishlist_shared_index>
139
+ </layout>
app/design/frontend/modulesgarden/crystal/template/callouts/left_col.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 base_default
23
+ * @copyright Copyright (c) 2014 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="block block-banner">
28
+ <div class="block-content">
29
+ <?php if(strtolower(substr($this->getLinkUrl(),0,4))==='http'): ?>
30
+ <a href="<?php echo $this->getLinkUrl() ?>" title="<?php echo $this->__($this->getImgAlt()) ?>">
31
+ <?php elseif($this->getLinkUrl()): ?>
32
+ <a href="<?php echo $this->getUrl($this->getLinkUrl()) ?>" title="<?php echo $this->__($this->getImgAlt()) ?>">
33
+ <?php endif; ?>
34
+ <img src="<?php echo $this->getSkinUrl($this->getImgSrc()) ?>"<?php if(!$this->getLinkUrl()): ?> title="<?php echo $this->__($this->getImgAlt()) ?>"<?php endif; ?> alt="<?php echo $this->__($this->getImgAlt()) ?>" />
35
+ <?php if($this->getLinkUrl()): ?>
36
+ </a>
37
+ <?php endif ?>
38
+ </div>
39
+ </div>
app/design/frontend/modulesgarden/crystal/template/callouts/right_col.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 base_default
23
+ * @copyright Copyright (c) 2014 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="block block-banner">
28
+ <div class="block-content">
29
+ <?php if(strtolower(substr($this->getLinkUrl(),0,4))==='http'): ?>
30
+ <a href="<?php echo $this->getLinkUrl() ?>" title="<?php echo $this->__($this->getImgAlt()) ?>">
31
+ <?php elseif($this->getLinkUrl()): ?>
32
+ <a href="<?php echo $this->getUrl($this->getLinkUrl()) ?>" title="<?php echo $this->__($this->getImgAlt()) ?>">
33
+ <?php endif; ?>
34
+ <img src="<?php echo $this->getSkinUrl($this->getImgSrc()) ?>"<?php if(!$this->getLinkUrl()): ?> title="<?php echo $this->__($this->getImgAlt()) ?>"<?php endif; ?> alt="<?php echo $this->__($this->getImgAlt()) ?>" />
35
+ <?php if($this->getLinkUrl()): ?>
36
+ </a>
37
+ <?php endif ?>
38
+ </div>
39
+ </div>
app/design/frontend/modulesgarden/crystal/template/catalog/category/page.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 base_default
23
+ * @copyright Copyright (c) 2014 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
+ * @deprecated after 1.4.0.0-alpha3
29
+ */
30
+ ?>
31
+ <div class="page-title">
32
+ <h1><?php echo $this->getTitle() ?></h1>
33
+ </div>
34
+ <div>
35
+ <?php echo $this->getContent() ?>
36
+ </div>
app/design/frontend/modulesgarden/crystal/template/catalog/category/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 base_default
23
+ * @copyright Copyright (c) 2014 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
+ <?php
35
+ $_helper = $this->helper('catalog/output');
36
+ $_category = $this->getCurrentCategory();
37
+ $_imgHtml = '';
38
+ if ($_imgUrl = $_category->getImageUrl()) {
39
+ $_imgHtml = '<p class="category-image"><img src="'.$_imgUrl.'" alt="'.$this->escapeHtml($_category->getName()).'" title="'.$this->escapeHtml($_category->getName()).'" /></p>';
40
+ $_imgHtml = $_helper->categoryAttribute($_category, $_imgHtml, 'image');
41
+ }
42
+ ?>
43
+
44
+ <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
45
+
46
+
47
+ <?php if($_imgUrl): ?>
48
+ <div class="img_category"><?php echo $_imgHtml ?></div>
49
+ <?php endif; ?>
50
+
51
+ <div class="page-title category-title catalog-title">
52
+ <?php if($this->IsRssCatalogEnable() && $this->IsTopCategory()): ?>
53
+ <a href="<?php echo $this->getRssLink() ?>" class="link-rss"><?php echo $this->__('Subscribe to RSS Feed') ?></a>
54
+ <?php endif; ?>
55
+ <h1><?php echo $_helper->categoryAttribute($_category, $_category->getName(), 'name') ?></h1>
56
+ </div>
57
+
58
+ <?php if($_description=$this->getCurrentCategory()->getDescription()): ?>
59
+ <div class="category-description std">
60
+ <?php echo $_helper->categoryAttribute($_category, $_description, 'description') ?>
61
+ </div>
62
+ <?php endif; ?>
63
+
64
+ <?php if($this->isContentMode()): ?>
65
+ <div class="block-category-wrapp" style="clear: both; display: block; padding-top: 20px; width: 100%;">
66
+ <?php echo $this->getCmsBlockHtml() ?>
67
+ </div>
68
+
69
+ <?php elseif($this->isMixedMode()): ?>
70
+ <?php echo $this->getCmsBlockHtml() ?>
71
+ <?php echo $this->getProductListHtml() ?>
72
+
73
+ <?php else: ?>
74
+ <?php echo $this->getProductListHtml() ?>
75
+ <?php endif; ?>
app/design/frontend/modulesgarden/crystal/template/catalog/category/widget/link/link_block.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 base_default
23
+ * @copyright Copyright (c) 2014 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="widget widget-category-link"><a <?php echo $this->getLinkAttributes() ?>><span><?php echo $this->escapeHtml($this->getAnchorText()) ?></span></a></span>
app/design/frontend/modulesgarden/crystal/template/catalog/category/widget/link/link_inline.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 base_default
23
+ * @copyright Copyright (c) 2014 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="widget widget-category-link-inline"><a <?php echo $this->getLinkAttributes() ?>><span><?php echo $this->escapeHtml($this->getAnchorText()) ?></span></a></span>
app/design/frontend/modulesgarden/crystal/template/catalog/layer/filter.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 base_default
23
+ * @copyright Copyright (c) 2014 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 if ($this->shouldDisplayProductCount()): ?>
43
+ (<?php echo $_item->getCount() ?>)
44
+ <?php endif; ?>
45
+ </li>
46
+ <?php endforeach ?>
47
+ </ol>
app/design/frontend/modulesgarden/crystal/template/catalog/layer/state.phtml ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 base_default
23
+ * @copyright Copyright (c) 2014 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
+ <div class="currently">
37
+ <p class="block-subtitle"><?php echo $this->__('Currently Shopping by:') ?></p>
38
+ <ol>
39
+ <?php foreach ($_filters as $_filter): ?>
40
+ <li>
41
+ <span class="label"><?php echo $this->__($_filter->getName()) ?>:</span> <span class="value"><?php echo $this->stripTags($_filter->getLabel()) ?></span>
42
+ <?php
43
+ $clearLinkUrl = $_filter->getClearLinkUrl();
44
+ if ($clearLinkUrl):
45
+ ?>
46
+ <a class="btn-previous" href="<?php echo $_filter->getRemoveUrl() ?>" title="<?php echo $this->__('Previous') ?>"><?php echo $this->__('Previous') ?></a>
47
+ <a class="btn-remove" title="<?php echo $this->escapeHtml($_filter->getFilter()->getClearLinkText()) ?>" href="<?php echo $clearLinkUrl ?>"><?php echo $this->escapeHtml($_filter->getFilter()->getClearLinkText()) ?></a>
48
+ <?php else: ?>
49
+ <a class="btn-remove" href="<?php echo $_filter->getRemoveUrl() ?>" title="<?php echo $this->__('Remove This Item') ?>"><?php echo $this->__('Remove This Item') ?></a>
50
+ <?php endif; ?>
51
+ </li>
52
+ <?php endforeach; ?>
53
+ </ol>
54
+ </div>
55
+ <?php endif; ?>
app/design/frontend/modulesgarden/crystal/template/catalog/layer/view.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 base_default
23
+ * @copyright Copyright (c) 2014 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="block block-layered-nav">
36
+ <div class="block-content">
37
+ <?php echo $this->getStateHtml() ?>
38
+ <?php if ($this->getLayer()->getState()->getFilters()): ?>
39
+ <div class="actions"><a class="button_green" href="<?php echo $this->getClearUrl() ?>"><?php echo $this->__('Clear All') ?></a></div>
40
+ <?php endif; ?>
41
+ <?php if($this->canShowOptions()): ?>
42
+ <p class="block-subtitle"><?php echo $this->__('Shop by') ?></p>
43
+ <dl id="narrow-by-list">
44
+ <?php $_filters = $this->getFilters() ?>
45
+ <?php foreach ($_filters as $_filter): ?>
46
+ <?php if($_filter->getItemsCount()): ?>
47
+ <dt><?php echo $this->__($_filter->getName()) ?></dt>
48
+ <dd><?php echo $_filter->getHtml() ?></dd>
49
+ <?php endif; ?>
50
+ <?php endforeach; ?>
51
+ </dl>
52
+ <script type="text/javascript">decorateDataList('narrow-by-list')</script>
53
+ <?php endif; ?>
54
+ </div>
55
+ </div>
56
+ <?php endif; ?>
app/design/frontend/modulesgarden/crystal/template/catalog/navigation/left.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 base_default
23
+ * @copyright Copyright (c) 2014 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
+ * Category left navigation
29
+ *
30
+ * @see Mage_Catalog_Block_Navigation
31
+ */
32
+ ?>
33
+ <?php if (!Mage::registry('current_category')) return ?>
34
+ <?php $_categories = $this->getCurrentChildCategories() ?>
35
+ <?php $_count = is_array($_categories)?count($_categories):$_categories->count(); ?>
36
+ <?php if($_count): ?>
37
+ <div class="block block-layered-nav">
38
+ <div class="block-title">
39
+ <strong><span><?php echo $this->__('Browse By') ?></span></strong>
40
+ </div>
41
+ <div class="block-content">
42
+ <dl id="narrow-by-list2">
43
+ <dt><?php echo $this->__('Category') ?></dt>
44
+ <dd>
45
+ <ol>
46
+ <?php foreach ($_categories as $_category): ?>
47
+ <?php if($_category->getIsActive()): ?>
48
+ <li>
49
+ <a href="<?php echo $this->getCategoryUrl($_category) ?>"<?php if ($this->isCategoryActive($_category)): ?> class="current"<?php endif; ?>><?php echo $this->escapeHtml($_category->getName()) ?></a> (<?php echo $_category->getProductCount() ?>)
50
+ </li>
51
+ <?php endif; ?>
52
+ <?php endforeach ?>
53
+ </ol>
54
+ </dd>
55
+ </dl>
56
+ <script type="text/javascript">decorateDataList('narrow-by-list2')</script>
57
+ </div>
58
+ </div>
59
+ <?php endif; ?>
app/design/frontend/modulesgarden/crystal/template/catalog/navigation/top.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 base_default
23
+ * @copyright Copyright (c) 2014 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
+ <?php
35
+ /**
36
+ * $this->renderCategoriesMenuHtml() supports optional arguments:
37
+ * int Level number for list item class to start from
38
+ * string Extra class of outermost list items
39
+ * string If specified wraps children list in div with this class
40
+ */
41
+ ?>
42
+ <?php $_menu = $this->renderCategoriesMenuHtml(0,'level-top') ?>
43
+ <?php if($_menu): ?>
44
+ <div class="nav-container">
45
+ <ul id="nav">
46
+ <?php echo $_menu ?>
47
+ </ul>
48
+ </div>
49
+ <?php endif ?>
app/design/frontend/modulesgarden/crystal/template/catalog/product/bestseller.phtml ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <div id="bestseller-container">
2
+ <?php $_helper = $this->helper('catalog/output'); ?>
3
+ <?php if (($_products = $this->getProductCollection()) && $_products->getSize()): ?>
4
+ <div class="home-page-cntr">
5
+ <div class="page-title catalog_title"><h2><?php echo $this->__('Bestsellers') ?></h2></div>
6
+ <div class="customNavigation">
7
+ <a class="btn prev2"></a>
8
+ <a class="btn next2"></a>
9
+ </div>
10
+ <div id="owl-bestseller" class="owl-carousel-bestsellers owl-carousel products-grid">
11
+ <?php $i=0; foreach ($_products->getItems() as $_product): ?>
12
+ <?php if ($i>5): continue; endif; ?>
13
+ <div class="home-page-item item first">
14
+ <div class="home-page-img">
15
+ <div class="product_img_container">
16
+ <a class="product-image" href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->htmlEscape($_product->getName()) ?>">
17
+ <?php if($_product->getMgIsNew()) { ?>
18
+ <div class="new-product"><?php echo $this->__('NEW') ?></div>
19
+ <?php } ?>
20
+ <img src="<?php echo $this->helper('catalog/image')->init($_product, 'small_image')->resize(277,277); ?>" alt="<?php echo $this->htmlEscape($_product->getName()) ?>"/>
21
+ </a>
22
+ <a href="<?php echo $_product->getProductUrl() ?>" class="hover view_more"><?php echo $this->__('View product') ?></a>
23
+ </div>
24
+ <?php //echo $_product->getShortDescription(); //also getShortDescription ?>
25
+ </div>
26
+ <div class="gird_prod_desc">
27
+ <h2 class="product-name"><a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->htmlEscape($_product->getName()) ?>)"><?php echo $_product->getName() ?></a></h2>
28
+ <?php //echo $this->helper('review/product')->getSummaryHtml($_product, 'short') //product review link ?>
29
+ <?php //echo $this->getReviewsSummaryHtml($_product, false, true)?>
30
+ <?php //echo $this->helper('catalog/product')->getPriceHtml($_product) ?>
31
+ <?php echo $this->getPriceHtml($_product) ?>
32
+ <?php echo $_product->getProductId(); ?>
33
+ <?php if($_product->isSaleable()): ?>
34
+ <p><button type="button" title="<?php echo $this->__('Add to Cart') ?>" class="button btn-cart hover" onclick="setLocation('<?php echo $this->getAddToCartUrl($_product) ?>')"></button></p>
35
+ <?php else: ?>
36
+ <p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
37
+ <?php endif; ?>
38
+ <?php if ($this->helper('wishlist')->isAllow()) : ?>
39
+ <a href="<?php echo $this->helper('wishlist')->getAddUrl($_product) ?>" class="wishlist_icon hover"></a>
40
+ <?php endif; ?>
41
+ <ul class="add-to-links">
42
+ <?php if($_compareUrl=$this->getAddToCompareUrl($_product)): ?>
43
+ <li><a href="<?php echo $_compareUrl ?>" class="link-compare"><?php echo $this->__('Add to Compare') ?></a></li>
44
+ <?php endif; ?>
45
+ </ul>
46
+ </div>
47
+ </div>
48
+ <?php $i++; endforeach; ?>
49
+ <?php for($i;$i%5!=0;$i++): ?>
50
+ <?php endfor ?>
51
+ </div>
52
+ </div>
53
+ <?php endif; ?>
54
+ </div>
app/design/frontend/modulesgarden/crystal/template/catalog/product/compare/list.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 base_default
23
+ * @copyright Copyright (c) 2014 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
+ <?php
29
+ $style = Mage::getStoreConfig('mgthemecrystal/main/colorscheme');
30
+ if ( $style == 'blue'){
31
+ echo '<link rel="stylesheet" type="text/css" href="'.$this->getSkinUrl('css/styles_blue.css').'" media="all" />';
32
+ }elseif ($style == 'red') {
33
+ echo '<link rel="stylesheet" type="text/css" href="'.$this->getSkinUrl('css/styles_red.css').'" media="all" />';
34
+ }else {
35
+ echo '<link rel="stylesheet" type="text/css" href="'.$this->getSkinUrl('css/styles.css').'" media="all" />';
36
+ }
37
+ ?>
38
+ <div class="compare-wrapper">
39
+ <div class="page-title title-buttons">
40
+ <h1><?php echo $this->__('Compare Products') ?></h1>
41
+ <a href="#" onclick="window.print(); return false;" class="link-print"><?php echo $this->__('Print This Page') ?></a>
42
+ </div>
43
+ <?php $_total=$this->getItems()->getSize() ?>
44
+ <?php if($_total): ?>
45
+ <table class="compare-table" id="product_comparison">
46
+ <?php $_i=0 ?>
47
+ <?php foreach($this->getItems() as $_item): ?>
48
+ <?php if($_i++%10==0): ?>
49
+ <col width="1" />
50
+ <?php endif; ?>
51
+ <col width="<?php echo floor(100/$_total); ?>%" />
52
+ <?php endforeach; ?>
53
+ <?php if ($_total>2): ?>
54
+ <thead>
55
+ <tr>
56
+ <?php $_i=0 ?>
57
+ <?php foreach($this->getItems() as $_item): ?>
58
+ <?php if($_i++%10==0): ?>
59
+ <th>&nbsp;</th>
60
+ <?php endif; ?>
61
+ <td class="a-right"><a href="#" class="btn-remove" onclick="removeItem('<?php echo $this->helper('catalog/product_compare')->getRemoveUrl($_item) ?>');" title="<?php echo $this->__('Remove This Item') ?>"><?php echo $this->__('Remove This Item') ?></a></td>
62
+ <?php endforeach; ?>
63
+ </tr>
64
+ </thead>
65
+ <?php endif ?>
66
+ <tbody>
67
+ <tr class="product-shop-row">
68
+ <?php $_i=0 ?>
69
+ <?php foreach($this->getItems() as $_item): ?>
70
+ <?php if($_i++%10==0): ?>
71
+ <th>&nbsp;</th>
72
+ <?php endif; ?>
73
+ <td>
74
+ <a class="product-image" 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>
75
+ <h2 class="product-name"><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></h2>
76
+ <?php echo $this->getReviewsSummaryHtml($_item, 'short') ?>
77
+ <?php echo $this->getPriceHtml($_item, true, '-compare-list-top') ?>
78
+ <div class="compare-buttons">
79
+ <?php if($_item->isSaleable()): ?>
80
+ <p><button type="button" title="<?php echo $this->__('Add to Cart') ?>" class="button btn-cart" onclick="setPLocation('<?php echo $this->helper('catalog/product_compare')->getAddToCartUrl($_item) ?>', true)"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button></p>
81
+ <?php else: ?>
82
+ <p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
83
+ <?php endif; ?>
84
+ <?php if ($this->helper('wishlist')->isAllow()) : ?>
85
+ <ul class="add-to-links">
86
+ <li><a href="#" class="link-wishlist" onclick="setPLocation('<?php echo $this->helper('catalog/product_compare')->getAddToWishlistUrl($_item) ?>', true)"><?php echo $this->__('Add to Wishlist') ?></a></li>
87
+ </ul>
88
+ <?php endif; ?>
89
+ </div>
90
+ </td>
91
+ <?php endforeach; ?>
92
+ </tr>
93
+ </tbody>
94
+ <tbody>
95
+ <?php foreach ($this->getAttributes() as $_attribute): ?>
96
+ <tr>
97
+ <?php $_i=0 ?>
98
+ <?php foreach($this->getItems() as $_item): ?>
99
+ <?php if($_i++%10==0): ?>
100
+ <th><span class="nobr"><?php echo $_attribute->getStoreLabel() ?></span></th>
101
+ <?php endif; ?>
102
+ <td>
103
+ <?php switch ($_attribute->getAttributeCode()) {
104
+ case "price": ?>
105
+ <?php echo $this->getPriceHtml($_item, true, '-compare-list-' . $_attribute->getCode()) ?>
106
+ <?php break;
107
+ case "small_image": ?>
108
+ <img src="<?php echo $this->helper('catalog/image')->init($_item, 'small_image')->resize(125, 125); ?>" width="125" height="125" alt="<?php echo $this->escapeHtml($_item->getName()) ?>" title="<?php echo $this->escapeHtml($_item->getName()) ?>" />
109
+ <?php break;
110
+ case "date":
111
+ echo substr($this->getProductAttributeValue($_item, $_attribute),0,10);
112
+ break;
113
+ default: ?>
114
+ <div class="std">
115
+ <?php echo $this->helper('catalog/output')->productAttribute($_item, $this->getProductAttributeValue($_item, $_attribute), $_attribute->getAttributeCode()) ?>
116
+ </div>
117
+ <?php break;
118
+ } ?>
119
+ </td>
120
+ <?php endforeach; ?>
121
+ </tr>
122
+ <?php endforeach; ?>
123
+ </tbody>
124
+ <tbody>
125
+ <tr class="add-to-row">
126
+ <?php $_i=0 ?>
127
+ <?php foreach($this->getItems() as $_item): ?>
128
+ <?php if($_i++%10==0): ?>
129
+ <th>&nbsp;</th>
130
+ <?php endif; ?>
131
+ <td>
132
+ <?php echo $this->getPriceHtml($_item, true, '-compare-list-bottom') ?>
133
+ <?php if($_item->isSaleable()): ?>
134
+ <p><button type="button" title="<?php echo $this->__('Add to Cart') ?>" class="button btn-cart" onclick="setPLocation('<?php echo $this->helper('catalog/product_compare')->getAddToCartUrl($_item) ?>', true)"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button></p>
135
+ <?php else: ?>
136
+ <p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
137
+ <?php endif; ?>
138
+ <?php if ($this->helper('wishlist')->isAllow()) : ?>
139
+ <ul class="add-to-links">
140
+ <li><a href="#" class="link-wishlist" onclick="setPLocation('<?php echo $this->helper('catalog/product_compare')->getAddToWishlistUrl($_item) ?>', true)"><?php echo $this->__('Add to Wishlist') ?></a></li>
141
+ </ul>
142
+ <?php endif; ?>
143
+ </td>
144
+ <?php endforeach; ?>
145
+ </tr>
146
+ </tbody>
147
+ </table>
148
+ <div class="buttons-set">
149
+ <button type="button" title="<?php echo $this->__('Close Window') ?>" class="button" onclick="window.close();"><span><span><?php echo $this->__('Close Window') ?></span></span></button>
150
+ <span class="please-wait" id="compare-list-please-wait" style="display:none;">
151
+ <img src="<?php echo $this->getSkinUrl('images/opc-ajax-loader.gif') ?>" alt="<?php echo $this->__('Please wait...') ?>" title="<?php echo $this->__('Please wait...') ?>" class="v-middle" /> <?php echo $this->__('Please wait...') ?>
152
+ </span>
153
+ </div>
154
+ <script type="text/javascript">
155
+ decorateTable('product_comparison');
156
+
157
+ /**
158
+ * Send remove item request, after that reload windows
159
+ */
160
+ function removeItem(url)
161
+ {
162
+ new Ajax.Request(url, {
163
+ parameters: {isAjax: 1, method: 'POST'},
164
+ onLoading: function(){$('compare-list-please-wait').show();},
165
+ onSuccess: function(transport) {
166
+ $('compare-list-please-wait').hide();
167
+ window.location.reload();
168
+ window.opener.location.reload();
169
+ }
170
+ });
171
+ }
172
+ </script>
173
+ <?php else: ?>
174
+ <script type="text/javascript">window.close();</script>
175
+ <?php endif; ?>
176
+ </div>
app/design/frontend/modulesgarden/crystal/template/catalog/product/compare/sidebar.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 base_default
23
+ * @copyright Copyright (c) 2014 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
+ <?php
29
+ $_helper = $this->helper('catalog/product_compare');
30
+ $_items = $_helper->getItemCount() > 0 ? $_helper->getItemCollection() : null;
31
+ ?>
32
+ <div class="block block-list block-compare">
33
+ <div class="block-title">
34
+ <strong><span><?php echo $this->__('Compare Products') ?>
35
+ <?php if($_helper->getItemCount() > 0): ?>
36
+ <small><?php echo $this->__('(%d)', $_helper->getItemCount()) ?></small>
37
+ <?php endif; ?>
38
+ </span></strong>
39
+ </div>
40
+ <div class="block-content">
41
+ <?php if($_helper->getItemCount() > 0): ?>
42
+ <ol id="compare-items">
43
+ <?php foreach($_items as $_index => $_item): ?>
44
+ <li class="item">
45
+ <input type="hidden" class="compare-item-id" value="<?php echo $_item->getId() ?>" />
46
+ <a href="<?php echo $_helper->getRemoveUrl($_item) ?>" title="<?php echo $this->__('Remove This Item') ?>" class="btn-remove" onclick="return confirm('<?php echo $this->__('Are you sure you would like to remove this item from the compare products?') ?>');"><?php echo $this->__('Remove This Item') ?></a>
47
+ <p class="product-name"><a href="<?php echo $this->getProductUrl($_item) ?>"><?php echo $this->helper('catalog/output')->productAttribute($_item, $_item->getName(), 'name') ?></a></p>
48
+ </li>
49
+ <?php endforeach; ?>
50
+ </ol>
51
+ <script type="text/javascript">decorateList('compare-items')</script>
52
+ <div class="actions">
53
+ <a class="clear-all" href="<?php echo $_helper->getClearListUrl() ?>" onclick="return confirm('<?php echo $this->__('Are you sure you would like to remove all products from your comparison?') ?>');"><?php echo $this->__('Clear All') ?></a>
54
+ <button type="button" title="<?php echo $this->__('Compare') ?>" class="button_green" onclick="popWin('<?php echo $_helper->getListUrl() ?>','compare','top:0,left:0,width=820,height=600,resizable=yes,scrollbars=yes')"><span><span><?php echo $this->__('Compare') ?></span></span></button>
55
+ </div>
56
+ <?php else: ?>
57
+ <p class="empty"><?php echo $this->__('You have no items to compare.') ?></p>
58
+ <?php endif; ?>
59
+ </div>
60
+ </div>
app/design/frontend/modulesgarden/crystal/template/catalog/product/featured.phtml ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <div id="features-container">
2
+ <?php $featured_products = $this->getProducts(); ?>
3
+ <?php $_helper = $this->helper('catalog/output'); ?>
4
+ <?php if ($featured_products && $featured_products->getSize()): ?>
5
+ <?php $productsItems = $featured_products->getItems() ?>
6
+ <?php shuffle($productsItems); ?>
7
+ <div class="box recently">
8
+ <div class="page-title catalog_title"><h2><?php echo $this->__('Featured Products') ?></h2></div>
9
+ <div class="customNavigation">
10
+ <a class="btn prev1"></a>
11
+ <a class="btn next1"></a>
12
+ </div>
13
+ <div class="listing-type-grid catalog-listing">
14
+ <div id="owl-featured" class="owl-carousel owl-carousel-features products-grid">
15
+ <?php
16
+ $i=0;
17
+ foreach ($productsItems as $_product): ?>
18
+ <?php $_columnCount = 20; ?>
19
+
20
+ <?php ++$i ?>
21
+ <div class="item<?php if(($i-1)%$_columnCount==0): ?> first<?php elseif($i%$_columnCount==0): ?> last<?php endif; ?>">
22
+ <div>
23
+ <div class="product_img_container">
24
+ <a class="product-image" href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->htmlEscape($_product->getName()) ?>">
25
+ <?php if($_product->getMgIsNew()) { ?>
26
+ <div class="new-product"><?php echo $this->__('NEW') ?></div>
27
+ <?php } ?>
28
+ <img src="<?php echo $this->helper('catalog/image')->init($_product, 'small_image')->resize(277, 277); ?>" alt="<?php echo $this->htmlEscape($_product->getName()) ?>" />
29
+ </a>
30
+ <a href="<?php echo $_product->getProductUrl() ?>" class="hover view_more"><?php echo $this->__('View product') ?></a>
31
+ </div>
32
+ </div>
33
+ <div class="gird_prod_desc">
34
+ <h2 class="product-name"><a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->stripTags($_product->getName(), null, true) ?>"><?php echo $_helper->productAttribute($_product, $_product->getName(), 'name') ?></a></h2>
35
+ <?php echo $this->getPriceHtml($_product, true) ?>
36
+ <?php if($_product->isSaleable()): ?>
37
+ <p><button type="button" title="<?php echo $this->__('Add to Cart') ?>" class="button btn-cart hover" onclick="setLocation('<?php echo $this->getAddToCartUrl($_product) ?>')"></button></p>
38
+ <?php else: ?>
39
+ <p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
40
+ <?php endif; ?>
41
+ <?php if ($this->helper('wishlist')->isAllow()) : ?>
42
+ <a href="<?php echo $this->helper('wishlist')->getAddUrl($_product) ?>" class="wishlist_icon hover"></a>
43
+ <?php endif; ?>
44
+ <ul class="add-to-links">
45
+ <?php if($_compareUrl=$this->getAddToCompareUrl($_product)): ?>
46
+ <li><a href="<?php echo $_compareUrl ?>" class="link-compare"><?php echo $this->__('Add to Compare') ?></a></li>
47
+ <?php endif; ?>
48
+ </ul>
49
+
50
+ </div>
51
+ </div>
52
+ <?php endforeach ?>
53
+ </div>
54
+ </div>
55
+ </div>
56
+ <?php endif; ?>
57
+ </div>
58
+ <br class="clear"/>
app/design/frontend/modulesgarden/crystal/template/catalog/product/gallery.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 base_default
23
+ * @copyright Copyright (c) 2014 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 $_width=$this->getImageWidth() ?>
28
+ <div class="product-image-popup" style="width:<?php echo $_width; ?>px;">
29
+ <div class="buttons-set"><a href="#" onclick="window.close(); return false;" class="button"><span><?php echo $this->__('Close Window') ?></span></a></div>
30
+ <?php if($this->getPreviusImageUrl() || $this->getNextImageUrl()): ?>
31
+ <div class="nav">
32
+ <?php if($_prevUrl = $this->getPreviusImageUrl()): ?>
33
+ <a href="<?php echo $_prevUrl ?>" class="prev">&laquo; <?php echo $this->__('Prev') ?></a>
34
+ <?php endif; ?>
35
+ <?php if($_nextUrl = $this->getNextImageUrl()): ?>
36
+ <a href="<?php echo $_nextUrl ?>" class="next"><?php echo $this->__('Next') ?> &raquo;</a>
37
+ <?php endif; ?>
38
+ </div>
39
+ <?php endif; ?>
40
+ <?php if($_imageTitle = $this->escapeHtml($this->getCurrentImage()->getLabel())): ?>
41
+ <h1 class="image-label"><?php echo $_imageTitle ?></h1>
42
+ <?php endif; ?>
43
+ <img src="<?php echo $this->helper('catalog/image')->init($this->getProduct(), 'image', $this->getImageFile()); ?>"<?php if($_width): ?> width="<?php echo $_width ?>"<?php endif; ?> alt="<?php echo $this->escapeHtml($this->getCurrentImage()->getLabel()) ?>" title="<?php echo $this->escapeHtml($this->getCurrentImage()->getLabel()) ?>" id="product-gallery-image" class="image" />
44
+ <div class="buttons-set"><a href="#" onclick="window.close(); return false;" class="button"><span><?php echo $this->__('Close Window') ?></span></a></div>
45
+ <?php if($this->getPreviusImageUrl() || $this->getNextImageUrl()): ?>
46
+ <div class="nav">
47
+ <?php if($_prevUrl = $this->getPreviusImageUrl()): ?>
48
+ <a href="<?php echo $_prevUrl ?>" class="prev">&laquo; <?php echo $this->__('Prev') ?></a>
49
+ <?php endif; ?>
50
+ <?php if($_nextUrl = $this->getNextImageUrl()): ?>
51
+ <a href="<?php echo $_nextUrl ?>" class="next"><?php echo $this->__('Next') ?> &raquo;</a>
52
+ <?php endif; ?>
53
+ </div>
54
+ <?php endif; ?>
55
+ </div>
56
+ <script type="text/javascript">
57
+ //<![CDATA[
58
+ Event.observe(window, 'load', function(){
59
+ var demensions = $('product-gallery-image').getDimensions();
60
+ if (demensions.width < 300) {
61
+ demensions.width = 300
62
+ }
63
+ window.resizeTo(demensions.width+90, demensions.height+210);
64
+ });
65
+ //]]>
66
+ </script>
app/design/frontend/modulesgarden/crystal/template/catalog/product/list.phtml ADDED
@@ -0,0 +1,166 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 base_default
23
+ * @copyright Copyright (c) 2014 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
35
+ $_productCollection=$this->getLoadedProductCollection();
36
+ $_helper = $this->helper('catalog/output');
37
+ ?>
38
+ <?php if(!$_productCollection->count()): ?>
39
+ <div class="clear"></div>
40
+ <p class="note-msg"><?php echo $this->__('There are no products matching the selection.') ?></p>
41
+ <?php else: ?>
42
+ <div class="category-products">
43
+ <?php echo $this->getToolbarHtml() ?>
44
+ <div class="clear"></div>
45
+ <?php // List mode ?>
46
+ <?php if($this->getMode()!='grid'): ?>
47
+ <?php $_iterator = 0; ?>
48
+ <ol class="products-list" id="products-list">
49
+ <?php foreach ($_productCollection as $_product): ?>
50
+ <li class="item<?php if( ++$_iterator == sizeof($_productCollection) ): ?> last<?php endif; ?>">
51
+ <?php // Product Image ?>
52
+ <a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->stripTags($this->getImageLabel($_product, 'small_image'), null, true) ?>" class="product-image">
53
+ <?php if($_product->getMgIsNew()) { ?>
54
+ <div class="new-product"><?php echo $this->__('NEW') ?></div>
55
+ <?php } ?>
56
+ <img src="<?php echo $this->helper('catalog/image')->init($_product, 'small_image')->resize(277); ?>" alt="<?php echo $this->stripTags($this->getImageLabel($_product, 'small_image'), null, true) ?>" /></a>
57
+ <?php // Product description ?>
58
+ <div class="product-shop">
59
+ <div class="f-fix">
60
+ <?php $_productNameStripped = $this->stripTags($_product->getName(), null, true); ?>
61
+ <h2 class="product-name"><a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $_productNameStripped; ?>"><?php echo $_helper->productAttribute($_product, $_product->getName() , 'name'); ?></a></h2>
62
+ <?php echo $this->getPriceHtml($_product, true) ?>
63
+ <?php if($_product->isSaleable()): ?>
64
+ <p><button type="button" title="<?php echo $this->__('Add to Cart') ?>" class="button btn-cart" onclick="setLocation('<?php echo $this->getAddToCartUrl($_product) ?>')"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button></p>
65
+ <?php else: ?>
66
+ <p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
67
+ <?php endif; ?>
68
+ <div class="desc std">
69
+ <?php echo $_helper->productAttribute($_product, $_product->getShortDescription(), 'short_description') ?>
70
+ <a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $_productNameStripped ?>" class="link-learn"><?php echo $this->__('Learn More') ?></a>
71
+ </div>
72
+ <ul class="add-to-links">
73
+ <?php if ($this->helper('wishlist')->isAllow()) : ?>
74
+ <li><a href="<?php echo $this->helper('wishlist')->getAddUrl($_product) ?>" class="link-wishlist"><?php echo $this->__('Add to Wishlist') ?></a></li>
75
+ <?php endif; ?>
76
+ <?php if($_compareUrl=$this->getAddToCompareUrl($_product)): ?>
77
+ <li><span class="separator">|</span> <a href="<?php echo $_compareUrl ?>" class="link-compare"><?php echo $this->__('Add to Compare') ?></a></li>
78
+ <?php endif; ?>
79
+ </ul>
80
+ </div>
81
+ </div>
82
+ </li>
83
+ <?php endforeach; ?>
84
+ </ol>
85
+ <script type="text/javascript">decorateList('products-list', 'none-recursive')</script>
86
+
87
+ <?php else: ?>
88
+
89
+ <?php // Grid Mode ?>
90
+
91
+ <?php $_collectionSize = $_productCollection->count() ?>
92
+
93
+ <?php
94
+ /* Get the layout's page template */
95
+ $pageLayoutRootTemplate = $this->getLayout()->getBlock('root')->getTemplate();
96
+
97
+ /* Set the column count based on the layout template used */
98
+ switch ($pageLayoutRootTemplate) {
99
+ case 'page/1column.phtml':
100
+ $_columnCount = 4;
101
+ break;
102
+
103
+ case 'page/2columns-left.phtml':
104
+ $_columnCount = 3;
105
+ break;
106
+
107
+ case 'page/2columns-right.phtml':
108
+ $_columnCount = 3;
109
+ break;
110
+
111
+ case 'page/3columns.phtml':
112
+ $_columnCount = 2;
113
+ break;
114
+
115
+ default:
116
+ $_columnCount = 3;
117
+ break;
118
+ }
119
+ ?>
120
+
121
+ <?php $i=0; foreach ($_productCollection as $_product): ?>
122
+ <?php if ($i++%$_columnCount==0): ?>
123
+ <ul class="products-grid">
124
+ <?php endif ?>
125
+ <li class="item<?php if(($i-1)%$_columnCount==0): ?> first<?php elseif($i%$_columnCount==0): ?> last<?php endif; ?>">
126
+ <div class="product_img_container">
127
+ <a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->stripTags($this->getImageLabel($_product, 'small_image'), null, true) ?>" class="product-image">
128
+ <?php if($_product->getMgIsNew()) { ?>
129
+ <div class="new-product"><?php echo $this->__('NEW') ?></div>
130
+ <?php } ?>
131
+ <img src="<?php echo $this->helper('catalog/image')->init($_product, 'small_image')->resize(277); ?>" width="277" height="277" alt="<?php echo $this->stripTags($this->getImageLabel($_product, 'small_image'), null, true) ?>" /></a>
132
+ <a href="<?php echo $_product->getProductUrl() ?>" class="hover view_more"><?php echo $this->__('View product') ?></a>
133
+ </div>
134
+ <div class="gird_prod_desc">
135
+ <h2 class="product-name"><a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->stripTags($_product->getName(), null, true) ?>"><?php echo $_helper->productAttribute($_product, $_product->getName(), 'name') ?></a></h2>
136
+
137
+ <?php echo $this->getPriceHtml($_product, true) ?>
138
+ <div class="actions">
139
+ <?php if($_product->isSaleable()): ?>
140
+ <button type="button" title="<?php echo $this->__('Add to Cart') ?>" class="btn-cart hover" onclick="setLocation('<?php echo $this->getAddToCartUrl($_product) ?>')"></button>
141
+ <?php else: ?>
142
+ <p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
143
+ <?php endif; ?>
144
+ <?php if ($this->helper('wishlist')->isAllow()) : ?>
145
+ <a href="<?php echo $this->helper('wishlist')->getAddUrl($_product) ?>" class="wishlist_icon hover"></a>
146
+ <?php endif; ?>
147
+ <ul class="add-to-links">
148
+ <?php if($_compareUrl=$this->getAddToCompareUrl($_product)): ?>
149
+ <li><a href="<?php echo $_compareUrl ?>" class="link-compare"><?php echo $this->__('Add to Compare') ?></a></li>
150
+ <?php endif; ?>
151
+ </ul>
152
+ </div>
153
+ </div>
154
+ </li>
155
+ <?php if ($i%$_columnCount==0 || $i==$_collectionSize): ?>
156
+ </ul>
157
+ <?php endif ?>
158
+ <?php endforeach ?>
159
+ <script type="text/javascript">decorateGeneric($$('ul.products-grid'), ['odd','even','first','last'])</script>
160
+ <?php endif; ?>
161
+
162
+ <div class="toolbar-bottom">
163
+ <?php echo $this->getToolbarHtml() ?>
164
+ </div>
165
+ </div>
166
+ <?php endif; ?>
app/design/frontend/modulesgarden/crystal/template/catalog/product/list/related.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 base_default
23
+ * @copyright Copyright (c) 2014 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="block block-related">
29
+ <div class="block-title">
30
+ <strong><span><?php echo $this->__('Related Products') ?></span></strong>
31
+ </div>
32
+ <div class="block-content">
33
+ <p class="block-subtitle"><?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></p>
34
+ <ol class="mini-products-list" id="block-related">
35
+ <?php foreach($this->getItems() as $_item): ?>
36
+ <li class="item">
37
+ <?php if(!$_item->isComposite() && $_item->isSaleable()): ?>
38
+ <?php if (!$_item->getRequiredOptions()): ?>
39
+ <input type="checkbox" class="checkbox related-checkbox" id="related-checkbox<?php echo $_item->getId() ?>" name="related_products[]" value="<?php echo $_item->getId() ?>" />
40
+ <?php endif; ?>
41
+ <?php endif; ?>
42
+ <div class="product">
43
+ <a href="<?php echo $_item->getProductUrl() ?>" title="<?php echo $this->escapeHtml($_item->getName()) ?>" class="product-image"><img src="<?php echo $this->helper('catalog/image')->init($_item, 'thumbnail')->resize(50) ?>" width="50" height="50" alt="<?php echo $this->escapeHtml($_item->getName()) ?>" /></a>
44
+ <div class="product-details">
45
+ <p class="product-name"><a href="<?php echo $_item->getProductUrl() ?>"><?php echo $this->escapeHtml($_item->getName()) ?></a></p>
46
+ <?php echo $this->getPriceHtml($_item, true, '-related') ?>
47
+ <?php if ($this->helper('wishlist')->isAllow()) : ?>
48
+ <a href="<?php echo $this->getAddToWishlistUrl($_item) ?>" class="link-wishlist"><?php echo $this->__('Add to Wishlist') ?></a>
49
+ <?php endif; ?>
50
+ </div>
51
+ </div>
52
+ </li>
53
+ <?php endforeach ?>
54
+ </ol>
55
+ <script type="text/javascript">decorateList('block-related', 'none-recursive')</script>
56
+ </div>
57
+ <script type="text/javascript">
58
+ //<![CDATA[
59
+ $$('.related-checkbox').each(function(elem){
60
+ Event.observe(elem, 'click', addRelatedToProduct)
61
+ });
62
+
63
+ var relatedProductsCheckFlag = false;
64
+ function selectAllRelated(txt){
65
+ if (relatedProductsCheckFlag == false) {
66
+ $$('.related-checkbox').each(function(elem){
67
+ elem.checked = true;
68
+ });
69
+ relatedProductsCheckFlag = true;
70
+ txt.innerHTML="<?php echo $this->__('unselect all') ?>";
71
+ } else {
72
+ $$('.related-checkbox').each(function(elem){
73
+ elem.checked = false;
74
+ });
75
+ relatedProductsCheckFlag = false;
76
+ txt.innerHTML="<?php echo $this->__('select all') ?>";
77
+ }
78
+ addRelatedToProduct();
79
+ }
80
+
81
+ function addRelatedToProduct(){
82
+ var checkboxes = $$('.related-checkbox');
83
+ var values = [];
84
+ for(var i=0;i<checkboxes.length;i++){
85
+ if(checkboxes[i].checked) values.push(checkboxes[i].value);
86
+ }
87
+ if($('related-products-field')){
88
+ $('related-products-field').value = values.join(',');
89
+ }
90
+ }
91
+ //]]>
92
+ </script>
93
+ </div>
94
+ <?php endif ?>
app/design/frontend/modulesgarden/crystal/template/catalog/product/list/toolbar.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 base_default
23
+ * @copyright Copyright (c) 2013 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 $imgStyle = Mage::getStoreConfig('mgthemecrystal/main/colorscheme');
35
+ if ( $imgStyle == 'blue'){
36
+ $img = '_blue';
37
+ }elseif ($imgStyle == 'red') {
38
+ $img = '_red';
39
+ }else {
40
+ $img = '';
41
+ }
42
+ ?>
43
+ <?php if($this->getCollection()->getSize()): ?>
44
+ <div class="toolbar">
45
+ <div class="pager">
46
+ <p class="amount">
47
+ <?php if($this->getLastPageNum()>1): ?>
48
+ <?php echo $this->__('Items %s to %s of %s total', $this->getFirstNum(), $this->getLastNum(), $this->getTotalNum()) ?>
49
+ <?php else: ?>
50
+ <strong><?php echo $this->__('%s Item(s)', $this->getTotalNum()) ?></strong>
51
+ <?php endif; ?>
52
+ </p>
53
+
54
+ <div class="limiter">
55
+ <label><?php echo $this->__('Show') ?></label>
56
+ <select onchange="setLocation(this.value)">
57
+ <?php foreach ($this->getAvailableLimit() as $_key=>$_limit): ?>
58
+ <option value="<?php echo $this->getLimitUrl($_key) ?>"<?php if($this->isLimitCurrent($_key)): ?> selected="selected"<?php endif ?>>
59
+ <?php echo $_limit ?>
60
+ </option>
61
+ <?php endforeach; ?>
62
+ </select> <?php echo $this->__('per page') ?>
63
+ </div>
64
+
65
+ <?php echo $this->getPagerHtml() ?>
66
+
67
+ </div>
68
+
69
+ <?php if( $this->isExpanded() ): ?>
70
+ <div class="sorter">
71
+ <?php if( $this->isEnabledViewSwitcher() ): ?>
72
+ <p class="view-mode">
73
+ <?php $_modes = $this->getModes(); ?>
74
+ <?php if($_modes && count($_modes)>1): ?>
75
+ <?php foreach ($this->getModes() as $_code=>$_label): ?>
76
+ <?php if($this->isModeActive($_code)){ ?>
77
+ <?php if($_code == 'grid'){ ?>
78
+ <a href="<?php echo $this->getModeUrl($_code) ?>" title="<?php echo $_label ?>" class="<?php echo strtolower($_code); ?>">
79
+ <img src="<?php echo $this->getSkinUrl('images/grid'.$img.'.png'); ?>"/>
80
+ </a>
81
+ <?php }elseif($_code == 'list'){ ?>
82
+ <a href="<?php echo $this->getModeUrl($_code) ?>" title="<?php echo $_label ?>" class="<?php echo strtolower($_code); ?>">
83
+ <img src="<?php echo $this->getSkinUrl('images/list'.$img.'.png'); ?>"/>
84
+ </a>
85
+ <?php } ?>
86
+ <?php }else{ ?>
87
+ <?php if($_code == 'grid'){ ?>
88
+ <a href="<?php echo $this->getModeUrl($_code) ?>" title="<?php echo $_label ?>" class="<?php echo strtolower($_code); ?>">
89
+ <img src="<?php echo $this->getSkinUrl('images/grid_n.png'); ?>"/>
90
+ </a>
91
+ <?php }elseif($_code == 'list'){ ?>
92
+ <a href="<?php echo $this->getModeUrl($_code) ?>" title="<?php echo $_label ?>" class="<?php echo strtolower($_code); ?>">
93
+ <img src="<?php echo $this->getSkinUrl('images/list_n.png'); ?>"/>
94
+ </a>
95
+ <?php } ?>
96
+ <?php } ?>
97
+ <?php endforeach; ?>
98
+ <?php endif; ?>
99
+ </p>
100
+ <?php endif; ?>
101
+
102
+ <div class="sort-by">
103
+ <label><?php echo $this->__('Sort By') ?></label>
104
+ <select onchange="setLocation(this.value)">
105
+ <?php foreach($this->getAvailableOrders() as $_key=>$_order): ?>
106
+ <option value="<?php echo $this->getOrderUrl($_key, 'asc') ?>"<?php if($this->isOrderCurrent($_key)): ?> selected="selected"<?php endif; ?>>
107
+ <?php echo $this->__($_order) ?>
108
+ </option>
109
+ <?php endforeach; ?>
110
+ </select>
111
+ <?php if($this->getCurrentDirection() == 'desc'): ?>
112
+ <a href="<?php echo $this->getOrderUrl(null, 'asc') ?>" title="<?php echo $this->__('Set Ascending Direction') ?>"><img src="<?php echo $this->getSkinUrl('images/i_desc_arrow'.$img.'.png') ?>" alt="<?php echo $this->__('Set Ascending Direction') ?>" class="v-middle" /></a>
113
+ <?php else: ?>
114
+ <a href="<?php echo $this->getOrderUrl(null, 'desc') ?>" title="<?php echo $this->__('Set Descending Direction') ?>"><img src="<?php echo $this->getSkinUrl('images/i_asc_arrow'.$img.'.png') ?>" alt="<?php echo $this->__('Set Descending Direction') ?>" class="v-middle" /></a>
115
+ <?php endif; ?>
116
+ </div>
117
+ </div>
118
+ <?php endif; ?>
119
+ </div>
120
+ <?php endif ?>
app/design/frontend/modulesgarden/crystal/template/catalog/product/list/upsell.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 base_default
23
+ * @copyright Copyright (c) 2014 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 $_helper = $this->helper('catalog/output'); ?>
28
+ <?php if(count($this->getItemCollection()->getItems())): ?>
29
+ <div class="box-collateral box-up-sell">
30
+ <h2><?php echo $this->__('Similar products') ?></h2>
31
+ <?php // $this->setColumnCount(5); // uncomment this line if you want to have another number of columns. also can be changed in layout ?>
32
+ <?php $_columnCount = $this->getColumnCount(); ?>
33
+ <?php $this->resetItemsIterator() ?>
34
+ <?php for($_i=0;$_i<$this->getRowCount();$_i++): ?>
35
+ <ul class="products-grid" id="upsell-product-table">
36
+ <?php for($_j=0;$_j<$this->getColumnCount();$_j++): ?>
37
+ <?php if($_link=$this->getIterableItem()): ?>
38
+ <li class="item<?php if($_j==0): ?> first<?php elseif($_j==3): ?> last<?php endif; ?>">
39
+ <div class="product_img_container">
40
+ <a href="<?php echo $_link->getProductUrl() ?>" title="<?php echo $this->stripTags($this->getImageLabel($_product, 'small_image'), null, true) ?>" class="product-image"><img src="<?php echo $this->helper('catalog/image')->init($_link, 'small_image')->resize(277); ?>" width="277" height="277" alt="<?php echo $this->stripTags($this->getImageLabel($_product, 'small_image'), null, true) ?>" /></a>
41
+ <a href="<?php echo $_link->getProductUrl() ?>" class="hover view_more"><?php echo $this->__('View product') ?></a>
42
+ </div>
43
+ <div class="gird_prod_desc">
44
+ <h2 class="product-name"><a href="<?php echo $_link->getProductUrl() ?>" title="<?php echo $this->escapeHtml($_link->getName()) ?>"><?php echo $this->escapeHtml($_link->getName()) ?></a></h2>
45
+
46
+ <?php echo $this->getPriceHtml($_link, true, '-upsell') ?>
47
+ <div class="actions">
48
+ <?php if($_link->isSaleable()): ?>
49
+ <button type="button" title="<?php echo $this->__('Add to Cart') ?>" class="btn-cart hover" onclick="setLocation('<?php echo $this->getAddToCartUrl($_link) ?>')"></button>
50
+ <?php else: ?>
51
+ <p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
52
+ <?php endif; ?>
53
+ <?php if ($this->helper('wishlist')->isAllow()) : ?>
54
+ <a href="<?php echo $this->helper('wishlist')->getAddUrl($_link) ?>" class="wishlist_icon hover"></a>
55
+ <?php endif; ?>
56
+ <ul class="add-to-links">
57
+ <?php if($_compareUrl=$this->getAddToCompareUrl($_link)): ?>
58
+ <li><span class="separator">|</span> <a href="<?php echo $_compareUrl ?>" class="link-compare"><?php echo $this->__('Add to Compare') ?></a></li>
59
+ <?php endif; ?>
60
+ </ul>
61
+ </div>
62
+ </div>
63
+ </li>
64
+ <?php else: ?>
65
+ <td class="empty">&nbsp;</td>
66
+ <?php endif; ?>
67
+ <?php endfor; ?>
68
+ </ul>
69
+ <?php endfor; ?>
70
+ <script type="text/javascript">decorateTable('upsell-product-table')</script>
71
+ </div>
72
+ <?php endif ?>
app/design/frontend/modulesgarden/crystal/template/catalog/product/new.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 base_default
23
+ * @copyright Copyright (c) 2014 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 id="new-container">
29
+ <h2 class="subtitle"><?php echo $this->__('New Products') ?></h2>
30
+ <div class="customNavigation">
31
+ <a class="btn prev3"></a>
32
+ <a class="btn next3"></a>
33
+ </div>
34
+ <?php $_columnCount = $this->getColumnCount(); ?>
35
+ <div id="owl-new" class="owl-carousel products-grid">
36
+ <?php $i=0; foreach ($_products->getItems() as $_product): ?>
37
+ <?php if ($i++%$_columnCount==0): ?>
38
+ <?php endif ?>
39
+ <div class="item<?php if(($i-1)%$_columnCount==0): ?> first<?php elseif($i%$_columnCount==0): ?> last<?php endif; ?>">
40
+ <div class="product_img_container">
41
+ <a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->escapeHtml($_product->getName()) ?>" class="product-image">
42
+ <img src="<?php echo $this->helper('catalog/image')->init($_product, 'small_image')->resize(277) ?>" width="277" height="2" alt="<?php echo $this->escapeHtml($_product->getName()) ?>" />
43
+ </a>
44
+ <a href="<?php echo $_product->getProductUrl() ?>" class="hover view_more"><?php echo $this->__('View product') ?></a>
45
+ </div>
46
+ <h3 class="product-name"><a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->escapeHtml($_product->getName()) ?>"><?php echo $this->escapeHtml($_product->getName()) ?></a></h3>
47
+ <?php echo $this->getPriceHtml($_product, true, '-new') ?>
48
+ <div class="actions">
49
+ <?php if($_product->isSaleable()): ?>
50
+ <button type="button" title="<?php echo $this->__('Add to Cart') ?>" class="btn-cart hover" onclick="setLocation('<?php echo $this->getAddToCartUrl($_product) ?>')"></button>
51
+ <?php else: ?>
52
+ <p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
53
+ <?php endif; ?>
54
+ <?php if ($this->helper('wishlist')->isAllow()) : ?>
55
+ <a href="<?php echo $this->helper('wishlist')->getAddUrl($_product) ?>" class="wishlist_icon hover"></a>
56
+ <?php endif; ?>
57
+ <ul class="add-to-links">
58
+ <?php if ($_compareUrl = $this->getAddToCompareUrl($_product)): ?>
59
+ <li><span class="separator">|</span> <a href="<?php echo $_compareUrl ?>" class="link-compare"><?php echo $this->__('Add to Compare') ?></a></li>
60
+ <?php endif; ?>
61
+ </ul>
62
+ </div>
63
+ </div>
64
+ <?php if ($i%$_columnCount==0 || $i==count($_products)): ?>
65
+ <?php endif ?>
66
+ <?php endforeach; ?>
67
+ </div>
68
+ <?php endif; ?>
69
+ </div>
app/design/frontend/modulesgarden/crystal/template/catalog/product/price.phtml ADDED
@@ -0,0 +1,471 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 base_default
23
+ * @copyright Copyright (c) 2014 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
+ <?php
36
+ $_coreHelper = $this->helper('core');
37
+ $_weeeHelper = $this->helper('weee');
38
+ $_taxHelper = $this->helper('tax');
39
+ /* @var $_coreHelper Mage_Core_Helper_Data */
40
+ /* @var $_weeeHelper Mage_Weee_Helper_Data */
41
+ /* @var $_taxHelper Mage_Tax_Helper_Data */
42
+
43
+ $_product = $this->getProduct();
44
+ $_storeId = $_product->getStoreId();
45
+ $_store = $_product->getStore();
46
+ $_id = $_product->getId();
47
+ $_weeeSeparator = '';
48
+ $_simplePricesTax = ($_taxHelper->displayPriceIncludingTax() || $_taxHelper->displayBothPrices());
49
+ $_minimalPriceValue = $_product->getMinimalPrice();
50
+ $_minimalPriceValue = $_store->roundPrice($_store->convertPrice($_minimalPriceValue));
51
+ $_minimalPrice = $_taxHelper->getPrice($_product, $_minimalPriceValue, $_simplePricesTax);
52
+ $_convertedFinalPrice = $_store->roundPrice($_store->convertPrice($_product->getFinalPrice()));
53
+ $_specialPriceStoreLabel = $this->getProductAttribute('special_price') ? $this->getProductAttribute('special_price')->getStoreLabel() : '';
54
+ ?>
55
+
56
+ <?php if (!$_product->isGrouped()): ?>
57
+ <?php $_weeeTaxAmount = $_weeeHelper->getAmountForDisplay($_product); ?>
58
+ <?php $_weeeTaxAttributes = $_weeeHelper->getProductWeeeAttributesForRenderer($_product, null, null, null, true); ?>
59
+ <?php $_weeeTaxAmountInclTaxes = $_weeeTaxAmount; ?>
60
+ <?php if ($_weeeHelper->isTaxable()): ?>
61
+ <?php $_weeeTaxAmountInclTaxes = $_weeeHelper->getAmountInclTaxes($_weeeTaxAttributes); ?>
62
+ <?php endif; ?>
63
+ <?php $_weeeTaxAmount = $_store->roundPrice($_store->convertPrice($_weeeTaxAmount)); ?>
64
+ <?php $_weeeTaxAmountInclTaxes = $_store->roundPrice($_store->convertPrice($_weeeTaxAmountInclTaxes)); ?>
65
+
66
+ <div class="price-box">
67
+ <?php $_convertedPrice = $_store->roundPrice($_store->convertPrice($_product->getPrice())); ?>
68
+ <?php $_price = $_taxHelper->getPrice($_product, $_convertedPrice); ?>
69
+ <?php $_regularPrice = $_taxHelper->getPrice($_product, $_convertedPrice, $_simplePricesTax); ?>
70
+ <?php $_finalPrice = $_taxHelper->getPrice($_product, $_convertedFinalPrice) ?>
71
+ <?php $_finalPriceInclTax = $_taxHelper->getPrice($_product, $_convertedFinalPrice, true) ?>
72
+ <?php $_weeeDisplayType = $_weeeHelper->getPriceDisplayType(); ?>
73
+ <?php if ($_finalPrice >= $_price): ?>
74
+ <?php if ($_taxHelper->displayBothPrices()): ?>
75
+ <?php if ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, 0)): // including ?>
76
+ <span class="price-excluding-tax">
77
+ <span class="label"><?php echo $this->helper('tax')->__('Excl. Tax:') ?></span>
78
+ <span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
79
+ <?php echo $_coreHelper->formatPrice($_price + $_weeeTaxAmount, false) ?>
80
+ </span>
81
+ </span>
82
+ <span class="price-including-tax">
83
+ <span class="label"><?php echo $this->helper('tax')->__('Incl. Tax:') ?></span>
84
+ <span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
85
+ <?php echo $_coreHelper->formatPrice($_finalPriceInclTax + $_weeeTaxAmountInclTaxes, false) ?>
86
+ </span>
87
+ </span>
88
+ <?php elseif ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, 1)): // incl. + weee ?>
89
+ <span class="price-excluding-tax">
90
+ <span class="label"><?php echo $this->helper('tax')->__('Excl. Tax:') ?></span>
91
+ <span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
92
+ <?php echo $_coreHelper->formatPrice($_price + $_weeeTaxAmount, false) ?>
93
+ </span>
94
+ </span>
95
+ <span class="weee">(
96
+ <?php foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
97
+ <?php echo $_weeeSeparator; ?>
98
+ <?php echo $_weeeTaxAttribute->getName(); ?>: <?php echo $_coreHelper->currency($_weeeTaxAttribute->getAmount(), true, true); ?>
99
+ <?php $_weeeSeparator = ' + '; ?>
100
+ <?php endforeach; ?>
101
+ )</span>
102
+ <span class="price-including-tax">
103
+ <span class="label"><?php echo $this->helper('tax')->__('Incl. Tax:') ?></span>
104
+ <span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
105
+ <?php echo $_coreHelper->formatPrice($_finalPriceInclTax + $_weeeTaxAmountInclTaxes, false) ?>
106
+ </span>
107
+ </span>
108
+ <?php elseif ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, 4)): // incl. + weee ?>
109
+ <span class="price-excluding-tax">
110
+ <span class="label"><?php echo $this->helper('tax')->__('Excl. Tax:') ?></span>
111
+ <span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
112
+ <?php echo $_coreHelper->formatPrice($_price + $_weeeTaxAmount, false) ?>
113
+ </span>
114
+ </span>
115
+ <span class="price-including-tax">
116
+ <span class="label"><?php echo $this->helper('tax')->__('Incl. Tax:') ?></span>
117
+ <span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
118
+ <?php echo $_coreHelper->formatPrice($_finalPriceInclTax + $_weeeTaxAmountInclTaxes, false) ?>
119
+ </span>
120
+ <span class="weee">(
121
+ <?php foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
122
+ <?php echo $_weeeSeparator; ?>
123
+ <?php echo $_weeeTaxAttribute->getName(); ?>: <?php echo $_coreHelper->currency($_weeeTaxAttribute->getAmount() + $_weeeTaxAttribute->getTaxAmount(), true, true); ?>
124
+ <?php $_weeeSeparator = ' + '; ?>
125
+ <?php endforeach; ?>
126
+ )</span>
127
+ </span>
128
+ <?php elseif ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, 2)): // excl. + weee + final ?>
129
+ <span class="price-excluding-tax">
130
+ <span class="label"><?php echo $this->helper('tax')->__('Excl. Tax:') ?></span>
131
+ <span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
132
+ <?php echo $_coreHelper->formatPrice($_price, false) ?>
133
+ </span>
134
+ </span>
135
+ <?php foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
136
+ <span class="weee">
137
+ <?php echo $_weeeTaxAttribute->getName(); ?>
138
+ : <?php echo $_coreHelper->currency($_weeeTaxAttribute->getAmount() + $_weeeTaxAttribute->getTaxAmount(), true, true); ?>
139
+ </span>
140
+ <?php endforeach; ?>
141
+ <span class="price-including-tax">
142
+ <span class="label"><?php echo $this->helper('tax')->__('Incl. Tax:') ?></span>
143
+ <span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
144
+ <?php echo $_coreHelper->formatPrice($_finalPriceInclTax + $_weeeTaxAmountInclTaxes, false) ?>
145
+ </span>
146
+ </span>
147
+ <?php else: ?>
148
+ <span class="price-excluding-tax">
149
+ <span class="label"><?php echo $this->helper('tax')->__('Excl. Tax:') ?></span>
150
+ <span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
151
+ <?php if ($_finalPrice == $_price): ?>
152
+ <?php echo $_coreHelper->formatPrice($_price, false) ?>
153
+ <?php else: ?>
154
+ <?php echo $_coreHelper->formatPrice($_finalPrice, false) ?>
155
+ <?php endif; ?>
156
+ </span>
157
+ </span>
158
+ <span class="price-including-tax">
159
+ <span class="label"><?php echo $this->helper('tax')->__('Incl. Tax:') ?></span>
160
+ <span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
161
+ <?php echo $_coreHelper->formatPrice($_finalPriceInclTax, false) ?>
162
+ </span>
163
+ </span>
164
+ <?php endif; ?>
165
+ <?php else: ?>
166
+ <?php if ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, array(0, 1))): // including ?>
167
+ <?php $weeeAmountToDisplay = $_taxHelper->displayPriceIncludingTax() ? $_weeeTaxAmountInclTaxes : $_weeeTaxAmount ?>
168
+ <span class="regular-price" id="product-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
169
+ <?php echo $_coreHelper->currency($_price + $weeeAmountToDisplay, true, true) ?>
170
+ </span>
171
+
172
+ <?php if ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, 1)): // show description ?>
173
+ <span class="weee">(
174
+ <?php foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
175
+ <?php echo $_weeeSeparator; ?>
176
+ <?php echo $_weeeTaxAttribute->getName(); ?>
177
+ : <?php echo $_coreHelper->currency($_weeeTaxAttribute->getAmount() + ($_taxHelper->displayPriceIncludingTax() ? $_weeeTaxAttribute->getTaxAmount() : 0), true, true); ?>
178
+ <?php $_weeeSeparator = ' + '; ?>
179
+ <?php endforeach; ?>
180
+ )</span>
181
+ <?php endif; ?>
182
+ <?php elseif ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, 4)): // incl. + weee ?>
183
+ <span class="regular-price" id="product-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
184
+ <?php echo $_coreHelper->formatPrice($_price + $_weeeTaxAmount, true) ?>
185
+ </span>
186
+ <span class="weee">(
187
+ <?php foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
188
+ <?php echo $_weeeSeparator; ?>
189
+ <?php echo $_weeeTaxAttribute->getName(); ?>: <?php echo $_coreHelper->currency($_weeeTaxAttribute->getAmount() + $_weeeTaxAttribute->getTaxAmount(), true, true); ?>
190
+ <?php $_weeeSeparator = ' + '; ?>
191
+ <?php endforeach; ?>
192
+ )</span>
193
+ <?php elseif ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, 2)): // excl. + weee + final ?>
194
+ <span class="regular-price"><?php echo $_coreHelper->formatPrice($_price, true) ?></span><br/>
195
+ <?php $weeeAmountToDisplay = $_taxHelper->displayPriceIncludingTax() ? $_weeeTaxAmountInclTaxes : $_weeeTaxAmount ?>
196
+ <?php foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
197
+ <span class="weee">
198
+ <?php echo $_weeeTaxAttribute->getName(); ?>
199
+ : <?php echo $_coreHelper->currency($_weeeTaxAttribute->getAmount() + ($_taxHelper->displayPriceIncludingTax() ? $_weeeTaxAttribute->getTaxAmount() : 0), true, true); ?>
200
+ </span>
201
+ <?php endforeach; ?>
202
+ <span class="regular-price"
203
+ id="product-price-weee-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
204
+ <?php echo $_coreHelper->currency($_price + $weeeAmountToDisplay, true, true) ?>
205
+ </span>
206
+ <?php else: ?>
207
+ <span class="regular-price" id="product-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
208
+ <?php if ($_finalPrice == $_price): ?>
209
+ <?php echo $_coreHelper->formatPrice($_price, true) ?>
210
+ <?php else: ?>
211
+ <?php echo $_coreHelper->formatPrice($_finalPrice, true) ?>
212
+ <?php endif; ?>
213
+ </span>
214
+ <?php endif; ?>
215
+ <?php endif; ?>
216
+ <?php else: /* if ($_finalPrice == $_price): */ ?>
217
+ <?php $_originalWeeeTaxAmount = $_weeeHelper->getOriginalAmount($_product); ?>
218
+ <?php $_originalWeeeTaxAmount = $_store->roundPrice($_store->convertPrice($_originalWeeeTaxAmount)) ?>
219
+
220
+ <?php if ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, 0)): // including ?>
221
+ <p class="old-price">
222
+ <span class="price-label"><?php echo $this->__('Regular Price:') ?></span>
223
+ <span class="price" id="old-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
224
+ <?php echo $_coreHelper->formatPrice($_regularPrice + $_originalWeeeTaxAmount, false) ?>
225
+ </span>
226
+ </p>
227
+
228
+ <?php if ($_taxHelper->displayBothPrices()): ?>
229
+ <p class="special-price">
230
+ <span class="price-label"><?php echo $_specialPriceStoreLabel ?></span>
231
+ <span class="price-excluding-tax">
232
+ <span class="label"><?php echo $this->helper('tax')->__('Excl. Tax:') ?></span>
233
+ <span class="price"
234
+ id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
235
+ <?php echo $_coreHelper->formatPrice($_finalPrice + $_weeeTaxAmount, false) ?>
236
+ </span>
237
+ </span>
238
+ <span class="price-including-tax">
239
+ <span class="label"><?php echo $this->helper('tax')->__('Incl. Tax:') ?></span>
240
+ <span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
241
+ <?php echo $_coreHelper->formatPrice($_finalPriceInclTax + $_weeeTaxAmountInclTaxes, false) ?>
242
+ </span>
243
+ </span>
244
+ </p>
245
+ <?php else: ?>
246
+ <p class="special-price">
247
+ <span class="price-label"><?php echo $_specialPriceStoreLabel ?></span>
248
+ <span class="price" id="product-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
249
+ <?php echo $_coreHelper->formatPrice($_finalPrice + $_weeeTaxAmountInclTaxes, false) ?>
250
+ </span>
251
+ </p>
252
+ <?php endif; ?>
253
+
254
+ <?php elseif ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, 1)): // incl. + weee ?>
255
+ <p class="old-price">
256
+ <span class="price-label"><?php echo $this->__('Regular Price:') ?></span>
257
+ <span class="price" id="old-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
258
+ <?php echo $_coreHelper->formatPrice($_regularPrice + $_originalWeeeTaxAmount, false) ?>
259
+ </span>
260
+ </p>
261
+
262
+ <p class="special-price">
263
+ <?php if ($_taxHelper->displayBothPrices()): ?>
264
+ <span class="price-label"><?php echo $_specialPriceStoreLabel ?></span>
265
+ <span class="price-excluding-tax">
266
+ <span class="label"><?php echo $this->helper('tax')->__('Excl. Tax:') ?></span>
267
+ <span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
268
+ <?php echo $_coreHelper->formatPrice($_finalPrice + $_weeeTaxAmount, false) ?>
269
+ </span>
270
+ </span>
271
+ <span class="weee">(
272
+ <?php foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
273
+ <?php echo $_weeeSeparator; ?>
274
+ <?php echo $_weeeTaxAttribute->getName(); ?>
275
+ : <?php echo $_coreHelper->currency($_weeeTaxAttribute->getAmount(), true, true); ?>
276
+ <?php $_weeeSeparator = ' + '; ?>
277
+ <?php endforeach; ?>
278
+ )</span>
279
+ <span class="price-including-tax">
280
+ <span class="label"><?php echo $this->helper('tax')->__('Incl. Tax:') ?></span>
281
+ <span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
282
+ <?php echo $_coreHelper->formatPrice($_finalPriceInclTax + $_weeeTaxAmountInclTaxes, false) ?>
283
+ </span>
284
+ </span>
285
+ <?php else: ?>
286
+ <p class="special-price">
287
+ <span class="price-label"><?php echo $this->__('Special Price:') ?></span>
288
+ <span class="price" id="product-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
289
+ <?php echo $_coreHelper->formatPrice($_finalPrice + $_weeeTaxAmountInclTaxes, false) ?>
290
+ </span>
291
+ </p>
292
+ <span class="weee">(
293
+ <?php foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
294
+ <?php echo $_weeeSeparator; ?>
295
+ <?php echo $_weeeTaxAttribute->getName(); ?>
296
+ : <?php echo $_coreHelper->currency($_weeeTaxAttribute->getAmount(), true, true); ?>
297
+ <?php $_weeeSeparator = ' + '; ?>
298
+ <?php endforeach; ?>
299
+ )</span>
300
+ <?php endif; ?>
301
+ </p>
302
+ <?php elseif ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, 4)): // incl. + weee ?>
303
+ <p class="old-price">
304
+ <span class="price-label"><?php echo $this->__('Regular Price:') ?></span>
305
+ <span class="price" id="old-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
306
+ <?php echo $_coreHelper->formatPrice($_regularPrice + $_originalWeeeTaxAmount, false) ?>
307
+ </span>
308
+ </p>
309
+
310
+ <p class="special-price">
311
+ <span class="price-label"><?php echo $_specialPriceStoreLabel ?></span>
312
+ <span class="price-excluding-tax">
313
+ <span class="label"><?php echo $this->helper('tax')->__('Excl. Tax:') ?></span>
314
+ <span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
315
+ <?php echo $_coreHelper->formatPrice($_finalPrice + $_weeeTaxAmount, false) ?>
316
+ </span>
317
+ </span>
318
+ <span class="weee">(
319
+ <?php foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
320
+ <?php echo $_weeeSeparator; ?>
321
+ <?php echo $_weeeTaxAttribute->getName(); ?>: <?php echo $_coreHelper->currency($_weeeTaxAttribute->getAmount() + $_weeeTaxAttribute->getTaxAmount(), true, true); ?>
322
+ <?php $_weeeSeparator = ' + '; ?>
323
+ <?php endforeach; ?>
324
+ )</span>
325
+ <span class="price-including-tax">
326
+ <span class="label"><?php echo $this->helper('tax')->__('Incl. Tax:') ?></span>
327
+ <span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
328
+ <?php echo $_coreHelper->formatPrice($_finalPriceInclTax + $_weeeTaxAmountInclTaxes, false) ?>
329
+ </span>
330
+ </span>
331
+ </p>
332
+ <?php elseif ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, 2)): // excl. + weee + final ?>
333
+ <p class="old-price">
334
+ <span class="price-label"><?php echo $this->__('Regular Price:') ?></span>
335
+ <span class="price" id="old-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
336
+ <?php echo $_coreHelper->formatPrice($_regularPrice, false) ?>
337
+ </span>
338
+ </p>
339
+
340
+ <p class="special-price">
341
+ <span class="price-label"><?php echo $_specialPriceStoreLabel ?></span>
342
+ <span class="price-excluding-tax">
343
+ <span class="label"><?php echo $this->helper('tax')->__('Excl. Tax:') ?></span>
344
+ <span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
345
+ <?php echo $_coreHelper->formatPrice($_finalPrice, false) ?>
346
+ </span>
347
+ </span>
348
+ <?php foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
349
+ <span class="weee">
350
+ <?php echo $_weeeTaxAttribute->getName(); ?>
351
+ : <?php echo $_coreHelper->currency($_weeeTaxAttribute->getAmount(), true, true); ?>
352
+ </span>
353
+ <?php endforeach; ?>
354
+ <span class="price-including-tax">
355
+ <span class="label"><?php echo $this->helper('tax')->__('Incl. Tax:') ?></span>
356
+ <span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
357
+ <?php echo $_coreHelper->formatPrice($_finalPriceInclTax + $_weeeTaxAmountInclTaxes, false) ?>
358
+ </span>
359
+ </span>
360
+ </p>
361
+ <?php else: // excl. ?>
362
+ <p class="old-price">
363
+ <span class="price-label"><?php echo $this->__('Regular Price:') ?></span>
364
+ <span class="price" id="old-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
365
+ <?php echo $_coreHelper->formatPrice($_regularPrice, false) ?>
366
+ </span>
367
+ </p>
368
+
369
+ <?php if ($_taxHelper->displayBothPrices()): ?>
370
+ <p class="special-price">
371
+ <span class="price-label"><?php echo $_specialPriceStoreLabel ?></span>
372
+ <span class="price-excluding-tax">
373
+ <span class="label"><?php echo $this->helper('tax')->__('Excl. Tax:') ?></span>
374
+ <span class="price"
375
+ id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
376
+ <?php echo $_coreHelper->formatPrice($_finalPrice, false) ?>
377
+ </span>
378
+ </span>
379
+ <span class="price-including-tax">
380
+ <span class="label"><?php echo $this->helper('tax')->__('Incl. Tax:') ?></span>
381
+ <span class="price"
382
+ id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
383
+ <?php echo $_coreHelper->formatPrice($_finalPriceInclTax, false) ?>
384
+ </span>
385
+ </span>
386
+ </p>
387
+ <?php else: ?>
388
+ <p class="special-price">
389
+ <span class="price-label"><?php echo $_specialPriceStoreLabel ?></span>
390
+ <span class="price" id="product-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
391
+ <?php echo $_coreHelper->formatPrice($_finalPrice, false) ?>
392
+ </span>
393
+ </p>
394
+ <?php endif; ?>
395
+ <?php endif; ?>
396
+
397
+ <?php endif; /* if ($_finalPrice == $_price): */ ?>
398
+
399
+ <?php if ($this->getDisplayMinimalPrice() && $_minimalPriceValue && $_minimalPriceValue < $_convertedFinalPrice): ?>
400
+
401
+ <?php $_minimalPriceDisplayValue = $_minimalPrice; ?>
402
+ <?php if ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, array(0, 1, 4))): ?>
403
+ <?php $_minimalPriceDisplayValue = $_minimalPrice + $_weeeTaxAmount; ?>
404
+ <?php endif; ?>
405
+
406
+ <?php if ($this->getUseLinkForAsLowAs()): ?>
407
+ <a href="<?php echo $_product->getProductUrl(); ?>" class="minimal-price-link">
408
+ <?php else: ?>
409
+ <span class="minimal-price-link">
410
+ <?php endif ?>
411
+ <span class="label"><?php echo $this->__('As low as:') ?></span>
412
+ <span class="price" id="product-minimal-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
413
+ <?php echo $_coreHelper->formatPrice($_minimalPriceDisplayValue, false) ?>
414
+ </span>
415
+ <?php if ($this->getUseLinkForAsLowAs()): ?>
416
+ </a>
417
+ <?php else: ?>
418
+ </span>
419
+ <?php endif ?>
420
+ <?php endif; /* if ($this->getDisplayMinimalPrice() && $_minimalPrice && $_minimalPrice < $_finalPrice): */ ?>
421
+ </div>
422
+
423
+ <?php else: /* if (!$_product->isGrouped()): */ ?>
424
+ <?php
425
+ $showMinPrice = $this->getDisplayMinimalPrice();
426
+ if ($showMinPrice && $_minimalPriceValue) {
427
+ $_exclTax = $_taxHelper->getPrice($_product, $_minimalPriceValue);
428
+ $_inclTax = $_taxHelper->getPrice($_product, $_minimalPriceValue, true);
429
+ $price = $showMinPrice ? $_minimalPriceValue : 0;
430
+ } else {
431
+ $price = $_convertedFinalPrice;
432
+ $_exclTax = $_taxHelper->getPrice($_product, $price);
433
+ $_inclTax = $_taxHelper->getPrice($_product, $price, true);
434
+ }
435
+ ?>
436
+ <?php if ($price): ?>
437
+ <div class="price-box">
438
+ <p<?php if ($showMinPrice): ?> class="minimal-price"<?php endif ?>>
439
+ <?php if ($showMinPrice): ?>
440
+ <span class="price-label"><?php echo $this->__('Starting at:') ?></span>
441
+ <?php endif ?>
442
+ <?php if ($_taxHelper->displayBothPrices()): ?>
443
+ <span class="price-excluding-tax">
444
+ <span class="label"><?php echo $this->helper('tax')->__('Excl. Tax:') ?></span>
445
+ <span class="price"
446
+ id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
447
+ <?php echo $_coreHelper->formatPrice($_exclTax, false) ?>
448
+ </span>
449
+ </span>
450
+ <span class="price-including-tax">
451
+ <span class="label"><?php echo $this->helper('tax')->__('Incl. Tax:') ?></span>
452
+ <span class="price"
453
+ id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
454
+ <?php echo $_coreHelper->formatPrice($_inclTax, false) ?>
455
+ </span>
456
+ </span>
457
+ <?php else: ?>
458
+ <?php
459
+ $_showPrice = $_inclTax;
460
+ if (!$_taxHelper->displayPriceIncludingTax()) {
461
+ $_showPrice = $_exclTax;
462
+ }
463
+ ?>
464
+ <span class="price" id="product-minimal-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
465
+ <?php echo $_coreHelper->formatPrice($_showPrice, false) ?>
466
+ </span>
467
+ <?php endif; ?>
468
+ </p>
469
+ </div>
470
+ <?php endif; /* if ($this->getDisplayMinimalPrice() && $_minimalPrice): */ ?>
471
+ <?php endif; /* if (!$_product->isGrouped()): */ ?>
app/design/frontend/modulesgarden/crystal/template/catalog/product/view.phtml ADDED
@@ -0,0 +1,192 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 base_default
23
+ * @copyright Copyright (c) 2014 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
+ * @see Mage_Review_Block_Product_View
32
+ */
33
+ ?>
34
+ <?php $_helper = $this->helper('catalog/output'); ?>
35
+ <?php $_product = $this->getProduct(); ?>
36
+ <script type="text/javascript">
37
+ var optionsPrice = new Product.OptionsPrice(<?php echo $this->getJsonConfig() ?>);
38
+ </script>
39
+ <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
40
+ <div class="product-view">
41
+ <div class="product-essential">
42
+ <form action="<?php echo $this->getSubmitUrl($_product) ?>" method="post" id="product_addtocart_form"<?php if($_product->getOptions()): ?> enctype="multipart/form-data"<?php endif; ?>>
43
+ <?php echo $this->getBlockHtml('formkey') ?>
44
+ <div class="no-display">
45
+ <input type="hidden" name="product" value="<?php echo $_product->getId() ?>" />
46
+ <input type="hidden" name="related_product" id="related-products-field" value="" />
47
+ </div>
48
+
49
+ <div class="product-shop">
50
+ <div class="product-name">
51
+ <h1><?php echo $_helper->productAttribute($_product, $_product->getName(), 'name') ?></h1>
52
+ </div>
53
+
54
+ <!-- E-mail to friend display -->
55
+ <?php /* if ($this->canEmailToFriend()): ?>
56
+ <p class="email-friend"><a href="<?php echo $this->helper('catalog/product')->getEmailToFriendUrl($_product) ?>"><?php echo $this->__('Email to a Friend') ?></a></p>
57
+ <?php endif; */ ?>
58
+
59
+ <!-- Reviews to botttom -->
60
+ <?php echo $this->getReviewsSummaryHtml($_product, false, true)?>
61
+ <?php echo $this->getChildHtml('alert_urls') ?>
62
+ <?php echo $this->getChildHtml('product_type_data') ?>
63
+ <?php echo $this->getTierPriceHtml() ?>
64
+ <?php echo $this->getChildHtml('extrahint') ?>
65
+
66
+ <?php echo $this->getChildHtml('other');?>
67
+
68
+ <?php if ($_product->isSaleable() && $this->hasOptions()):?>
69
+ <?php echo $this->getChildChildHtml('container1', '', true, true) ?>
70
+ <?php endif;?>
71
+
72
+ <!-- Quick Overview -->
73
+ <?php if ($_product->getShortDescription()):?>
74
+ <div class="short-description">
75
+ <h2><?php echo $this->__('Quick Overview') ?></h2>
76
+ <div class="std"><?php echo $_helper->productAttribute($_product, nl2br($_product->getShortDescription()), 'short_description') ?></div>
77
+ </div>
78
+ <?php endif;?>
79
+
80
+ <!-- Add to cart/compare/wishes -->
81
+ <?php if (!$this->hasOptions()):?>
82
+ <div class="add-to-box">
83
+ <?php if($_product->isSaleable()): ?>
84
+ <?php echo $this->getChildHtml('addtocart') ?>
85
+ <?php if( $this->helper('wishlist')->isAllow() || $_compareUrl=$this->helper('catalog/product_compare')->getAddUrl($_product)): ?>
86
+ <?php endif; ?>
87
+ <?php endif; ?>
88
+ <?php echo $this->getChildHtml('addto') ?>
89
+ </div>
90
+ <?php echo $this->getChildHtml('extra_buttons') ?>
91
+ <?php elseif (!$_product->isSaleable()): ?>
92
+ <div class="add-to-box">
93
+ <?php echo $this->getChildHtml('addto') ?>
94
+ </div>
95
+ <?php endif; ?>
96
+ </div>
97
+
98
+ <div class="product-img-box">
99
+ <?php echo $this->getChildHtml('media') ?>
100
+ </div>
101
+
102
+ <div class="clearer"></div>
103
+ <?php if ($_product->isSaleable() && $this->hasOptions()):?>
104
+ <?php echo $this->getChildChildHtml('container2', '', true, true) ?>
105
+ <?php endif;?>
106
+ </form>
107
+ <script type="text/javascript">
108
+ //<![CDATA[
109
+ var productAddToCartForm = new VarienForm('product_addtocart_form');
110
+ productAddToCartForm.submit = function(button, url) {
111
+ if (this.validator.validate()) {
112
+ var form = this.form;
113
+ var oldUrl = form.action;
114
+
115
+ if (url) {
116
+ form.action = url;
117
+ }
118
+ var e = null;
119
+ try {
120
+ this.form.submit();
121
+ } catch (e) {
122
+ }
123
+ this.form.action = oldUrl;
124
+ if (e) {
125
+ throw e;
126
+ }
127
+
128
+ if (button && button != 'undefined') {
129
+ button.disabled = true;
130
+ }
131
+ }
132
+ }.bind(productAddToCartForm);
133
+
134
+ productAddToCartForm.submitLight = function(button, url){
135
+ if(this.validator) {
136
+ var nv = Validation.methods;
137
+ delete Validation.methods['required-entry'];
138
+ delete Validation.methods['validate-one-required'];
139
+ delete Validation.methods['validate-one-required-by-name'];
140
+ // Remove custom datetime validators
141
+ for (var methodName in Validation.methods) {
142
+ if (methodName.match(/^validate-datetime-.*/i)) {
143
+ delete Validation.methods[methodName];
144
+ }
145
+ }
146
+
147
+ if (this.validator.validate()) {
148
+ if (url) {
149
+ this.form.action = url;
150
+ }
151
+ this.form.submit();
152
+ }
153
+ Object.extend(Validation.methods, nv);
154
+ }
155
+ }.bind(productAddToCartForm);
156
+ //]]>
157
+ </script>
158
+ </div>
159
+
160
+
161
+ <div class="product-collateral">
162
+
163
+ <ul class="tabNav">
164
+ <?php foreach ($this->getChildGroup('detailed_info', 'getChildHtml') as $alias => $html):?>
165
+ <?php if($alias == "recurring_info"): ?>
166
+ <li data-tab="<?php echo $alias ?>">
167
+ <h2><?php echo $this->__('Recurring Payment') ?></h2>
168
+ </li>
169
+ <?php else: ?>
170
+ <li data-tab="<?php echo $alias ?>">
171
+ <div class="hover_html"><?php echo $html; ?></div>
172
+ </li>
173
+ <?php endif ?>
174
+ <?php endforeach;?>
175
+ <li data-tab="tags">
176
+ <h2><?php echo $this->__('Tags') ?></h2>
177
+ </li>
178
+ <div class="clearer"></div>
179
+ </ul>
180
+
181
+ <?php foreach ($this->getChildGroup('detailed_info', 'getChildHtml') as $alias => $html):?>
182
+ <div class="box-collateral <?php echo "box-{$alias}"?>" data-tab="<?php echo $alias ?>">
183
+ <?php if ($title = $this->getChildData($alias, 'title')):?>
184
+ <h2><?php echo $this->escapeHtml($title); ?></h2>
185
+ <?php endif;?>
186
+ <?php echo $html; ?>
187
+ </div>
188
+ <?php endforeach;?>
189
+ <?php echo $this->getChildHtml('product_additional_data') ?>
190
+ <?php echo $this->getChildHtml('upsell_products') ?>
191
+ </div>
192
+ </div>
app/design/frontend/modulesgarden/crystal/template/catalog/product/view/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 base_default
23
+ * @copyright Copyright (c) 2014 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
+ <?php echo $_html ?>
29
+ <?php endforeach; ?>
app/design/frontend/modulesgarden/crystal/template/catalog/product/view/addto.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 base_default
23
+ * @copyright Copyright (c) 2014 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
+ <?php $_wishlistSubmitUrl = $this->helper('wishlist')->getAddUrl($_product); ?>
30
+
31
+ <ul class="add-to-links">
32
+ <?php if ($this->helper('wishlist')->isAllow()) : ?>
33
+ <li><a href="<?php echo $_wishlistSubmitUrl ?>" onclick="productAddToCartForm.submitLight(this, this.href); return false;" class="link-wishlist"><?php echo $this->__('Add to Wishlist') ?></a></li>
34
+ <?php endif; ?>
35
+ <?php
36
+ $_compareUrl = $this->helper('catalog/product_compare')->getAddUrl($_product);
37
+ ?>
38
+ <?php if($_compareUrl) : ?>
39
+ <li><a href="<?php echo $_compareUrl ?>" class="link-compare"><?php echo $this->__('Add to Compare') ?></a></li>
40
+ <?php endif; ?>
41
+ </ul>
app/design/frontend/modulesgarden/crystal/template/catalog/product/view/addtocart.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 base_default
23
+ * @copyright Copyright (c) 2014 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 $buttonTitle = $this->__('Add to Cart'); ?>
29
+ <?php if($_product->isSaleable()): ?>
30
+ <div class="add-to-cart">
31
+ <?php if(!$_product->isGrouped()): ?>
32
+ <label for="qty"><?php echo $this->__('Qty:') ?></label>
33
+ <input type="text" name="qty" id="qty" maxlength="12" value="<?php echo $this->getProductDefaultQty() * 1 ?>" title="<?php echo $this->__('Qty') ?>" class="input-text qty" />
34
+ <?php endif; ?>
35
+ <button type="button" title="<?php echo $buttonTitle ?>" id="product-addtocart-button" class="button_green btn_cart" onclick="productAddToCartForm.submit(this)"><span><span><?php echo $buttonTitle ?></span></span></button>
36
+ <?php echo $this->getChildHtml('', true, true) ?>
37
+ </div>
38
+ <?php endif; ?>
app/design/frontend/modulesgarden/crystal/template/catalog/product/view/attributes.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 base_default
23
+ * @copyright Copyright (c) 2014 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
34
+ $_helper = $this->helper('catalog/output');
35
+ $_product = $this->getProduct()
36
+ ?>
37
+ <?php if($_additional = $this->getAdditionalData()): ?>
38
+ <h2><?php echo $this->__('Additional Information') ?></h2>
39
+ <table id="product-attribute-specs-table">
40
+ <col width="25%" />
41
+ <col />
42
+ <tbody>
43
+ <?php foreach ($_additional as $_data): ?>
44
+ <tr>
45
+ <th class="label"><?php echo $this->escapeHtml($this->__($_data['label'])) ?></th>
46
+ <td class="data"><?php echo $_helper->productAttribute($_product, $_data['value'], $_data['code']) ?></td>
47
+ </tr>
48
+ <?php endforeach; ?>
49
+ </tbody>
50
+ </table>
51
+ <script type="text/javascript">decorateTable('product-attribute-specs-table')</script>
52
+ <?php endif;?>
app/design/frontend/modulesgarden/crystal/template/catalog/product/view/description.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 base_default
23
+ * @copyright Copyright (c) 2014 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
+ <?php $_description = $this->getProduct()->getDescription(); ?>
34
+ <?php if ($_description): ?>
35
+ <h2><?php echo $this->__('Details') ?></h2>
36
+ <div class="std">
37
+ <?php echo $this->helper('catalog/output')->productAttribute($this->getProduct(), $_description, 'description') ?>
38
+ </div>
39
+ <?php endif; ?>
app/design/frontend/modulesgarden/crystal/template/catalog/product/view/media.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 base_default
23
+ * @copyright Copyright (c) 2014 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
34
+ $_product = $this->getProduct();
35
+ $_helper = $this->helper('catalog/output');
36
+ ?>
37
+ <?php if ($_product->getImage() != 'no_selection' && $_product->getImage()): ?>
38
+
39
+ <p class="product-image">
40
+ <?php
41
+ $_img = '<a href="' . $this->helper('catalog/image')->init($_product, 'image') . '" class="fancybox-img" rel="product-gallery"><img id="image" src="'.$this->helper('catalog/image')->init($_product, 'image') ->resize(405).'" alt="'.$this->htmlEscape($this->getImageLabel()).'" title="'.$this->htmlEscape($this->getImageLabel()).'" /></a>';
42
+ echo $_helper->productAttribute($_product, $_img, 'image');
43
+ ?>
44
+ </p>
45
+
46
+ <?php else: ?>
47
+ <p class="product-image">
48
+ <?php
49
+ $_img = '<img src="'.$this->helper('catalog/image')->init($_product, 'image')->resize(405).'" alt="'.$this->escapeHtml($this->getImageLabel()).'" title="'.$this->escapeHtml($this->getImageLabel()).'" />';
50
+ echo $_helper->productAttribute($_product, $_img, 'image');
51
+ ?>
52
+ </p>
53
+ <?php endif; ?>
54
+ <?php if (count($this->getGalleryImages()) > 0): ?>
55
+ <div class="more-views">
56
+ <div class="customNavigation">
57
+ <a class="next media-next"></a>
58
+ <a class="prev media-prev"></a>
59
+ </div>
60
+ <div id="owl-media" class="owl-carousel-media owl-carousel owl-theme">
61
+ <?php foreach ($this->getGalleryImages() as $_image): ?>
62
+ <div class="item">
63
+ <a href="<?php echo $_image->getUrl() ?>" class="fancybox-img" rel="product-gallery" title="<?php echo $this->htmlEscape($_image->getLabel()) ?>"><img src="<?php echo $this->helper('catalog/image')->init($this->getProduct(), 'thumbnail', $_image->getFile())->resize(135); ?>" width="135" height="135" alt="<?php echo $this->htmlEscape($_image->getLabel()) ?>" /></a>
64
+ </div>
65
+ <?php endforeach; ?>
66
+ </div>
67
+ <br class="clear"/>
68
+ </div>
69
+ <?php endif; ?>
app/design/frontend/modulesgarden/crystal/template/catalog/product/view/options.phtml ADDED
@@ -0,0 +1,193 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 base_default
23
+ * @copyright Copyright (c) 2014 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_View_Options */
27
+ ?>
28
+
29
+ <?php $_options = Mage::helper('core')->decorateArray($this->getOptions()) ?>
30
+ <?php if (count($_options)):?>
31
+ <script type="text/javascript">
32
+ //<![CDATA[
33
+ var optionFileUpload = {
34
+ productForm : $('product_addtocart_form'),
35
+ formAction : '',
36
+ formElements : {},
37
+ upload : function(element){
38
+ this.formElements = this.productForm.select('input', 'select', 'textarea', 'button');
39
+ this.removeRequire(element.readAttribute('id').sub('option_', ''));
40
+
41
+ template = '<iframe id="upload_target" name="upload_target" style="width:0; height:0; border:0;"><\/iframe>';
42
+
43
+ Element.insert($('option_'+element.readAttribute('id').sub('option_', '')+'_uploaded_file'), {after: template});
44
+
45
+ this.formAction = this.productForm.action;
46
+
47
+ var baseUrl = '<?php echo $this->getUrl('*/product/upload') ?>';
48
+ var urlExt = 'option_id/'+element.readAttribute('id').sub('option_', '');
49
+
50
+ this.productForm.action = parseSidUrl(baseUrl, urlExt);
51
+ this.productForm.target = 'upload_target';
52
+ this.productForm.submit();
53
+ this.productForm.target = '';
54
+ this.productForm.action = this.formAction;
55
+ },
56
+ removeRequire : function(skipElementId){
57
+ for(var i=0; i<this.formElements.length; i++){
58
+ if (this.formElements[i].readAttribute('id') != 'option_'+skipElementId+'_file' && this.formElements[i].type != 'button') {
59
+ this.formElements[i].disabled='disabled';
60
+ }
61
+ }
62
+ },
63
+ addRequire : function(skipElementId){
64
+ for(var i=0; i<this.formElements.length; i++){
65
+ if (this.formElements[i].readAttribute('name') != 'options_'+skipElementId+'_file' && this.formElements[i].type != 'button') {
66
+ this.formElements[i].disabled='';
67
+ }
68
+ }
69
+ },
70
+ uploadCallback : function(data){
71
+ this.addRequire(data.optionId);
72
+ $('upload_target').remove();
73
+
74
+ if (data.error) {
75
+
76
+ } else {
77
+ $('option_'+data.optionId+'_uploaded_file').value = data.fileName;
78
+ $('option_'+data.optionId+'_file').value = '';
79
+ $('option_'+data.optionId+'_file').hide();
80
+ $('option_'+data.optionId+'').hide();
81
+ template = '<div id="option_'+data.optionId+'_file_box"><a href="#"><img src="var/options/'+data.fileName+'" alt=""><\/a><a href="#" onclick="optionFileUpload.removeFile('+data.optionId+')" title="Remove file" \/>Remove file<\/a>';
82
+
83
+ Element.insert($('option_'+data.optionId+'_uploaded_file'), {after: template});
84
+ }
85
+ },
86
+ removeFile : function(optionId)
87
+ {
88
+ $('option_'+optionId+'_uploaded_file').value= '';
89
+ $('option_'+optionId+'_file').show();
90
+ $('option_'+optionId+'').show();
91
+
92
+ $('option_'+optionId+'_file_box').remove();
93
+ }
94
+ }
95
+ var optionTextCounter = {
96
+ count : function(field,cntfield,maxlimit){
97
+ if (field.value.length > maxlimit){
98
+ field.value = field.value.substring(0, maxlimit);
99
+ } else {
100
+ cntfield.innerHTML = maxlimit - field.value.length;
101
+ }
102
+ }
103
+ }
104
+
105
+ Product.Options = Class.create();
106
+ Product.Options.prototype = {
107
+ initialize : function(config) {
108
+ this.config = config;
109
+ this.reloadPrice();
110
+ document.observe("dom:loaded", this.reloadPrice.bind(this));
111
+ },
112
+ reloadPrice : function() {
113
+ var config = this.config;
114
+ var skipIds = [];
115
+ $$('body .product-custom-option').each(function(element){
116
+ var optionId = 0;
117
+ element.name.sub(/[0-9]+/, function(match){
118
+ optionId = parseInt(match[0], 10);
119
+ });
120
+ if (config[optionId]) {
121
+ var configOptions = config[optionId];
122
+ var curConfig = {price: 0};
123
+ if (element.type == 'checkbox' || element.type == 'radio') {
124
+ if (element.checked) {
125
+ if (typeof configOptions[element.getValue()] != 'undefined') {
126
+ curConfig = configOptions[element.getValue()];
127
+ }
128
+ }
129
+ } else if(element.hasClassName('datetime-picker') && !skipIds.include(optionId)) {
130
+ dateSelected = true;
131
+ $$('.product-custom-option[id^="options_' + optionId + '"]').each(function(dt){
132
+ if (dt.getValue() == '') {
133
+ dateSelected = false;
134
+ }
135
+ });
136
+ if (dateSelected) {
137
+ curConfig = configOptions;
138
+ skipIds[optionId] = optionId;
139
+ }
140
+ } else if(element.type == 'select-one' || element.type == 'select-multiple') {
141
+ if ('options' in element) {
142
+ $A(element.options).each(function(selectOption){
143
+ if ('selected' in selectOption && selectOption.selected) {
144
+ if (typeof(configOptions[selectOption.value]) != 'undefined') {
145
+ curConfig = configOptions[selectOption.value];
146
+ }
147
+ }
148
+ });
149
+ }
150
+ } else {
151
+ if (element.getValue().strip() != '') {
152
+ curConfig = configOptions;
153
+ }
154
+ }
155
+ if(element.type == 'select-multiple' && ('options' in element)) {
156
+ $A(element.options).each(function(selectOption) {
157
+ if (('selected' in selectOption) && typeof(configOptions[selectOption.value]) != 'undefined') {
158
+ if (selectOption.selected) {
159
+ curConfig = configOptions[selectOption.value];
160
+ } else {
161
+ curConfig = {price: 0};
162
+ }
163
+ optionsPrice.addCustomPrices(optionId + '-' + selectOption.value, curConfig);
164
+ optionsPrice.reload();
165
+ }
166
+ });
167
+ } else {
168
+ optionsPrice.addCustomPrices(element.id || optionId, curConfig);
169
+ optionsPrice.reload();
170
+ }
171
+ }
172
+ });
173
+ }
174
+ }
175
+ function validateOptionsCallback(elmId, result) {
176
+ var container = $(elmId).up('ul.options-list');
177
+ if (result == 'failed') {
178
+ container.removeClassName('validation-passed');
179
+ container.addClassName('validation-failed');
180
+ } else {
181
+ container.removeClassName('validation-failed');
182
+ container.addClassName('validation-passed');
183
+ }
184
+ }
185
+ var opConfig = new Product.Options(<?php echo $this->getJsonConfig() ?>);
186
+ //]]>
187
+ </script>
188
+ <dl>
189
+ <?php foreach($_options as $_option): ?>
190
+ <?php echo $this->getOptionHtml($_option) ?>
191
+ <?php endforeach; ?>
192
+ </dl>
193
+ <?php endif; ?>
app/design/frontend/modulesgarden/crystal/template/catalog/product/view/options/js.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 base_default
23
+ * @copyright Copyright (c) 2014 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
+ //<![CDATA[
29
+ var DateOption = Class.create({
30
+
31
+ getDaysInMonth: function(month, year)
32
+ {
33
+ var curDate = new Date();
34
+ if (!month) {
35
+ month = curDate.getMonth();
36
+ }
37
+ if (2 == month && !year) { // leap year assumption for unknown year
38
+ return 29;
39
+ }
40
+ if (!year) {
41
+ year = curDate.getFullYear();
42
+ }
43
+ return 32 - new Date(year, month - 1, 32).getDate();
44
+ },
45
+
46
+ reloadMonth: function(event)
47
+ {
48
+ var selectEl = event.findElement();
49
+ var idParts = selectEl.id.split("_");
50
+ if (idParts.length != 3) {
51
+ return false;
52
+ }
53
+ var optionIdPrefix = idParts[0] + "_" + idParts[1];
54
+ var month = parseInt($(optionIdPrefix + "_month").value);
55
+ var year = parseInt($(optionIdPrefix + "_year").value);
56
+ var dayEl = $(optionIdPrefix + "_day");
57
+
58
+ var days = this.getDaysInMonth(month, year);
59
+
60
+ //remove days
61
+ for (var i = dayEl.options.length - 1; i >= 0; i--) {
62
+ if (dayEl.options[i].value > days) {
63
+ dayEl.remove(dayEl.options[i].index);
64
+ }
65
+ }
66
+
67
+ // add days
68
+ var lastDay = parseInt(dayEl.options[dayEl.options.length-1].value);
69
+ for (i = lastDay + 1; i <= days; i++) {
70
+ this.addOption(dayEl, i, i);
71
+ }
72
+ },
73
+
74
+ addOption: function(select, text, value)
75
+ {
76
+ var option = document.createElement('OPTION');
77
+ option.value = value;
78
+ option.text = text;
79
+
80
+ if (select.options.add) {
81
+ select.options.add(option);
82
+ } else {
83
+ select.appendChild(option);
84
+ }
85
+ }
86
+ });
87
+ dateOption = new DateOption();
88
+ //]]>
89
+ </script>
app/design/frontend/modulesgarden/crystal/template/catalog/product/view/options/type/date.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 base_default
23
+ * @copyright Copyright (c) 2014 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 if ($_option->getIsRequire()) echo ' class="required"' ?>><?php if ($_option->getIsRequire()) echo '<em>*</em>' ?><?php echo $this->escapeHtml($_option->getTitle()) ?></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
+ //<![CDATA[
41
+ Event.observe('options_<?php echo $_optionId ?>_month', 'change', dateOption.reloadMonth.bind(dateOption));
42
+ Event.observe('options_<?php echo $_optionId ?>_year', 'change', dateOption.reloadMonth.bind(dateOption));
43
+ //]]>
44
+ </script>
45
+ <?php endif; ?>
46
+
47
+ <?php endif; ?>
48
+
49
+ <?php if ($_option->getType() == Mage_Catalog_Model_Product_Option::OPTION_TYPE_DATE_TIME
50
+ || $_option->getType() == Mage_Catalog_Model_Product_Option::OPTION_TYPE_TIME): ?>
51
+ <span class="time-picker"><?php echo $this->getTimeHtml() ?></span>
52
+ <?php endif; ?>
53
+
54
+ <input type="hidden" name="validate_datetime_<?php echo $_optionId ?>" class="validate-datetime-<?php echo $_optionId ?>" value="" />
55
+ <script type="text/javascript">
56
+ //<![CDATA[
57
+ <?php if ($_option->getIsRequire()): ?>
58
+ Validation.addAllThese(
59
+ [
60
+ ['validate-datetime-<?php echo $_optionId ?>', '<?php echo $this->jsQuoteEscape( Mage::helper('catalog')->__('This is a required option') )?>', function(v) {
61
+ var dateTimeParts = $$('.datetime-picker[id^="options_<?php echo $_optionId ?>"]');
62
+ for (var i=0; i < dateTimeParts.length; i++) {
63
+ if (dateTimeParts[i].value == "") return false;
64
+ }
65
+ return true;
66
+ }]
67
+ ]
68
+ );
69
+ <?php else: ?>
70
+ Validation.add(
71
+ 'validate-datetime-<?php echo $_optionId ?>',
72
+ '<?php echo $this->jsQuoteEscape( Mage::helper('catalog')->__('Field is not complete') )?>',
73
+ function(v) {
74
+ var dateTimeParts = $$('.datetime-picker[id^="options_<?php echo $_optionId ?>"]');
75
+ var hasWithValue = false, hasWithNoValue = false;
76
+ var pattern = /day_part$/i;
77
+ for (var i=0; i < dateTimeParts.length; i++) {
78
+ if (! pattern.test(dateTimeParts[i].id)) {
79
+ if (dateTimeParts[i].value === "") {
80
+ hasWithValue = true;
81
+ } else {
82
+ hasWithNoValue = true;
83
+ }
84
+ }
85
+ }
86
+ return hasWithValue ^ hasWithNoValue;
87
+ }
88
+ );
89
+ <?php endif; ?>
90
+ //]]>
91
+ </script>
92
+ </dd>
app/design/frontend/modulesgarden/crystal/template/catalog/product/view/options/type/default.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 base_default
23
+ * @copyright Copyright (c) 2014 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>
29
+ <label><?php echo $this->escapeHtml($_option->getTitle()) ?></label>
30
+ </dt>
app/design/frontend/modulesgarden/crystal/template/catalog/product/view/options/type/file.phtml ADDED
@@ -0,0 +1,103 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 base_default
23
+ * @copyright Copyright (c) 2014 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 $_fileInfo = $this->getFileInfo(); ?>
29
+ <?php $_fileExists = $_fileInfo->hasData() ? true : false; ?>
30
+ <?php $_fileName = 'options_' . $_option->getId() . '_file'; ?>
31
+ <?php $_fieldNameAction = $_fileName . '_action'; ?>
32
+ <?php $_fieldValueAction = $_fileExists ? 'save_old' : 'save_new'; ?>
33
+ <?php $_fileNamed = $_fileName . '_name'; ?>
34
+ <?php $_rand = rand(); ?>
35
+
36
+ <script type="text/javascript">
37
+ //<![CDATA[
38
+ opFile<?php echo $_rand; ?> = {
39
+ initializeFile: function(inputBox) {
40
+ this.inputFile = inputBox.select('input[name="<?php echo $_fileName; ?>"]')[0];
41
+ this.inputFileAction = inputBox.select('input[name="<?php echo $_fieldNameAction; ?>"]')[0];
42
+ this.fileNameBox = inputBox.up('dd').select('.<?php echo $_fileNamed ?>')[0];
43
+ },
44
+
45
+ toggleFileChange: function(inputBox) {
46
+ this.initializeFile(inputBox);
47
+ inputBox.toggle();
48
+ this.fileChangeFlag = this.fileChangeFlag ? false : true;
49
+ if (!this.fileDeleteFlag) {
50
+ if (this.fileChangeFlag) {
51
+ this.inputFileAction.value = 'save_new';
52
+ this.inputFile.disabled = false;
53
+ } else {
54
+ this.inputFileAction.value = 'save_old';
55
+ this.inputFile.disabled = true;
56
+ }
57
+ }
58
+ },
59
+
60
+ toggleFileDelete: function(fileDeleteFlag, inputBox) {
61
+ this.initializeFile(inputBox);
62
+ this.fileDeleteFlag = fileDeleteFlag.checked ? true : false;
63
+ if (this.fileDeleteFlag) {
64
+ this.inputFileAction.value = '';
65
+ this.inputFile.disabled = true;
66
+ this.fileNameBox.setStyle({'text-decoration': 'line-through'});
67
+ } else {
68
+ this.inputFileAction.value = this.fileChangeFlag ? 'save_new' : 'save_old';
69
+ this.inputFile.disabled = (this.fileChangeFlag == 'save_old');
70
+ this.fileNameBox.setStyle({'text-decoration': 'none'});
71
+ }
72
+ }
73
+ };
74
+ //]]>
75
+ </script>
76
+
77
+ <dt><label <?php if ($_option->getIsRequire()) echo ' class="required"' ?>><?php if ($_option->getIsRequire()) echo '<em>*</em>' ?><?php echo $this->escapeHtml($_option->getTitle()) ?></label>
78
+ <?php echo $this->getFormatedPrice() ?></dt>
79
+ <dd<?php if ($_option->decoratedIsLast){?> class="last"<?php }?>>
80
+ <?php if ($_fileExists): ?>
81
+ <span class="<?php echo $_fileNamed ?>"><?php echo $_fileInfo->getTitle(); ?></span>
82
+ <a href="javascript:void(0)" class="label" onclick="opFile<?php echo $_rand; ?>.toggleFileChange($(this).next('.input-box'))">
83
+ <?php echo Mage::helper('catalog')->__('Change') ?>
84
+ </a>&nbsp;
85
+ <?php if (!$_option->getIsRequire()): ?>
86
+ <input type="checkbox" onclick="opFile<?php echo $_rand; ?>.toggleFileDelete($(this), $(this).next('.input-box'))" />
87
+ <span class="label"><?php echo Mage::helper('catalog')->__('Delete') ?></span>
88
+ <?php endif; ?>
89
+ <?php endif; ?>
90
+ <div class="input-box" <?php echo $_fileExists ? 'style="display:none"' : '' ?>>
91
+ <input type="file" name="<?php echo $_fileName; ?>" class="product-custom-option<?php echo $_option->getIsRequire() ? ' required-entry' : '' ?>" <?php echo $_fileExists ? 'disabled="disabled"' : '' ?> onchange="opConfig.reloadPrice()" />
92
+ <input type="hidden" name="<?php echo $_fieldNameAction; ?>" value="<?php echo $_fieldValueAction; ?>" />
93
+ <?php if ($_option->getFileExtension()): ?>
94
+ <p class="no-margin"><?php echo Mage::helper('catalog')->__('Allowed file extensions to upload')?>: <strong><?php echo $_option->getFileExtension() ?></strong></p>
95
+ <?php endif; ?>
96
+ <?php if ($_option->getImageSizeX() > 0): ?>
97
+ <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>
98
+ <?php endif; ?>
99
+ <?php if ($_option->getImageSizeY() > 0): ?>
100
+ <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>
101
+ <?php endif; ?>
102
+ </div>
103
+ </dd>
app/design/frontend/modulesgarden/crystal/template/catalog/product/view/options/type/select.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 base_default
23
+ * @copyright Copyright (c) 2014 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 /* @var $this Mage_Catalog_Block_Product_View_Options_Type_Select */ ?>
29
+ <?php $_option = $this->getOption() ?>
30
+ <dt><label<?php if ($_option->getIsRequire()) echo ' class="required"' ?>><?php if ($_option->getIsRequire()) echo '<em>*</em>' ?><?php echo $this->escapeHtml($_option->getTitle()) ?></label></dt>
31
+ <dd<?php if ($_option->decoratedIsLast){?> class="last"<?php }?>>
32
+ <div class="input-box">
33
+ <?php echo $this->getValuesHtml() ?>
34
+ <?php if ($_option->getIsRequire()): ?>
35
+ <?php if ($_option->getType() == Mage_Catalog_Model_Product_Option::OPTION_TYPE_RADIO || $_option->getType() == Mage_Catalog_Model_Product_Option::OPTION_TYPE_CHECKBOX): ?>
36
+ <span id="options-<?php echo $_option->getId() ?>-container"></span>
37
+ <?php endif; ?>
38
+ <?php endif;?>
39
+ </div>
40
+ </dd>
app/design/frontend/modulesgarden/crystal/template/catalog/product/view/options/type/text.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 base_default
23
+ * @copyright Copyright (c) 2014 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 if ($_option->getIsRequire()) echo ' class="required"' ?>><?php if ($_option->getIsRequire()) echo '<em>*</em>' ?><?php echo $this->escapeHtml($_option->getTitle()) ?></label>
29
+ <?php echo $this->getFormatedPrice() ?></dt>
30
+ <dd<?php if ($_option->decoratedIsLast){?> class="last"<?php }?>>
31
+ <div class="input-box">
32
+ <?php if ($_option->getType() == Mage_Catalog_Model_Product_Option::OPTION_TYPE_FIELD): ?>
33
+ <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="<?php echo $this->escapeHtml($this->getDefaultValue()) ?>" />
34
+ <?php elseif ($_option->getType() == Mage_Catalog_Model_Product_Option::OPTION_TYPE_AREA): ?>
35
+ <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"><?php echo $this->escapeHtml($this->getDefaultValue()) ?></textarea>
36
+ <?php endif; ?>
37
+ <?php if ($_option->getMaxCharacters()): ?>
38
+ <p class="note"><?php echo Mage::helper('catalog')->__('Maximum number of characters:')?> <strong><?php echo $_option->getMaxCharacters() ?></strong></p>
39
+ <?php endif; ?>
40
+ </div>
41
+ </dd>
app/design/frontend/modulesgarden/crystal/template/catalog/product/view/options/wrapper.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 base_default
23
+ * @copyright Copyright (c) 2014 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="product-options" id="product-options-wrapper">
28
+ <?php echo $this->getChildHtml('', true, true);?>
29
+ <?php if ($this->hasRequiredOptions()):?>
30
+ <p class="required"><?php echo $this->__('* Required Fields') ?></p>
31
+ <?php endif;?>
32
+ </div>
33
+ <script type="text/javascript">decorateGeneric($$('#product-options-wrapper dl'), ['last']);</script>
app/design/frontend/modulesgarden/crystal/template/catalog/product/view/options/wrapper/bottom.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 base_default
23
+ * @copyright Copyright (c) 2014 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="product-options-bottom">
28
+ <?php echo $this->getChildHtml('', true, true);?>
29
+ </div>
app/design/frontend/modulesgarden/crystal/template/catalog/product/view/price.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 base_default
23
+ * @copyright Copyright (c) 2014 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
+ * @deprecated after 1.4.0.0-alpha3
29
+ */
30
+ ?>
31
+ <div class="price-box" id="product_price">
32
+ <p class="old-price"><?php echo $this->__('Old Price:') ?> <?php echo $this->getPrice() ?></p>
33
+ <p class="special-price"><?php echo $this->getPrice() ?></p>
34
+ </div>
app/design/frontend/modulesgarden/crystal/template/catalog/product/view/price_clone.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 base_default
23
+ * @copyright Copyright (c) 2014 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
+
app/design/frontend/modulesgarden/crystal/template/catalog/product/view/tierprices.phtml ADDED
@@ -0,0 +1,232 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 base_default
23
+ * @copyright Copyright (c) 2014 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
+ /** @var $_catalogHelper Mage_Catalog_Helper_Data */
37
+ $_catalogHelper = Mage::helper('catalog');
38
+
39
+ $_weeeTaxAmount = Mage::helper('weee')->getAmountForDisplay($_product);
40
+ if (Mage::helper('weee')->typeOfDisplay($_product, array(1,2,4))) {
41
+ $_weeeTaxAttributes = Mage::helper('weee')->getProductWeeeAttributesForDisplay($_product);
42
+ }
43
+
44
+ ?>
45
+ <?php if (count($_tierPrices) > 0): ?>
46
+ <ul class="<?php echo ($this->getInGrouped() ? 'tier-prices-grouped product-pricing-grouped' : 'tier-prices product-pricing'); ?>">
47
+ <?php if ($this->getInGrouped()): ?>
48
+ <?php $_tierPrices = $this->getTierPrices($_product); ?>
49
+ <?php endif; ?>
50
+ <?php Mage::helper('weee')->processTierPrices($_product, $_tierPrices); ?>
51
+ <?php foreach ($_tierPrices as $_index => $_price): ?>
52
+ <li class="tier-price tier-<?php echo $_index; ?>">
53
+ <?php if ($_catalogHelper->canApplyMsrp($_product)): ?>
54
+ <?php if ($this->getInGrouped()): ?>
55
+ <?php echo $this->__('Buy %1$s for', $_price['price_qty']) ?>:
56
+ <?php else: ?>
57
+ <?php echo $this->__('Buy %1$s', $_price['price_qty']) ?>
58
+ <?php endif; ?>
59
+ <?php else: ?>
60
+
61
+ <?php if ($this->helper('tax')->displayBothPrices()): ?>
62
+ <?php if (Mage::helper('weee')->typeOfDisplay($_product, 0)): ?>
63
+ <?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']) ?>
64
+ <?php elseif(Mage::helper('weee')->typeOfDisplay($_product, 1)): ?>
65
+ <?php echo $this->__('Buy %1$s for %2$s', $_price['price_qty'], $_price['formated_price_incl_weee_only']); ?>
66
+ <?php if ($_weeeTaxAttributes): ?>
67
+ (<small>
68
+ <?php echo $this->__('%1$s incl tax.', $_price['formated_price_incl_weee']); ?>
69
+ <?php $separator = ' + '; foreach ($_weeeTaxAttributes as $_attribute): ?>
70
+ <?php echo $separator; ?>
71
+ <?php echo $_attribute->getName(); ?>: <?php echo Mage::helper('core')->currency($_attribute->getAmount()); ?>
72
+ <?php endforeach; ?>
73
+ </small>)
74
+ <?php endif; ?>
75
+ <?php echo $this->__('each') ?>
76
+ <?php elseif(Mage::helper('weee')->typeOfDisplay($_product, 4)): ?>
77
+ <?php echo $this->__('Buy %1$s for %2$s', $_price['price_qty'], $_price['formated_price_incl_weee_only']); ?>
78
+ <?php if ($_weeeTaxAttributes): ?>
79
+ (<small>
80
+ <?php echo $this->__('%1$s incl tax.', $_price['formated_price_incl_weee']); ?>
81
+ <?php $separator = ' + '; foreach ($_weeeTaxAttributes as $_attribute): ?>
82
+ <?php echo $separator; ?>
83
+ <?php echo $_attribute->getName(); ?>: <?php echo Mage::helper('core')->currency($_attribute->getAmount()+$_attribute->getTaxAmount()); ?>
84
+ <?php endforeach; ?>
85
+ </small>)
86
+ <?php endif; ?>
87
+ <?php echo $this->__('each') ?>
88
+ <?php elseif(Mage::helper('weee')->typeOfDisplay($_product, 2)): ?>
89
+ <?php echo $this->__('Buy %1$s for %2$s', $_price['price_qty'], $_price['formated_price']); ?>
90
+ <?php if ($_weeeTaxAttributes): ?>
91
+ (<small>
92
+ <?php foreach ($_weeeTaxAttributes as $_attribute): ?>
93
+ <?php echo $_attribute->getName(); ?>: <?php echo Mage::helper('core')->currency($_attribute->getAmount()); ?>
94
+ <?php endforeach; ?>
95
+ <?php echo $this->__('Total incl. Tax: %1$s', $_price['formated_price_incl_weee']); ?>
96
+ </small>)
97
+ <?php endif; ?>
98
+ <?php echo $this->__('each') ?>
99
+ <?php else: ?>
100
+ <?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']) ?>
101
+ <?php endif; ?>
102
+ <?php else: ?>
103
+ <?php if ($this->helper('tax')->displayPriceIncludingTax()): ?>
104
+ <?php if (Mage::helper('weee')->typeOfDisplay($_product, 0)): ?>
105
+ <?php echo $this->__('Buy %1$s for %2$s each', $_price['price_qty'], $_price['formated_price_incl_weee']) ?>
106
+ <?php elseif(Mage::helper('weee')->typeOfDisplay($_product, 1)): ?>
107
+ <?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()); ?>
113
+ <?php $separator = ' + '; endforeach; ?>
114
+ </small>)
115
+ <?php endif; ?>
116
+ <?php echo $this->__('each') ?>
117
+ <?php elseif(Mage::helper('weee')->typeOfDisplay($_product, 4)): ?>
118
+ <?php echo $this->__('Buy %1$s for %2$s', $_price['price_qty'], $_price['formated_price_incl_weee']); ?>
119
+ <?php if ($_weeeTaxAttributes): ?>
120
+ (<small>
121
+ <?php $separator = ''; foreach ($_weeeTaxAttributes as $_attribute): ?>
122
+ <?php echo $separator; ?>
123
+ <?php echo $_attribute->getName(); ?>: <?php echo Mage::helper('core')->currency($_attribute->getAmount()+$_attribute->getTaxAmount()); ?>
124
+ <?php $separator = ' + '; endforeach; ?>
125
+ </small>)
126
+ <?php endif; ?>
127
+ <?php echo $this->__('each') ?>
128
+ <?php elseif(Mage::helper('weee')->typeOfDisplay($_product, 2)): ?>
129
+ <?php echo $this->__('Buy %1$s for %2$s', $_price['price_qty'], $_price['formated_price_incl_tax']); ?>
130
+ <?php if ($_weeeTaxAttributes): ?>
131
+ (<small>
132
+ <?php foreach ($_weeeTaxAttributes as $_attribute): ?>
133
+ <?php echo $_attribute->getName(); ?>: <?php echo Mage::helper('core')->currency($_attribute->getAmount()); ?>
134
+ <?php endforeach; ?>
135
+ <?php echo $this->__('Total incl. Tax: %1$s', $_price['formated_price_incl_weee']); ?>
136
+ </small>)
137
+ <?php endif; ?>
138
+ <?php echo $this->__('each') ?>
139
+ <?php else: ?>
140
+ <?php echo $this->__('Buy %1$s for %2$s each', $_price['price_qty'], $_price['formated_price_incl_tax']) ?>
141
+ <?php endif; ?>
142
+ <?php else: ?>
143
+ <?php if (Mage::helper('weee')->typeOfDisplay($_product, 0)): ?>
144
+ <?php echo $this->__('Buy %1$s for %2$s each', $_price['price_qty'], $_price['formated_price_incl_weee_only']) ?>
145
+ <?php elseif(Mage::helper('weee')->typeOfDisplay($_product, 1)): ?>
146
+ <?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()); ?>
152
+ <?php $separator = ' + '; endforeach; ?>
153
+ </small>)
154
+ <?php endif; ?>
155
+ <?php echo $this->__('each') ?>
156
+ <?php elseif(Mage::helper('weee')->typeOfDisplay($_product, 4)): ?>
157
+ <?php echo $this->__('Buy %1$s for %2$s', $_price['price_qty'], $_price['formated_price_incl_weee_only']); ?>
158
+ <?php if ($_weeeTaxAttributes): ?>
159
+ (<small>
160
+ <?php $separator = ''; foreach ($_weeeTaxAttributes as $_attribute): ?>
161
+ <?php echo $separator; ?>
162
+ <?php echo $_attribute->getName(); ?>: <?php echo Mage::helper('core')->currency($_attribute->getAmount()+$_attribute->getTaxAmount()); ?>
163
+ <?php $separator = ' + '; endforeach; ?>
164
+ </small>)
165
+ <?php endif; ?>
166
+ <?php echo $this->__('each') ?>
167
+ <?php elseif(Mage::helper('weee')->typeOfDisplay($_product, 2)): ?>
168
+ <?php echo $this->__('Buy %1$s for %2$s', $_price['price_qty'], $_price['formated_price']); ?>
169
+ <?php if ($_weeeTaxAttributes): ?>
170
+ (<small>
171
+ <?php foreach ($_weeeTaxAttributes as $_attribute): ?>
172
+ <?php echo $_attribute->getName(); ?>: <?php echo Mage::helper('core')->currency($_attribute->getAmount()); ?>
173
+ <?php endforeach; ?>
174
+ <?php echo $this->__('Total incl. Tax: %1$s', $_price['formated_price_incl_weee_only']); ?>
175
+ </small>)
176
+ <?php endif; ?>
177
+ <?php echo $this->__('each') ?>
178
+ <?php else: ?>
179
+ <?php echo $this->__('Buy %1$s for %2$s each', $_price['price_qty'], $_price['formated_price']) ?>
180
+ <?php endif; ?>
181
+ <?php endif; ?>
182
+ <?php endif; ?>
183
+
184
+ <?php endif; // Can apply MSRP ?>
185
+
186
+ <?php if (!$this->getInGrouped()): ?>
187
+ <?php if(($_product->getPrice() == $_product->getFinalPrice() && $_product->getPrice() > $_price['price'])
188
+ || ($_product->getPrice() != $_product->getFinalPrice() && $_product->getFinalPrice() > $_price['price'])): ?>
189
+ <?php echo $this->__('and') ?>&nbsp;<strong class="benefit"><?php echo $this->__('save')?>&nbsp;<span class="percent tier-<?php echo $_index;?>"><?php echo $_price['savePercent']?></span>%
190
+ <?php endif ?></strong>
191
+ <?php endif; ?>
192
+
193
+ <?php if ($_catalogHelper->isShowPriceOnGesture($_product)):?>
194
+ <?php $popupId = 'msrp-popup-' . $_product->getId() . $this->helper('core')->getRandomString(20); ?>
195
+ <a href="#" id="<?php echo($popupId);?>"><?php echo $this->__('Click for price'); ?></a>
196
+ <script type="text/javascript">
197
+ <?php
198
+ $addToCartUrl = $this->getProduct()->isSalable()
199
+ ? $this->getAddToCartUrl($_product, array('qty' => $_price['price_qty']))
200
+ : '';
201
+ ?>
202
+ <?php if (!$this->getInGrouped()): ?>
203
+ var newLink = {
204
+ url: "<?php echo $addToCartUrl; ?>",
205
+ qty: "<?php echo $_price['price_qty']?>"
206
+ };
207
+ <?php else: ?>
208
+ var newLink = {
209
+ url: "<?php echo $addToCartUrl; ?>",
210
+ notUseForm: true
211
+ };
212
+ <?php endif ?>
213
+ Catalog.Map.addHelpLink(
214
+ $('<?php echo $popupId ?>'),
215
+ "<?php echo $_product->getName() ?>",
216
+ <?php echo json_encode($_price['real_price_html']) ?>,
217
+ "<?php echo $this->helper('core')->currency($_product->getMsrp(),true,false) ?>",
218
+ newLink
219
+ );
220
+ </script>
221
+ <?php else: ?>
222
+ <span class="msrp-price-hide-message">
223
+ <?php echo $_catalogHelper->getMsrpPriceMessage($_product) ?>
224
+ </span>
225
+ <?php endif; ?>
226
+
227
+
228
+ </li>
229
+
230
+ <?php endforeach ?>
231
+ </ul>
232
+ <?php endif;?>
app/design/frontend/modulesgarden/crystal/template/catalog/product/view/type/configurable.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 base_default
23
+ * @copyright Copyright (c) 2014 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
+ * @deprecated after 1.4.1.0 in favor of default.phtml
30
+ */
31
+ ?>
app/design/frontend/modulesgarden/crystal/template/catalog/product/view/type/default.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 base_default
23
+ * @copyright Copyright (c) 2014 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_Abstract */?>
28
+ <?php $_product = $this->getProduct() ?>
29
+
30
+ <?php if ($_product->isAvailable()): ?>
31
+ <p class="availability in-stock"><?php echo $this->__('Availability:') ?> <span><?php echo $this->__('In stock') ?></span></p>
32
+ <?php else: ?>
33
+ <p class="availability out-of-stock"><?php echo $this->__('Availability:') ?> <span><?php echo $this->__('Out of stock') ?></span></p>
34
+ <?php endif; ?>
35
+ <?php echo $this->getChildHtml('product_type_data_extra') ?>
36
+ <?php echo $this->getPriceHtml($_product) ?>
app/design/frontend/modulesgarden/crystal/template/catalog/product/view/type/grouped.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 base_default
23
+ * @copyright Copyright (c) 2014 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 $this->setPreconfiguredValue(); ?>
35
+ <?php $_product = $this->getProduct(); ?>
36
+ <?php $_associatedProducts = $this->getAssociatedProducts(); ?>
37
+ <?php $_hasAssociatedProducts = count($_associatedProducts) > 0; ?>
38
+ <?php $showAvailability = version_compare(Mage::getVersion(), '1.8', '<') ?: $this->displayProductStockStatus(); ?>
39
+ <?php if ($showAvailability): ?>
40
+ <?php if ($_product->isAvailable() && $_hasAssociatedProducts): ?>
41
+ <p class="availability in-stock"><?php echo $this->__('Availability:') ?> <span><?php echo $this->__('In stock') ?></span></p>
42
+ <?php else: ?>
43
+ <p class="availability out-of-stock"><?php echo $this->__('Availability:') ?> <span><?php echo $this->__('Out of stock') ?></span></p>
44
+ <?php endif; ?>
45
+ <?php endif; ?>
46
+ <?php echo $this->getChildHtml('product_type_data_extra') ?>
47
+ <table class="data-table grouped-items-table" id="super-product-table">
48
+ <col />
49
+ <col />
50
+ <col width="1" />
51
+ <thead>
52
+ <tr>
53
+ <th><?php echo $this->__('Product Name') ?></th>
54
+ <?php if ($this->getCanShowProductPrice($_product)): ?>
55
+ <th class="a-right"><?php echo $this->__('Price') ?></th>
56
+ <?php endif; ?>
57
+ <?php if ($_product->isSaleable()): ?>
58
+ <th class="a-center"><?php echo $this->__('Qty') ?></th>
59
+ <?php endif; ?>
60
+ </tr>
61
+ </thead>
62
+ <tbody>
63
+ <?php if ($_hasAssociatedProducts): ?>
64
+ <?php foreach ($_associatedProducts as $_item): ?>
65
+ <?php $_finalPriceInclTax = $this->helper('tax')->getPrice($_item, $_item->getFinalPrice(), true) ?>
66
+ <tr>
67
+ <td><?php echo $this->escapeHtml($_item->getName()) ?></td>
68
+ <?php if ($this->getCanShowProductPrice($_product)): ?>
69
+ <td class="a-right">
70
+ <?php if ($this->getCanShowProductPrice($_item)): ?>
71
+ <?php echo $this->getPriceHtml($_item, true) ?>
72
+ <?php echo $this->getTierPriceHtml($_item) ?>
73
+ <?php endif; ?>
74
+ </td>
75
+ <?php endif; ?>
76
+ <?php if ($_product->isSaleable()): ?>
77
+ <td class="a-center">
78
+ <?php if ($_item->isSaleable()) : ?>
79
+ <input type="text" name="super_group[<?php echo $_item->getId() ?>]" maxlength="12" value="<?php echo $_item->getQty()*1 ?>" title="<?php echo $this->__('Qty') ?>" class="input-text qty" />
80
+ <?php else: ?>
81
+ <p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
82
+ <?php endif; ?>
83
+ </td>
84
+ <?php endif; ?>
85
+ </tr>
86
+ <?php endforeach; ?>
87
+ <?php else: ?>
88
+ <tr>
89
+ <td colspan="<?php if ($_product->isSaleable()): ?>4<?php else : ?>3<?php endif; ?>"><?php echo $this->__('No options of this product are available.') ?></td>
90
+ </tr>
91
+ <?php endif; ?>
92
+ </tbody>
93
+ </table>
94
+ <script type="text/javascript">decorateTable('super-product-table')</script>
app/design/frontend/modulesgarden/crystal/template/catalog/product/view/type/options/configurable.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 base_default
23
+ * @copyright Copyright (c) 2014 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 class="required"><em>*</em><?php echo $_attribute->getLabel() ?></label></dt>
36
+ <dd<?php if ($_attribute->decoratedIsLast){?> class="last"<?php }?>>
37
+ <div class="input-box">
38
+ <select name="super_attribute[<?php echo $_attribute->getAttributeId() ?>]" id="attribute<?php echo $_attribute->getAttributeId() ?>" class="required-entry super-attribute-select">
39
+ <option><?php echo $this->__('Choose an Option...') ?></option>
40
+ </select>
41
+ </div>
42
+ </dd>
43
+ <?php endforeach; ?>
44
+ </dl>
45
+ <script type="text/javascript">
46
+ var spConfig = new Product.Config(<?php echo $this->getJsonConfig() ?>);
47
+ </script>
48
+ <?php endif;?>
app/design/frontend/modulesgarden/crystal/template/catalog/product/view/type/simple.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 base_default
23
+ * @copyright Copyright (c) 2014 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
+ * @deprecated after 1.4.1.0 in favor of default.phtml
30
+ */
31
+ ?>
app/design/frontend/modulesgarden/crystal/template/catalog/product/view/type/virtual.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 base_default
23
+ * @copyright Copyright (c) 2014 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
+ * @deprecated after 1.4.1.0 in favor of default.phtml
30
+ */
31
+ ?>
app/design/frontend/modulesgarden/crystal/template/catalog/product/widget/link/link_block.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 base_default
23
+ * @copyright Copyright (c) 2014 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="widget widget-product-link"><a <?php echo $this->getLinkAttributes() ?>><span><?php echo $this->escapeHtml($this->getAnchorText()) ?></span></a></span>
app/design/frontend/modulesgarden/crystal/template/catalog/product/widget/link/link_inline.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 base_default
23
+ * @copyright Copyright (c) 2014 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="widget widget-product-link-inline"><a <?php echo $this->getLinkAttributes() ?>><span><?php echo $this->escapeHtml($this->getAnchorText()) ?></span></a></span>
app/design/frontend/modulesgarden/crystal/template/catalog/product/widget/new/column/new_default_list.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 base_default
23
+ * @copyright Copyright (c) 2014 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="widget widget-new-products">
29
+ <div class="block block-products">
30
+ <div class="block-title">
31
+ <strong><span><?php echo $this->__('New Products') ?></span></strong>
32
+ </div>
33
+ <div class="block-content">
34
+ <?php echo $this->getPagerHtml() ?>
35
+ <?php $suffix = $this->getNameInLayout(); ?>
36
+ <ol class="mini-products-list" id="widget-new-products-<?php echo $suffix; ?>">
37
+ <?php foreach ($_products->getItems() as $_product): ?>
38
+ <li class="item">
39
+ <a class="product-image" href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->stripTags($_product->getName(), null, true) ?>"><img src="<?php echo $this->helper('catalog/image')->init($_product, 'thumbnail')->resize(50) ?>" width="50" height="50" alt="<?php echo $this->stripTags($_product->getName(), null, true) ?>" /></a>
40
+ <div class="product-details">
41
+ <p class="product-name"><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></p>
42
+ <?php echo $this->getPriceHtml($_product, true, '-widget-new-'.$suffix) ?>
43
+ <?php if ($_product->getIsSalable()): ?>
44
+ <a href="<?php echo $this->getAddToCartUrl($_product) ?>" class="link-cart"><?php echo $this->__('Add to Cart') ?></a>
45
+ <?php else: ?>
46
+ <p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
47
+ <?php endif; ?>
48
+ </div>
49
+ </li>
50
+ <?php endforeach; ?>
51
+ </ol>
52
+ <script type="text/javascript">decorateList('widget-new-products-<?php echo $suffix; ?>', 'none-recursive')</script>
53
+ </div>
54
+ </div>
55
+ </div>
56
+ <?php endif; ?>
app/design/frontend/modulesgarden/crystal/template/catalog/product/widget/new/column/new_images_list.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 base_default
23
+ * @copyright Copyright (c) 2014 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="widget widget-new-products">
29
+ <div class="block block-list">
30
+ <div class="block-title">
31
+ <strong><span><?php echo $this->__('New Products') ?></span></strong>
32
+ </div>
33
+ <div class="block-content">
34
+ <?php echo $this->getPagerHtml() ?>
35
+ <?php $suffix = $this->getNameInLayout(); ?>
36
+ <ol class="mini-products-images-list" id="widget-new-products-<?php echo $suffix; ?>">
37
+ <?php foreach ($_products->getItems() as $_product): ?>
38
+ <li class="item">
39
+ <a class="product-image" href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->stripTags($_product->getName(), null, true) ?>"><img src="<?php echo $this->helper('catalog/image')->init($_product, 'small_image')->resize(76) ?>" width="76" height="76" alt="<?php echo $this->stripTags($_product->getName(), null, true) ?>" /></a>
40
+ </li>
41
+ <?php endforeach; ?>
42
+ </ol>
43
+ <script type="text/javascript">decorateList('widget-new-products-<?php echo $suffix; ?>', 'none-recursive')</script>
44
+ </div>
45
+ </div>
46
+ </div>
47
+ <?php endif; ?>
app/design/frontend/modulesgarden/crystal/template/catalog/product/widget/new/column/new_names_list.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 base_default
23
+ * @copyright Copyright (c) 2014 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="widget widget-new-products">
29
+ <div class="block block-list">
30
+ <div class="block-title">
31
+ <strong><span><?php echo $this->__('New Products') ?></span></strong>
32
+ </div>
33
+ <div class="block-content">
34
+ <?php echo $this->getPagerHtml() ?>
35
+ <?php $suffix = $this->getNameInLayout(); ?>
36
+ <ol id="widget-new-products-<?php echo $suffix; ?>">
37
+ <?php foreach ($_products->getItems() as $_product): ?>
38
+ <li class="item">
39
+ <p class="product-name"><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></p>
40
+ </li>
41
+ <?php endforeach; ?>
42
+ </ol>
43
+ <script type="text/javascript">decorateList('widget-new-products-<?php echo $suffix; ?>', 'none-recursive')</script>
44
+ </div>
45
+ </div>
46
+ </div>
47
+ <?php endif; ?>
app/design/frontend/modulesgarden/crystal/template/catalog/product/widget/new/content/new_grid.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 base_default
23
+ * @copyright Copyright (c) 2014 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="widget widget-new-products">
29
+ <div class="widget-title">
30
+ <h2><?php echo $this->__('New Products') ?></h2>
31
+ </div>
32
+ <div class="widget-products">
33
+ <?php echo $this->getPagerHtml() ?>
34
+ <?php $_columnCount = $this->getColumnCount(); ?>
35
+ <?php $i=0; foreach ($_products->getItems() as $_product): ?>
36
+ <?php if ($i++%$_columnCount==0): ?>
37
+ <ul class="products-grid">
38
+ <?php endif ?>
39
+ <li class="item<?php if(($i-1)%$_columnCount==0): ?> first<?php elseif($i%$_columnCount==0): ?> last<?php endif; ?>">
40
+ <a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->stripTags($_product->getName(), null, true) ?>" class="product-image"><img src="<?php echo $this->helper('catalog/image')->init($_product, 'small_image')->resize(85) ?>" width="85" height="85" alt="<?php echo $this->stripTags($_product->getName(), null, true) ?>" /></a>
41
+ <h3 class="product-name"><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></h3>
42
+ <?php echo $this->getReviewsSummaryHtml($_product, 'short') ?>
43
+ <?php echo $this->getPriceHtml($_product, true, '-widget-new-grid') ?>
44
+ <div class="actions">
45
+ <?php if ($_product->isSaleable()): ?>
46
+ <button type="button" title="<?php echo $this->__('Add to Cart') ?>" class="button btn-cart" onclick="setLocation('<?php echo $this->getAddToCartUrl($_product) ?>')"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button>
47
+ <?php else: ?>
48
+ <p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
49
+ <?php endif; ?>
50
+ <ul class="add-to-links">
51
+ <?php if ($this->helper('wishlist')->isAllow()) : ?>
52
+ <li><a href="<?php echo $this->getAddToWishlistUrl($_product) ?>" class="link-wishlist"><?php echo $this->__('Add to Wishlist') ?></a></li>
53
+ <?php endif; ?>
54
+ <?php if($_compareUrl=$this->getAddToCompareUrl($_product)): ?>
55
+ <li><span class="separator">|</span> <a href="<?php echo $_compareUrl ?>" class="link-compare"><?php echo $this->__('Add to Compare') ?></a></li>
56
+ <?php endif; ?>
57
+ </ul>
58
+ </div>
59
+ </li>
60
+ <?php if ($i%$_columnCount==0 || $i==count($_products)): ?>
61
+ </ul>
62
+ <?php endif ?>
63
+ <?php endforeach; ?>
64
+ </div>
65
+ </div>
66
+ <?php endif; ?>
app/design/frontend/modulesgarden/crystal/template/catalog/product/widget/new/content/new_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 base_default
23
+ * @copyright Copyright (c) 2014 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="widget widget-new-products">
29
+ <div class="widget-title">
30
+ <h2><?php echo $this->__('New Products') ?></h2>
31
+ </div>
32
+ <div class="widget-products">
33
+ <?php echo $this->getPagerHtml() ?>
34
+ <ol class="products-list">
35
+ <?php $i=0; foreach ($_products->getItems() as $_product): ?>
36
+ <li class="item<?php echo (++$i == count($_products))?' last':''; ?>">
37
+ <a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->stripTags($_product->getName(), null, true) ?>" class="product-image"><img src="<?php echo $this->helper('catalog/image')->init($_product, 'small_image')->resize(85) ?>" width="85" height="85" alt="<?php echo $this->stripTags($_product->getName(), null, true) ?>" /></a>
38
+ <div class="product-shop">
39
+ <div class="f-fix">
40
+ <h3 class="product-name"><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></h3>
41
+ <?php echo $this->getReviewsSummaryHtml($_product, 'short') ?>
42
+ <?php echo $this->getPriceHtml($_product, true, '-widget-new-list') ?>
43
+ <?php if ($_product->isSaleable()): ?>
44
+ <button type="button" title="<?php echo $this->__('Add to Cart') ?>" class="button btn-cart" onclick="setLocation('<?php echo $this->getAddToCartUrl($_product) ?>')"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button>
45
+ <?php else: ?>
46
+ <p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
47
+ <?php endif; ?>
48
+ <ul class="add-to-links">
49
+ <?php if ($this->helper('wishlist')->isAllow()) : ?>
50
+ <li><a href="<?php echo $this->getAddToWishlistUrl($_product) ?>" class="link-wishlist"><?php echo $this->__('Add to Wishlist') ?></a></li>
51
+ <?php endif; ?>
52
+ <?php if($_compareUrl=$this->getAddToCompareUrl($_product)): ?>
53
+ <li><span class="separator">|</span> <a href="<?php echo $_compareUrl ?>" class="link-compare"><?php echo $this->__('Add to Compare') ?></a></li>
54
+ <?php endif; ?>
55
+ </ul>
56
+ </div>
57
+ </div>
58
+ </li>
59
+ <?php endforeach; ?>
60
+ </ol>
61
+ </div>
62
+ </div>
63
+ <?php endif; ?>
app/design/frontend/modulesgarden/crystal/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 base_default
23
+ * @copyright Copyright (c) 2014 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_Core_Block_Template */
27
+ /* @var $catalogSearchHelper Mage_Catalogsearch_Helper_Data */
28
+ $catalogSearchHelper = $this->helper('catalogsearch');
29
+ ?>
30
+ <form id="search_mini_form" action="<?php echo $catalogSearchHelper->getResultUrl() ?>" method="get">
31
+ <div class="form-search">
32
+ <label for="search"><?php echo $this->__('Search:') ?></label>
33
+ <input id="search" type="text" name="<?php echo $catalogSearchHelper->getQueryParamName() ?>" value="<?php echo $catalogSearchHelper->getEscapedQueryText() ?>" class="input-text" maxlength="<?php echo $catalogSearchHelper->getMaxQueryLength();?>" />
34
+ <button type="submit" title="<?php echo $this->__('Search') ?>" class="button"><span><span><?php echo $this->__('Search') ?></span></span></button>
35
+ <div id="search_autocomplete" class="search-autocomplete"></div>
36
+ <script type="text/javascript">
37
+ //<![CDATA[
38
+ var searchForm = new Varien.searchForm('search_mini_form', 'search', '<?php echo $this->__('Search entire store here...') ?>');
39
+ searchForm.initAutocomplete('<?php echo $catalogSearchHelper->getSuggestUrl() ?>', 'search_autocomplete');
40
+ //]]>
41
+ </script>
42
+ </div>
43
+ </form>
app/design/frontend/modulesgarden/crystal/template/catalogsearch/result.phtml ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 base_default
23
+ * @copyright Copyright (c) 2014 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->getResultCount()): ?>
28
+ <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
29
+ <div class="page-title">
30
+ <?php if ($this->helper('rss/catalog')->getTagFeedUrl()): ?>
31
+ <a href="<?php echo $this->helper('rss/catalog')->getTagFeedUrl() ?>" class="nobr link-rss"><?php echo $this->__('Subscribe to Feed') ?></a>
32
+ <?php endif; ?>
33
+ <h1><?php echo ($this->getHeaderText() || $this->getHeaderText() === false) ? $this->getHeaderText() : $this->__("Search results for '%s'", $this->helper('catalogsearch')->getEscapedQueryText()) ?></h1>
34
+ </div>
35
+ <?php if ($messages = $this->getNoteMessages()):?>
36
+ <p class="note-msg">
37
+ <?php foreach ($messages as $message):?>
38
+ <?php echo $message?><br />
39
+ <?php endforeach;?>
40
+ </p>
41
+ <?php endif; ?>
42
+ <?php echo $this->getProductListHtml() ?>
43
+ <?php else: ?>
44
+ <div class="page-title">
45
+ <h1><?php echo ($this->getHeaderText() || $this->getHeaderText() === false) ? $this->getHeaderText() : $this->__("Search results for '%s'", $this->helper('catalogsearch')->getEscapedQueryText()) ?></h1>
46
+ </div>
47
+ <p class="note-msg">
48
+ <?php echo ($this->getNoResultText()) ? $this->getNoResultText() : $this->__('Your search returns no results.') ?>
49
+ <?php if ($messages = $this->getNoteMessages()):?>
50
+ <?php foreach ($messages as $message):?>
51
+ <br /><?php echo $message?>
52
+ <?php endforeach;?>
53
+ <?php endif; ?>
54
+ </p>
55
+ <?php endif; ?>
app/design/frontend/modulesgarden/crystal/template/catalogsearch/term.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 base_default
23
+ * @copyright Copyright (c) 2014 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-title">
28
+ <h1><?php echo $this->__('Popular Search Terms') ?></h1>
29
+ </div>
30
+ <?php if( sizeof($this->getTerms()) > 0 ): ?>
31
+ <ul class="tags-list">
32
+ <?php foreach ($this->getTerms() as $_term): ?>
33
+ <li><a href="<?php echo $this->getSearchUrl($_term) ?>" style="font-size:<?php echo $_term->getRatio()*70+75 ?>%;"><?php echo $this->escapeHtml($_term->getName()) ?></a></li>
34
+ <?php endforeach; ?>
35
+ </ul>
36
+ <?php else: ?>
37
+ <p class="note-msg"><?php echo $this->__('There are no search terms available.'); ?></p>
38
+ <?php endif; ?>
app/design/frontend/modulesgarden/crystal/template/checkout/cart.phtml ADDED
@@ -0,0 +1,156 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 base_default
23
+ * @copyright Copyright (c) 2014 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="cart">
35
+ <div class="page-title">
36
+ <h1><?php echo $this->__('Shopping Cart') ?></h1>
37
+ </div>
38
+ <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
39
+ <?php echo $this->getChildHtml('form_before') ?>
40
+ <form action="<?php echo $this->getUrl('checkout/cart/updatePost') ?>" method="post">
41
+ <?php echo $this->getBlockHtml('formkey'); ?>
42
+ <fieldset>
43
+ <table id="shopping-cart-table" class="data-table cart-table">
44
+ <col width="1" />
45
+ <col />
46
+ <col width="1" />
47
+ <?php if ($this->helper('wishlist')->isAllowInCart()) : ?>
48
+ <col width="1" />
49
+ <?php endif ?>
50
+ <?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
51
+ <col width="1" />
52
+ <?php endif; ?>
53
+ <?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
54
+ <col width="1" />
55
+ <?php endif; ?>
56
+ <col width="1" />
57
+ <?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
58
+ <col width="1" />
59
+ <?php endif; ?>
60
+ <?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
61
+ <col width="1" />
62
+ <?php endif; ?>
63
+ <col width="1" />
64
+
65
+ <?php $mergedCells = ($this->helper('tax')->displayCartBothPrices() ? 2 : 1); ?>
66
+ <thead>
67
+ <tr>
68
+ <th rowspan="<?php echo $mergedCells; ?>">&nbsp;</th>
69
+ <th rowspan="<?php echo $mergedCells; ?>"><span class="nobr"><?php echo $this->__('Product Name') ?></span></th>
70
+ <th rowspan="<?php echo $mergedCells; ?>"></th>
71
+ <?php if ($this->helper('wishlist')->isAllowInCart()) : ?>
72
+ <th rowspan="<?php echo $mergedCells; ?>" class="a-center"><span class="nobr"><?php echo $this->__('Move to Wishlist') ?></span></th>
73
+ <?php endif ?>
74
+ <th class="a-center" colspan="<?php echo $mergedCells; ?>"><span class="nobr"><?php echo $this->__('Unit Price') ?></span></th>
75
+ <th rowspan="<?php echo $mergedCells; ?>" class="a-center"><?php echo $this->__('Qty') ?></th>
76
+ <th class="a-center" colspan="<?php echo $mergedCells; ?>"><?php echo $this->__('Subtotal') ?></th>
77
+ <th rowspan="<?php echo $mergedCells; ?>" class="a-center">&nbsp;</th>
78
+ </tr>
79
+ <?php if ($this->helper('tax')->displayCartBothPrices()): ?>
80
+ <tr>
81
+ <th class="a-right"><?php echo $this->helper('tax')->getIncExcTaxLabel(false) ?></th>
82
+ <th><?php echo $this->helper('tax')->getIncExcTaxLabel(true) ?></th>
83
+ <th class="a-right"><?php echo $this->helper('tax')->getIncExcTaxLabel(false) ?></th>
84
+ <th><?php echo $this->helper('tax')->getIncExcTaxLabel(true) ?></th>
85
+ </tr>
86
+ <?php endif; ?>
87
+ </thead>
88
+ <tfoot>
89
+ <tr>
90
+ <td colspan="50" class="a-right">
91
+ <?php if($this->getContinueShoppingUrl()): ?>
92
+ <button type="button" title="<?php echo $this->__('Continue Shopping') ?>" class="button btn-continue" onclick="setLocation('<?php echo $this->getContinueShoppingUrl() ?>')"><span><span><?php echo $this->__('Continue Shopping') ?></span></span></button>
93
+ <?php endif; ?>
94
+ <button type="submit" name="update_cart_action" value="update_qty" title="<?php echo $this->__('Update Shopping Cart'); ?>" class="button btn-update"><span><span><?php echo $this->__('Update Shopping Cart'); ?></span></span></button>
95
+ <button type="submit" name="update_cart_action" value="empty_cart" title="<?php echo $this->__('Clear Shopping Cart'); ?>" class="button btn-empty" id="empty_cart_button"><span><span><?php echo $this->__('Clear Shopping Cart'); ?></span></span></button>
96
+ <!--[if lt IE 8]>
97
+ <input type="hidden" id="update_cart_action_container" />
98
+ <script type="text/javascript">
99
+ //<![CDATA[
100
+ Event.observe(window, 'load', function()
101
+ {
102
+ // Internet Explorer (lt 8) does not support value attribute in button elements
103
+ $emptyCartButton = $('empty_cart_button');
104
+ $cartActionContainer = $('update_cart_action_container');
105
+ if ($emptyCartButton && $cartActionContainer) {
106
+ Event.observe($emptyCartButton, 'click', function()
107
+ {
108
+ $emptyCartButton.setAttribute('name', 'update_cart_action_temp');
109
+ $cartActionContainer.setAttribute('name', 'update_cart_action');
110
+ $cartActionContainer.setValue('empty_cart');
111
+ });
112
+ }
113
+
114
+ });
115
+ //]]>
116
+ </script>
117
+ <![endif]-->
118
+ </td>
119
+ </tr>
120
+ </tfoot>
121
+ <tbody>
122
+ <?php foreach($this->getItems() as $_item): ?>
123
+ <?php echo $this->getItemHtml($_item) ?>
124
+ <?php endforeach ?>
125
+ </tbody>
126
+ </table>
127
+ <script type="text/javascript">decorateTable('shopping-cart-table')</script>
128
+ </fieldset>
129
+ </form>
130
+ <div class="totals">
131
+ <?php echo $this->getChildHtml('totals'); ?>
132
+ <?php if(!$this->hasError()): ?>
133
+ <ul class="checkout-types">
134
+ <?php foreach ($this->getMethods('methods') as $method): ?>
135
+ <?php if ($methodHtml = $this->getMethodHtml($method)): ?>
136
+ <li><?php echo $methodHtml; ?></li>
137
+ <?php endif; ?>
138
+ <?php endforeach; ?>
139
+ </ul>
140
+ <?php endif; ?>
141
+ </div>
142
+ <div class="cart-collaterals">
143
+ <div class="col2-set">
144
+ <div class="col-1">
145
+ <?php /* Extensions placeholder */ ?>
146
+ <?php echo $this->getChildHtml('checkout.cart.extra') ?>
147
+ <?php echo $this->getChildHtml('coupon') ?>
148
+ <?php if (!$this->getIsVirtual()): echo $this->getChildHtml('shipping'); endif; ?>
149
+ </div>
150
+ <div class="col-2">
151
+ <?php echo $this->getChildHtml('crosssell') ?>
152
+ </div>
153
+ <br class="clear"/>
154
+ </div>
155
+ </div>
156
+ </div>
app/design/frontend/modulesgarden/crystal/template/checkout/cart/coupon.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 base_default
23
+ * @copyright Copyright (c) 2014 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="discount-coupon-form" action="<?php echo $this->getUrl('checkout/cart/couponPost') ?>" method="post">
28
+ <div class="discount">
29
+ <h2><?php echo $this->__('Discount Codes') ?></h2>
30
+ <div class="discount-form">
31
+ <label for="coupon_code"><?php echo $this->__('Enter your coupon code if you have one.') ?></label>
32
+ <input type="hidden" name="remove" id="remove-coupone" value="0" />
33
+ <div class="input-box">
34
+ <input class="input-text" id="coupon_code" name="coupon_code" value="<?php echo $this->escapeHtml($this->getCouponCode()) ?>" />
35
+ </div>
36
+ <div class="buttons-set">
37
+ <button type="button" title="<?php echo $this->__('Apply Coupon') ?>" class="button" onclick="discountForm.submit(false)" value="<?php echo $this->__('Apply Coupon') ?>"><span><span><?php echo $this->__('Apply Coupon') ?></span></span></button>
38
+ <?php if(strlen($this->getCouponCode())): ?>
39
+ &nbsp; <button type="button" title="<?php echo $this->__('Cancel Coupon') ?>" class="button" onclick="discountForm.submit(true)" value="<?php echo $this->__('Cancel Coupon') ?>"><span><span><?php echo $this->__('Cancel Coupon') ?></span></span></button>
40
+ <?php endif;?>
41
+ </div>
42
+ </div>
43
+ </div>
44
+ </form>
45
+ <script type="text/javascript">
46
+ //<![CDATA[
47
+ var discountForm = new VarienForm('discount-coupon-form');
48
+ discountForm.submit = function (isRemove) {
49
+ if (isRemove) {
50
+ $('coupon_code').removeClassName('required-entry');
51
+ $('remove-coupone').value = "1";
52
+ } else {
53
+ $('coupon_code').addClassName('required-entry');
54
+ $('remove-coupone').value = "0";
55
+ }
56
+ return VarienForm.prototype.submit.bind(discountForm)();
57
+ }
58
+ //]]>
59
+ </script>
app/design/frontend/modulesgarden/crystal/template/checkout/cart/crosssell.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 base_default
23
+ * @copyright Copyright (c) 2014 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="crosssell">
36
+ <h2><?php echo $this->__('Based on your selection, you may be interested in the following items:') ?></h2>
37
+ <ul id="crosssell-products-list">
38
+ <?php foreach ($this->getItems() as $_item): ?>
39
+ <li class="item">
40
+ <a class="product-image" href="<?php echo $_item->getProductUrl() ?>" title="<?php echo $this->escapeHtml($_item->getName()) ?>"><img src="<?php echo $this->helper('catalog/image')->init($_item, 'thumbnail')->resize(75); ?>" width="75" height="75" alt="<?php echo $this->escapeHtml($_item->getName()) ?>" /></a>
41
+ <div class="product-details">
42
+ <h3 class="product-name"><a href="<?php echo $_item->getProductUrl() ?>"><?php echo $this->escapeHtml($_item->getName()) ?></a></h3>
43
+ <?php echo $this->getPriceHtml($_item, true) ?>
44
+ <button type="button" title="<?php echo $this->__('Add to Cart') ?>" class="button btn-cart" onclick="setLocation('<?php echo $this->getAddToCartUrl($_item) ?>')"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button>
45
+ <ul class="add-to-links clearfix">
46
+ <?php if ($this->helper('wishlist')->isAllow()) : ?>
47
+ <li><a href="<?php echo $this->getAddToWishlistUrl($_item) ?>" class="link-wishlist"><?php echo $this->__('Add to Wishlist') ?></a></li>
48
+ <?php endif; ?>
49
+ <?php if($_compareUrl=$this->getAddToCompareUrl($_item)): ?>
50
+ <li><span class="separator">|</span> <a href="<?php echo $_compareUrl ?>" class="link-compare"><?php echo $this->__('Add to Compare') ?></a></li>
51
+ <?php endif; ?>
52
+ </ul>
53
+ </div>
54
+ </li>
55
+ <?php endforeach; ?>
56
+ </ul>
57
+ <script type="text/javascript">decorateList('crosssell-products-list', 'none-recursive')</script>
58
+ </div>
59
+ <?php endif; ?>
app/design/frontend/modulesgarden/crystal/template/checkout/cart/item/configure/updatecart.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 base_default
23
+ * @copyright Copyright (c) 2014 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
+ <?php $buttonTitle = $this->__('Update Cart'); ?>
30
+ <?php if ($_product->isSaleable()): ?>
31
+ <div class="add-to-cart">
32
+ <?php if (!$_product->isGrouped()): ?>
33
+ <label for="qty"><?php echo $this->__('Qty:') ?></label>
34
+ <input type="text" name="qty" id="qty" maxlength="12" value="<?php echo $this->getProductDefaultQty() * 1 ?>" title="<?php echo $this->__('Qty') ?>" class="input-text qty" />
35
+ <?php endif; ?>
36
+ <button type="button" title="<?php echo $buttonTitle ?>" class="button btn-cart" onclick="productAddToCartForm.submit(this)"><span><span><?php echo $buttonTitle ?></span></span></button>
37
+ <?php echo $this->getChildHtml('', true, true) ?>
38
+ </div>
39
+ <?php endif; ?>
app/design/frontend/modulesgarden/crystal/template/checkout/cart/item/default.phtml ADDED
@@ -0,0 +1,279 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 base_default
23
+ * @copyright Copyright (c) 2014 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
+ $_item = $this->getItem();
29
+ $isVisibleProduct = $_item->getProduct()->isVisibleInSiteVisibility();
30
+ $canApplyMsrp = Mage::helper('catalog')->canApplyMsrp($_item->getProduct(), Mage_Catalog_Model_Product_Attribute_Source_Msrp_Type::TYPE_BEFORE_ORDER_CONFIRM);
31
+ ?>
32
+ <tr>
33
+ <td class="product-cart-image"><?php if ($this->hasProductUrl()):?><a href="<?php echo $this->getProductUrl() ?>" title="<?php echo $this->escapeHtml($this->getProductName()) ?>" class="product-image"><?php endif;?><img src="<?php echo $this->getProductThumbnail()->resize(75); ?>" width="75" height="75" alt="<?php echo $this->escapeHtml($this->getProductName()) ?>" /><?php if ($this->hasProductUrl()):?></a><?php endif;?></td>
34
+ <td class="cart-rwd-item">
35
+ <h2 class="product-name">
36
+ <?php if ($this->hasProductUrl()):?>
37
+ <a href="<?php echo $this->getProductUrl() ?>"><?php echo $this->escapeHtml($this->getProductName()) ?></a>
38
+ <?php else: ?>
39
+ <?php echo $this->escapeHtml($this->getProductName()) ?>
40
+ <?php endif; ?>
41
+ </h2>
42
+ <?php if ($_options = $this->getOptionList()):?>
43
+ <dl class="item-options">
44
+ <?php foreach ($_options as $_option) : ?>
45
+ <?php $_formatedOptionValue = $this->getFormatedOptionValue($_option) ?>
46
+ <dt><?php echo $this->escapeHtml($_option['label']) ?></dt>
47
+ <dd<?php if (isset($_formatedOptionValue['full_view'])): ?> class="truncated"<?php endif; ?>><?php echo $_formatedOptionValue['value'] ?>
48
+ <?php if (isset($_formatedOptionValue['full_view'])): ?>
49
+ <div class="truncated_full_value">
50
+ <dl class="item-options">
51
+ <dt><?php echo $this->escapeHtml($_option['label']) ?></dt>
52
+ <dd><?php echo $_formatedOptionValue['full_view'] ?></dd>
53
+ </dl>
54
+ </div>
55
+ <?php endif; ?>
56
+ </dd>
57
+ <?php endforeach; ?>
58
+ </dl>
59
+ <?php endif;?>
60
+ <?php if ($messages = $this->getMessages()): ?>
61
+ <?php foreach ($messages as $message): ?>
62
+ <p class="item-msg <?php echo $message['type'] ?>">* <?php echo $this->escapeHtml($message['text']) ?></p>
63
+ <?php endforeach; ?>
64
+ <?php endif; ?>
65
+ <?php $addInfoBlock = $this->getProductAdditionalInformationBlock(); ?>
66
+ <?php if ($addInfoBlock): ?>
67
+ <?php echo $addInfoBlock->setItem($_item)->toHtml() ?>
68
+ <?php endif;?>
69
+ </td>
70
+ <td class="a-center cart-rwd-item">
71
+ <?php if ($isVisibleProduct): ?>
72
+ <a href="<?php echo $this->getConfigureUrl() ?>" title="<?php echo $this->__('Edit item parameters') ?>"><?php echo $this->__('Edit') ?></a>
73
+ <?php endif ?>
74
+ </td>
75
+ <?php if ($this->helper('wishlist')->isAllowInCart()) : ?>
76
+ <td class="a-center cart-rwd-item">
77
+ <?php if ($isVisibleProduct): ?>
78
+ <a href="<?php echo $this->helper('wishlist')->getMoveFromCartUrl($_item->getId()); ?>" class="link-wishlist use-ajax"><?php echo $this->__('Move'); ?></a>
79
+ <?php endif ?>
80
+ </td>
81
+ <?php endif ?>
82
+
83
+ <?php if ($canApplyMsrp): ?>
84
+ <td class="a-right cart-rwd-item"<?php if ($this->helper('tax')->displayCartBothPrices()): ?> colspan="2"<?php endif; ?>>
85
+ <span class="cart-price">
86
+ <span class="cart-msrp-unit"><?php echo $this->__('See price before order confirmation.'); ?></span>
87
+ <?php $helpLinkId = 'cart-msrp-help-' . $_item->getId(); ?>
88
+ <a id="<?php echo $helpLinkId ?>" href="#" class="map-help-link"><?php echo $this->__("What's this?"); ?></a>
89
+ <script type="text/javascript">
90
+ Catalog.Map.addHelpLink($('<?php echo $helpLinkId ?>'), "<?php echo $this->__("What's this?") ?>");
91
+ </script>
92
+ </span>
93
+ </td>
94
+ <?php else: ?>
95
+
96
+ <?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
97
+ <td class="a-right cart-rwd-item">
98
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
99
+ <span class="cart-tax-total" onclick="taxToggle('eunit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
100
+ <?php else: ?>
101
+ <span class="cart-price">
102
+ <?php endif; ?>
103
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
104
+ <?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()+$_item->getWeeeTaxAppliedAmount()+$_item->getWeeeTaxDisposition()); ?>
105
+ <?php else: ?>
106
+ <?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()) ?>
107
+ <?php endif; ?>
108
+
109
+ </span>
110
+
111
+ <?php if (Mage::helper('weee')->getApplied($_item)): ?>
112
+
113
+ <div class="cart-tax-info" id="eunit-item-tax-details<?php echo $_item->getId(); ?>" style="display:none;">
114
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
115
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
116
+ <span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount'],true,true); ?></span>
117
+ <?php endforeach; ?>
118
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
119
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
120
+ <span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount'],true,true); ?></span>
121
+ <?php endforeach; ?>
122
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
123
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
124
+ <span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount'],true,true); ?></span>
125
+ <?php endforeach; ?>
126
+ <?php endif; ?>
127
+ </div>
128
+
129
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
130
+ <div class="cart-tax-total" onclick="taxToggle('eunit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
131
+ <span class="weee"><?php echo Mage::helper('weee')->__('Total'); ?>: <?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()+$_item->getWeeeTaxAppliedAmount()+$_item->getWeeeTaxDisposition()); ?></span>
132
+ </div>
133
+ <?php endif; ?>
134
+ <?php endif; ?>
135
+ </td>
136
+ <?php endif; ?><!-- inclusive price starts here -->
137
+ <?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
138
+ <td class="cart-rwd-item product-cart-price">
139
+ <?php $_incl = $this->helper('checkout')->getPriceInclTax($_item); ?>
140
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
141
+ <span class="cart-tax-total" onclick="taxToggle('unit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
142
+ <?php else: ?>
143
+ <span class="cart-price">
144
+ <?php endif; ?>
145
+
146
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
147
+ <?php echo $this->helper('checkout')->formatPrice($_incl + Mage::helper('weee')->getWeeeTaxInclTax($_item)); ?>
148
+ <?php else: ?>
149
+ <?php echo $this->helper('checkout')->formatPrice($_incl-$_item->getWeeeTaxDisposition()) ?>
150
+ <?php endif; ?>
151
+
152
+ </span>
153
+ <?php if (Mage::helper('weee')->getApplied($_item)): ?>
154
+
155
+ <div class="cart-tax-info" id="unit-item-tax-details<?php echo $_item->getId(); ?>" style="display:none;">
156
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
157
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
158
+ <span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></span>
159
+ <?php endforeach; ?>
160
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
161
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
162
+ <span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></span>
163
+ <?php endforeach; ?>
164
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
165
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
166
+ <span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></span>
167
+ <?php endforeach; ?>
168
+ <?php endif; ?>
169
+ </div>
170
+
171
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
172
+ <div class="cart-tax-total" onclick="taxToggle('unit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
173
+ <span class="weee"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>: <?php echo $this->helper('checkout')->formatPrice($_incl + Mage::helper('weee')->getWeeeTaxInclTax($_item)); ?></span>
174
+ </div>
175
+ <?php endif; ?>
176
+ <?php endif; ?>
177
+ </td>
178
+ <?php endif; ?>
179
+ <?php endif; ?>
180
+ <td class="a-center cart-rwd-item">
181
+ <input name="cart[<?php echo $_item->getId() ?>][qty]" value="<?php echo $this->getQty() ?>" size="4" title="<?php echo $this->__('Qty') ?>" class="input-text qty" maxlength="12" />
182
+ </td>
183
+
184
+ <!--Sub total starts here -->
185
+ <?php if (($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()) && !$_item->getNoSubtotal()): ?>
186
+ <td class="a-right cart-rwd-item">
187
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
188
+ <span class="cart-tax-total" onclick="taxToggle('esubtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
189
+ <?php else: ?>
190
+ <span class="cart-price">
191
+ <?php endif; ?>
192
+
193
+ <?php if ($canApplyMsrp): ?>
194
+ <span class="cart-msrp-subtotal">--</span>
195
+ <?php else: ?>
196
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
197
+ <?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()+$_item->getWeeeTaxAppliedRowAmount()+$_item->getWeeeTaxRowDisposition()); ?>
198
+ <?php else: ?>
199
+ <?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()) ?>
200
+ <?php endif; ?>
201
+ <?php endif; ?>
202
+
203
+ </span>
204
+ <?php if (Mage::helper('weee')->getApplied($_item)): ?>
205
+
206
+ <div class="cart-tax-info" id="esubtotal-item-tax-details<?php echo $_item->getId(); ?>" style="display:none;">
207
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
208
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
209
+ <span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount'],true,true); ?></span>
210
+ <?php endforeach; ?>
211
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
212
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
213
+ <span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount'],true,true); ?></span>
214
+ <?php endforeach; ?>
215
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
216
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
217
+ <span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount'],true,true); ?></span>
218
+ <?php endforeach; ?>
219
+ <?php endif; ?>
220
+ </div>
221
+
222
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
223
+ <div class="cart-tax-total" onclick="taxToggle('esubtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
224
+ <span class="weee"><?php echo Mage::helper('weee')->__('Total'); ?>: <?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()+$_item->getWeeeTaxAppliedRowAmount()+$_item->getWeeeTaxRowDisposition()); ?></span>
225
+ </div>
226
+ <?php endif; ?>
227
+ <?php endif; ?>
228
+ </td>
229
+ <?php endif; ?>
230
+ <?php if (($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()) && !$_item->getNoSubtotal()): ?>
231
+ <td class="cart-rwd-item product-cart-price">
232
+ <?php $_incl = $this->helper('checkout')->getSubtotalInclTax($_item); ?>
233
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
234
+ <span class="cart-tax-total" onclick="taxToggle('subtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
235
+ <?php else: ?>
236
+ <span class="cart-price">
237
+ <?php endif; ?>
238
+
239
+ <?php if ($canApplyMsrp): ?>
240
+ <span class="cart-msrp-subtotal">--</span>
241
+ <?php else: ?>
242
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
243
+ <?php echo $this->helper('checkout')->formatPrice($_incl + Mage::helper('weee')->getRowWeeeTaxInclTax($_item)); ?>
244
+ <?php else: ?>
245
+ <?php echo $this->helper('checkout')->formatPrice($_incl-$_item->getWeeeTaxRowDisposition()) ?>
246
+ <?php endif; ?>
247
+ <?php endif; ?>
248
+
249
+ </span>
250
+
251
+
252
+ <?php if (Mage::helper('weee')->getApplied($_item)): ?>
253
+
254
+ <div class="cart-tax-info" id="subtotal-item-tax-details<?php echo $_item->getId(); ?>" style="display:none;">
255
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
256
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
257
+ <span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount_incl_tax'],true,true); ?></span>
258
+ <?php endforeach; ?>
259
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
260
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
261
+ <span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount_incl_tax'],true,true); ?></span>
262
+ <?php endforeach; ?>
263
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
264
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
265
+ <span class="weee"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount_incl_tax'],true,true); ?></span>
266
+ <?php endforeach; ?>
267
+ <?php endif; ?>
268
+ </div>
269
+
270
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
271
+ <div class="cart-tax-total" onclick="taxToggle('subtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
272
+ <span class="weee"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>: <?php echo $this->helper('checkout')->formatPrice($_incl + Mage::helper('weee')->getRowWeeeTaxInclTax($_item)); ?></span>
273
+ </div>
274
+ <?php endif; ?>
275
+ <?php endif; ?>
276
+ </td>
277
+ <?php endif; ?>
278
+ <td class="a-center"><a href="<?php echo $this->getDeleteUrl()?>" title="<?php echo $this->__('Remove item')?>" class="btn-remove btn-remove2"><?php echo $this->__('Remove item')?></a></td>
279
+ </tr>
app/design/frontend/modulesgarden/crystal/template/checkout/cart/noItems.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 base_default
23
+ * @copyright Copyright (c) 2014 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-title">
28
+ <h1><?php echo $this->__('Shopping Cart is Empty') ?></h1>
29
+ </div>
30
+ <div class="cart-empty">
31
+ <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
32
+ <?php echo $this->getChildHtml('checkout_cart_empty_widget'); ?>
33
+ <p><?php echo $this->__('You have no items in your shopping cart.') ?></p>
34
+ <p><?php echo $this->__('Click <a href="%s">here</a> to continue shopping.', $this->getContinueShoppingUrl()) ?></p>
35
+ <?php echo $this->getChildHtml('shopping.cart.table.after'); ?>
36
+ </div>
app/design/frontend/modulesgarden/crystal/template/checkout/cart/render/default.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 base_default
23
+ * @copyright Copyright (c) 2014 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
+ * @deprecated after 1.4.0.0-alpha3
29
+ */
30
+ ?>
31
+ <?php $_item = $this->getItem() ?>
32
+ <tr>
33
+ <td class="a-center"><a href="<?php echo $this->getItemDeleteUrl($_item) ?>" title="<?php echo $this->__('Remove Item')?>" class="btn-remove2"><?php echo $this->__('Remove Item')?></a></td>
34
+ <td><a href="<?php echo $this->getItemUrl($_item) ?>" title="<?php echo $this->escapeHtml($this->getItemName($_item)) ?>" class="product-image"><img src="<?php echo $this->helper('catalog/image')->init($this->getItemProductForThumbnail($_item), 'thumbnail')->resize(75); ?>" width="75" alt="<?php echo $this->escapeHtml($this->getItemName($_item)) ?>" /></a></td>
35
+ <td>
36
+ <h3 class="product-name"><a href="<?php echo $this->getItemUrl($_item) ?>"><?php echo $this->getItemName($_item) ?></a></h3>
37
+ <?php echo $this->getItemDescription($_item) ?>
38
+ <?php if($_item->getMessage()): ?>
39
+ <p class="item-msg <?php if($_item->getHasError()): ?>error<?php else: ?>notice<?php endif; ?>">* <?php echo $_item->getMessage() ?></p>
40
+ <?php endif; ?>
41
+ </td>
42
+ <?php if ($this->helper('wishlist')->isAllowInCart()) : ?>
43
+ <td class="a-center">
44
+ <a href="<?php echo $this->helper('wishlist')->getMoveFromCartUrl($_item->getId()); ?>" class="link-wishlist"><?php echo $this->__('Move'); ?></a>
45
+ </td>
46
+ <?php endif ?>
47
+ <?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
48
+ <td class="a-right">
49
+ <?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()) ?>
50
+ </td>
51
+ <?php endif; ?>
52
+ <?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
53
+ <td class="a-right">
54
+ <?php echo $this->helper('checkout')->formatPrice($this->helper('checkout')->getPriceInclTax($_item)); ?>
55
+ </td>
56
+ <?php endif; ?>
57
+ <td class="a-center">
58
+ <input name="cart[<?php echo $_item->getId() ?>][qty]" value="<?php echo $this->getItemQty($_item) ?>" size="4" class="input-text qty" maxlength="12" />
59
+ </td>
60
+ <?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
61
+ <td class="a-right">
62
+ <?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()) ?>
63
+ </td>
64
+ <?php endif; ?>
65
+ <?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
66
+ <td class="a-right">
67
+ <?php echo $this->helper('checkout')->formatPrice($this->helper('checkout')->getSubtotalInclTax($_item)); ?>
68
+ </td>
69
+ <?php endif; ?>
70
+ </tr>
app/design/frontend/modulesgarden/crystal/template/checkout/cart/render/simple.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 base_default
23
+ * @copyright Copyright (c) 2014 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
+ * @deprecated after 1.4.0.0-alpha3
29
+ */
30
+ ?>
31
+ <?php $_item = $this->getItem() ?>
32
+ <tr>
33
+ <td class="a-center"><a href="<?php echo $this->getItemDeleteUrl($_item) ?>" title="<?php echo $this->__('Remove Item')?>" class="btn-remove2"><?php echo $this->__('Remove Item')?></a></td>
34
+ <td><a href="<?php echo $this->getItemUrl($_item) ?>" title="<?php echo $this->escapeHtml($this->getItemName($_item)) ?>" class="product-image"><img src="<?php echo $this->helper('catalog/image')->init($this->getItemProductForThumbnail($_item), 'thumbnail')->resize(75); ?>" width="75" height="75" alt="<?php echo $this->escapeHtml($this->getItemName($_item)) ?>" /></a></td>
35
+ <td>
36
+ <h3 class="product-name"><a href="<?php echo $this->getItemUrl($_item) ?>"><?php echo $this->getItemName($_item) ?></a></h3>
37
+ <?php echo $this->getItemDescription($_item) ?>
38
+ <?php if($_item->getMessage()): ?>
39
+ <p class="item-msg <?php if($_item->getHasError()): ?>error<?php else: ?>notice<?php endif; ?>">* <?php echo $_item->getMessage() ?></p>
40
+ <?php endif; ?>
41
+ </td>
42
+ <?php if ($this->helper('wishlist')->isAllowInCart()) : ?>
43
+ <td class="a-center">
44
+ <a href="<?php echo $this->helper('wishlist')->getMoveFromCartUrl($_item->getId()); ?>" class="link-wishlist"><?php echo $this->__('Move'); ?></a>
45
+ </td>
46
+ <?php endif ?>
47
+ <?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
48
+ <td class="a-right">
49
+ <?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()) ?>
50
+ </td>
51
+ <?php endif; ?>
52
+ <?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
53
+ <td class="a-right">
54
+ <?php echo $this->helper('checkout')->formatPrice($this->helper('checkout')->getPriceInclTax($_item)); ?>
55
+ </td>
56
+ <?php endif; ?>
57
+ <td class="a-center">
58
+ <input name="cart[<?php echo $_item->getId() ?>][qty]" value="<?php echo $this->getItemQty($_item) ?>" size="4" class="input-text qty" maxlength="12" />
59
+ </td>
60
+ <?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
61
+ <td class="a-right">
62
+ <?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()) ?>
63
+ </td>
64
+ <?php endif; ?>
65
+ <?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
66
+ <td class="a-right">
67
+ <?php echo $this->helper('checkout')->formatPrice($this->helper('checkout')->getSubtotalInclTax($_item)); ?>
68
+ </td>
69
+ <?php endif; ?>
70
+ </tr>
app/design/frontend/modulesgarden/crystal/template/checkout/cart/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 base_default
23
+ * @copyright Copyright (c) 2014 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_Checkout_Block_Cart_Shipping */ ?>
28
+ <div class="shipping">
29
+ <h2><?php echo $this->__('Estimate Shipping and Tax') ?></h2>
30
+ <div class="shipping-form">
31
+ <form action="<?php echo $this->getUrl('checkout/cart/estimatePost') ?>" method="post" id="shipping-zip-form">
32
+ <p><?php echo $this->__('Enter your destination to get a shipping estimate.') ?></p>
33
+ <ul class="form-list">
34
+ <li>
35
+ <label for="country" class="required"><em>*</em><?php echo $this->__('Country') ?></label>
36
+ <div class="input-box">
37
+ <?php echo Mage::getBlockSingleton('directory/data')->getCountryHtmlSelect($this->getEstimateCountryId()) ?>
38
+ </div>
39
+ </li>
40
+ <?php //if($this->getStateActive()): ?>
41
+ <li>
42
+ <label for="region_id"<?php if ($this->isStateProvinceRequired()) echo ' class="required"' ?>><?php if ($this->isStateProvinceRequired()) echo '<em>*</em>' ?><?php echo $this->__('State/Province') ?></label>
43
+ <div class="input-box">
44
+ <select id="region_id" name="region_id" title="<?php echo $this->__('State/Province') ?>" style="display:none;"<?php echo ($this->isStateProvinceRequired() ? ' class="validate-select"' : '') ?>>
45
+ <option value=""><?php echo $this->__('Please select region, state or province') ?></option>
46
+ </select>
47
+ <script type="text/javascript">
48
+ //<![CDATA[
49
+ $('region_id').setAttribute('defaultValue', "<?php echo $this->getEstimateRegionId() ?>");
50
+ //]]>
51
+ </script>
52
+ <input type="text" id="region" name="region" value="<?php echo $this->escapeHtml($this->getEstimateRegion()) ?>" title="<?php echo $this->__('State/Province') ?>" class="input-text" style="display:none;" />
53
+ </div>
54
+ </li>
55
+ <?php //endif; ?>
56
+ <?php if($this->getCityActive()): ?>
57
+ <li>
58
+ <label for="city"<?php if ($this->isCityRequired()) echo ' class="required"' ?>><?php if ($this->isCityRequired()) echo '<em>*</em>' ?><?php echo $this->__('City') ?></label>
59
+ <div class="input-box">
60
+ <input class="input-text<?php if ($this->isCityRequired()):?> required-entry<?php endif;?>" id="city" type="text" name="estimate_city" value="<?php echo $this->escapeHtml($this->getEstimateCity()) ?>" />
61
+ </div>
62
+ </li>
63
+ <?php endif; ?>
64
+ <li>
65
+ <label for="postcode"<?php if ($this->isZipCodeRequired()) echo ' class="required"' ?>><?php if ($this->isZipCodeRequired()) echo '<em>*</em>' ?><?php echo $this->__('Zip/Postal Code') ?></label>
66
+ <div class="input-box">
67
+ <input class="input-text validate-postcode<?php if ($this->isZipCodeRequired()):?> required-entry<?php endif;?>" type="text" id="postcode" name="estimate_postcode" value="<?php echo $this->escapeHtml($this->getEstimatePostcode()) ?>" />
68
+ </div>
69
+ </li>
70
+ </ul>
71
+ <div class="buttons-set">
72
+ <button type="button" title="<?php echo $this->__('Get a Quote') ?>" onclick="coShippingMethodForm.submit()" class="button"><span><span><?php echo $this->__('Get a Quote') ?></span></span></button>
73
+ </div>
74
+ </form>
75
+ <script type="text/javascript">
76
+ //<![CDATA[
77
+ new RegionUpdater('country', 'region', 'region_id', <?php echo $this->helper('directory')->getRegionJson() ?>);
78
+ //]]>
79
+ </script>
80
+
81
+ <?php if (($_shippingRateGroups = $this->getEstimateRates())): ?>
82
+ <form id="co-shipping-method-form" action="<?php echo $this->getUrl('checkout/cart/estimateUpdatePost') ?>">
83
+ <dl class="sp-methods">
84
+ <?php foreach ($_shippingRateGroups as $code => $_rates): ?>
85
+ <dt><?php echo $this->escapeHtml($this->getCarrierName($code)) ?></dt>
86
+ <dd>
87
+ <ul>
88
+ <?php foreach ($_rates as $_rate): ?>
89
+ <li<?php if ($_rate->getErrorMessage()) echo ' class="error-msg"';?>>
90
+ <?php if ($_rate->getErrorMessage()): ?>
91
+ <?php echo $this->escapeHtml($_rate->getErrorMessage()) ?>
92
+ <?php else: ?>
93
+ <input name="estimate_method" type="radio" value="<?php echo $this->escapeHtml($_rate->getCode()) ?>" id="s_method_<?php echo $_rate->getCode() ?>"<?php if($_rate->getCode()===$this->getAddressShippingMethod()) echo ' checked="checked"' ?> class="radio" />
94
+ <label for="s_method_<?php echo $_rate->getCode() ?>"><?php echo $this->escapeHtml($_rate->getMethodTitle()) ?>
95
+ <?php $_excl = $this->getShippingPrice($_rate->getPrice(), $this->helper('tax')->displayShippingPriceIncludingTax()); ?>
96
+ <?php $_incl = $this->getShippingPrice($_rate->getPrice(), true); ?>
97
+ <?php echo $_excl; ?>
98
+ <?php if ($this->helper('tax')->displayShippingBothPrices() && $_incl != $_excl): ?>
99
+ (<?php echo $this->__('Incl. Tax'); ?> <?php echo $_incl; ?>)
100
+ <?php endif; ?>
101
+ </label>
102
+ <?php endif ?>
103
+ </li>
104
+ <?php endforeach; ?>
105
+ </ul>
106
+ </dd>
107
+ <?php endforeach; ?>
108
+ </dl>
109
+ <div class="buttons-set">
110
+ <button type="submit" title="<?php echo $this->__('Update Total') ?>" class="button" name="do" value="<?php echo $this->__('Update Total') ?>"><span><span><?php echo $this->__('Update Total') ?></span></span></button>
111
+ </div>
112
+ </form>
113
+ <?php endif; ?>
114
+ <script type="text/javascript">
115
+ //<![CDATA[
116
+ var coShippingMethodForm = new VarienForm('shipping-zip-form');
117
+ var countriesWithOptionalZip = <?php echo $this->helper('directory')->getCountriesWithOptionalZip(true) ?>;
118
+
119
+ coShippingMethodForm.submit = function () {
120
+ var country = $F('country');
121
+ var optionalZip = false;
122
+
123
+ for (i=0; i < countriesWithOptionalZip.length; i++) {
124
+ if (countriesWithOptionalZip[i] == country) {
125
+ optionalZip = true;
126
+ }
127
+ }
128
+ if (optionalZip) {
129
+ $('postcode').removeClassName('required-entry');
130
+ }
131
+ else {
132
+ $('postcode').addClassName('required-entry');
133
+ }
134
+ return VarienForm.prototype.submit.bind(coShippingMethodForm)();
135
+ }
136
+ //]]>
137
+ </script>
138
+ </div>
139
+ </div>
app/design/frontend/modulesgarden/crystal/template/checkout/cart/sidebar.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 base_default
23
+ * @copyright Copyright (c) 2014 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
+ * Shoping cart sidebar
29
+ *
30
+ * @see Mage_Checkout_Block_Cart_Sidebar
31
+ */
32
+
33
+ ?>
34
+ <?php if ($this->getIsNeedToDisplaySideBar()):?>
35
+ <div class="block block-cart">
36
+ <?php $_cartQty = $this->getSummaryCount() ?>
37
+ <div class="block-title">
38
+ <strong><span><?php echo $this->__('My Cart') ?></span></strong>
39
+ </div>
40
+ <div class="block-content">
41
+ <?php if ($_cartQty>0): ?>
42
+ <div class="summary">
43
+ <?php if ($_cartQty==1): ?>
44
+ <p class="amount"><?php echo $this->__('There is <a href="%s">1 item</a> in your cart.', $this->getUrl('checkout/cart')) ?></p>
45
+ <?php else: ?>
46
+ <p class="amount"><?php echo $this->__('There are <a href="%s">%s items</a> in your cart.', $this->getUrl('checkout/cart'), $_cartQty) ?></p>
47
+ <?php endif ?>
48
+ <p class="subtotal">
49
+ <?php if ($this->canApplyMsrp()): ?>
50
+ <span class="map-cart-sidebar-total"><?php echo $this->__('ORDER TOTAL WILL BE DISPLAYED BEFORE YOU SUBMIT THE ORDER'); ?></span>
51
+ <?php else: ?>
52
+ <span class="label"><?php echo $this->__('Cart Subtotal:') ?></span> <?php echo Mage::helper('checkout')->formatPrice($this->getSubtotal()) ?>
53
+ <?php if ($_subtotalInclTax = $this->getSubtotalInclTax()): ?>
54
+ <br />(<?php echo Mage::helper('checkout')->formatPrice($_subtotalInclTax) ?> <?php echo Mage::helper('tax')->getIncExcText(true) ?>)
55
+ <?php endif; ?>
56
+ <?php endif; ?>
57
+ </p>
58
+ </div>
59
+ <?php endif ?>
60
+ <?php if($_cartQty && $this->isPossibleOnepageCheckout()): ?>
61
+ <div class="actions">
62
+ <?php echo $this->getChildHtml('extra_actions') ?>
63
+ <button type="button" title="<?php echo $this->__('Checkout') ?>" class="button_green" onclick="setLocation('<?php echo $this->getCheckoutUrl() ?>')"><span><span><?php echo $this->__('Checkout') ?></span></span></button>
64
+ </div>
65
+ <?php endif ?>
66
+ <?php $_items = $this->getRecentItems() ?>
67
+ <?php if(count($_items)): ?>
68
+ <p class="block-subtitle"><?php echo $this->__('Recently added item(s)') ?></p>
69
+ <ol id="cart-sidebar" class="mini-products-list">
70
+ <?php foreach($_items as $_item): ?>
71
+ <?php echo $this->getItemHtml($_item) ?>
72
+ <?php endforeach; ?>
73
+ </ol>
74
+ <script type="text/javascript">decorateList('cart-sidebar', 'none-recursive')</script>
75
+ <?php else: ?>
76
+ <p class="empty"><?php echo $this->__('You have no items in your shopping cart.') ?></p>
77
+ <?php endif ?>
78
+ </div>
79
+ </div>
80
+ <?php endif;?>
app/design/frontend/modulesgarden/crystal/template/checkout/cart/sidebar/default.phtml ADDED
@@ -0,0 +1,145 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 base_default
23
+ * @copyright Copyright (c) 2014 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
+ $_item = $this->getItem();
29
+ $isVisibleProduct = $_item->getProduct()->isVisibleInSiteVisibility();
30
+ $canApplyMsrp = Mage::helper('catalog')->canApplyMsrp($_item->getProduct(), Mage_Catalog_Model_Product_Attribute_Source_Msrp_Type::TYPE_BEFORE_ORDER_CONFIRM);
31
+ ?>
32
+ <li class="item">
33
+ <?php if ($this->hasProductUrl()): ?>
34
+ <a href="<?php echo $this->getProductUrl()?>" title="<?php echo $this->escapeHtml($this->getProductName()) ?>" class="product-image"><img src="<?php echo $this->getProductThumbnail()->resize(50, 50)->setWatermarkSize('30x10'); ?>" width="50" height="50" alt="<?php echo $this->escapeHtml($this->getProductName()) ?>" /></a>
35
+ <?php else: ?>
36
+ <span class="product-image"><img src="<?php echo $this->getProductThumbnail()->resize(50, 50)->setWatermarkSize('30x10'); ?>" width="50" height="50" alt="<?php echo $this->escapeHtml($this->getProductName()) ?>" /></span>
37
+ <?php endif; ?>
38
+ <div class="product-details">
39
+ <a href="<?php echo $this->getDeleteUrl() ?>" title="<?php echo $this->__('Remove This Item') ?>" onclick="return confirm('<?php echo $this->__('Are you sure you would like to remove this item from the shopping cart?') ?>');" class="btn-remove"><?php echo $this->__('Remove This Item') ?></a>
40
+ <?php if ($isVisibleProduct): ?>
41
+ <a href="<?php echo $this->getConfigureUrl() ?>" title="<?php echo $this->__('Edit item') ?>" class="btn-edit"><?php echo $this->__('Edit item')?></a>
42
+ <?php endif ?>
43
+ <p class="product-name"><?php if ($this->hasProductUrl()): ?><a href="<?php echo $this->getProductUrl() ?>"><?php endif; ?><?php echo $this->escapeHtml($this->getProductName()) ?><?php if ($this->hasProductUrl()): ?></a><?php endif; ?></p>
44
+ <strong><?php echo $this->getQty() ?></strong> x
45
+
46
+ <?php if ($canApplyMsrp): ?>
47
+
48
+ <span class="map-cart-sidebar-item"><?php echo $this->__('See price before order confirmation.'); ?></span>
49
+
50
+ <?php else: ?>
51
+
52
+ <?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
53
+ <?php if ($this->helper('tax')->displayCartBothPrices()): ?>
54
+ <?php echo $this->__('Excl. Tax'); ?>:
55
+ <?php endif; ?>
56
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales')): ?>
57
+ <?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()+$_item->getWeeeTaxAppliedAmount()+$_item->getWeeeTaxDisposition()); ?>
58
+ <?php else: ?>
59
+ <?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()) ?>
60
+ <?php endif; ?>
61
+ <?php if (Mage::helper('weee')->getApplied($_item)): ?>
62
+ <br />
63
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales')): ?>
64
+ <small>
65
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
66
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount'],true,true); ?></span><br />
67
+ <?php endforeach; ?>
68
+ </small>
69
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales')): ?>
70
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
71
+ <span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></small></span><br />
72
+ <?php endforeach; ?>
73
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales')): ?>
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_incl_tax'],true,true); ?></span><br />
77
+ <?php endforeach; ?>
78
+ </small>
79
+ <?php endif; ?>
80
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales')): ?>
81
+ <span class="nobr"><?php echo Mage::helper('weee')->__('Total'); ?>:<br /> <?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()+$_item->getWeeeTaxAppliedAmount()+$_item->getWeeeTaxDisposition()); ?></span>
82
+ <?php endif; ?>
83
+ <?php endif; ?>
84
+ <?php endif; ?>
85
+
86
+
87
+
88
+ <?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
89
+ <?php $_incl = $this->helper('checkout')->getPriceInclTax($_item); ?>
90
+ <?php if ($this->helper('tax')->displayCartBothPrices()): ?>
91
+ <br /><?php echo $this->__('Incl. Tax'); ?>:
92
+ <?php endif; ?>
93
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales')): ?>
94
+ <?php echo $this->helper('checkout')->formatPrice($_incl + Mage::helper('weee')->getWeeeTaxInclTax($_item)); ?>
95
+ <?php else: ?>
96
+ <?php echo $this->helper('checkout')->formatPrice($_incl-$_item->getWeeeTaxDisposition()) ?>
97
+ <?php endif; ?>
98
+ <?php if (Mage::helper('weee')->getApplied($_item)): ?>
99
+ <br />
100
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales')): ?>
101
+ <small>
102
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
103
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount'],true,true); ?></span><br />
104
+ <?php endforeach; ?>
105
+ </small>
106
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales')): ?>
107
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
108
+ <span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></small></span><br />
109
+ <?php endforeach; ?>
110
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales')): ?>
111
+ <small>
112
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
113
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></span><br />
114
+ <?php endforeach; ?>
115
+ </small>
116
+ <?php endif; ?>
117
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales')): ?>
118
+ <span class="nobr"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>:<br /> <?php echo $this->helper('checkout')->formatPrice($_incl + Mage::helper('weee')->getWeeeTaxInclTax($_item)); ?></span>
119
+ <?php endif; ?>
120
+ <?php endif; ?>
121
+ <?php endif; ?>
122
+
123
+ <?php endif; //Can apply MSRP ?>
124
+
125
+ <?php if ($_options = $this->getOptionList()):?>
126
+ <div class="truncated">
127
+ <div class="truncated_full_value">
128
+ <dl class="item-options">
129
+ <?php foreach ($_options as $_option) : ?>
130
+ <dt><?php echo $this->escapeHtml($_option['label']) ?></dt>
131
+ <dd>
132
+ <?php if (is_array($_option['value'])): ?>
133
+ <?php echo nl2br(implode("\n", $_option['value'])) ?>
134
+ <?php else: ?>
135
+ <?php echo $_option['value'] ?>
136
+ <?php endif; ?>
137
+ </dd>
138
+ <?php endforeach; ?>
139
+ </dl>
140
+ </div>
141
+ <a href="#" onclick="return false;" class="details"><?php echo $this->__('Details') ?></a>
142
+ </div>
143
+ <?php endif; ?>
144
+ </div>
145
+ </li>
app/design/frontend/modulesgarden/crystal/template/checkout/cart/totals.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 base_default
23
+ * @copyright Copyright (c) 2014 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
+ * @var $this Mage_Checkout_Block_Cart_Totals
33
+ */
34
+ ?>
35
+ <?php if ($this->canApplyMsrp()): ?>
36
+ <div class="cart-msrp-totals"><?php echo $this->__('ORDER TOTAL WILL BE DISPLAYED BEFORE YOU SUBMIT THE ORDER'); ?></div>
37
+ <?php else: ?>
38
+ <table id="shopping-cart-totals-table">
39
+ <col />
40
+ <col width="1" />
41
+ <tfoot>
42
+ <?php echo $this->renderTotals('footer'); ?>
43
+ </tfoot>
44
+ <tbody>
45
+ <?php echo $this->renderTotals(); ?>
46
+ </tbody>
47
+ </table>
48
+ <?php endif; ?>
app/design/frontend/modulesgarden/crystal/template/checkout/multishipping/address/select.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 base_default
23
+ * @copyright Copyright (c) 2014 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="multiple-checkout">
28
+ <div class="page-title title-buttons">
29
+ <h1><?php echo $this->__('Change Billing Address') ?></h1>
30
+ <button type="button" title="<?php echo $this->__('Add New Address') ?>" class="button" onclick="setLocation('<?php echo $this->getAddNewUrl() ?>')"><span><span><?php echo $this->__('Add New Address') ?></span></span></button>
31
+ </div>
32
+ <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
33
+ <?php $_index=0 ?>
34
+ <?php foreach ($this->getAddressCollection() as $_address): ?>
35
+ <?php if($_index%3==0): ?><div class="col3-set"><?php endif; ?>
36
+ <div class="col-<?php echo ($_index%3+1) ?>">
37
+ <p class="actions">
38
+ <a href="<?php echo $this->getEditAddressUrl($_address) ?>"><?php echo $this->__('Edit Address') ?></a> <span class="separator">|</span>
39
+ <a href="<?php echo $this->getSetAddressUrl($_address) ?>"><strong><?php echo $this->__('Select Address') ?></strong></a>
40
+ </p>
41
+ <address>
42
+ <?php echo $_address->format('html') ?>
43
+ </address>
44
+ <?php if($this->isAddressDefaultBilling($_address)): ?>
45
+ <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
+ </div>
51
+ <?php $_index++ ?>
52
+ <?php if($_index && $_index%3==0): ?></div><?php endif; ?>
53
+ <?php endforeach; ?>
54
+ <?php if(!$_index || $_index%3!=0): ?></div><?php endif; ?>
55
+ <div class="buttons-set">
56
+ <p class="back-link"><a href="<?php echo $this->getBackUrl() ?>"><small>&laquo; </small><?php echo $this->__('Back to Billing Information') ?></a></p>
57
+ </div>
58
+ </div>
app/design/frontend/modulesgarden/crystal/template/checkout/multishipping/addresses.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 base_default
23
+ * @copyright Copyright (c) 2014 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
+ <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
35
+ <form id="checkout_multishipping_form" action="<?php echo $this->getPostActionUrl() ?>" method="post">
36
+ <div class="multiple-checkout">
37
+ <div class="page-title title-buttons">
38
+ <h1><?php echo $this->__('Ship to Multiple Addresses') ?></h1>
39
+ <button data-action="add-new-customer-address" type="button" title="<?php echo $this->__('Enter a New Address') ?>" class="button" onclick="$('add_new_address_flag').value=1; $('checkout_multishipping_form').submit();"><span><span><?php echo $this->__('Enter a New Address') ?></span></span></button>
40
+ </div>
41
+ <input type="hidden" name="continue" value="0" id="can_continue_flag" />
42
+ <input type="hidden" name="new_address" value="0" id="add_new_address_flag" />
43
+ <h2><?php echo $this->__('Please select shipping address for applicable items') ?></h2>
44
+ <table class="data-table" id="multiship-addresses-table">
45
+ <col />
46
+ <col width="1" />
47
+ <col width="1" />
48
+ <col width="1" />
49
+ <thead>
50
+ <tr>
51
+ <th><?php echo $this->__('Product') ?></th>
52
+ <th class="a-center"><?php echo $this->__('Qty') ?></th>
53
+ <th><?php echo $this->__('Send To') ?></th>
54
+ <th>&nbsp;</th>
55
+ </tr>
56
+ </thead>
57
+ <tfoot>
58
+ <tr>
59
+ <td colspan="100" class="a-right"><button type="submit" title="<?php echo $this->__('Update Qty &amp; Addresses') ?>" class="button" onclick="$('can_continue_flag').value=0"><span><span><?php echo $this->__('Update Qty &amp; Addresses') ?></span></span></button></td>
60
+ </tr>
61
+ </tfoot>
62
+ <tbody>
63
+ <?php foreach ($this->getItems() as $_index => $_item): ?>
64
+ <?php if ($_item->getQuoteItem()) :?>
65
+ <tr>
66
+ <td><?php echo $this->getItemHtml($_item->getQuoteItem())?></td>
67
+ <td><input type="text" name="ship[<?php echo $_index ?>][<?php echo $_item->getQuoteItemId() ?>][qty]" value="<?php echo $this->escapeHtml($_item->getQty()) ?>" size="2" class="input-text qty" /></td>
68
+ <td><?php if ($_item->getProduct()->getIsVirtual()): echo $this->__('Shipping selection is not applicable.'); else: echo $this->getAddressesHtmlSelect($_item, $_index); endif; ?></td>
69
+ <td class="a-center"><a href="<?php echo $this->getItemDeleteUrl($_item) ?>" title="<?php echo $this->__('Remove Item') ?>" class="btn-remove2"><?php echo $this->__('Remove Item') ?></a></td>
70
+ </tr>
71
+ <?php endif; ?>
72
+ <?php endforeach; ?>
73
+ </tbody>
74
+ </table>
75
+ <script type="text/javascript">decorateTable('multiship-addresses-table')</script>
76
+ <div class="buttons-set">
77
+ <p class="back-link"><a href="<?php echo $this->getBackUrl() ?>"><small>&laquo; </small><?php echo $this->__('Back to Shopping Cart') ?></a></p>
78
+ <button type="submit" data-action="checkout-continue-shipping" title="<?php echo $this->__('Continue to Shipping Information') ?>" class="button<?php if ($this->isContinueDisabled()):?> disabled<?php endif; ?>" onclick="$('can_continue_flag').value=1"<?php if ($this->isContinueDisabled()):?> disabled="disabled"<?php endif; ?>><span><span><?php echo $this->__('Continue to Shipping Information') ?></span></span></button>
79
+ </div>
80
+ </div>
81
+ </form>
app/design/frontend/modulesgarden/crystal/template/checkout/multishipping/agreements.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 base_default
23
+ * @copyright Copyright (c) 2014 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_Checkout_Block_Agreements
30
+ */
31
+ ?>
32
+
33
+ <?php if (!$this->getAgreements()) return; ?>
34
+ <ol id="checkout-agreements" class="checkout-agreements">
35
+ <?php foreach ($this->getAgreements() as $_a): ?>
36
+ <li>
37
+ <div class="agreement-content"<?php echo ($_a->getContentHeight() ? ' style="height:' . $_a->getContentHeight() . '"' : '')?>>
38
+ <?php if ($_a->getIsHtml()):?>
39
+ <?php echo $_a->getContent() ?>
40
+ <?php else:?>
41
+ <?php echo nl2br($this->escapeHtml($_a->getContent())) ?>
42
+ <?php endif; ?>
43
+ </div>
44
+ <p class="agree">
45
+ <input type="checkbox" id="agreement-<?php echo $_a->getId()?>" name="agreement[<?php echo $_a->getId()?>]" value="1" title="<?php echo $this->escapeHtml($_a->getCheckboxText()) ?>" class="checkbox" /><label for="agreement-<?php echo $_a->getId()?>"><?php echo $_a->getIsHtml() ? $_a->getCheckboxText() : $this->escapeHtml($_a->getCheckboxText()) ?></label>
46
+ </p>
47
+ </li>
48
+ <?php endforeach ?>
49
+ </ol>
app/design/frontend/modulesgarden/crystal/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 base_default
23
+ * @copyright Copyright (c) 2014 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="multiple-checkout">
35
+ <div class="page-title">
36
+ <h1><?php echo $this->__('Billing Information') ?></h1>
37
+ </div>
38
+ <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
39
+ <script src="<?php echo Mage::getBaseUrl('js') ?>varien/payment.js" type="text/javascript"></script>
40
+ <form action="<?php echo $this->getPostActionUrl() ?>" method="post" id="multishipping-billing-form">
41
+ <div class="col2-set">
42
+ <div class="col-1 col-narrow">
43
+ <div class="box">
44
+ <div class="box-title">
45
+ <h2><?php echo $this->__('Billing Address') ?> <span class="separator">|</span> <a href="<?php echo $this->getSelectAddressUrl() ?>"><?php echo $this->__('Change') ?></a></h2>
46
+ </div>
47
+ <div class="box-content">
48
+ <?php $_address=$this->getAddress() ?>
49
+ <address><?php echo $_address->format('html') ?></address>
50
+ </div>
51
+ </div>
52
+ </div>
53
+ <div class="col-2 col-wide">
54
+ <div class="box">
55
+ <div class="box-title">
56
+ <h2><?php echo $this->__('Payment Method') ?></h2>
57
+ </div>
58
+ <div class="box-content">
59
+ <div class="tool-tip" id="payment-tool-tip" style="display:none;">
60
+ <div class="btn-close"><a href="#" id="payment-tool-tip-close" title="<?php echo $this->__('Close') ?>"><?php echo $this->__('Close') ?></a></div>
61
+ <div class="tool-tip-content"><img src="<?php echo $this->getSkinUrl('images/cvv.gif') ?>" alt="<?php echo $this->__('Card Verification Number Visual Reference') ?>" title="<?php echo $this->__('Card Verification Number Visual Reference') ?>" /></div>
62
+ </div>
63
+ <!-- Payment methods forms list -->
64
+ <dl class="sp-methods">
65
+ <?php
66
+ $_methods = $this->getMethods();
67
+ $_methodsCount = count($_methods);
68
+ ?>
69
+ <?php foreach ($_methods as $_method): $_code = $_method->getCode() ?>
70
+ <dt>
71
+ <?php if ($_methodsCount > 1): ?>
72
+ <input type="radio" id="p_method_<?php echo $_code ?>" value="<?php echo $_code ?>" name="payment[method]" title="<?php echo $this->escapeHtml($_method->getTitle()) ?>" onclick="payment.switchMethod('<?php echo $_code ?>')"<?php if($this->getSelectedMethodCode()==$_code): ?> checked="checked"<?php endif; ?> class="radio" />
73
+ <?php else :?>
74
+ <span class="no-display"><input type="radio" id="p_method_<?php echo $_code ?>" value="<?php echo $_code ?>" name="payment[method]" checked="checked" class="radio" /></span>
75
+ <?php endif;?>
76
+ <label for="p_method_<?php echo $_code ?>"><?php echo $this->escapeHtml($_method->getTitle()) ?></label>
77
+ </dt>
78
+ <?php if($html = $this->getChildHtml('payment.method.'.$_code)) : ?>
79
+ <dd>
80
+ <?php echo $html; ?>
81
+ </dd>
82
+ <?php endif; ?>
83
+ <?php endforeach; ?>
84
+ </dl>
85
+ <?php echo $this->getChildHtml('checkout_billing_items') ?>
86
+ </div>
87
+ </div>
88
+ </div>
89
+ </div>
90
+ <div class="buttons-set">
91
+ <p class="back-link"><a href="<?php echo $this->getBackUrl() ?>"><small>&laquo; </small><?php echo $this->__('Back to Shipping Information') ?></a></p>
92
+ <button id="payment-continue" type="submit" title="<?php echo $this->__('Continue to Review Your Order') ?>" class="button"><span><span><?php echo $this->__('Continue to Review Your Order') ?></span></span></button>
93
+ </div>
94
+ </form>
95
+ <script type="text/javascript">
96
+ //<![CDATA[
97
+ var payment = new paymentForm('multishipping-billing-form');
98
+ function toggleToolTip(event){
99
+ if($('payment-tool-tip')){
100
+ /*$('payment-tool-tip').setStyle({
101
+ top: (Event.pointerY(event)-510)+'px',
102
+ left: (Event.pointerX(event)-800)+'px'
103
+ })*/
104
+ $('payment-tool-tip').toggle();
105
+ }
106
+ Event.stop(event);
107
+ }
108
+ if($('payment-tool-tip-close')){
109
+ Event.observe($('payment-tool-tip-close'), 'click', toggleToolTip);
110
+ }
111
+ $$('.cvv-what-is-this').each(function(element){
112
+ Event.observe(element, 'click', toggleToolTip);
113
+ });
114
+ //]]>
115
+ </script>
116
+ </div>
app/design/frontend/modulesgarden/crystal/template/checkout/multishipping/billing/items.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 base_default
23
+ * @copyright Copyright (c) 2014 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()->hasVirtualItems()): ?>
28
+ <div class="col2-set">
29
+ <h2 class="legend"><?php echo $this->__('Other Items in Your Order') ?></h2>
30
+ <div class="col-1 col-narrow"></div>
31
+ <div class="col-2 col-wide">
32
+ <h3><?php echo $this->__('Items') ?> <span class="separator">|</span> <a href="<?php echo $this->getVirtualProductEditUrl() ?>"><?php echo $this->__('Edit Items') ?></a></h3>
33
+ <table class="data-table" id="unavailable-shipping-table">
34
+ <col />
35
+ <col width="1" />
36
+ <thead>
37
+ <tr>
38
+ <th><?php echo $this->__('Product Name') ?></th>
39
+ <th class="a-center"><?php echo $this->__('Qty') ?></th>
40
+ </tr>
41
+ </thead>
42
+ <tbody>
43
+ <?php foreach ($this->getVirtualQuoteItems() as $_item): ?>
44
+ <tr>
45
+ <td><?php echo $this->getItemHtml($_item) ?></td>
46
+ <td class="a-center"><?php echo $_item->getQty() ?></td>
47
+ </tr>
48
+ <?php endforeach; ?>
49
+ </tbody>
50
+ </table>
51
+ <script type="text/javascript">decorateTable('unavailable-shipping-table')</script>
52
+ </div>
53
+ </div>
54
+ <?php endif; ?>
app/design/frontend/modulesgarden/crystal/template/checkout/multishipping/item/default.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 base_default
23
+ * @copyright Copyright (c) 2014 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
+ <h3 class="product-name"><a href="<?php echo $this->getProductUrl() ?>"><?php echo $this->escapeHtml($this->getProductName()) ?></a></h3>
28
+ <?php if ($_options = $this->getOptionList()):?>
29
+ <dl class="item-options">
30
+ <?php foreach ($_options as $_option) : ?>
31
+ <?php $_formatedOptionValue = $this->getFormatedOptionValue($_option) ?>
32
+ <dt><?php echo $this->escapeHtml($_option['label']) ?></dt>
33
+ <dd<?php if (isset($_formatedOptionValue['full_view'])): ?> class="truncated"<?php endif; ?>><?php echo $_formatedOptionValue['value'] ?>
34
+ <?php if (isset($_formatedOptionValue['full_view'])): ?>
35
+ <div class="truncated_full_value">
36
+ <dl class="item-options">
37
+ <dt><?php echo $this->escapeHtml($_option['label']) ?></dt>
38
+ <dd><?php echo $_formatedOptionValue['full_view'] ?></dd>
39
+ </dl>
40
+ </div>
41
+ <?php endif; ?>
42
+ </dd>
43
+ <?php endforeach; ?>
44
+ </dl>
45
+ <?php endif; ?>
app/design/frontend/modulesgarden/crystal/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 base_default
23
+ * @copyright Copyright (c) 2014 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()?>" title="<?php echo Mage::helper('checkout')->__('Checkout with Multiple Addresses');?>"><?php echo Mage::helper('checkout')->__('Checkout with Multiple Addresses');?></a>
app/design/frontend/modulesgarden/crystal/template/checkout/multishipping/overview.phtml ADDED
@@ -0,0 +1,243 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 base_default
23
+ * @copyright Copyright (c) 2014 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_Checkout_Block_Multishipping_Overview */ ?>
28
+ <div class="multiple-checkout">
29
+ <div class="page-title">
30
+ <h1><?php echo $this->__('Review Order') ?></h1>
31
+ </div>
32
+ <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
33
+ <form id="review-order-form" action="<?php echo $this->getPostActionUrl() ?>" method="post" onsubmit="return showLoader();">
34
+ <?php echo $this->getBlockHtml('formkey'); ?>
35
+ <div class="col2-set">
36
+ <h2 class="legend"><?php echo $this->__('Billing Information') ?></h2>
37
+ <div class="col-1">
38
+ <div class="box">
39
+ <?php $_address=$this->getBillingAddress() ?>
40
+ <div class="box-title">
41
+ <h3><?php echo $this->__('Billing Address') ?> <span class="separator">|</span> <a href="<?php echo $this->getEditBillingAddressUrl($_address) ?>"><?php echo $this->__('Change') ?></a></h3>
42
+ </div>
43
+ <div class="box-content">
44
+ <address>
45
+ <?php echo $_address->format('html') ?>
46
+ </address>
47
+ </div>
48
+ </div>
49
+ </div>
50
+ <div class="col-2">
51
+ <div class="box">
52
+ <div class="box-title">
53
+ <h3><?php echo $this->__('Payment Method') ?> <span class="separator">|</span> <a href="<?php echo $this->getEditBillingUrl() ?>"><?php echo $this->__('Change') ?></a></h3>
54
+ </div>
55
+ <div class="box-content">
56
+ <input type="hidden" name="payment[cc_number]" value="<?php echo $this->escapeHtml($this->getPayment()->getCcNumber())?>" />
57
+ <input type="hidden" name="payment[cc_cid]" value="<?php echo $this->escapeHtml($this->getPayment()->getCcCid())?>" />
58
+ <?php echo $this->getPaymentHtml() ?>
59
+ </div>
60
+ </div>
61
+ </div>
62
+ </div>
63
+ <?php $mergedCells = ($this->helper('tax')->displayCartBothPrices() ? 2 : 1); ?>
64
+ <div class="col2-set">
65
+ <h2 class="legend"><?php echo $this->__('Shipping Information') ?></h2>
66
+ <?php foreach ($this->getShippingAddresses() as $_index => $_address): ?>
67
+ <h3 class="legend"><?php echo $this->__('Address %s of %s', ($_index+1), $this->getShippingAddressCount()) ?></h3>
68
+ <div class="col-1 col-narrow">
69
+ <div class="box">
70
+ <div class="box-title">
71
+ <h4><?php echo $this->__('Shipping To') ?> <span class="separator">|</span> <a href="<?php echo $this->getEditShippingAddressUrl($_address) ?>"><?php echo $this->__('Change') ?></a></h4>
72
+ </div>
73
+ <div class="box-content">
74
+ <address>
75
+ <?php echo $_address->format('html') ?>
76
+ </address>
77
+ </div>
78
+ </div>
79
+ <div class="box">
80
+ <div class="box-title">
81
+ <h4><?php echo $this->__('Shipping Method') ?> <span class="separator">|</span> <a href="<?php echo $this->getEditShippingUrl() ?>"><?php echo $this->__('Change') ?></a></h4>
82
+ </div>
83
+ <div class="box-content">
84
+ <?php if($_rate=$this->getShippingAddressRate($_address)): ?>
85
+ <p>
86
+ <?php echo $this->escapeHtml($_rate->getCarrierTitle()) ?> - <?php echo $this->escapeHtml($_rate->getMethodTitle()) ?>
87
+ <?php $_excl = $this->getShippingPriceExclTax($_address); ?>
88
+ <?php $_incl = $this->getShippingPriceInclTax($_address); ?>
89
+ <?php echo $_excl; ?>
90
+ <?php if ($this->helper('tax')->displayShippingBothPrices() && $_incl != $_excl): ?>
91
+ (<?php echo $this->__('Incl. Tax'); ?> <?php echo $_incl; ?>)
92
+ <?php endif; ?>
93
+ </p>
94
+ <?php endif; ?>
95
+ </div>
96
+ </div>
97
+ </div>
98
+ <div class="col-2 col-wide">
99
+ <h4><?php echo $this->__('Items') ?> <span class="separator">|</span> <a href="<?php echo $this->getAddressesEditUrl() ?>"><?php echo $this->__('Edit Items') ?></a></h4>
100
+ <table class="data-table" id="overview-table-<?php echo $_address->getId() ?>">
101
+ <col />
102
+ <col width="1" />
103
+ <?php if ($this->helper('tax')->displayCartBothPrices()): ?>
104
+ <col width="1" />
105
+ <?php endif; ?>
106
+ <col width="1" />
107
+ <col width="1" />
108
+ <?php if ($this->helper('tax')->displayCartBothPrices()): ?>
109
+ <col width="1" />
110
+ <?php endif; ?>
111
+ <thead>
112
+ <tr>
113
+ <th rowspan="<?php echo $mergedCells; ?>"><?php echo $this->__('Product Name') ?></th>
114
+ <th colspan="<?php echo $mergedCells; ?>" class="a-center"><?php echo $this->__('Price') ?></th>
115
+ <th rowspan="<?php echo $mergedCells; ?>"><?php echo $this->__('Qty') ?></th>
116
+ <th colspan="<?php echo $mergedCells; ?>" class="a-center"><?php echo $this->__('Subtotal') ?></th>
117
+ </tr>
118
+ <?php if ($this->helper('tax')->displayCartBothPrices()): ?>
119
+ <tr>
120
+ <th class="a-right"><?php echo $this->helper('tax')->getIncExcTaxLabel(false) ?></th>
121
+ <th><?php echo $this->helper('tax')->getIncExcTaxLabel(true) ?></th>
122
+ <th class="a-right"><?php echo $this->helper('tax')->getIncExcTaxLabel(false) ?></th>
123
+ <th><?php echo $this->helper('tax')->getIncExcTaxLabel(true) ?></th>
124
+ </tr>
125
+ <?php endif; ?>
126
+ </thead>
127
+ <tfoot>
128
+ <?php echo $this->renderTotals($this->getShippingAddressTotals($_address)); ?>
129
+ </tfoot>
130
+ <tbody>
131
+ <?php foreach ($this->getShippingAddressItems($_address) as $_item): ?>
132
+ <?php echo $this->getRowItemHtml($_item); ?>
133
+ <?php endforeach; ?>
134
+ </tbody>
135
+ </table>
136
+ <script type="text/javascript">decorateTable('overview-table-<?php echo $_address->getId() ?>')</script>
137
+ </div>
138
+ <?php if($this->getShippingAddressCount()!=$_index+1): ?>
139
+ <div class="divider"></div>
140
+ <?php endif; ?>
141
+ <?php endforeach; ?>
142
+ </div>
143
+ <?php if ($this->getQuote()->hasVirtualItems()): ?>
144
+ <div class="col2-set">
145
+ <h2 class="legend"><?php echo $this->__('Other Items in Your Order') ?></h2>
146
+ <div class="col-1 col-narrow"></div>
147
+ <div class="col-2 col-wide">
148
+ <h3><?php echo $this->__('Items') ?> <span class="separator">|</span> <a href="<?php echo $this->getVirtualProductEditUrl() ?>"><?php echo $this->__('Edit Items') ?></a></h3>
149
+ <?php $mergedCells = ($this->helper('tax')->displayCartBothPrices() ? 2 : 1); ?>
150
+ <table class="data-table" id="virtual-overview-table">
151
+ <col />
152
+ <col width="1" />
153
+ <?php if ($this->helper('tax')->displayCartBothPrices()): ?>
154
+ <col width="1" />
155
+ <?php endif; ?>
156
+ <col width="1" />
157
+ <col width="1" />
158
+ <?php if ($this->helper('tax')->displayCartBothPrices()): ?>
159
+ <col width="70" />
160
+ <?php endif; ?>
161
+ <thead>
162
+ <tr>
163
+ <th rowspan="<?php echo $mergedCells; ?>"><?php echo $this->__('Product Name') ?></th>
164
+ <th colspan="<?php echo $mergedCells; ?>" class="a-center"><?php echo $this->__('Price') ?></th>
165
+ <th rowspan="<?php echo $mergedCells; ?>"><?php echo $this->__('Qty') ?></th>
166
+ <th colspan="<?php echo $mergedCells; ?>" class="a-center"><?php echo $this->__('Subtotal') ?></th>
167
+ </tr>
168
+ <?php if ($this->helper('tax')->displayCartBothPrices()): ?>
169
+ <tr>
170
+ <th class="a-right"><?php echo $this->helper('tax')->getIncExcTaxLabel(false) ?></th>
171
+ <th><?php echo $this->helper('tax')->getIncExcTaxLabel(true) ?></th>
172
+ <th class="a-right"><?php echo $this->helper('tax')->getIncExcTaxLabel(false) ?></th>
173
+ <th><?php echo $this->helper('tax')->getIncExcTaxLabel(true) ?></th>
174
+ </tr>
175
+ <?php endif; ?>
176
+ </thead>
177
+ <tfoot>
178
+ <?php echo $this->renderTotals($this->getBillinAddressTotals()); ?>
179
+ </tfoot>
180
+ <tbody>
181
+ <?php foreach ($this->getVirtualItems() as $_item): ?>
182
+ <?php echo $this->getRowItemHtml($_item); ?>
183
+ <?php endforeach; ?>
184
+ </tbody>
185
+ </table>
186
+ <script type="text/javascript">decorateTable('virtual-overview-table')</script>
187
+ </div>
188
+ </div>
189
+ <?php endif; ?>
190
+
191
+ <?php echo $this->getChildHtml('items_after'); ?>
192
+
193
+ <div id="checkout-review-submit">
194
+ <?php echo $this->getChildHtml('agreements') ?>
195
+ <div class="place-order">
196
+ <div class="grand-total">
197
+ <div class="inner">
198
+ <big><?php echo $this->__('Grand Total:') ?> <?php echo $this->helper('checkout')->formatPrice($this->getTotal()) ?></big>
199
+ <div id="review-buttons-container">
200
+ <button type="submit" title="<?php echo $this->__('Place Order') ?>" class="button btn-checkout" id="review-button"><?php echo $this->__('Place Order') ?></button>
201
+ </div>
202
+ </div>
203
+ </div>
204
+ <span class="please-wait" id="review-please-wait" style="display:none;">
205
+ <img src="<?php echo $this->getSkinUrl('images/opc-ajax-loader.gif') ?>" alt="<?php echo $this->__('Submitting order information...') ?>" title="<?php echo $this->__('Submitting order information...') ?>" class="v-middle" /> <?php echo $this->__('Submitting order information...') ?>
206
+ </span>
207
+ </div>
208
+ </div>
209
+ <div class="buttons-set">
210
+ <p class="back-link"><a href="<?php echo $this->getBackUrl() ?>"><small>&laquo; </small><?php echo $this->__('Back to Billing Information') ?></a></p>
211
+ </div>
212
+ </form>
213
+ <script type="text/javascript">
214
+ //<![CDATA[
215
+ var submitted = false;
216
+
217
+ function showLoader()
218
+ {
219
+ if (submitted) {
220
+ return false;
221
+ }
222
+ if ($('checkout-agreements')) {
223
+ var checkboxes = $$('#checkout-agreements input');
224
+ for (var i=0, l=checkboxes.length; i<l; i++) {
225
+ if (!checkboxes[i].checked) {
226
+ alert("<?php echo $this->__('Please agree to all Terms and Conditions before placing the orders.')?>");
227
+ return false;
228
+ }
229
+ }
230
+ }
231
+
232
+ submitted = true;
233
+ var step='review';
234
+ Element.show(step+'-please-wait');
235
+ $(step+'-buttons-container').setStyle({opacity:.5});
236
+ $(step+'-buttons-container').descendants().each(function(s) {
237
+ s.disabled = true;
238
+ });
239
+ return true;
240
+ }
241
+ //]]>
242
+ </script>
243
+ </div>
app/design/frontend/modulesgarden/crystal/template/checkout/multishipping/overview/item.phtml ADDED
@@ -0,0 +1,238 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 base_default
23
+ * @copyright Copyright (c) 2014 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
+ * Quote Item row html
30
+ *
31
+ * @see Mage_Checkout_Block_Cart_Item_Renderer
32
+ */
33
+ ?>
34
+ <?php $_item = $this->getItem() ?>
35
+ <tr>
36
+ <td><?php echo $this->getRenderedBlock()->getItemHtml($_item) ?></td>
37
+
38
+ <!--- Excluding Tax -->
39
+ <?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
40
+ <td class="a-right">
41
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
42
+ <div class="cart-tax-total" onclick="taxToggle('eunit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
43
+ <?php else: ?>
44
+ <div class="cart-price">
45
+ <?php endif; ?>
46
+
47
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
48
+ <?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()+$_item->getWeeeTaxAppliedAmount()+$_item->getWeeeTaxDisposition()); ?>
49
+ <?php else: ?>
50
+ <?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()) ?>
51
+ <?php endif; ?>
52
+
53
+ </div>
54
+
55
+
56
+ <?php if (Mage::helper('weee')->getApplied($_item)): ?>
57
+
58
+ <div class="cart-tax-info" id="eunit-item-tax-details<?php echo $_item->getId(); ?>" style="display: none;">
59
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
60
+ <small>
61
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
62
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount'],true,true); ?></span><br />
63
+ <?php endforeach; ?>
64
+ </small>
65
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
66
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
67
+ <span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount'],true,true); ?></small></span><br />
68
+ <?php endforeach; ?>
69
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
70
+ <small>
71
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
72
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount'],true,true); ?></span><br />
73
+ <?php endforeach; ?>
74
+ </small>
75
+ <?php endif; ?>
76
+ </div>
77
+
78
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
79
+ <div class="cart-tax-total" onclick="taxToggle('eunit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
80
+ <span class="nobr"><?php echo Mage::helper('weee')->__('Total'); ?>:<br /> <?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()+$_item->getWeeeTaxAppliedAmount()+$_item->getWeeeTaxDisposition()); ?></span>
81
+ </div>
82
+ <?php endif; ?>
83
+ <?php endif; ?>
84
+ </td>
85
+ <?php endif; ?>
86
+ <!--- // Excluding Tax -->
87
+
88
+ <!--- Including Tax -->
89
+ <?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
90
+ <td>
91
+ <?php $_incl = $this->helper('checkout')->getPriceInclTax($_item); ?>
92
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
93
+ <div class="cart-tax-total" onclick="taxToggle('unit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
94
+ <?php else: ?>
95
+ <div class="cart-price">
96
+ <?php endif; ?>
97
+
98
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
99
+ <?php echo $this->helper('checkout')->formatPrice($_incl + Mage::helper('weee')->getWeeeTaxInclTax($_item)); ?>
100
+ <?php else: ?>
101
+ <?php echo $this->helper('checkout')->formatPrice($_incl-$_item->getWeeeTaxDisposition()) ?>
102
+ <?php endif; ?>
103
+
104
+ </div>
105
+ <?php if (Mage::helper('weee')->getApplied($_item)): ?>
106
+
107
+ <div class="cart-tax-info" id="unit-item-tax-details<?php echo $_item->getId(); ?>" style="display: none;">
108
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
109
+ <small>
110
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
111
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></span><br />
112
+ <?php endforeach; ?>
113
+ </small>
114
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
115
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
116
+ <span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></small></span><br />
117
+ <?php endforeach; ?>
118
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
119
+ <small>
120
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
121
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'],true,true); ?></span><br />
122
+ <?php endforeach; ?>
123
+ </small>
124
+ <?php endif; ?>
125
+ </div>
126
+
127
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
128
+ <div class="cart-tax-total" onclick="taxToggle('unit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
129
+ <span class="nobr"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>:<br /> <?php echo $this->helper('checkout')->formatPrice($_incl + Mage::helper('weee')->getWeeeTaxInclTax($_item)); ?></span>
130
+ </div>
131
+ <?php endif; ?>
132
+ <?php endif; ?>
133
+
134
+ </td>
135
+ <?php endif; ?>
136
+ <!--- // Including Tax -->
137
+
138
+ <td class="a-center"><?php echo $_item->getQty()*1 ?></td>
139
+
140
+ <!--- Excluding Tax Subtotal -->
141
+ <?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
142
+ <td class="a-right">
143
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
144
+ <div class="cart-tax-total" onclick="taxToggle('esubtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
145
+ <?php else: ?>
146
+ <div class="cart-price">
147
+ <?php endif; ?>
148
+
149
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
150
+ <?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()+$_item->getWeeeTaxAppliedRowAmount()+$_item->getWeeeTaxRowDisposition()); ?>
151
+ <?php else: ?>
152
+ <?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()) ?>
153
+ <?php endif; ?>
154
+
155
+ </div>
156
+ <?php if (Mage::helper('weee')->getApplied($_item)): ?>
157
+
158
+ <div class="cart-tax-info" id="esubtotal-item-tax-details<?php echo $_item->getId(); ?>" style="display: none;">
159
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
160
+ <small>
161
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
162
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount'],true,true); ?></span><br />
163
+ <?php endforeach; ?>
164
+ </small>
165
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
166
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
167
+ <span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount'],true,true); ?></small></span><br />
168
+ <?php endforeach; ?>
169
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
170
+ <small>
171
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
172
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount'],true,true); ?></span><br />
173
+ <?php endforeach; ?>
174
+ </small>
175
+ <?php endif; ?>
176
+ </div>
177
+
178
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
179
+ <div class="cart-tax-total" onclick="taxToggle('esubtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
180
+ <span class="nobr"><?php echo Mage::helper('weee')->__('Total'); ?>:<br /> <?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()+$_item->getWeeeTaxAppliedRowAmount()+$_item->getWeeeTaxRowDisposition()); ?></span>
181
+ </div>
182
+ <?php endif; ?>
183
+ <?php endif; ?>
184
+ </td>
185
+ <?php endif; ?>
186
+ <!--- //Excluding Tax Subtotal -->
187
+
188
+ <!--- Including Tax Subtotal -->
189
+ <?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
190
+ <td>
191
+ <?php $_incl = $this->helper('checkout')->getSubtotalInclTax($_item); ?>
192
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
193
+ <div class="cart-tax-total" onclick="taxToggle('subtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
194
+ <?php else: ?>
195
+ <div class="cart-price">
196
+ <?php endif; ?>
197
+
198
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
199
+ <?php echo $this->helper('checkout')->formatPrice($_incl + Mage::helper('weee')->getRowWeeeTaxInclTax($_item)); ?>
200
+ <?php else: ?>
201
+ <?php echo $this->helper('checkout')->formatPrice($_incl-$_item->getWeeeTaxRowDisposition()) ?>
202
+ <?php endif; ?>
203
+
204
+ </div>
205
+
206
+
207
+ <?php if (Mage::helper('weee')->getApplied($_item)): ?>
208
+
209
+ <div class="cart-tax-info" id="subtotal-item-tax-details<?php echo $_item->getId(); ?>" style="display: none;">
210
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
211
+ <small>
212
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
213
+ <span class="nobr"><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount_incl_tax'],true,true); ?></span><br />
214
+ <?php endforeach; ?>
215
+ </small>
216
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
217
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
218
+ <span class="nobr"><small><?php echo $tax['title']; ?>: <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount_incl_tax'],true,true); ?></small></span><br />
219
+ <?php endforeach; ?>
220
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, '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_incl_tax'],true,true); ?></span><br />
224
+ <?php endforeach; ?>
225
+ </small>
226
+ <?php endif; ?>
227
+ </div>
228
+
229
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
230
+ <div class="cart-tax-total" onclick="taxToggle('subtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
231
+ <span class="nobr"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>:<br /> <?php echo $this->helper('checkout')->formatPrice($_incl + Mage::helper('weee')->getRowWeeeTaxInclTax($_item)); ?></span>
232
+ </div>
233
+ <?php endif; ?>
234
+ <?php endif; ?>
235
+ </td>
236
+ <?php endif; ?>
237
+ <!--- //Including Tax Subtotal -->
238
+ </tr>
app/design/frontend/modulesgarden/crystal/template/checkout/multishipping/shipping.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 base_default
23
+ * @copyright Copyright (c) 2014 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
+ * @var $this Mage_Checkout_Block_Multishipping_Shipping
33
+ */
34
+ ?>
35
+ <div class="multiple-checkout">
36
+ <div class="page-title">
37
+ <h1><?php echo $this->__('Select Shipping Method') ?></h1>
38
+ </div>
39
+ <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
40
+ <form action="<?php echo $this->getPostActionUrl() ?>" method="post" id="shipping_method_form">
41
+ <?php foreach ($this->getAddresses() as $_index => $_address): ?>
42
+ <div class="col2-set">
43
+ <h2 class="legend"><?php echo $this->__('Address %s of %s', ($_index+1), $this->getAddressCount()) ?></h2>
44
+ <div class="col-1 col-narrow">
45
+ <div class="box">
46
+ <div class="box-title">
47
+ <h3><?php echo $this->__('Shipping To') ?> <span class="separator">|</span> <a href="<?php echo $this->getAddressEditUrl($_address) ?>"><?php echo $this->__('Change') ?></a></h3>
48
+ </div>
49
+ <div class="box-content">
50
+ <address><?php echo $_address->format('html') ?></address>
51
+ </div>
52
+ </div>
53
+ <div class="box box-sp-methods">
54
+ <div class="pointer"></div>
55
+ <div class="box-title">
56
+ <h3><?php echo $this->__('Shipping Method') ?></h3>
57
+ </div>
58
+ <div class="box-content">
59
+ <?php if (!($_shippingRateGroups = $this->getShippingRates($_address))): ?>
60
+ <p><?php echo $this->__('Sorry, no quotes are available for this order at this time.') ?></p>
61
+ <?php else: ?>
62
+ <dl class="sp-methods">
63
+ <?php $_sole = count($_shippingRateGroups) == 1; foreach ($_shippingRateGroups as $code => $_rates): ?>
64
+ <dt><?php echo $this->escapeHtml($this->getCarrierName($code)) ?></dt>
65
+ <dd>
66
+ <ul>
67
+ <?php $_sole = $_sole && count($_rates) == 1; foreach ($_rates as $_rate): ?>
68
+ <li<?php if ($_rate->getErrorMessage()) echo ' class="error-msg"' ?>>
69
+ <?php if ($_rate->getErrorMessage()): ?>
70
+ <?php echo $this->escapeHtml($_rate->getCarrierTitle()) ?>: <?php echo $this->escapeHtml($_rate->getErrorMessage()) ?>
71
+ <?php else: ?>
72
+ <?php if ($_sole) : ?>
73
+ <span class="no-display"><input type="radio" name="shipping_method[<?php echo $_address->getId() ?>]" value="<?php echo $this->escapeHtml($_rate->getCode()) ?>" id="s_method_<?php echo $_address->getId() ?>_<?php echo $_rate->getCode() ?>" checked="checked"/></span>
74
+ <?php else: ?>
75
+ <input type="radio" name="shipping_method[<?php echo $_address->getId() ?>]" value="<?php echo $_rate->getCode() ?>" id="s_method_<?php echo $_address->getId() ?>_<?php echo $_rate->getCode() ?>"<?php if($_rate->getCode()===$this->getAddressShippingMethod($_address)) echo ' checked="checked"' ?> class="radio" />
76
+ <?php endif; ?>
77
+ <label for="s_method_<?php echo $_address->getId() ?>_<?php echo $_rate->getCode() ?>"><?php echo $this->escapeHtml($_rate->getMethodTitle()) ?>
78
+ <?php $_excl = $this->getShippingPrice($_address, $_rate->getPrice(), $this->helper('tax')->displayShippingPriceIncludingTax()); ?>
79
+ <?php $_incl = $this->getShippingPrice($_address, $_rate->getPrice(), true); ?>
80
+ <?php echo $_excl; ?>
81
+ <?php if ($this->helper('tax')->displayShippingBothPrices() && $_incl != $_excl): ?>
82
+ (<?php echo $this->__('Incl. Tax'); ?> <?php echo $_incl; ?>)
83
+ <?php endif; ?>
84
+ </label>
85
+ <?php endif ?>
86
+ </li>
87
+ <?php endforeach; ?>
88
+ </ul>
89
+ </dd>
90
+ <?php endforeach; ?>
91
+ </dl>
92
+ <?php endif; ?>
93
+ </div>
94
+ </div>
95
+ </div>
96
+ <div class="col-2 col-wide">
97
+ <?php echo $this->helper('giftmessage/message')->getInline('multishipping_adress_checkbox', $_address); ?>
98
+ <h3><?php echo $this->__('Items') ?> <span class="separator">|</span> <a href="<?php echo $this->getItemsEditUrl($_address) ?>"><?php echo $this->__('Edit Items') ?></a></h3>
99
+ <table class="data-table" id="shipping-table-<?php echo $_address->getId() ?>">
100
+ <col />
101
+ <col width="1" />
102
+ <thead>
103
+ <tr>
104
+ <th><?php echo $this->__('Product Name') ?></th>
105
+ <th class="a-center"><?php echo $this->__('Qty') ?></th>
106
+ </tr>
107
+ </thead>
108
+ <tbody>
109
+ <?php foreach ($this->getAddressItems($_address) as $_item): ?>
110
+ <tr>
111
+ <td>
112
+ <?php echo $this->getItemHtml($_item->getQuoteItem()) ?>
113
+ </td>
114
+ <td class="a-center"><?php echo $_item->getQty() ?></td>
115
+ </tr>
116
+ <?php endforeach; ?>
117
+ </tbody>
118
+ </table>
119
+ <script type="text/javascript">decorateTable('shipping-table-<?php echo $_address->getId() ?>')</script>
120
+ <?php echo $this->helper('giftmessage/message')->getInline('multishipping_adress', $_address); ?>
121
+ </div>
122
+ </div>
123
+ <?php endforeach; ?>
124
+ <?php echo $this->getChildHtml('checkout_billing_items') ?>
125
+ <div class="buttons-set">
126
+ <p class="back-link"><a href="<?php echo $this->getBackUrl() ?>"><small>&laquo; </small><?php echo $this->__('Back to Select Addresses') ?></a></p>
127
+ <button data-action="checkout-continue-billing" type="submit" title="<?php echo $this->__('Continue to Billing Information') ?>" class="button"><span><span><?php echo $this->__('Continue to Billing Information') ?></span></span></button>
128
+ </div>
129
+ </form>
130
+ </div>
app/design/frontend/modulesgarden/crystal/template/checkout/multishipping/state.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 base_default
23
+ * @copyright Copyright (c) 2014 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
+ <ul class="checkout-progress" id="checkout-progress-state">
35
+ <?php foreach ($this->getSteps() as $_step): ?>
36
+ <li title="<?php echo $_step->getLabel() ?>"<?php if($_step->getIsActive()): ?> class="active"<?php endif; ?>><span><?php echo $_step->getLabel() ?></span></li>
37
+ <?php endforeach; ?>
38
+ </ul>
39
+ <script type="text/javascript">decorateGeneric($$('#checkout-progress-state li'), ['first','last']);</script>
app/design/frontend/modulesgarden/crystal/template/checkout/multishipping/success.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 base_default
23
+ * @copyright Copyright (c) 2014 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="multiple-checkout">
28
+ <div class="page-title">
29
+ <h1 data-role="page-title"><?php echo $this->__('Order Success') ?></h1>
30
+ </div>
31
+ <h2 class="sub-title"><?php echo $this->__('Thank you for your purchase!') ?></h2>
32
+ <p><?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.') ?></p>
33
+ <?php if($_orderIds = $this->getOrderIds()): ?>
34
+ <p data-role="order-numbers">
35
+ <?php $flag = false ?>
36
+ <?php echo $this->__('Your order number is ') ?>
37
+ <?php foreach ($_orderIds as $orderId=>$incrementId): ?>
38
+ <?php if ($flag): ?>
39
+ <?php echo ', ' ?>
40
+ <?php endif; ?>
41
+ <?php $flag = true ?>
42
+ <a href="<?php echo $this->getViewOrderUrl($orderId) ?>"><?php echo $incrementId ?></a>
43
+ <?php endforeach; ?>
44
+ </p>
45
+ <?php endif; ?>
46
+ <?php echo $this->getChildHtml() ?>
47
+ <div class="buttons-set">
48
+ <button type="button" title="<?php echo $this->__('Continue Shopping') ?>" class="button" onclick="setLocation('<?php echo $this->getContinueUrl() ?>')"><span><span><?php echo $this->__('Continue Shopping') ?></span></span></button>
49
+ </div>
50
+ </div>
app/design/frontend/modulesgarden/crystal/template/checkout/onepage.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 base_default
23
+ * @copyright Copyright (c) 2014 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-title">
28
+ <h1><?php echo $this->__('Checkout') ?></h1>
29
+ </div>
30
+ <script type="text/javascript" src="<?php echo $this->getJsUrl('varien/accordion.js') ?>"></script>
31
+ <script type="text/javascript" src="<?php echo $this->getSkinUrl('js/opcheckout.js') ?>"></script>
32
+ <ol class="opc" id="checkoutSteps">
33
+ <?php $i=0; foreach($this->getSteps() as $_stepId => $_stepInfo): ?>
34
+ <?php if (!$this->getChild($_stepId) || !$this->getChild($_stepId)->isShow()): continue; endif; $i++ ?>
35
+ <li id="opc-<?php echo $_stepId ?>" class="section<?php echo !empty($_stepInfo['allow'])?' allow':'' ?><?php echo !empty($_stepInfo['complete'])?' saved':'' ?>">
36
+ <div class="step-title">
37
+ <span class="number"><?php echo $i ?></span>
38
+ <h2><?php echo $_stepInfo['label'] ?></h2>
39
+ <a href="#"><?php echo $this->__('Edit') ?></a>
40
+ </div>
41
+ <div id="checkout-step-<?php echo $_stepId ?>" class="step a-item" style="display:none;">
42
+ <?php echo $this->getChildHtml($_stepId) ?>
43
+ </div>
44
+ </li>
45
+ <?php endforeach ?>
46
+ </ol>
47
+ <script type="text/javascript">
48
+ //<![CDATA[
49
+ var accordion = new Accordion('checkoutSteps', '.step-title', true);
50
+ <?php if($this->getActiveStep()): ?>
51
+ accordion.openSection('opc-<?php echo $this->getActiveStep() ?>');
52
+ <?php endif ?>
53
+ var checkout = new Checkout(accordion,{
54
+ progress: '<?php echo $this->getUrl('checkout/onepage/progress') ?>',
55
+ review: '<?php echo $this->getUrl('checkout/onepage/review') ?>',
56
+ saveMethod: '<?php echo $this->getUrl('checkout/onepage/saveMethod') ?>',
57
+ failure: '<?php echo $this->getUrl('checkout/cart') ?>'}
58
+ );
59
+ //]]>
60
+ </script>
app/design/frontend/modulesgarden/crystal/template/checkout/onepage/link.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 base_default
23
+ * @copyright Copyright (c) 2014 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->isPossibleOnepageCheckout()):?>
28
+ <button type="button" title="<?php echo $this->__('Proceed to Checkout') ?>" class="button_green<?php if ($this->isDisabled()):?> no-checkout<?php endif; ?>"<?php if ($this->isDisabled()):?> disabled="disabled"<?php endif; ?> onclick="window.location='<?php echo $this->getCheckoutUrl() ?>';"><span><span><?php echo $this->__('Proceed to Checkout') ?></span></span></button>
29
+ <?php endif?>
app/design/frontend/modulesgarden/crystal/template/checkout/onepage/login.phtml ADDED
@@ -0,0 +1,124 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 base_default
23
+ * @copyright Copyright (c) 2014 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 /* Extensions placeholder */ ?>
28
+ <?php echo $this->getChildHtml('checkout.onepage.login.extra')?>
29
+ <div class="col2-set">
30
+ <?php echo $this->getChildHtml('login_before')?>
31
+ <div class="col-1">
32
+ <h3><?php if( $this->getQuote()->isAllowedGuestCheckout() ): ?><?php echo $this->__('Checkout as a Guest or Register') ?><?php else: ?><?php echo $this->__('Register to Create an Account') ?><?php endif; ?></h3>
33
+ <?php if( $this->getQuote()->isAllowedGuestCheckout() ): ?>
34
+ <p><?php echo $this->__('Register with us for future convenience:') ?></p>
35
+ <?php else: ?>
36
+ <p><strong><?php echo $this->__('Register and save time!') ?></strong><br />
37
+ <?php echo $this->__('Register with us for future convenience:') ?></p>
38
+ <ul>
39
+ <li><?php echo $this->__('Fast and easy check out') ?></li>
40
+ <li><?php echo $this->__('Easy access to your order history and status') ?></li>
41
+ </ul>
42
+ <?php endif; ?>
43
+ <?php if( $this->getQuote()->isAllowedGuestCheckout() ): ?>
44
+ <ul class="form-list">
45
+ <?php if( $this->getQuote()->isAllowedGuestCheckout() ): ?>
46
+ <li class="control">
47
+ <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; ?> class="radio" /><label for="login:guest"><?php echo $this->__('Checkout as Guest') ?></label>
48
+ </li>
49
+ <?php endif; ?>
50
+ <li class="control">
51
+ <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 ?> class="radio" /><label for="login:register"><?php echo $this->__('Register') ?></label>
52
+ </li>
53
+ </ul>
54
+ <h4><?php echo $this->__('Register and save time!') ?></h4>
55
+ <p><?php echo $this->__('Register with us for future convenience:') ?></p>
56
+ <ul class="ul">
57
+ <li><?php echo $this->__('Fast and easy check out') ?></li>
58
+ <li><?php echo $this->__('Easy access to your order history and status') ?></li>
59
+ </ul>
60
+ <?php else: ?>
61
+ <input type="hidden" name="checkout_method" id="login:register" value="register" checked="checked" />
62
+ <?php endif; ?>
63
+ </div>
64
+ <div class="col-2">
65
+ <h3><?php echo $this->__('Login') ?></h3>
66
+ <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
67
+ <form id="login-form" action="<?php echo $this->getPostAction() ?>" method="post">
68
+ <fieldset>
69
+ <?php echo $this->getBlockHtml('formkey'); ?>
70
+ <h4><?php echo $this->__('Already registered?') ?></h4>
71
+ <p><?php echo $this->__('Please log in below:') ?></p>
72
+ <ul class="form-list">
73
+ <li>
74
+ <label for="login-email" class="required"><em>*</em><?php echo $this->__('Email Address') ?></label>
75
+ <div class="input-box">
76
+ <input type="text" class="input-text required-entry validate-email" id="login-email" name="login[username]" value="<?php echo $this->escapeHtml($this->getUsername()) ?>" />
77
+ </div>
78
+ </li>
79
+ <li>
80
+ <label for="login-password" class="required"><em>*</em><?php echo $this->__('Password') ?></label>
81
+ <div class="input-box">
82
+ <input type="password" class="input-text required-entry" id="login-password" name="login[password]" />
83
+ </div>
84
+ </li>
85
+ <?php echo $this->getChildHtml('form.additional.info'); ?>
86
+ </ul>
87
+ </fieldset>
88
+ </form>
89
+ </div>
90
+ </div>
91
+ <div class="col2-set">
92
+ <div class="col-1">
93
+ <div class="buttons-set">
94
+ <p class="required">&nbsp;</p>
95
+ <button type="button" class="button_green" onclick="checkout.setMethod();"><span><span><?php echo ($this->getQuote()->isAllowedGuestCheckout() ? $this->__('Continue') : $this->__('Register')) ?></span></span></button>
96
+ </div>
97
+ </div>
98
+ <div class="col-2">
99
+ <div class="buttons-set">
100
+ <p class="required"><?php echo $this->__('* Required Fields') ?></p>
101
+ <a href="<?php echo $this->getUrl('customer/account/forgotpassword') ?>" class="f-left"><?php echo $this->__('Forgot your password?') ?></a>
102
+ <button type="submit" class="button_green" onclick="onepageLogin(this)"><span><span><?php echo $this->__('Login') ?></span></span></button>
103
+ </div>
104
+ </div>
105
+ </div>
106
+ <script type="text/javascript">
107
+ //<![CDATA[
108
+ var loginForm = new VarienForm('login-form', true);
109
+ $('login-email').observe('keypress', bindLoginPost);
110
+ $('login-password').observe('keypress', bindLoginPost);
111
+ function bindLoginPost(evt){
112
+ if (evt.keyCode == Event.KEY_RETURN) {
113
+ loginForm.submit();
114
+ }
115
+ }
116
+ function onepageLogin(button)
117
+ {
118
+ if(loginForm.validator && loginForm.validator.validate()){
119
+ button.disabled = true;
120
+ loginForm.submit();
121
+ }
122
+ }
123
+ //]]>
124
+ </script>
app/design/frontend/modulesgarden/crystal/template/checkout/onepage/payment.phtml ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 base_default
23
+ * @copyright Copyright (c) 2014 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
+ //<![CDATA[
29
+ var quoteBaseGrandTotal = <?php echo (float)$this->getQuoteBaseGrandTotal(); ?>;
30
+ var checkQuoteBaseGrandTotal = quoteBaseGrandTotal;
31
+ var payment = new Payment('co-payment-form', '<?php echo $this->getUrl('checkout/onepage/savePayment') ?>');
32
+ var lastPrice;
33
+ //]]>
34
+ </script>
35
+ <form action="" id="co-payment-form">
36
+ <fieldset>
37
+ <?php echo $this->getChildHtml('methods') ?>
38
+ </fieldset>
39
+ </form>
40
+ <div class="tool-tip" id="payment-tool-tip" style="display:none;">
41
+ <div class="btn-close"><a href="#" id="payment-tool-tip-close" title="<?php echo $this->__('Close') ?>"><?php echo $this->__('Close') ?></a></div>
42
+ <div class="tool-tip-content"><img src="<?php echo $this->getSkinUrl('images/cvv.gif') ?>" alt="<?php echo $this->__('Card Verification Number Visual Reference') ?>" title="<?php echo $this->__('Card Verification Number Visual Reference') ?>" /></div>
43
+ </div>
44
+ <div class="buttons-set" id="payment-buttons-container">
45
+ <p class="required"><?php echo $this->__('* Required Fields') ?></p>
46
+ <p class="back-link"><a href="#" onclick="checkout.back(); return false;"><small>&laquo; </small><?php echo $this->__('Back') ?></a></p>
47
+ <button type="button" class="button_green" onclick="payment.save()"><span><span><?php echo $this->__('Continue') ?></span></span></button>
48
+ <span class="please-wait" id="payment-please-wait" style="display:none;">
49
+ <img src="<?php echo $this->getSkinUrl('images/opc-ajax-loader.gif') ?>" alt="<?php echo $this->__('Loading next step...') ?>" title="<?php echo $this->__('Loading next step...') ?>" class="v-middle" /> <?php echo $this->__('Loading next step...') ?>
50
+ </span>
51
+ </div>
52
+ <script type="text/javascript">
53
+ //<![CDATA[
54
+ function toggleToolTip(event){
55
+ if($('payment-tool-tip')){
56
+ $('payment-tool-tip').setStyle({
57
+ top: (Event.pointerY(event)-560)+'px'//,
58
+ //left: (Event.pointerX(event)+100)+'px'
59
+ })
60
+ $('payment-tool-tip').toggle();
61
+ }
62
+ Event.stop(event);
63
+ }
64
+ if($('payment-tool-tip-close')){
65
+ Event.observe($('payment-tool-tip-close'), 'click', toggleToolTip);
66
+ }
67
+ //]]>
68
+ </script>
69
+ <script type="text/javascript">
70
+ //<![CDATA[
71
+ payment.currentMethod = "<?php echo $this->getChild('methods')->getSelectedMethodCode() ?>";
72
+ //]]>
73
+ </script>
app/design/frontend/modulesgarden/crystal/template/checkout/onepage/payment/info.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 base_default
23
+ * @copyright Copyright (c) 2014 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
+ <dl class="sp-methods" id="checkout-payment-method-load">
28
+ <!-- Content dynamically loaded. Content from the methods.phtml is loaded during the ajax call -->
29
+ </dl>
app/design/frontend/modulesgarden/crystal/template/checkout/onepage/payment/methods.phtml ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 base_default
23
+ * @copyright Copyright (c) 2014 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
+ * @var $this Mage_Checkout_Block_Onepage_Payment_Methods
32
+ */
33
+ ?>
34
+
35
+ <?php
36
+ $methods = $this->getMethods();
37
+ $oneMethod = count($methods) <= 1;
38
+ ?>
39
+ <?php if (empty($methods)): ?>
40
+ <dt>
41
+ <?php echo $this->__('No Payment Methods') ?>
42
+ </dt>
43
+ <?php else:
44
+ foreach ($methods as $_method):
45
+ $_code = $_method->getCode();
46
+ ?>
47
+ <dt>
48
+ <?php if(!$oneMethod): ?>
49
+ <input id="p_method_<?php echo $_code ?>" value="<?php echo $_code ?>" type="radio" name="payment[method]" title="<?php echo $this->escapeHtml($_method->getTitle()) ?>" onclick="payment.switchMethod('<?php echo $_code ?>')"<?php if($this->getSelectedMethodCode()==$_code): ?> checked="checked"<?php endif; ?> class="radio" />
50
+ <?php else: ?>
51
+ <span class="no-display"><input id="p_method_<?php echo $_code ?>" value="<?php echo $_code ?>" type="radio" name="payment[method]" checked="checked" class="radio" /></span>
52
+ <?php $oneMethod = $_code; ?>
53
+ <?php endif; ?>
54
+ <label for="p_method_<?php echo $_code ?>"><?php echo $this->escapeHtml($this->getMethodTitle($_method)) ?> <?php echo $this->getMethodLabelAfterHtml($_method) ?></label>
55
+ </dt>
56
+ <?php if ($html = $this->getPaymentMethodFormHtml($_method)): ?>
57
+ <dd>
58
+ <?php echo $html; ?>
59
+ </dd>
60
+ <?php endif; ?>
61
+ <?php endforeach;
62
+ endif;
63
+ ?>
64
+ <?php echo $this->getChildChildHtml('additional'); ?>
65
+ <script type="text/javascript">
66
+ //<![CDATA[
67
+ <?php echo $this->getChildChildHtml('scripts'); ?>
68
+ payment.init();
69
+ <?php if (is_string($oneMethod)): ?>
70
+ payment.switchMethod('<?php echo $oneMethod ?>');
71
+ <?php endif; ?>
72
+ //]]>
73
+ </script>
app/design/frontend/modulesgarden/crystal/template/checkout/onepage/review/button.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 base_default
23
+ * @copyright Copyright (c) 2014 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
+ <button type="submit" title="<?php echo $this->__('Place Order') ?>" class="button_green" onclick="review.save();"><span><span><?php echo $this->__('Place Order') ?></span></span></button>
app/design/frontend/modulesgarden/crystal/template/checkout/onepage/review/info.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 base_default
23
+ * @copyright Copyright (c) 2014 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 class="data-table" id="checkout-review-table">
30
+ <?php if ($this->helper('tax')->displayCartBothPrices()): $colspan = $rowspan = 2; else: $colspan = $rowspan = 1; endif; ?>
31
+ <col />
32
+ <col width="1" />
33
+ <col width="1" />
34
+ <col width="1" />
35
+ <?php if ($this->helper('tax')->displayCartBothPrices()): ?>
36
+ <col width="1" />
37
+ <col width="1" />
38
+ <?php endif; ?>
39
+ <thead>
40
+ <tr>
41
+ <th rowspan="<?php echo $rowspan ?>"><?php echo $this->__('Product Name') ?></th>
42
+ <th colspan="<?php echo $colspan ?>" class="a-center"><?php echo $this->__('Price') ?></th>
43
+ <th rowspan="<?php echo $rowspan ?>" class="a-center"><?php echo $this->__('Qty') ?></th>
44
+ <th colspan="<?php echo $colspan ?>" class="a-center"><?php echo $this->__('Subtotal') ?></th>
45
+ </tr>
46
+ <?php if ($this->helper('tax')->displayCartBothPrices()): ?>
47
+ <tr>
48
+ <th class="a-right"><?php echo $this->helper('tax')->getIncExcTaxLabel(false) ?></th>
49
+ <th><?php echo $this->helper('tax')->getIncExcTaxLabel(true) ?></th>
50
+ <th class="a-right"><?php echo $this->helper('tax')->getIncExcTaxLabel(false) ?></th>
51
+ <th><?php echo $this->helper('tax')->getIncExcTaxLabel(true) ?></th>
52
+ </tr>
53
+ <?php endif; ?>
54
+ </thead>
55
+ <?php echo $this->getChildHtml('totals'); ?>
56
+ <tbody>
57
+ <?php foreach($this->getItems() as $_item): ?>
58
+ <?php echo $this->getItemHtml($_item)?>
59
+ <?php endforeach ?>
60
+ </tbody>
61
+ </table>
62
+ </div>
63
+ <?php echo $this->getChildHtml('items_after'); ?>
64
+ <script type="text/javascript">
65
+ //<![CDATA[
66
+ decorateTable('checkout-review-table');
67
+ truncateOptions();
68
+ //]]>
69
+ </script>
70
+ <div id="checkout-review-submit">
71
+ <?php echo $this->getChildHtml('agreements') ?>
72
+ <div class="buttons-set" id="review-buttons-container">
73
+ <p class="f-left"><?php echo $this->__('Forgot an Item?') ?> <a href="<?php echo $this->getUrl('checkout/cart') ?>"><?php echo $this->__('Edit Your Cart') ?></a></p>
74
+ <?php echo $this->getChildHtml('button') ?>
75
+ <span class="please-wait" id="review-please-wait" style="display:none;">
76
+ <img src="<?php echo $this->getSkinUrl('images/opc-ajax-loader.gif') ?>" alt="<?php echo $this->__('Submitting order information...') ?>" title="<?php echo $this->__('Submitting order information...') ?>" class="v-middle" /> <?php echo $this->__('Submitting order information...') ?>
77
+ </span>
78
+ </div>
79
+ <script type="text/javascript">
80
+ //<![CDATA[
81
+ review = new Review('<?php echo $this->getUrl('checkout/onepage/saveOrder', array('form_key' => Mage::getSingleton('core/session')->getFormKey())) ?>', '<?php echo $this->getUrl('checkout/onepage/success') ?>', $('checkout-agreements'));
82
+ //]]>
83
+ </script>
84
+ </div>
app/design/frontend/modulesgarden/crystal/template/checkout/onepage/shipping_method.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 base_default
23
+ * @copyright Copyright (c) 2014 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 id="checkout-shipping-method-load">
29
+ <!-- Content loaded dynamically -->
30
+ </div>
31
+ <script type="text/javascript">
32
+ //<![CDATA[
33
+ var shippingMethod = new ShippingMethod('co-shipping-method-form', "<?php echo $this->getUrl('checkout/onepage/saveShippingMethod') ?>");
34
+ //]]>
35
+ </script>
36
+ <div id="onepage-checkout-shipping-method-additional-load">
37
+ <?php echo $this->getChildHtml('additional') ?>
38
+ </div>
39
+ <div class="buttons-set" id="shipping-method-buttons-container">
40
+ <p class="back-link"><a href="#" onclick="checkout.back(); return false;"><small>&laquo; </small><?php echo $this->__('Back') ?></a></p>
41
+ <button type="button" class="button_green" onclick="shippingMethod.save()"><span><span><?php echo $this->__('Continue') ?></span></span></button>
42
+ <span id="shipping-method-please-wait" class="please-wait" style="display:none;">
43
+ <img src="<?php echo $this->getSkinUrl('images/opc-ajax-loader.gif') ?>" alt="<?php echo $this->__('Loading next step...') ?>" title="<?php echo $this->__('Loading next step...') ?>" class="v-middle" /> <?php echo $this->__('Loading next step...') ?>
44
+ </span>
45
+ </div>
46
+ </form>
app/design/frontend/modulesgarden/crystal/template/checkout/success.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 base_default
23
+ * @copyright Copyright (c) 2014 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-title">
28
+ <h1><?php echo $this->__('Your order has been received.') ?></h1>
29
+ </div>
30
+ <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
31
+ <h2 class="sub-title"><?php echo $this->__('Thank you for your purchase!') ?></h2>
32
+
33
+ <?php if ($this->getOrderId()):?>
34
+ <?php if ($this->getCanViewOrder()) :?>
35
+ <p><?php echo $this->__('Your order # is: %s.', sprintf('<a href="%s">%s</a>', $this->escapeHtml($this->getViewOrderUrl()), $this->escapeHtml($this->getOrderId()))) ?></p>
36
+ <?php else :?>
37
+ <p><?php echo $this->__('Your order # is: %s.', $this->escapeHtml($this->getOrderId())) ?></p>
38
+ <?php endif;?>
39
+ <p><?php echo $this->__('You will receive an order confirmation email with details of your order and a link to track its progress.') ?></p>
40
+ <?php if ($this->getCanViewOrder() && $this->getCanPrintOrder()) :?>
41
+ <p>
42
+ <?php echo $this->__('Click <a href="%s" onclick="this.target=\'_blank\'">here to print</a> a copy of your order confirmation.', $this->getPrintUrl()) ?>
43
+ <?php echo $this->getChildHtml() ?>
44
+ </p>
45
+ <?php endif;?>
46
+ <?php endif;?>
47
+
48
+ <?php if ($this->getAgreementRefId()): ?>
49
+ <p><?php echo $this->__('Your billing agreement # is: %s.', sprintf('<a href="%s">%s</a>', $this->escapeHtml($this->getAgreementUrl()), $this->escapeHtml($this->getAgreementRefId())))?></p>
50
+ <?php endif;?>
51
+
52
+ <?php if ($profiles = $this->getRecurringProfiles()):?>
53
+ <p><?php echo $this->__('Your recurring payment profiles:'); ?></p>
54
+ <ul class="disc">
55
+ <?php foreach($profiles as $profile):?>
56
+ <?php $profileIdHtml = ($this->getCanViewProfiles() ? sprintf('<a href="%s">%s</a>', $this->escapeHtml($this->getProfileUrl($profile)), $this->escapeHtml($this->getObjectData($profile, 'reference_id'))) : $this->escapeHtml($this->getObjectData($profile, 'reference_id')));?>
57
+ <li><?php echo $this->__('Payment profile # %s: "%s".', $profileIdHtml, $this->escapeHtml($this->getObjectData($profile, 'schedule_description')))?></li>
58
+ <?php endforeach;?>
59
+ </ul>
60
+ <?php endif;?>
61
+
62
+ <div class="buttons-set">
63
+ <button type="button" class="button" title="<?php echo $this->__('Continue Shopping') ?>" onclick="window.location='<?php echo $this->getUrl() ?>'"><span><span><?php echo $this->__('Continue Shopping') ?></span></span></button>
64
+ </div>
app/design/frontend/modulesgarden/crystal/template/checkout/total/default.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 base_default
23
+ * @copyright Copyright (c) 2014 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
+ <tr>
28
+ <td colspan="<?php echo $this->getColspan(); ?>" style="<?php echo $this->getTotal()->getStyle() ?>" class="a-right">
29
+ <?php if ($this->getRenderingArea() == $this->getTotal()->getArea()): ?><strong><?php endif; ?>
30
+ <?php echo $this->escapeHtml($this->getTotal()->getTitle()); ?>
31
+ <?php if ($this->getRenderingArea() == $this->getTotal()->getArea()): ?></strong><?php endif; ?>
32
+ </td>
33
+ <td style="<?php echo $this->getTotal()->getStyle() ?>" class="a-right">
34
+ <?php if ($this->getRenderingArea() == $this->getTotal()->getArea()): ?><strong><?php endif; ?>
35
+ <?php echo $this->helper('checkout')->formatPrice($this->getTotal()->getValue()) ?>
36
+ <?php if ($this->getRenderingArea() == $this->getTotal()->getArea()): ?></strong><?php endif; ?>
37
+ </td>
38
+ </tr>
app/design/frontend/modulesgarden/crystal/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 base_default
23
+ * @copyright Copyright (c) 2014 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/modulesgarden/crystal/template/cms/widget/static_block/default.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 base_default
23
+ * @copyright Copyright (c) 2014 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="widget widget-static-block"><?php echo $this->getText(); ?></div>
app/design/frontend/modulesgarden/crystal/template/contacts/form.phtml ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 base_default
23
+ * @copyright Copyright (c) 2014 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-title">
29
+ <h1><?php echo Mage::helper('contacts')->__('Contact Us') ?></h1>
30
+ </div>
31
+ <form action="<?php echo $this->getFormAction(); ?>" id="contactForm" method="post">
32
+ <div class="fieldset">
33
+ <h2 class="legend"><?php echo Mage::helper('contacts')->__('Contact Information') ?></h2>
34
+ <ul class="form-list">
35
+ <li class="fields">
36
+ <div class="field">
37
+ <label for="name" class="required"><em>*</em><?php echo Mage::helper('contacts')->__('Name') ?></label>
38
+ <div class="input-box">
39
+ <input name="name" id="name" title="<?php echo Mage::helper('contacts')->__('Name') ?>" value="<?php echo $this->escapeHtml($this->helper('contacts')->getUserName()) ?>" class="input-text required-entry" type="text" />
40
+ </div>
41
+ </div>
42
+ <div class="field">
43
+ <label for="email" class="required"><em>*</em><?php echo Mage::helper('contacts')->__('Email') ?></label>
44
+ <div class="input-box">
45
+ <input name="email" id="email" title="<?php echo Mage::helper('contacts')->__('Email') ?>" value="<?php echo $this->escapeHtml($this->helper('contacts')->getUserEmail()) ?>" class="input-text required-entry validate-email" type="text" />
46
+ </div>
47
+ </div>
48
+ </li>
49
+ <li>
50
+ <label for="telephone"><?php echo Mage::helper('contacts')->__('Telephone') ?></label>
51
+ <div class="input-box">
52
+ <input name="telephone" id="telephone" title="<?php echo Mage::helper('contacts')->__('Telephone') ?>" value="" class="input-text" type="text" />
53
+ </div>
54
+ </li>
55
+ <li class="wide">
56
+ <label for="comment" class="required"><em>*</em><?php echo Mage::helper('contacts')->__('Comment') ?></label>
57
+ <div class="input-box">
58
+ <textarea name="comment" id="comment" title="<?php echo Mage::helper('contacts')->__('Comment') ?>" class="required-entry input-text" cols="5" rows="3"></textarea>
59
+ </div>
60
+ </li>
61
+ </ul>
62
+ </div>
63
+ <div class="buttons-set">
64
+ <p class="required"><?php echo Mage::helper('contacts')->__('* Required Fields') ?></p>
65
+ <input type="text" name="hideit" id="hideit" value="" style="display:none !important;" />
66
+ <button type="submit" title="<?php echo Mage::helper('contacts')->__('Submit') ?>" class="button_green"><span><span><?php echo Mage::helper('contacts')->__('Submit') ?></span></span></button>
67
+ </div>
68
+ </form>
69
+ <script type="text/javascript">
70
+ //<![CDATA[
71
+ var contactForm = new VarienForm('contactForm', true);
72
+ //]]>
73
+ </script>
app/design/frontend/modulesgarden/crystal/template/customer/account/dashboard.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 base_default
23
+ * @copyright Copyright (c) 2014 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">
28
+ <div class="page-title">
29
+ <h1><?php echo $this->__('My Dashboard') ?></h1>
30
+ </div>
31
+ <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
32
+ <?php echo $this->getChildHtml('hello') ?>
33
+ <?php echo $this->getChildHtml('top') ?>
34
+ <div class="box-account box-info">
35
+ <div class="box-head">
36
+ <h2><?php echo $this->__('Account Information') ?></h2>
37
+ </div>
38
+ <?php /* Extensions placeholder */ ?>
39
+ <?php echo $this->getChildHtml('customer.account.dashboard.extra') ?>
40
+ <?php echo $this->getChildHtml('info') ?>
41
+ <?php echo $this->getChildHtml('address') ?>
42
+ </div>
43
+ <?php echo $this->getChildHtml('info1') ?>
44
+ <?php echo $this->getChildHtml('info2') ?>
45
+ </div>
app/design/frontend/modulesgarden/crystal/template/customer/account/dashboard/address.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 base_default
23
+ * @copyright Copyright (c) 2014 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="box">
29
+ <div class="box-title">
30
+ <h3><?php echo $this->__('Address Book') ?></h3>
31
+ <a href="<?php echo $this->getAddressBookUrl() ?>"><?php echo $this->__('Manage Addresses') ?></a>
32
+ </div>
33
+ <div class="box-content">
34
+ <div class="col-1">
35
+ <h4><?php echo $this->__('Default Billing Address') ?></h4>
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 class="col-2">
42
+ <h4><?php echo $this->__('Default Shipping Address') ?></h4>
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>
50
+ </div>
app/design/frontend/modulesgarden/crystal/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 base_default
23
+ * @copyright Copyright (c) 2014 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="welcome-msg">
28
+ <p class="hello"><strong><?php echo $this->__('Hello, %s!', $this->escapeHtml($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/modulesgarden/crystal/template/customer/account/dashboard/info.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 base_default
23
+ * @copyright Copyright (c) 2014 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
+ <div class="box">
30
+ <div class="box-title">
31
+ <h3><?php echo $this->__('Contact Information') ?></h3>
32
+ <a href="<?php echo $this->getUrl('customer/account/edit') ?>"><?php echo $this->__('Edit') ?></a>
33
+ </div>
34
+ <div class="box-content">
35
+ <p>
36
+ <?php echo $this->escapeHtml($this->getCustomer()->getName()) ?><br />
37
+ <?php echo $this->escapeHtml($this->getCustomer()->getEmail()) ?><br />
38
+ <a href="<?php echo $this->getChangePasswordUrl() ?>"><?php echo $this->__('Change Password') ?></a>
39
+ </p>
40
+ </div>
41
+ </div>
42
+ </div>
43
+ <?php if( $this->isNewsletterEnabled() ): ?>
44
+ <div class="col-2">
45
+ <div class="box">
46
+ <div class="box-title">
47
+ <h3><?php echo $this->__('Newsletters') ?></h3>
48
+ <a href="<?php echo $this->getUrl('newsletter/manage') ?>"><?php echo $this->__('Edit') ?></a>
49
+ </div>
50
+ <div class="box-content">
51
+ <p>
52
+ <?php if( $this->getIsSubscribed() ): ?>
53
+ <?php echo $this->__("You are currently subscribed to 'General Subscription'.") ?>
54
+ <?php else: ?>
55
+ <?php echo $this->__('You are currently not subscribed to any newsletter.') ?>
56
+ <?php endif; ?>
57
+ </p>
58
+ </div>
59
+ </div>
60
+ <?php /* Extensions placeholder */ ?>
61
+ <?php echo $this->getChildHtml('customer.account.dashboard.info.extra')?>
62
+ </div>
63
+ <?php endif; ?>
64
+ </div>
app/design/frontend/modulesgarden/crystal/template/customer/account/dashboard/newsletter.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 base_default
23
+ * @copyright Copyright (c) 2014 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
+ <h4><?php echo $this->__('Newsletters') ?></h4>
29
+ <a href="<?php echo $this->getUrl('newsletter/manage') ?>"><?php echo $this->__('Edit Newsletters') ?></a>
30
+ <p><?php echo $this->__('You are currently subscribed to our newsletter.') ?></p>
31
+ </div>
app/design/frontend/modulesgarden/crystal/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 base_default
23
+ * @copyright Copyright (c) 2014 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="buttons-set">
28
+ <p class="back-link"><a href="<?php echo $this->escapeUrl($this->getBackUrl()) ?>"><small>&laquo; </small><?php echo $this->__('Back') ?></a></p>
29
+ </div>
app/design/frontend/modulesgarden/crystal/template/customer/account/navigation.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 base_default
23
+ * @copyright Copyright (c) 2014 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="block block-account">
28
+ <div class="block-title">
29
+ <strong><span><?php echo $this->__('My Account'); ?></span></strong>
30
+ </div>
31
+ <div class="block-content">
32
+ <ul>
33
+ <?php $_links = $this->getLinks(); ?>
34
+ <?php $_index = 1; ?>
35
+ <?php $_count = count($_links); ?>
36
+ <?php foreach ($_links as $_link): ?>
37
+ <?php $_last = ($_index++ >= $_count); ?>
38
+ <?php if ($this->isActive($_link)): ?>
39
+ <li class="current<?php echo ($_last ? ' last' : '') ?>"><strong><?php echo $_link->getLabel() ?></strong></li>
40
+ <?php else: ?>
41
+ <li<?php echo ($_last ? ' class="last"' : '') ?>><a href="<?php echo $_link->getUrl() ?>"><?php echo $_link->getLabel() ?></a></li>
42
+ <?php endif; ?>
43
+ <?php endforeach; ?>
44
+ </ul>
45
+ </div>
46
+ </div>
app/design/frontend/modulesgarden/crystal/template/customer/address.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 base_default
23
+ * @copyright Copyright (c) 2014 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-title">
28
+ <h1><?php echo $this->__('Address Books') ?></h1>
29
+ </div>
30
+ <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
31
+ <table width="100%">
32
+ <tr>
33
+ <td style="width:50%;"><h3>Default</h3>
34
+ <table width="100%">
35
+ <?php if(!empty($primaryAddresses)): ?>
36
+ <?php foreach($primaryAddresses as $_address): ?>
37
+ <tr>
38
+ <td>
39
+ <address>
40
+ <?php echo $_address->format('html') ?>
41
+ </address>
42
+ <p>
43
+ <strong><a href="<?php echo $this->getUrl('customer/address/form', array('address'=>$_address->getAddressId())) ?>" class="red-link"><?php echo $this->__('Edit Address') ?></a></strong>
44
+ </p>
45
+ </td>
46
+ </tr>
47
+ <?php endforeach; ?>
48
+ <?php else: ?>
49
+ <tr>
50
+ <td>
51
+ <p><?php echo $this->__('You have no default entries in your address book.') ?></p>
52
+ </td>
53
+ </tr>
54
+ <?php endif ?>
55
+ </table>
56
+ </td>
57
+ <td style="width:50%;"><h3><?php echo $this->__('Additional Address Entries') ?></h3>
58
+ <table width="100%">
59
+ <?php if(!empty($alternativeAddresses)): ?>
60
+ <?php foreach($alternativeAddresses as $_address): ?>
61
+ <tr>
62
+ <td>
63
+ <address>
64
+ <?php echo $_address->format('html') ?>
65
+ </address>
66
+ <p>
67
+ <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>
68
+ </p>
69
+ </td>
70
+ </tr>
71
+ <?php endforeach; ?>
72
+ <?php else: ?>
73
+ <tr>
74
+ <td>
75
+ <p><?php echo $this->__('You have no additional entries in your address book.') ?></p>
76
+ </td>
77
+ </tr>
78
+ <?php endif ?>
79
+ </table>
80
+ </td>
81
+ </tr>
82
+ </table>
83
+ <div class="buttons-set">
84
+ <p class="back-link"><a href="<?php echo $this->getUrl('customer/account/') ?>"><small>&laquo; </small><?php echo $this->__('Back') ?></a></p>
85
+ <button type="button" onclick="window.location='<?php echo $this->getUrl('customer/address/form') ?>';" class="button"><span><span><?php echo $this->__('New Address') ?></span></span></button>
86
+ </div>
87
+ <script type="text/javascript">
88
+ function deleteAddress(addressId) {
89
+ if(confirm('<?php echo $this->__('Are you sure you want to delete this address?') ?>')) {
90
+ window.location='<?php echo $this->getUrl("customer/address/delete") ?>address/'+addressId;
91
+ }
92
+ return false;
93
+ }
94
+ </script>
app/design/frontend/modulesgarden/crystal/template/customer/address/book.phtml ADDED
@@ -0,0 +1,105 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 base_default
23
+ * @copyright Copyright (c) 2014 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="page-title title-buttons">
34
+ <h1><?php echo $this->__('Address Book') ?></h1>
35
+ <button type="button" title="<?php echo $this->__('Add New Address') ?>" class="button" onclick="window.location='<?php echo $this->getAddAddressUrl() ?>';"><span><span><?php echo $this->__('Add New Address') ?></span></span></button>
36
+ </div>
37
+ <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
38
+ <div class="col2-set addresses-list">
39
+ <div class="col-1 addresses-primary">
40
+ <h2><?php echo $this->__('Default Addresses') ?></h2>
41
+ <ol>
42
+ <?php if($_pAddsses = Mage::getSingleton('customer/session')->getCustomer()->getDefaultBilling()): ?>
43
+ <li class="item">
44
+ <h3><?php echo $this->__('Default Billing Address') ?></h3>
45
+ <address>
46
+ <?php echo $this->getAddressHtml(Mage::getSingleton('customer/session')->getCustomer()->getAddressById($_pAddsses)) ?>
47
+ </address>
48
+ <p><a href="<?php echo $this->getAddressEditUrl(Mage::getSingleton('customer/session')->getCustomer()->getAddressById($_pAddsses)) ?>"><?php echo $this->__('Change Billing Address') ?></a></p>
49
+ </li>
50
+ <?php else: ?>
51
+ <li class="item">
52
+ <h3><?php echo $this->__('Default Billing Address') ?></h3>
53
+ <?php echo $this->__('You have no default billing address in your address book.') ?>
54
+ </li>
55
+ <?php endif ?>
56
+
57
+ <?php if($_pAddsses = Mage::getSingleton('customer/session')->getCustomer()->getDefaultShipping()): ?>
58
+ <li class="item">
59
+ <h3><?php echo $this->__('Default Shipping Address') ?></h3>
60
+ <address>
61
+ <?php echo $this->getAddressHtml(Mage::getSingleton('customer/session')->getCustomer()->getAddressById($_pAddsses)) ?>
62
+ </address>
63
+ <p><a href="<?php echo $this->getAddressEditUrl(Mage::getSingleton('customer/session')->getCustomer()->getAddressById($_pAddsses)) ?>"><?php echo $this->__('Change Shipping Address') ?></a></p>
64
+ </li>
65
+ <?php else: ?>
66
+ <li class="item empty">
67
+ <h3><?php echo $this->__('Default Shipping Address') ?></h3>
68
+ <p><?php echo $this->__('You have no default shipping address in your address book.') ?></p>
69
+ </li>
70
+ <?php endif ?>
71
+ </ol>
72
+ </div>
73
+ <div class="col-2 addresses-additional">
74
+ <h2><?php echo $this->__('Additional Address Entries') ?></h2>
75
+ <ol>
76
+ <?php if($_pAddsses = $this->getAdditionalAddresses()): ?>
77
+ <?php foreach($_pAddsses as $_address): ?>
78
+ <li class="item">
79
+ <address>
80
+ <?php echo $this->getAddressHtml($_address) ?>
81
+ </address>
82
+ <p><a href="<?php echo $this->getUrl('customer/address/edit', array('id'=>$_address->getId())) ?>"><?php echo $this->__('Edit Address') ?></a> <span class="separator">|</span> <a href="#" class="link-remove" onclick="return deleteAddress('<?php echo $_address->getId() ?>');"><?php echo $this->__('Delete Address') ?></a></p>
83
+ </li>
84
+ <?php endforeach; ?>
85
+ <?php else: ?>
86
+ <li class="item empty">
87
+ <p><?php echo $this->__('You have no additional address entries in your address book.') ?></p>
88
+ </li>
89
+ <?php endif ?>
90
+ </ol>
91
+ </div>
92
+ </div>
93
+ <div class="buttons-set">
94
+ <p class="back-link"><a href="<?php echo $this->escapeUrl($this->getBackUrl()) ?>"><small>&laquo; </small><?php echo $this->__('Back') ?></a></p>
95
+ </div>
96
+ <script type="text/javascript">
97
+ //<![CDATA[
98
+ function deleteAddress(addressId) {
99
+ if(confirm('<?php echo $this->__('Are you sure you want to delete this address?') ?>')) {
100
+ window.location='<?php echo $this->getDeleteUrl() ?>id/'+addressId;
101
+ }
102
+ return false;
103
+ }
104
+ //]]>
105
+ </script>
app/design/frontend/modulesgarden/crystal/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 base_default
23
+ * @copyright Copyright (c) 2014 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
+ <?php if($this->getTitle()): ?>
35
+ <div class="page-title">
36
+ <h1><?php echo $this->getTitle() ?></h1>
37
+ </div>
38
+ <?php endif; ?>
39
+ <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
40
+ <form action="<?php echo $this->getSaveUrl() ?>" method="post" id="form-validate">
41
+ <div class="fieldset">
42
+ <?php echo $this->getBlockHtml('formkey')?>
43
+ <input type="hidden" name="success_url" value="<?php echo $this->getSuccessUrl() ?>" />
44
+ <input type="hidden" name="error_url" value="<?php echo $this->getErrorUrl() ?>" />
45
+ <h2 class="legend"><?php echo $this->__('Contact Information') ?></h2>
46
+ <ul class="form-list">
47
+ <li class="fields">
48
+ <?php echo $this->getNameBlockHtml() ?>
49
+ </li>
50
+ <li class="wide">
51
+ <label for="company"><?php echo $this->__('Company') ?></label>
52
+ <div class="input-box">
53
+ <input type="text" name="company" id="company" title="<?php echo $this->__('Company') ?>" value="<?php echo $this->escapeHtml($this->getAddress()->getCompany()) ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('company') ?>" />
54
+ </div>
55
+ </li>
56
+ <li class="fields">
57
+ <div class="field">
58
+ <label for="telephone" class="required"><em>*</em><?php echo $this->__('Telephone') ?></label>
59
+ <div class="input-box">
60
+ <input type="text" name="telephone" value="<?php echo $this->escapeHtml($this->getAddress()->getTelephone()) ?>" title="<?php echo $this->__('Telephone') ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('telephone') ?>" id="telephone" />
61
+ </div>
62
+ </div>
63
+ <div class="field">
64
+ <label for="fax"><?php echo $this->__('Fax') ?></label>
65
+ <div class="input-box">
66
+ <input type="text" name="fax" id="fax" title="<?php echo $this->__('Fax') ?>" value="<?php echo $this->escapeHtml($this->getAddress()->getFax()) ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('fax') ?>" />
67
+ </div>
68
+ </div>
69
+ </li>
70
+ </ul>
71
+ </div>
72
+ <div class="fieldset">
73
+ <h2 class="legend"><?php echo $this->__('Address') ?></h2>
74
+ <ul class="form-list">
75
+ <?php $_streetValidationClass = $this->helper('customer/address')->getAttributeValidationClass('street'); ?>
76
+ <li class="wide">
77
+ <label for="street_1" class="required"><em>*</em><?php echo $this->__('Street Address') ?></label>
78
+ <div class="input-box">
79
+ <input type="text" name="street[]" value="<?php echo $this->escapeHtml($this->getAddress()->getStreet(1)) ?>" title="<?php echo $this->__('Street Address') ?>" id="street_1" class="input-text <?php echo $_streetValidationClass ?>" />
80
+ </div>
81
+ </li>
82
+ <?php $_streetValidationClass = trim(str_replace('required-entry', '', $_streetValidationClass)); ?>
83
+ <?php for ($_i = 2, $_n = $this->helper('customer/address')->getStreetLines(); $_i <= $_n; $_i++): ?>
84
+ <li class="wide">
85
+ <div class="input-box">
86
+ <input type="text" name="street[]" value="<?php echo $this->escapeHtml($this->getAddress()->getStreet($_i)) ?>" title="<?php echo $this->__('Street Address %s', $_i) ?>" id="street_<?php echo $_i ?>" class="input-text <?php echo $_streetValidationClass ?>" />
87
+ </div>
88
+ </li>
89
+ <?php endfor; ?>
90
+ <?php if ($this->helper('customer/address')->isVatAttributeVisible()) : ?>
91
+ <li class="wide">
92
+ <label for="vat_id"><?php echo $this->__('VAT Number') ?></label>
93
+ <div class="input-box">
94
+ <input type="text" name="vat_id" value="<?php echo $this->escapeHtml($this->getAddress()->getVatId()) ?>" title="<?php echo $this->__('VAT Number') ?>" id="vat_id" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('vat_id') ?>" />
95
+ </div>
96
+ </li>
97
+ <?php endif; ?>
98
+ <li class="fields">
99
+ <div class="field">
100
+ <label for="city" class="required"><em>*</em><?php echo $this->__('City') ?></label>
101
+ <div class="input-box">
102
+ <input type="text" name="city" value="<?php echo $this->escapeHtml($this->getAddress()->getCity()) ?>" title="<?php echo $this->__('City') ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('city') ?>" id="city" />
103
+ </div>
104
+ </div>
105
+ <div class="field">
106
+ <label for="region_id" class="required"><em>*</em><?php echo $this->__('State/Province') ?></label>
107
+ <div class="input-box">
108
+ <select id="region_id" name="region_id" title="<?php echo $this->__('State/Province') ?>" class="validate-select" style="display:none;">
109
+ <option value=""><?php echo $this->__('Please select region, state or province') ?></option>
110
+ </select>
111
+ <script type="text/javascript">
112
+ //<![CDATA[
113
+ $('region_id').setAttribute('defaultValue', "<?php echo $this->getAddress()->getRegionId() ?>");
114
+ //]]>
115
+ </script>
116
+ <input type="text" id="region" name="region" value="<?php echo $this->escapeHtml($this->getAddress()->getRegion()) ?>" title="<?php echo $this->__('State/Province') ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('region') ?>" />
117
+ </div>
118
+ </div>
119
+ </li>
120
+ <li class="fields">
121
+ <div class="field">
122
+ <label for="zip" class="required"><em>*</em><?php echo $this->__('Zip/Postal Code') ?></label>
123
+ <div class="input-box">
124
+ <input type="text" name="postcode" value="<?php echo $this->escapeHtml($this->getAddress()->getPostcode()) ?>" title="<?php echo $this->__('Zip/Postal Code') ?>" id="zip" class="input-text validate-zip-international <?php echo $this->helper('customer/address')->getAttributeValidationClass('postcode') ?>" />
125
+ </div>
126
+ </div>
127
+ <div class="field">
128
+ <label for="country" class="required"><em>*</em><?php echo $this->__('Country') ?></label>
129
+ <div class="input-box">
130
+ <?php echo $this->getCountryHtmlSelect() ?>
131
+ </div>
132
+ </div>
133
+ </li>
134
+ <li<?php if($this->canSetAsDefaultBilling()) echo ' class="control"' ?>>
135
+ <?php if($this->isDefaultBilling()): ?>
136
+ <strong><?php echo $this->__('Default Billing Address') ?></strong>
137
+ <?php elseif($this->canSetAsDefaultBilling()): ?>
138
+ <input type="checkbox" id="primary_billing" name="default_billing" value="1" title="<?php echo $this->__('Use as My Default Billing Address') ?>" class="checkbox" /><label for="primary_billing"><?php echo $this->__('Use as my default billing address') ?></label>
139
+ <?php else: ?>
140
+ <input type="hidden" name="default_billing" value="1" />
141
+ <?php endif; ?>
142
+ </li>
143
+ <li<?php if($this->canSetAsDefaultShipping()) echo ' class="control"' ?>>
144
+ <?php if($this->isDefaultShipping()): ?>
145
+ <strong><?php echo $this->__('Default Shipping Address') ?></strong>
146
+ <?php elseif($this->canSetAsDefaultShipping()): ?>
147
+ <input type="checkbox" id="primary_shipping" name="default_shipping" value="1" title="<?php echo $this->__('Use as My Default Shipping Address') ?>" class="checkbox" /><label for="primary_shipping"><?php echo $this->__('Use as my default shipping address') ?></label>
148
+ <?php else: ?>
149
+ <input type="hidden" name="default_shipping" value="1" />
150
+ <?php endif; ?>
151
+ </li>
152
+ </ul>
153
+ </div>
154
+ <div class="buttons-set">
155
+ <p class="required"><?php echo $this->__('* Required Fields') ?></p>
156
+ <p class="back-link"><a href="<?php echo $this->escapeUrl($this->getBackUrl()) ?>"><small>&laquo; </small><?php echo $this->__('Back') ?></a></p>
157
+ <button data-action="save-customer-address" type="submit" title="<?php echo $this->__('Save Address') ?>" class="button"><span><span><?php echo $this->__('Save Address') ?></span></span></button>
158
+ </div>
159
+ </form>
160
+ <script type="text/javascript">
161
+ //<![CDATA[
162
+ var dataForm = new VarienForm('form-validate', true);
163
+ new RegionUpdater('country', 'region', 'region_id', <?php echo $this->helper('directory')->getRegionJson() ?>, undefined, 'zip');
164
+ //]]>
165
+ </script>
app/design/frontend/modulesgarden/crystal/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 base_default
23
+ * @copyright Copyright (c) 2014 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-set">
30
+ <p class="back-link"><a href="<?php echo $this->getUrl('customer/account') ?>"><small>&laquo; </small><?php echo $this->__('Back') ?></a></p>
31
+ </div>
app/design/frontend/modulesgarden/crystal/template/customer/form/address.phtml ADDED
@@ -0,0 +1,143 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 base_default
23
+ * @copyright Copyright (c) 2014 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-title">
30
+ <h1><?php if($data->getAddressId()): ?><?php echo $this->__('Edit Address Entry') ?><?php else: ?><?php echo $this->__('New Address Entry') ?><?php endif ?></h1>
31
+ </div>
32
+ <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
33
+ <form action="<?php echo $action ?>" method="post" id="form-validate">
34
+ <div class="fieldset">
35
+ <input type="hidden" name="address_id" value="<?php echo $data->getAddressId() ?>" />
36
+ <input type="hidden" name="customer_id" id="address_id" value="<?php echo $data->getCustomerId() ?>" />
37
+ <h2 class="legend"><?php echo $this->__('Personal Information') ?></h2>
38
+ <ul class="form-list">
39
+ <li class="fields">
40
+ <?php echo $this->getLayout()->createBlock('customer/widget_name')->setObject($data)->toHtml() ?>
41
+ </li>
42
+ <li>
43
+ <label for="company"><?php echo $this->__('Company') ?></label>
44
+ <div class="input-box">
45
+ <input type="text" name="company" id="company" title="<?php echo $this->__('Company') ?>" value="<?php echo $this->escapeHtml($data->getCompany()) ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('company') ?>" />
46
+ </div>
47
+ </li>
48
+ </ul>
49
+ </div>
50
+ <div class="fieldset">
51
+ <h2 class="legend"><?php echo $this->__('Address') ?></h2>
52
+ <ul class="form-list">
53
+ <?php $_streetValidationClass = $this->helper('customer/address')->getAttributeValidationClass('street'); ?>
54
+ <li class="wide">
55
+ <label for="street_1" class="required"><em>*</em><?php echo $this->__('Street Address') ?></label>
56
+ <div class="input-box">
57
+ <input type="text" name="street[]" value="<?php echo $this->escapeHtml($data->getStreet(1)) ?>" title="<?php echo $this->__('Street Address') ?>" id="street_1" class="input-text <?php echo $_streetValidationClass ?>" />
58
+ </div>
59
+ </li>
60
+ <?php $_streetValidationClass = trim(str_replace('required-entry', '', $_streetValidationClass)); ?>
61
+ <?php for ($_i = 2, $_n = $this->helper('customer/address')->getStreetLines(); $_i <= $_n; $_i++): ?>
62
+ <li class="wide">
63
+ <div class="input-box">
64
+ <input type="text" name="street[]" value="<?php echo $this->escapeHtml($data->getStreet($_i)) ?>" title="<?php echo $this->__('Street Address %s', $_i) ?>" id="street_<?php echo $_i ?>" class="input-text <?php echo $_streetValidationClass ?>" />
65
+ </div>
66
+ </li>
67
+ <?php endfor; ?>
68
+ <li class="fields">
69
+ <div class="field">
70
+ <label for="city" class="required"><em>*</em><?php echo $this->__('City') ?></label>
71
+ <div class="input-box">
72
+ <input type="text" name="city" value="<?php echo $this->escapeHtml($data->getCity()) ?>" title="<?php echo $this->__('City') ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('city') ?>" id="city" />
73
+ </div>
74
+ </div>
75
+ <div class="field">
76
+ <label for="region_id" class="required"><em>*</em><?php echo $this->__('State/Province') ?></label>
77
+ <div class="input-box">
78
+ <select id="region_id" name="region_id" title="<?php echo $this->__('State/Province') ?>" class="validate-select" style="display:none;">
79
+ <option value=""><?php echo $this->__('Please select region, state or province') ?></option>
80
+ </select>
81
+ <script type="text/javascript">
82
+ //<![CDATA[
83
+ $('region_id').setAttribute('defaultValue', "<?php echo $this->getAddress()->getRegionId() ?>");
84
+ //]]>
85
+ </script>
86
+ <input type="text" id="region" name="region" value="<?php echo $this->escapeHtml($this->getAddress()->getRegion()) ?>" title="<?php echo $this->__('State/Province') ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('region') ?>" style="display:none;" />
87
+ </div>
88
+ </div>
89
+ </li>
90
+ <li class="fields">
91
+ <div class="field">
92
+ <label for="zip" class="required"><em>*</em><?php echo $this->__('Zip/Postal Code') ?></label>
93
+ <div class="input-box">
94
+ <input type="text" name="postcode" value="<?php echo $this->escapeHtml($data->getPostcode()) ?>" title="<?php echo $this->__('Zip/Postal Code') ?>" id="zip" class="input-text validate-zip-international <?php echo $this->helper('customer/address')->getAttributeValidationClass('postcode') ?>" />
95
+ </div>
96
+ </div>
97
+ <div class="field">
98
+ <label for="country" class="required"><em>*</em><?php echo $this->__('Country') ?></label>
99
+ <div class="input-box">
100
+ <select name="country_id" id="country" title="<?php echo $this->__('Country') ?>" class="validate-select">
101
+ <?php echo $countries->toHtmlOptions($data->getCountryId()) ?>
102
+ </select>
103
+ </div>
104
+ </div>
105
+ </li>
106
+ <li class="fields">
107
+ <div class="field">
108
+ <label for="telephone" class="required"><em>*</em><?php echo $this->__('Telephone') ?></label>
109
+ <div class="input-box">
110
+ <input type="text" name="telephone" value="<?php echo $this->escapeHtml($data->getTelephone()) ?>" title="<?php echo $this->__('Telephone') ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('telephone') ?>" id="telephone" />
111
+ </div>
112
+ </div>
113
+ <div class="field">
114
+ <label for="fax"><?php echo $this->__('Fax') ?></label>
115
+ <div class="input-box">
116
+ <input type="text" name="fax" value="<?php echo $this->escapeHtml($data->getFax()) ?>" title="<?php echo $this->__('Fax') ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('fax') ?>" id="fax" />
117
+ </div>
118
+ </div>
119
+ </li>
120
+ <?php foreach ($primaryTypes as $code=>$type): ?>
121
+ <li<?php if (!$address->isPrimary($type['address_type_id'])) echo ' class="control"' ?>>
122
+ <?php if ($address->isPrimary($type['address_type_id'])): ?>
123
+ <strong><?php echo $this->__("This is My Default %s Address", ucfirst($type['name'])) ?></strong>
124
+ <?php else: ?>
125
+ <input type="checkbox" id="primary_<?php echo $code ?>" name="primary_types[]" value="<?php echo $type['address_type_id'] ?>" class="checkbox" /><label for="primary_<?php echo $code ?>"><?php echo $this->__("Use as My Default %s Address", ucfirst($type['name'])) ?></label>
126
+ <?php endif ?>
127
+ </li>
128
+ <?php endforeach ?>
129
+ </ul>
130
+ </div>
131
+ <div class="buttons-set">
132
+ <p class="required"><?php echo $this->__('* Required Fields') ?></p>
133
+ <p class="back-link"><a href="<?php echo $this->getUrl('customer/address/') ?>"><small>&laquo; </small><?php echo $this->__('Back') ?></a></p>
134
+ <button data-action="save-customer-address" type="submit" class="button" title="<?php echo $this->__('Save Address') ?>"><span><span><?php echo $this->__('Save Address') ?></span></span></button>
135
+ </div>
136
+ </form>
137
+ <script type="text/javascript">
138
+ //<![CDATA[
139
+ var dataForm = new VarienForm('form-validate', true);
140
+ //dataForm.setElementsRelation('country', 'state', '<?php echo $this->getUrl('directory/json/childRegion') ?>');
141
+ new RegionUpdater('country', 'region', 'region_id', countryRegions, undefined, 'zip');
142
+ //]]>
143
+ </script>
app/design/frontend/modulesgarden/crystal/template/customer/form/changepassword.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 base_default
23
+ * @copyright Copyright (c) 2014 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-title">
28
+ <h1><?php echo $this->__('Change Account Password') ?></h1>
29
+ </div>
30
+ <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
31
+ <form action="<?php echo $action ?>" method="post" id="form-validate">
32
+ <div class="fieldset">
33
+ <h2 class="legend"><?php echo $this->__('Change Account Password') ?></h2>
34
+ <ul class="form-list">
35
+ <li>
36
+ <label for="current_password" class="required"><em>*</em><?php echo $this->__('Current Password') ?></label>
37
+ <div class="input-box">
38
+ <input type="password" title="<?php echo $this->__('Current Password') ?>" class="input-text required-entry" name="current_password" id="current_password" />
39
+ </div>
40
+ </li>
41
+ <li class="fields">
42
+ <div class="field">
43
+ <label for="password" class="required"><em>*</em><?php echo $this->__('New Password') ?></label>
44
+ <div class="input-box">
45
+ <input type="password" title="<?php echo $this->__('New Password') ?>" class="input-text required-entry validate-password" name="password" id="password" />
46
+ </div>
47
+ </div>
48
+ <div class="field">
49
+ <label for="confirmation" class="required"><em>*</em><?php echo $this->__('Confirm New Password') ?></label>
50
+ <div class="input-box">
51
+ <input type="password" title="<?php echo $this->__('Confirm New Password') ?>" class="input-text required-entry validate-cpassword" name="confirmation" id="confirmation" />
52
+ </div>
53
+ </div>
54
+ </li>
55
+ </ul>
56
+ </div>
57
+ <div class="buttons-set">
58
+ <p class="required"><?php echo $this->__('* Required Fields') ?></p>
59
+ <p class="back-link"><a href="<?php echo $this->getUrl('customer/account') ?>"><small>&laquo; </small><?php echo $this->__('Back') ?></a></p>
60
+ <button type="submit" title="<?php echo $this->__('Save Password') ?>" class="button"><span><span><?php echo $this->__('Save Password') ?></span></span></button>
61
+ </div>
62
+ </form>
63
+ <script type="text/javascript">
64
+ //<![CDATA[
65
+ var dataForm = new VarienForm('form-validate');
66
+ //]]>
67
+ </script>
app/design/frontend/modulesgarden/crystal/template/customer/form/confirmation.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 base_default
23
+ * @copyright Copyright (c) 2014 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-title">
28
+ <h1><?php echo $this->__('Send confirmation link') ?></h1>
29
+ </div>
30
+ <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
31
+ <form action="" method="post" id="form-validate">
32
+ <div class="fieldset">
33
+ <h2 class="legend"><?php echo $this->__('Retrieve your confirmation link here') ?></h2>
34
+ <p><?php echo $this->__('Please enter your email below and we\'ll send you confirmation link for it.') ?></p>
35
+ <ul class="form-list">
36
+ <li>
37
+ <label for="email_address" class="required"><em>*</em><?php echo $this->__('Email Address') ?></label>
38
+ <div class="input-box">
39
+ <input type="text" name="email" id="email_address" title="<?php echo $this->__('Email Address') ?>" class="input-text required-entry validate-email" value="<?php echo $this->escapeHtml($this->getEmail()) ?>" />
40
+ </div>
41
+ </li>
42
+ </ul>
43
+ </div>
44
+ <div class="buttons-set">
45
+ <p class="required"><?php echo $this->__('* Required Fields') ?></p>
46
+ <p class="back-link"><a href="<?php echo $this->helper('customer')->getLoginUrl() ?>"><small>&laquo; </small><?php echo $this->__('Back to Login') ?></a></p>
47
+ <button type="submit" title="<?php echo $this->__('Submit') ?>" class="button"><span><span><?php echo $this->__('Submit') ?></span></span></button>
48
+ </div>
49
+ </form>
50
+ <script type="text/javascript">
51
+ //<![CDATA[
52
+ var dataForm = new VarienForm('form-validate', true);
53
+ //]]>
54
+ </script>
app/design/frontend/modulesgarden/crystal/template/customer/form/edit.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 base_default
23
+ * @copyright Copyright (c) 2014 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-title">
28
+ <h1><?php echo $this->__('Edit Account Information') ?></h1>
29
+ </div>
30
+ <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
31
+ <form action="<?php echo $this->getUrl('customer/account/editPost') ?>" method="post" id="form-validate" autocomplete="off">
32
+ <div class="fieldset">
33
+ <?php echo $this->getBlockHtml('formkey')?>
34
+ <h2 class="legend"><?php echo $this->__('Account Information') ?></h2>
35
+ <ul class="form-list">
36
+ <li class="fields">
37
+ <?php echo $this->getLayout()->createBlock('customer/widget_name')->setObject($this->getCustomer())->toHtml() ?>
38
+ </li>
39
+ <li>
40
+ <label for="email" class="required"><em>*</em><?php echo $this->__('Email Address') ?></label>
41
+ <div class="input-box">
42
+ <input type="text" name="email" id="email" value="<?php echo $this->escapeHtml($this->getCustomer()->getEmail()) ?>" title="<?php echo $this->__('Email Address') ?>" class="input-text required-entry validate-email" />
43
+ </div>
44
+ </li>
45
+ <?php $_dob = $this->getLayout()->createBlock('customer/widget_dob') ?>
46
+ <?php if ($_dob->isEnabled()): ?>
47
+ <li><?php echo $_dob->setDate($this->getCustomer()->getDob())->toHtml() ?></li>
48
+ <?php endif ?>
49
+ <?php $_taxvat = $this->getLayout()->createBlock('customer/widget_taxvat') ?>
50
+ <?php if ($_taxvat->isEnabled()): ?>
51
+ <li><?php echo $_taxvat->setTaxvat($this->getCustomer()->getTaxvat())->toHtml() ?></li>
52
+ <?php endif ?>
53
+ <?php $_gender = $this->getLayout()->createBlock('customer/widget_gender') ?>
54
+ <?php if ($_gender->isEnabled()): ?>
55
+ <li><?php echo $_gender->setGender($this->getCustomer()->getGender())->toHtml() ?></li>
56
+ <?php endif ?>
57
+ <li class="control">
58
+ <input type="checkbox" name="change_password" id="change_password" value="1" onclick="setPasswordForm(this.checked)" title="<?php echo $this->__('Change Password') ?>"<?php if($this->getCustomer()->getChangePassword()==1): ?> checked="checked"<?php endif; ?> class="checkbox" /><label for="change_password"><?php echo $this->__('Change Password') ?></label>
59
+ </li>
60
+ </ul>
61
+ </div>
62
+ <div class="fieldset" style="display:none;">
63
+ <h2 class="legend"><?php echo $this->__('Change Password') ?></h2>
64
+ <ul class="form-list">
65
+ <li>
66
+ <label for="current_password" class="required"><em>*</em><?php echo $this->__('Current Password') ?></label>
67
+ <div class="input-box">
68
+ <!-- This is a dummy hidden field to trick firefox from auto filling the password -->
69
+ <input type="text" class="input-text no-display" name="dummy" id="dummy" />
70
+ <input type="password" title="<?php echo $this->__('Current Password') ?>" class="input-text" name="current_password" id="current_password" />
71
+ </div>
72
+ </li>
73
+ <li class="fields">
74
+ <div class="field">
75
+ <label for="password" class="required"><em>*</em><?php echo $this->__('New Password') ?></label>
76
+ <div class="input-box">
77
+ <input type="password" title="<?php echo $this->__('New Password') ?>" class="input-text validate-password" name="password" id="password" />
78
+ </div>
79
+ </div>
80
+ <div class="field">
81
+ <label for="confirmation" class="required"><em>*</em><?php echo $this->__('Confirm New Password') ?></label>
82
+ <div class="input-box">
83
+ <input type="password" title="<?php echo $this->__('Confirm New Password') ?>" class="input-text validate-cpassword" name="confirmation" id="confirmation" />
84
+ </div>
85
+ </div>
86
+ </li>
87
+ </ul>
88
+ </div>
89
+ <div class="buttons-set">
90
+ <p class="required"><?php echo $this->__('* Required Fields') ?></p>
91
+ <p class="back-link"><a href="<?php echo $this->escapeUrl($this->getBackUrl()) ?>"><small>&laquo; </small><?php echo $this->__('Back') ?></a></p>
92
+ <button type="submit" title="<?php echo $this->__('Save') ?>" class="button"><span><span><?php echo $this->__('Save') ?></span></span></button>
93
+ </div>
94
+ </form>
95
+ <script type="text/javascript">
96
+ //<![CDATA[
97
+ var dataForm = new VarienForm('form-validate', true);
98
+ function setPasswordForm(arg){
99
+ if(arg){
100
+ $('current_password').up(3).show();
101
+ $('current_password').addClassName('required-entry');
102
+ $('password').addClassName('required-entry');
103
+ $('confirmation').addClassName('required-entry');
104
+
105
+ }else{
106
+ $('current_password').up(3).hide();
107
+ $('current_password').removeClassName('required-entry');
108
+ $('password').removeClassName('required-entry');
109
+ $('confirmation').removeClassName('required-entry');
110
+ }
111
+ }
112
+
113
+ <?php if($this->getCustomer()->getChangePassword()): ?>
114
+ setPasswordForm(true);
115
+ <?php endif; ?>
116
+ //]]>
117
+ </script>
app/design/frontend/modulesgarden/crystal/template/customer/form/forgotpassword.phtml ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 base_default
23
+ * @copyright Copyright (c) 2014 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-title">
28
+ <h1><?php echo $this->__('Forgot Your Password?') ?></h1>
29
+ </div>
30
+ <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
31
+ <form action="<?php echo $this->getUrl('*/*/forgotpasswordpost') ?>" method="post" id="form-validate">
32
+ <div class="fieldset">
33
+ <h2 class="legend"><?php echo $this->__('Retrieve your password here') ?></h2>
34
+ <p><?php echo $this->__('Please enter your email address below. You will receive a link to reset your password.') ?></p>
35
+ <ul class="form-list">
36
+ <li>
37
+ <label for="email_address" class="required"><em>*</em><?php echo $this->__('Email Address') ?></label>
38
+ <div class="input-box">
39
+ <input type="text" name="email" alt="email" id="email_address" class="input-text required-entry validate-email" value="<?php echo $this->escapeHtml($this->getEmailValue()) ?>" />
40
+ </div>
41
+ </li>
42
+ <?php echo $this->getChildHtml('form.additional.info'); ?>
43
+ </ul>
44
+ </div>
45
+ <div class="buttons-set">
46
+ <p class="required"><?php echo $this->__('* Required Fields') ?></p>
47
+ <p class="back-link"><a href="<?php echo $this->helper('customer')->getLoginUrl() ?>"><small>&laquo; </small><?php echo $this->__('Back to Login') ?></a></p>
48
+ <button type="submit" title="<?php echo $this->__('Submit') ?>" class="button"><span><span><?php echo $this->__('Submit') ?></span></span></button>
49
+ </div>
50
+ </form>
51
+ <script type="text/javascript">
52
+ //<![CDATA[
53
+ var dataForm = new VarienForm('form-validate', true);
54
+ //]]>
55
+ </script>
app/design/frontend/modulesgarden/crystal/template/customer/form/login.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 base_default
23
+ * @copyright Copyright (c) 2014 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="account-login">
35
+ <div class="page-title">
36
+ <h1><?php echo $this->__('Login or Create an Account') ?></h1>
37
+ </div>
38
+ <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
39
+ <?php /* Extensions placeholder */ ?>
40
+ <?php echo $this->getChildHtml('customer.form.login.extra')?>
41
+ <form action="<?php echo $this->getPostActionUrl() ?>" method="post" id="login-form">
42
+ <?php echo $this->getBlockHtml('formkey'); ?>
43
+ <div class="col2-set">
44
+ <div class="col-1 new-users">
45
+ <div class="content">
46
+ <h2><?php echo $this->__('New Customers') ?></h2>
47
+ <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>
48
+ </div>
49
+ </div>
50
+ <div class="col-2 registered-users">
51
+ <div class="content">
52
+ <h2><?php echo $this->__('Registered Customers') ?></h2>
53
+ <p><?php echo $this->__('If you have an account with us, please log in.') ?></p>
54
+ <ul class="form-list">
55
+ <li>
56
+ <label for="email" class="required"><em>*</em><?php echo $this->__('Email Address') ?></label>
57
+ <div class="input-box">
58
+ <input type="text" name="login[username]" value="<?php echo $this->escapeHtml($this->getUsername()) ?>" id="email" class="input-text required-entry validate-email" title="<?php echo $this->__('Email Address') ?>" />
59
+ </div>
60
+ </li>
61
+ <li>
62
+ <label for="pass" class="required"><em>*</em><?php echo $this->__('Password') ?></label>
63
+ <div class="input-box">
64
+ <input type="password" name="login[password]" class="input-text required-entry validate-password" id="pass" title="<?php echo $this->__('Password') ?>" />
65
+ </div>
66
+ </li>
67
+ <?php echo $this->getChildHtml('form.additional.info'); ?>
68
+ </ul>
69
+ <p class="required"><?php echo $this->__('* Required Fields') ?></p>
70
+ </div>
71
+ </div>
72
+ </div>
73
+ <div class="col2-set">
74
+ <div class="col-1 new-users">
75
+ <div class="buttons-set">
76
+ <button type="button" title="<?php echo $this->__('Create an Account') ?>" class="button" onclick="window.location='<?php echo $this->getCreateAccountUrl() ?>';"><span><span><?php echo $this->__('Create an Account') ?></span></span></button>
77
+ </div>
78
+ </div>
79
+ <div class="col-2 registered-users">
80
+ <div class="buttons-set">
81
+ <a href="<?php echo $this->getForgotPasswordUrl() ?>" class="f-left"><?php echo $this->__('Forgot Your Password?') ?></a>
82
+ <button type="submit" class="button" title="<?php echo $this->__('Login') ?>" name="send" id="send2"><span><span><?php echo $this->__('Login') ?></span></span></button>
83
+ </div>
84
+ </div>
85
+ </div>
86
+ </form>
87
+ <script type="text/javascript">
88
+ //<![CDATA[
89
+ var dataForm = new VarienForm('login-form', true);
90
+ //]]>
91
+ </script>
92
+ </div>
app/design/frontend/modulesgarden/crystal/template/customer/form/mini.login.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 base_default
23
+ * @copyright Copyright (c) 2014 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="block block-login">
28
+ <div class="block-title">
29
+ <strong><span><?php echo $this->__('Login') ?></span></strong>
30
+ </div>
31
+ <form action="<?php echo $this->getPostActionUrl() ?>" method="post">
32
+ <div class="block-content">
33
+ <label for="mini-login"><?php echo $this->__('Email:') ?></label><input type="text" name="login[username]" id="mini-login" class="input-text" />
34
+ <label for="mini-password"><?php echo $this->__('Password:') ?></label><input type="password" name="login[password]" id="mini-password" class="input-text" />
35
+ <div class="actions">
36
+ <button type="submit" class="button"><span><span><?php echo $this->__('Login') ?></span></span></button>
37
+ </div>
38
+ </div>
39
+ </form>
40
+ </div>
app/design/frontend/modulesgarden/crystal/template/customer/form/newsletter.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 base_default
23
+ * @copyright Copyright (c) 2014 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-title">
28
+ <h1><?php echo $this->__('Newsletter Subscription') ?></h1>
29
+ </div>
30
+ <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
31
+ <?php echo $this->getChildHtml('form_before')?>
32
+ <form action="<?php echo $this->getAction() ?>" method="post" id="form-validate">
33
+ <div class="fieldset">
34
+ <?php echo $this->getBlockHtml('formkey')?>
35
+ <h2 class="legend"><?php echo $this->__('Newsletter Subscription') ?></h2>
36
+ <ul class="form-list">
37
+ <li class="control"><input type="checkbox" name="is_subscribed" id="subscription" value="1" title="<?php echo $this->__('General Subscription') ?>"<?php if($this->getIsSubscribed()): ?> checked="checked"<?php endif; ?> class="checkbox" /><label for="subscription"><?php echo $this->__('General Subscription') ?></label></li>
38
+ <?php /* Extensions placeholder */ ?>
39
+ <?php echo $this->getChildHtml('customer.form.newsletter.extra')?>
40
+ </ul>
41
+ </div>
42
+ <div class="buttons-set">
43
+ <p class="back-link"><a href="<?php echo $this->escapeUrl($this->getBackUrl()) ?>"><small>&laquo; </small><?php echo $this->__('Back') ?></a></p>
44
+ <button type="submit" title="<?php echo $this->__('Save') ?>" class="button"><span><span><?php echo $this->__('Save') ?></span></span></button>
45
+ </div>
46
+ </form>
47
+ <?php /* Extensions placeholder */ ?>
48
+ <?php echo $this->getChildHtml('customer.form.newsletter.extra2')?>
49
+ <script type="text/javascript">
50
+ //<![CDATA[
51
+ var dataForm = new VarienForm('form-validate', true);
52
+ //]]>
53
+ </script>
app/design/frontend/modulesgarden/crystal/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 base_default
23
+ * @copyright Copyright (c) 2014 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
+ * @var $this Mage_Customer_Block_Form_Register
32
+ */
33
+ ?>
34
+ <div class="account-create">
35
+ <div class="page-title">
36
+ <h1><?php echo $this->__('Create an Account') ?></h1>
37
+ </div>
38
+ <?php echo $this->getChildHtml('form_fields_before')?>
39
+ <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
40
+ <?php /* Extensions placeholder */ ?>
41
+ <?php echo $this->getChildHtml('customer.form.register.extra')?>
42
+ <form action="<?php echo $this->getPostActionUrl() ?>" method="post" id="form-validate">
43
+ <div class="fieldset">
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
+ <h2 class="legend"><?php echo $this->__('Personal Information') ?></h2>
47
+ <ul class="form-list">
48
+ <li class="fields">
49
+ <?php echo $this->getLayout()->createBlock('customer/widget_name')->setObject($this->getFormData())->setForceUseCustomerAttributes(true)->toHtml() ?>
50
+ </li>
51
+ <li>
52
+ <label for="email_address" class="required"><em>*</em><?php echo $this->__('Email Address') ?></label>
53
+ <div class="input-box">
54
+ <input type="text" name="email" id="email_address" value="<?php echo $this->escapeHtml($this->getFormData()->getEmail()) ?>" title="<?php echo $this->__('Email Address') ?>" class="input-text validate-email required-entry" />
55
+ </div>
56
+ </li>
57
+ <?php if ($this->isNewsletterEnabled()): ?>
58
+ <li class="control">
59
+ <div class="input-box">
60
+ <input type="checkbox" name="is_subscribed" title="<?php echo $this->__('Sign Up for Newsletter') ?>" value="1" id="is_subscribed"<?php if($this->getFormData()->getIsSubscribed()): ?> checked="checked"<?php endif; ?> class="checkbox" />
61
+ </div>
62
+ <label for="is_subscribed"><?php echo $this->__('Sign Up for Newsletter') ?></label>
63
+ <?php /* Extensions placeholder */ ?>
64
+ <?php echo $this->getChildHtml('customer.form.register.newsletter')?>
65
+ </li>
66
+ <?php endif ?>
67
+ <?php $_dob = $this->getLayout()->createBlock('customer/widget_dob') ?>
68
+ <?php if ($_dob->isEnabled()): ?>
69
+ <li><?php echo $_dob->setDate($this->getFormData()->getDob())->toHtml() ?></li>
70
+ <?php endif ?>
71
+ <?php $_taxvat = $this->getLayout()->createBlock('customer/widget_taxvat') ?>
72
+ <?php if ($_taxvat->isEnabled()): ?>
73
+ <li><?php echo $_taxvat->setTaxvat($this->getFormData()->getTaxvat())->toHtml() ?></li>
74
+ <?php endif ?>
75
+ <?php $_gender = $this->getLayout()->createBlock('customer/widget_gender') ?>
76
+ <?php if ($_gender->isEnabled()): ?>
77
+ <li><?php echo $_gender->setGender($this->getFormData()->getGender())->toHtml() ?></li>
78
+ <?php endif ?>
79
+ </ul>
80
+ </div>
81
+ <?php if($this->getShowAddressFields()): ?>
82
+ <div class="fieldset">
83
+ <input type="hidden" name="create_address" value="1" />
84
+ <h2 class="legend"><?php echo $this->__('Address Information') ?></h2>
85
+ <ul class="form-list">
86
+ <li class="fields">
87
+ <div class="field">
88
+ <label for="company"><?php echo $this->__('Company') ?></label>
89
+ <div class="input-box">
90
+ <input type="text" name="company" id="company" value="<?php echo $this->escapeHtml($this->getFormData()->getCompany()) ?>" title="<?php echo $this->__('Company') ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('company') ?>" />
91
+ </div>
92
+ </div>
93
+ <div class="field">
94
+ <label for="telephone" class="required"><em>*</em><?php echo $this->__('Telephone') ?></label>
95
+ <div class="input-box">
96
+ <input type="text" name="telephone" id="telephone" value="<?php echo $this->escapeHtml($this->getFormData()->getTelephone()) ?>" title="<?php echo $this->__('Telephone') ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('telephone') ?>" />
97
+ </div>
98
+ </div>
99
+ </li>
100
+ <?php $_streetValidationClass = $this->helper('customer/address')->getAttributeValidationClass('street'); ?>
101
+ <li class="wide">
102
+ <label for="street_1" class="required"><em>*</em><?php echo $this->__('Street Address') ?></label>
103
+ <div class="input-box">
104
+ <input type="text" name="street[]" value="<?php echo $this->escapeHtml($this->getFormData()->getStreet(1)) ?>" title="<?php echo $this->__('Street Address') ?>" id="street_1" class="input-text <?php echo $_streetValidationClass ?>" />
105
+ </div>
106
+ </li>
107
+ <?php $_streetValidationClass = trim(str_replace('required-entry', '', $_streetValidationClass)); ?>
108
+ <?php for ($_i = 2, $_n = $this->helper('customer/address')->getStreetLines(); $_i <= $_n; $_i++): ?>
109
+ <li class="wide">
110
+ <div class="input-box">
111
+ <input type="text" name="street[]" value="<?php echo $this->escapeHtml($this->getFormData()->getStreet($_i)) ?>" title="<?php echo $this->__('Street Address %s', $_i) ?>" id="street_<?php echo $_i ?>" class="input-text <?php echo $_streetValidationClass ?>" />
112
+ </div>
113
+ </li>
114
+ <?php endfor; ?>
115
+ <li class="fields">
116
+ <div class="field">
117
+ <label for="city" class="required"><em>*</em><?php echo $this->__('City') ?></label>
118
+ <div class="input-box">
119
+ <input type="text" name="city" value="<?php echo $this->escapeHtml($this->getFormData()->getCity()) ?>" title="<?php echo $this->__('City') ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('city') ?>" id="city" />
120
+ </div>
121
+ </div>
122
+ <div class="field">
123
+ <label for="region_id" class="required"><em>*</em><?php echo $this->__('State/Province') ?></label>
124
+ <div class="input-box">
125
+ <select id="region_id" name="region_id" title="<?php echo $this->__('State/Province') ?>" class="validate-select" style="display:none;">
126
+ <option value=""><?php echo $this->__('Please select region, state or province') ?></option>
127
+ </select>
128
+ <script type="text/javascript">
129
+ //<![CDATA[
130
+ $('region_id').setAttribute('defaultValue', "<?php echo $this->getFormData()->getRegionId() ?>");
131
+ //]]>
132
+ </script>
133
+ <input type="text" id="region" name="region" value="<?php echo $this->escapeHtml($this->getRegion()) ?>" title="<?php echo $this->__('State/Province') ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('region') ?>" style="display:none;" />
134
+ </div>
135
+ </div>
136
+ </li>
137
+ <li class="fields">
138
+ <div class="field">
139
+ <label for="zip" class="required"><em>*</em><?php echo $this->__('Zip/Postal Code') ?></label>
140
+ <div class="input-box">
141
+ <input type="text" name="postcode" value="<?php echo $this->escapeHtml($this->getFormData()->getPostcode()) ?>" title="<?php echo $this->__('Zip/Postal Code') ?>" id="zip" class="input-text validate-zip-international <?php echo $this->helper('customer/address')->getAttributeValidationClass('postcode') ?>" />
142
+ </div>
143
+ </div>
144
+ <div class="field">
145
+ <label for="country" class="required"><em>*</em><?php echo $this->__('Country') ?></label>
146
+ <div class="input-box">
147
+ <?php echo $this->getCountryHtmlSelect() ?>
148
+ </div>
149
+ </div>
150
+ </li>
151
+ </ul>
152
+ <input type="hidden" name="default_billing" value="1" />
153
+ <input type="hidden" name="default_shipping" value="1" />
154
+ </div>
155
+ <?php endif; ?>
156
+ <div class="fieldset">
157
+ <h2 class="legend"><?php echo $this->__('Login Information') ?></h2>
158
+ <ul class="form-list">
159
+ <li class="fields">
160
+ <div class="field">
161
+ <label for="password" class="required"><em>*</em><?php echo $this->__('Password') ?></label>
162
+ <div class="input-box">
163
+ <input type="password" name="password" id="password" title="<?php echo $this->__('Password') ?>" class="input-text required-entry validate-password" />
164
+ </div>
165
+ </div>
166
+ <div class="field">
167
+ <label for="confirmation" class="required"><em>*</em><?php echo $this->__('Confirm Password') ?></label>
168
+ <div class="input-box">
169
+ <input type="password" name="confirmation" title="<?php echo $this->__('Confirm Password') ?>" id="confirmation" class="input-text required-entry validate-cpassword" />
170
+ </div>
171
+ </div>
172
+ </li>
173
+ <?php echo $this->getChildHtml('form.additional.info'); ?>
174
+ </ul>
175
+ </div>
176
+ <div class="buttons-set">
177
+ <p class="required"><?php echo $this->__('* Required Fields') ?></p>
178
+ <p class="back-link"><a href="<?php echo $this->escapeUrl($this->getBackUrl()) ?>" class="back-link"><small>&laquo; </small><?php echo $this->__('Back') ?></a></p>
179
+ <button type="submit" title="<?php echo $this->__('Submit') ?>" class="button"><span><span><?php echo $this->__('Submit') ?></span></span></button>
180
+ </div>
181
+ </form>
182
+ <script type="text/javascript">
183
+ //<![CDATA[
184
+ var dataForm = new VarienForm('form-validate', true);
185
+ <?php if($this->getShowAddressFields()): ?>
186
+ new RegionUpdater('country', 'region', 'region_id', <?php echo $this->helper('directory')->getRegionJson() ?>, undefined, 'zip');
187
+ <?php endif; ?>
188
+ //]]>
189
+ </script>
190
+ </div>
app/design/frontend/modulesgarden/crystal/template/customer/form/resetforgottenpassword.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 base_default
23
+ * @copyright Copyright (c) 2014 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-title">
28
+ <h1><?php echo $this->__('Reset a Password'); ?></h1>
29
+ </div>
30
+ <?php echo $this->getMessagesBlock()->getGroupedHtml(); ?>
31
+ <form action="<?php echo $this->getUrl('*/*/resetpasswordpost', array('_query' => array('id' => $this->getCustomerId(), 'token' => $this->getResetPasswordLinkToken()))); ?>" method="post" id="form-validate">
32
+ <div class="fieldset" style="margin-top: 70px;">
33
+ <ul class="form-list">
34
+ <li class="fields">
35
+ <div class="field">
36
+ <label for="password" class="required"><em>*</em><?php echo $this->__('New Password'); ?></label>
37
+ <div class="input-box">
38
+ <input type="password" class="input-text required-entry validate-password" name="password" id="password" />
39
+ </div>
40
+ </div>
41
+ <div class="field">
42
+ <label for="confirmation" class="required"><em>*</em><?php echo $this->__('Confirm New Password'); ?></label>
43
+ <div class="input-box">
44
+ <input type="password" class="input-text required-entry validate-cpassword" name="confirmation" id="confirmation" />
45
+ </div>
46
+ </div>
47
+ </li>
48
+ </ul>
49
+ </div>
50
+ <div class="buttons-set">
51
+ <p class="required"><?php echo $this->__('* Required Fields'); ?></p>
52
+ <button type="submit" title="<?php echo $this->__('Reset a Password'); ?>" class="button"><span><span><?php echo $this->__('Reset a Password'); ?></span></span></button>
53
+ </div>
54
+ </form>
55
+ <script type="text/javascript">
56
+ /*<![CDATA[*/
57
+ var dataForm = new VarienForm('form-validate', true);
58
+ /*]]>*/
59
+ </script>
app/design/frontend/modulesgarden/crystal/template/customer/logout.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 base_default
23
+ * @copyright Copyright (c) 2014 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-title">
28
+ <h1><?php echo Mage::helper('customer')->__('You are now logged out') ?></h1>
29
+ </div>
30
+ <p><?php echo Mage::helper('customer')->__('You have logged out and will be redirected to our homepage in 5 seconds.') ?></p>
31
+ <script type="text/javascript">
32
+ //<![CDATA[
33
+ setTimeout(function(){ location.href = '<?php echo $this->getUrl() ?>'},5000);
34
+ //]]>
35
+ </script>
app/design/frontend/modulesgarden/crystal/template/customer/orders.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 base_default
23
+ * @copyright Copyright (c) 2014 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
+ * @deprecated after 1.4.0.0-alpha3
29
+ */
30
+ ?>
31
+ <div class="page-title">
32
+ <h1><?php echo $this->__('My Orders') ?></h1>
33
+ </div>
34
+ <?php if($orders->getSize()): ?>
35
+ <table class="data-table" id="my-orders-table" >
36
+ <thead>
37
+ <tr>
38
+ <th><?php echo $this->__('Order #') ?></th>
39
+ <th><?php echo $this->__('Date') ?></th>
40
+ <!--<th class="a-center">Shipped To</th>-->
41
+ <th><?php echo $this->__('Total') ?></th>
42
+ <th><?php echo $this->__('Status') ?></th>
43
+ <th><?php echo $this->__('Details') ?></th>
44
+ </tr>
45
+ </thead>
46
+ <tbody>
47
+ <?php foreach ($orders as $order): ?>
48
+ <tr>
49
+ <td><?php echo $order->getRealOrderId() ?>&nbsp;</td>
50
+ <td><?php echo date("D, j M, Y", strtotime($order->getCreatedAt())) ?>&nbsp;</td>
51
+ <!--<td class="a-center">{$page.orders[io].customer}</td>-->
52
+ <td><?php echo $order->getGrandTotal() ?>&nbsp;</td>
53
+ <td><?php echo $order->getStatus() ?>&nbsp;</td>
54
+ <td><a href="<?php echo $this->getUrl('customer/order/view', array('order'=>$order->getOrderId())) ?>"><?php echo $this->__('View Order') ?></a>&nbsp;</td>
55
+ </tr>
56
+ <?php endforeach ?>
57
+ </tbody>
58
+ </table>
59
+ <script type="text/javascript">decorateTable('my-orders-table')</script>
60
+ <?php else: ?>
61
+ <p><?php echo $this->__('You have placed no orders yet.') ?></p>
62
+ <?php endif ?>
63
+ <div class="buttons-set">
64
+ <p class="back-link"><a href="<?php echo $this->getUrl('customer/account') ?>"><small>&laquo; </small><?php echo $this->__('Back') ?></a></p>
65
+ </div>
app/design/frontend/modulesgarden/crystal/template/customer/widget/dob.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 base_default
23
+ * @copyright Copyright (c) 2014 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
+ <label for="<?php echo $this->getFieldId('month')?>"<?php if ($this->isRequired()) echo ' class="required"' ?>><?php if ($this->isRequired()) echo '<em>*</em>' ?><?php echo $this->__('Date of Birth') ?></label>
53
+ <div class="input-box customer-dob">
54
+ <?php
55
+ $this->setDateInput('d',
56
+ '<div class="dob-day">
57
+ <input type="text" id="' . $this->getFieldId('day') . '" name="' . $this->getFieldName('day') . '" value="' . $this->getDay() . '" title="' . $this->__('Day') . '" class="input-text validate-custom" ' . $this->getFieldParams() . ' />
58
+ <label for="' . $this->getFieldId('day') . '">' . $this->__('DD') . '</label>
59
+ </div>'
60
+ );
61
+
62
+ $this->setDateInput('m',
63
+ '<div class="dob-month">
64
+ <input type="text" id="' . $this->getFieldId('month') . '" name="' . $this->getFieldName('month') . '" value="' . $this->getMonth() . '" title="' . $this->__('Month') . '" class="input-text validate-custom" ' . $this->getFieldParams() . ' />
65
+ <label for="' . $this->getFieldId('month') . '">' . $this->__('MM') . '</label>
66
+ </div>'
67
+ );
68
+
69
+ $this->setDateInput('y',
70
+ '<div class="dob-year">
71
+ <input type="text" id="' . $this->getFieldId('year') . '" name="' . $this->getFieldName('year') . '" value="' . $this->getYear() . '" title="' . $this->__('Year') . '" class="input-text validate-custom" ' . $this->getFieldParams() . ' />
72
+ <label for="' . $this->getFieldId('year') . '">' . $this->__('YYYY') . '</label>
73
+ </div>'
74
+ );
75
+ ?>
76
+ <?php echo $this->getSortedDateInputs() ?>
77
+ <div class="dob-full" style="display:none;">
78
+ <input type="hidden" id="<?php echo $this->getFieldId('dob')?>" name="<?php echo $this->getFieldName('dob')?>" />
79
+ </div>
80
+
81
+ <div class="validation-advice" style="display:none;"></div>
82
+ </div>
83
+ <script type="text/javascript">
84
+ //<![CDATA[
85
+ var customer_dob = new Varien.DOB('.customer-dob', <?php echo $this->isRequired() ? 'true' : 'false' ?>, '<?php echo $this->getDateFormat() ?>');
86
+ //]]>
87
+ </script>
app/design/frontend/modulesgarden/crystal/template/customer/widget/gender.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 base_default
23
+ * @copyright Copyright (c) 2014 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
+ <div class="input-box">
29
+ <select id="<?php echo $this->getFieldId('gender')?>" name="<?php echo $this->getFieldName('gender')?>" title="<?php echo $this->__('Gender') ?>"<?php if ($this->isRequired()):?> class="validate-select"<?php endif; ?> <?php echo $this->getFieldParams() ?>>
30
+ <?php $options = Mage::getResourceSingleton('customer/customer')->getAttribute('gender')->getSource()->getAllOptions();?>
31
+ <?php $value = $this->getGender();?>
32
+ <?php foreach ($options as $option):?>
33
+ <option value="<?php echo $option['value'] ?>"<?php if ($option['value'] == $value) echo ' selected="selected"' ?>><?php echo $option['label'] ?></option>
34
+ <?php endforeach;?>
35
+ </select>
36
+ </div>
app/design/frontend/modulesgarden/crystal/template/customer/widget/name.phtml ADDED
@@ -0,0 +1,101 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 base_default
23
+ * @copyright Copyright (c) 2014 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
+ /* @var $this Mage_Customer_Block_Widget_Name */
46
+ ?>
47
+ <div class="<?php echo $this->getContainerClassName()?>">
48
+ <?php if ($this->showPrefix()): ?>
49
+ <div class="field name-prefix">
50
+ <label for="<?php echo $this->getFieldId('prefix')?>"<?php if ($this->isPrefixRequired()) echo ' class="required"' ?>><?php if ($this->isPrefixRequired()) echo '<em>*</em>' ?><?php echo $this->getStoreLabel('prefix') ?></label>
51
+ <div class="input-box">
52
+ <?php if ($this->getPrefixOptions() === false): ?>
53
+ <input type="text" id="<?php echo $this->getFieldId('prefix')?>" name="<?php echo $this->getFieldName('prefix')?>" value="<?php echo $this->escapeHtml($this->getObject()->getPrefix()) ?>" title="<?php echo $this->getStoreLabel('prefix') ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('prefix') ?>" <?php echo $this->getFieldParams() ?> />
54
+ <?php else: ?>
55
+ <select id="<?php echo $this->getFieldId('prefix')?>" name="<?php echo $this->getFieldName('prefix')?>" title="<?php echo $this->getStoreLabel('prefix') ?>" class="<?php echo $this->helper('customer/address')->getAttributeValidationClass('prefix') ?>" <?php echo $this->getFieldParams() ?>>
56
+ <?php foreach ($this->getPrefixOptions() as $_option): ?>
57
+ <option value="<?php echo $_option?>"<?php if ($this->getObject()->getPrefix()==$_option):?> selected="selected"<?php endif; ?>><?php echo $this->__($_option)?></option>
58
+ <?php endforeach; ?>
59
+ </select>
60
+ <?php endif; ?>
61
+ </div>
62
+ </div>
63
+ <?php endif; ?>
64
+ <div class="field name-firstname">
65
+ <label for="<?php echo $this->getFieldId('firstname')?>" class="required"><em>*</em><?php echo $this->getStoreLabel('firstname') ?></label>
66
+ <div class="input-box">
67
+ <input type="text" id="<?php echo $this->getFieldId('firstname')?>" name="<?php echo $this->getFieldName('firstname')?>" value="<?php echo $this->escapeHtml($this->getObject()->getFirstname()) ?>" title="<?php echo $this->getStoreLabel('firstname') ?>" maxlength="255" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('firstname') ?>" <?php echo $this->getFieldParams() ?> />
68
+ </div>
69
+ </div>
70
+ <?php if ($this->showMiddlename()): ?>
71
+ <?php $isMiddlenameRequired = $this->isMiddlenameRequired(); ?>
72
+ <div class="field name-middlename">
73
+ <label for="<?php echo $this->getFieldId('middlename')?>"<?php echo $isMiddlenameRequired ? ' class="required"' : '' ?>><?php echo $isMiddlenameRequired ? '<em>*</em>' : '' ?><?php echo $this->getStoreLabel('middlename') ?></label>
74
+ <div class="input-box">
75
+ <input type="text" id="<?php echo $this->getFieldId('middlename')?>" name="<?php echo $this->getFieldName('middlename')?>" value="<?php echo $this->escapeHtml($this->getObject()->getMiddlename()) ?>" title="<?php echo $this->getStoreLabel('middlename') ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('middlename') ?>" <?php echo $this->getFieldParams() ?> />
76
+ </div>
77
+ </div>
78
+ <?php endif; ?>
79
+ <div class="field name-lastname">
80
+ <label for="<?php echo $this->getFieldId('lastname')?>" class="required"><em>*</em><?php echo $this->getStoreLabel('lastname') ?></label>
81
+ <div class="input-box">
82
+ <input type="text" id="<?php echo $this->getFieldId('lastname')?>" name="<?php echo $this->getFieldName('lastname')?>" value="<?php echo $this->escapeHtml($this->getObject()->getLastname()) ?>" title="<?php echo $this->getStoreLabel('lastname') ?>" maxlength="255" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('lastname') ?>" <?php echo $this->getFieldParams() ?> />
83
+ </div>
84
+ </div>
85
+ <?php if ($this->showSuffix()): ?>
86
+ <div class="field name-suffix">
87
+ <label for="<?php echo $this->getFieldId('suffix')?>"<?php if ($this->isSuffixRequired()) echo ' class="required"' ?>><?php if ($this->isSuffixRequired()) echo '<em>*</em>' ?><?php echo $this->getStoreLabel('suffix') ?></label>
88
+ <div class="input-box">
89
+ <?php if ($this->getSuffixOptions() === false): ?>
90
+ <input type="text" id="<?php echo $this->getFieldId('suffix')?>" name="<?php echo $this->getFieldName('suffix')?>" value="<?php echo $this->escapeHtml($this->getObject()->getSuffix()) ?>" title="<?php echo $this->getStoreLabel('suffix') ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('suffix') ?>" <?php echo $this->getFieldParams() ?> />
91
+ <?php else: ?>
92
+ <select id="<?php echo $this->getFieldId('suffix')?>" name="<?php echo $this->getFieldName('suffix')?>" title="<?php echo $this->getStoreLabel('suffix') ?>" class="<?php echo $this->helper('customer/address')->getAttributeValidationClass('suffix') ?>" <?php echo $this->getFieldParams() ?>>
93
+ <?php foreach ($this->getSuffixOptions() as $_option): ?>
94
+ <option value="<?php echo $_option?>"<?php if ($this->getObject()->getSuffix()==$_option):?> selected="selected"<?php endif; ?>><?php echo $this->__($_option)?></option>
95
+ <?php endforeach; ?>
96
+ </select>
97
+ <?php endif; ?>
98
+ </div>
99
+ </div>
100
+ <?php endif; ?>
101
+ </div>
app/design/frontend/modulesgarden/crystal/template/customer/widget/taxvat.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 base_default
23
+ * @copyright Copyright (c) 2014 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('taxvat')?>"<?php if ($this->isRequired()) echo ' class="required"' ?>><?php if ($this->isRequired()) echo '<em>*</em>' ?><?php echo $this->__('Tax/VAT number') ?></label>
28
+ <div class="input-box">
29
+ <input type="text" id="<?php echo $this->getFieldId('taxvat')?>" name="<?php echo $this->getFieldName('taxvat')?>" value="<?php echo $this->escapeHtml($this->getTaxvat()) ?>" title="<?php echo $this->__('Tax/VAT number') ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('taxvat') ?>" <?php echo $this->getFieldParams() ?> />
30
+ </div>
app/design/frontend/modulesgarden/crystal/template/customer/wishlist.phtml ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 base_default
23
+ * @copyright Copyright (c) 2014 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
+ * @deprecated after 1.4.0.0-alpha3
29
+ */
30
+ ?>
31
+ <div class="page-title">
32
+ <h1><?php echo $this->__('Wishlist') ?></h1>
33
+ </div>
34
+ <?php if($wishlist->getSize()): ?>
35
+ <form action="<?php echo $this->getUrl('customer/wishlist/updatePost') ?>" method="post">
36
+ <table class="data-table">
37
+ <col />
38
+ <col width="60" />
39
+ <col width="60" />
40
+ <col width="60" />
41
+ <thead>
42
+ <tr>
43
+ <th><?php echo $this->__('Product') ?></th>
44
+ <th><?php echo $this->__('Status') ?></th>
45
+ <th><?php echo $this->__('To Cart') ?></th>
46
+ <th><?php echo $this->__('Remove') ?></th>
47
+ </tr>
48
+ </thead>
49
+ <tbody>
50
+ <?php foreach($wishlist as $item): ?>
51
+ <tr>
52
+ <td>
53
+ <input type="hidden" value="1" name="wishlist[<?php echo $item->getItemId() ?>]" />
54
+ <a href="<?php echo $this->getUrl('catalog/product/view/id/'.$item->getProduct()->getId()) ?>"><?php echo $this->escapeHtml($item->getProduct()->getName()) ?></a>
55
+ </td>
56
+ <td><?php echo $item->getStatus() ?></td>
57
+ <td><input type="checkbox" value="1" name="to_cart[<?php echo $item->getItemId() ?>]" class="checkbox" /></td>
58
+ <td><input type="checkbox" value="1" name="remove[<?php echo $item->getItemId() ?>]" class="checkbox" /></td>
59
+ </tr>
60
+ <?php endforeach ?>
61
+ </tbody>
62
+ </table>
63
+ <div class="buttons-set">
64
+ <a href="<?php echo Mage::getBaseUrl() ?>">&laquo; <?php echo $this->__('Continue Shopping') ?></a>
65
+ <input type="submit" value="<?php echo $this->__('Update') ?>" class="input-button" name="do" />
66
+ </div>
67
+ </form>
68
+ <?php else: ?>
69
+ <p><?php echo $this->__('You have placed no products yet.') ?></p>
70
+ <div class="buttons-set">
71
+ <p class="back-link"><a href="<?php echo $this->getUrl('customer/account') ?>"><small>&laquo; </small><?php echo $this->__('Back - link to the previously viewed page') ?></a></p>
72
+ </div>
73
+ <?php endif ?>
app/design/frontend/modulesgarden/crystal/template/downloadable/checkout/cart/item/default.phtml ADDED
@@ -0,0 +1,315 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 base_default
23
+ * @copyright Copyright (c) 2014 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
+ $_item = $this->getItem();
29
+ $canApplyMsrp = Mage::helper('catalog')->canApplyMsrp($_item->getProduct(), Mage_Catalog_Model_Product_Attribute_Source_Msrp_Type::TYPE_BEFORE_ORDER_CONFIRM);
30
+ ?>
31
+ <tr>
32
+ <td class="product-cart-image"><a href="<?php echo $this->getProductUrl() ?>" class="product-image"
33
+ title="<?php echo $this->escapeHtml($this->getProductName()) ?>"><img
34
+ src="<?php echo $this->getProductThumbnail()->resize(75); ?>"
35
+ alt="<?php echo $this->escapeHtml($this->getProductName()) ?>"/></a></td>
36
+ <td class="cart-rwd-item" >
37
+ <h2 class="product-name"><a
38
+ href="<?php echo $this->getProductUrl() ?>"><?php echo $this->escapeHtml($this->getProductName()) ?></a>
39
+ </h2>
40
+ <?php if ($_options = $this->getOptionList()): ?>
41
+ <dl class="item-options">
42
+ <?php foreach ($_options as $_option) : ?>
43
+ <?php $_formatedOptionValue = $this->getFormatedOptionValue($_option) ?>
44
+ <dt><?php echo $this->escapeHtml($_option['label']) ?></dt>
45
+ <dd<?php if (isset($_formatedOptionValue['full_view'])): ?> class="truncated"<?php endif; ?>><?php echo $_formatedOptionValue['value'] ?>
46
+ <?php if (isset($_formatedOptionValue['full_view'])): ?>
47
+ <div class="truncated_full_value">
48
+ <dl class="item-options">
49
+ <dt><?php echo $this->escapeHtml($_option['label']) ?></dt>
50
+ <dd><?php echo $_formatedOptionValue['full_view'] ?></dd>
51
+ </dl>
52
+ </div>
53
+ <?php endif; ?>
54
+ </dd>
55
+ <?php endforeach; ?>
56
+ </dl>
57
+ <?php endif; ?>
58
+ <!-- downloadable -->
59
+ <?php if ($links = $this->getLinks()): ?>
60
+ <dl class="item-options">
61
+ <dt><?php echo $this->getLinksTitle() ?></dt>
62
+ <?php foreach ($links as $link): ?>
63
+ <dd><?php echo $this->escapeHtml($link->getTitle()); ?></dd>
64
+ <?php endforeach; ?>
65
+ </dl>
66
+ <?php endif; ?>
67
+ <!-- EOF downloadable -->
68
+
69
+ <?php if ($messages = $this->getMessages()): ?>
70
+ <?php foreach ($messages as $message): ?>
71
+ <div class="shopping-cart-item-message <?php echo $message['type'] ?>">
72
+ * <?php echo $this->escapeHtml($message['text']) ?>
73
+ </div>
74
+ <?php endforeach; ?>
75
+ <?php endif; ?>
76
+ </td>
77
+ <td class="a-center cart-rwd-item">
78
+ <a href="<?php echo $this->getConfigureUrl() ?>"
79
+ title="<?php echo $this->__('Edit item parameters') ?>"><?php echo $this->__('Edit') ?></a>
80
+ </td>
81
+ <?php if ($this->helper('wishlist')->isAllowInCart()) : ?>
82
+ <td class="a-center cart-rwd-item">
83
+ <a href="<?php echo $this->helper('wishlist')->getMoveFromCartUrl($_item->getId()); ?>"
84
+ class="link-wishlist"><?php echo $this->__('Move'); ?></a>
85
+ </td>
86
+ <?php endif ?>
87
+ <?php if ($canApplyMsrp): ?>
88
+ <td class="a-right cart-rwd-item"<?php if ($this->helper('tax')->displayCartBothPrices()): ?> colspan="2"<?php endif; ?>>
89
+ <span class="cart-price">
90
+ <span class="cart-msrp-unit"><?php echo $this->__('See price before order confirmation.'); ?></span>
91
+ <?php $helpLinkId = 'cart-msrp-help-' . $_item->getId(); ?>
92
+ <a id="<?php echo $helpLinkId ?>" href="#"
93
+ class="map-help-link"><?php echo $this->__("What's this?"); ?></a>
94
+ <script type="text/javascript">
95
+ Catalog.Map.addHelpLink($('<?php echo $helpLinkId ?>'), "<?php echo $this->__("What's this?") ?>");
96
+ </script>
97
+ </span>
98
+ </td>
99
+ <?php else: ?>
100
+
101
+
102
+ <?php if ($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
103
+ <td class="a-right cart-rwd-item">
104
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
105
+ <div class="cart-tax-total"
106
+ onclick="taxToggle('eunit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
107
+ <?php else: ?>
108
+ <div class="cart-price">
109
+ <?php endif; ?>
110
+
111
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
112
+ <?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice() + $_item->getWeeeTaxAppliedAmount() + $_item->getWeeeTaxDisposition()); ?>
113
+ <?php else: ?>
114
+ <?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice()) ?>
115
+ <?php endif; ?>
116
+
117
+ </div>
118
+
119
+
120
+ <?php if (Mage::helper('weee')->getApplied($_item)): ?>
121
+
122
+ <div class="cart-tax-info" id="eunit-item-tax-details<?php echo $_item->getId(); ?>"
123
+ style="display:none;">
124
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
125
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
126
+ <span class="weee"><?php echo $tax['title']; ?>
127
+ : <?php echo Mage::helper('checkout')->formatPrice($tax['amount'], true, true); ?></span>
128
+ <?php endforeach; ?>
129
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
130
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
131
+ <span class="weee"><?php echo $tax['title']; ?>
132
+ : <?php echo Mage::helper('checkout')->formatPrice($tax['amount'], true, true); ?></span>
133
+ <?php endforeach; ?>
134
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
135
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
136
+ <span class="weee"><?php echo $tax['title']; ?>
137
+ : <?php echo Mage::helper('checkout')->formatPrice($tax['amount'], true, true); ?></span>
138
+ <?php endforeach; ?>
139
+ <?php endif; ?>
140
+ </div>
141
+
142
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
143
+ <div class="cart-tax-total"
144
+ onclick="taxToggle('eunit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
145
+ <span class="weee"><?php echo Mage::helper('weee')->__('Total'); ?>
146
+ : <?php echo $this->helper('checkout')->formatPrice($_item->getCalculationPrice() + $_item->getWeeeTaxAppliedAmount() + $_item->getWeeeTaxDisposition()); ?></span>
147
+ </div>
148
+ <?php endif; ?>
149
+ <?php endif; ?>
150
+ </td>
151
+ <?php endif; ?>
152
+ <?php if ($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()): ?>
153
+ <td class="cart-rwd-item">
154
+ <?php $_incl = $this->helper('checkout')->getPriceInclTax($_item); ?>
155
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
156
+ <div class="cart-tax-total"
157
+ onclick="taxToggle('unit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
158
+ <?php else: ?>
159
+ <div class="cart-price">
160
+ <?php endif; ?>
161
+
162
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
163
+ <?php echo $this->helper('checkout')->formatPrice($_incl + Mage::helper('weee')->getWeeeTaxInclTax($_item)); ?>
164
+ <?php else: ?>
165
+ <?php echo $this->helper('checkout')->formatPrice($_incl - $_item->getWeeeTaxDisposition()) ?>
166
+ <?php endif; ?>
167
+
168
+ </div>
169
+ <?php if (Mage::helper('weee')->getApplied($_item)): ?>
170
+
171
+ <div class="cart-tax-info" id="unit-item-tax-details<?php echo $_item->getId(); ?>"
172
+ style="display:none;">
173
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
174
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
175
+ <span class="weee"><?php echo $tax['title']; ?>
176
+ : <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'], true, true); ?></span>
177
+ <?php endforeach; ?>
178
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
179
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
180
+ <span class="weee"><?php echo $tax['title']; ?>
181
+ : <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'], true, true); ?></span>
182
+ <?php endforeach; ?>
183
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
184
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
185
+ <span class="weee"><?php echo $tax['title']; ?>
186
+ : <?php echo Mage::helper('checkout')->formatPrice($tax['amount_incl_tax'], true, true); ?></span>
187
+ <?php endforeach; ?>
188
+ <?php endif; ?>
189
+ </div>
190
+
191
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
192
+ <div class="cart-tax-total"
193
+ onclick="taxToggle('unit-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
194
+ <span class="weee"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>
195
+ : <?php echo $this->helper('checkout')->formatPrice($_incl + Mage::helper('weee')->getWeeeTaxInclTax($_item)); ?></span>
196
+ </div>
197
+ <?php endif; ?>
198
+ <?php endif; ?>
199
+ </td>
200
+ <?php endif; ?>
201
+ <?php endif; ?>
202
+ <td class="a-center cart-rwd-item">
203
+ <input name="cart[<?php echo $_item->getId() ?>][qty]" value="<?php echo $this->getQty() ?>" size="4"
204
+ title="<?php echo $this->__('Qty') ?>" class="input-text qty" maxlength="12"/>
205
+ </td>
206
+ <?php if (($this->helper('tax')->displayCartPriceExclTax() || $this->helper('tax')->displayCartBothPrices()) && !$_item->getNoSubtotal()): ?>
207
+ <td class="a-right cart-rwd-item">
208
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
209
+ <div class="cart-tax-total"
210
+ onclick="taxToggle('esubtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
211
+ <?php else: ?>
212
+ <div class="cart-price">
213
+ <?php endif; ?>
214
+
215
+ <?php if ($canApplyMsrp): ?>
216
+ <span class="cart-msrp-subtotal">--</span>
217
+ <?php else: ?>
218
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
219
+ <?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal() + $_item->getWeeeTaxAppliedRowAmount() + $_item->getWeeeTaxRowDisposition()); ?>
220
+ <?php else: ?>
221
+ <?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal()) ?>
222
+ <?php endif; ?>
223
+ <?php endif; ?>
224
+
225
+ </div>
226
+ <?php if (Mage::helper('weee')->getApplied($_item)): ?>
227
+
228
+ <div class="cart-tax-info" id="esubtotal-item-tax-details<?php echo $_item->getId(); ?>"
229
+ style="display:none;">
230
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
231
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
232
+ <span class="weee"><?php echo $tax['title']; ?>
233
+ : <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount'], true, true); ?></span>
234
+ <?php endforeach; ?>
235
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
236
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
237
+ <span class="weee"><?php echo $tax['title']; ?>
238
+ : <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount'], true, true); ?></span>
239
+ <?php endforeach; ?>
240
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
241
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
242
+ <span class="weee"><?php echo $tax['title']; ?>
243
+ : <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount'], true, true); ?></span>
244
+ <?php endforeach; ?>
245
+ <?php endif; ?>
246
+ </div>
247
+
248
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
249
+ <div class="cart-tax-total"
250
+ onclick="taxToggle('esubtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
251
+ <span class="weee"><?php echo Mage::helper('weee')->__('Total'); ?>
252
+ : <?php echo $this->helper('checkout')->formatPrice($_item->getRowTotal() + $_item->getWeeeTaxAppliedRowAmount() + $_item->getWeeeTaxRowDisposition()); ?></span>
253
+ </div>
254
+ <?php endif; ?>
255
+ <?php endif; ?>
256
+ </td>
257
+ <?php endif; ?>
258
+ <?php if (($this->helper('tax')->displayCartPriceInclTax() || $this->helper('tax')->displayCartBothPrices()) && !$_item->getNoSubtotal()): ?>
259
+ <td class="cart-rwd-item">
260
+ <?php $_incl = $this->helper('checkout')->getSubtotalInclTax($_item); ?>
261
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
262
+ <div class="cart-tax-total"
263
+ onclick="taxToggle('subtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
264
+ <?php else: ?>
265
+ <div class="cart-price">
266
+ <?php endif; ?>
267
+
268
+ <?php if ($canApplyMsrp): ?>
269
+ <span class="cart-msrp-subtotal">--</span>
270
+ <?php else: ?>
271
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, array(0, 1, 4), 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
272
+ <?php echo $this->helper('checkout')->formatPrice($_incl + Mage::helper('weee')->getRowWeeeTaxInclTax($_item)); ?>
273
+ <?php else: ?>
274
+ <?php echo $this->helper('checkout')->formatPrice($_incl - $_item->getWeeeTaxRowDisposition()) ?>
275
+ <?php endif; ?>
276
+ <?php endif; ?>
277
+
278
+ </div>
279
+
280
+
281
+ <?php if (Mage::helper('weee')->getApplied($_item)): ?>
282
+
283
+ <div class="cart-tax-info" id="subtotal-item-tax-details<?php echo $_item->getId(); ?>"
284
+ style="display:none;">
285
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 1, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
286
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
287
+ <span class="weee"><?php echo $tax['title']; ?>
288
+ : <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount_incl_tax'], true, true); ?></span>
289
+ <?php endforeach; ?>
290
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
291
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
292
+ <span class="weee"><?php echo $tax['title']; ?>
293
+ : <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount_incl_tax'], true, true); ?></span>
294
+ <?php endforeach; ?>
295
+ <?php elseif (Mage::helper('weee')->typeOfDisplay($_item, 4, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
296
+ <?php foreach (Mage::helper('weee')->getApplied($_item) as $tax): ?>
297
+ <span class="weee"><?php echo $tax['title']; ?>
298
+ : <?php echo Mage::helper('checkout')->formatPrice($tax['row_amount_incl_tax'], true, true); ?></span>
299
+ <?php endforeach; ?>
300
+ <?php endif; ?>
301
+ </div>
302
+
303
+ <?php if (Mage::helper('weee')->typeOfDisplay($_item, 2, 'sales') && $_item->getWeeeTaxAppliedAmount()): ?>
304
+ <div class="cart-tax-total"
305
+ onclick="taxToggle('subtotal-item-tax-details<?php echo $_item->getId(); ?>', this, 'cart-tax-total-expanded');">
306
+ <span class="weee"><?php echo Mage::helper('weee')->__('Total incl. tax'); ?>
307
+ : <?php echo $this->helper('checkout')->formatPrice($_incl + Mage::helper('weee')->getRowWeeeTaxInclTax($_item)); ?></span>
308
+ </div>
309
+ <?php endif; ?>
310
+ <?php endif; ?>
311
+ </td>
312
+ <?php endif; ?>
313
+ <td class="a-center"><a href="<?php echo $this->getDeleteUrl() ?>" title="<?php echo $this->__('Remove Item') ?>"
314
+ class="btn-remove btn-remove2"><?php echo $this->__('Remove Item') ?></a></td>
315
+ </tr>
app/design/frontend/modulesgarden/crystal/template/downloadable/customer/products/list.phtml ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 base_default
23
+ * @copyright Copyright (c) 2014 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_Downloadable_Block_Customer_Products_List
30
+ */
31
+ ?>
32
+ <?php $_items = $this->getItems(); ?>
33
+ <div class="page-title">
34
+ <h1><?php echo Mage::helper('downloadable')->__('My Downloadable Products') ?></h1>
35
+ </div>
36
+ <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
37
+ <?php echo $this->getChildHtml('pager'); ?>
38
+ <?php if(count($_items)): ?>
39
+ <table class="data-table" id="my-downloadable-products-table">
40
+ <col width="1" />
41
+ <col width="1" />
42
+ <col />
43
+ <col width="1" />
44
+ <col width="1" />
45
+ <thead>
46
+ <tr>
47
+ <th><?php echo Mage::helper('downloadable')->__('Order #') ?></th>
48
+ <th><?php echo Mage::helper('downloadable')->__('Date') ?></th>
49
+ <th><?php echo Mage::helper('downloadable')->__('Title') ?></th>
50
+ <th><?php echo Mage::helper('downloadable')->__('Status') ?></th>
51
+ <th><span class="nobr"><?php echo Mage::helper('downloadable')->__('Remaining Downloads') ?></span></th>
52
+ </tr>
53
+ </thead>
54
+ <tbody>
55
+ <?php $_odd = ''; ?>
56
+ <?php foreach ($_items as $_item): ?>
57
+ <tr>
58
+ <td><a href="<?php echo $this->getOrderViewUrl($_item->getPurchased()->getOrderId()) ?>" title="<?php echo Mage::helper('downloadable')->__('View Order') ?>"><?php echo $_item->getPurchased()->getOrderIncrementId() ?></a></td>
59
+ <td><span class="nobr"><?php echo $this->formatDate($_item->getPurchased()->getCreatedAt()) ?></span></td>
60
+ <td><?php echo $this->escapeHtml($_item->getPurchased()->getProductName()) ?> - <a href="<?php echo $this->getDownloadUrl($_item) ?>" title="<?php echo Mage::helper('downloadable')->__('Start Download') ?>" <?php echo $this->getIsOpenInNewWindow()?'onclick="this.target=\'_blank\'"':''; ?>><?php echo $this->escapeHtml($_item->getLinkTitle()); ?></a></td>
61
+ <td><em><?php echo Mage::helper('downloadable')->__(ucfirst($_item->getStatus())) ?></em></td>
62
+ <td><?php echo $this->getRemainingDownloads($_item) ?></td>
63
+ </tr>
64
+ <?php endforeach; ?>
65
+ </tbody>
66
+ </table>
67
+ <script type="text/javascript">decorateTable('my-downloadable-products-table')</script>
68
+ <?php else: ?>
69
+ <p><?php echo Mage::helper('downloadable')->__('You have not purchased any downloadable products yet.'); ?></p>
70
+ <?php endif; ?>
71
+ <div class="buttons-set">
72
+ <p class="back-link"><a href="<?php echo $this->escapeUrl($this->getBackUrl()) ?>"><small>&laquo; </small><?php echo $this->__('Back') ?></a></p>
73
+ </div>
app/design/frontend/modulesgarden/crystal/template/newsletter/subscribe.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 base_default
23
+ * @copyright Copyright (c) 2014 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="block block-subscribe">
28
+ <div class="block-title">
29
+ <strong><span><?php echo $this->__('Newsletter') ?></span></strong>
30
+ </div>
31
+ <form action="<?php echo $this->getFormActionUrl() ?>" method="post" id="newsletter-validate-detail">
32
+ <div class="block-content">
33
+ <div class="form-subscribe-header">
34
+ <label for="newsletter"><?php echo $this->__('Sign Up for Our Newsletter:') ?></label>
35
+ </div>
36
+ <div class="input-box">
37
+ <input type="text" name="email" id="newsletter" title="<?php echo $this->__('Sign up for our newsletter') ?>" class="input-text required-entry validate-email" />
38
+ </div>
39
+ <div class="actions">
40
+ <button type="submit" title="<?php echo $this->__('Subscribe') ?>" class="button_green"><span><span><?php echo $this->__('Subscribe') ?></span></span></button>
41
+ </div>
42
+ </div>
43
+ </form>
44
+ <script type="text/javascript">
45
+ //<![CDATA[
46
+ var newsletterSubscriberFormDetail = new VarienForm('newsletter-validate-detail');
47
+ //]]>
48
+ </script>
49
+ </div>
app/design/frontend/modulesgarden/crystal/template/page/1column.phtml ADDED
@@ -0,0 +1,93 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 base_default
23
+ * @copyright Copyright (c) 2014 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
+ <?php
37
+ $style = Mage::getStoreConfig('mgthemecrystal/main/colorscheme');
38
+ if ( $style == 'blue'){
39
+ echo '<link rel="stylesheet" type="text/css" href="'.$this->getSkinUrl('css/styles_blue.css').'" media="all" />';
40
+ }elseif ($style == 'red') {
41
+ echo '<link rel="stylesheet" type="text/css" href="'.$this->getSkinUrl('css/styles_red.css').'" media="all" />';
42
+ }else {
43
+ echo '<link rel="stylesheet" type="text/css" href="'.$this->getSkinUrl('css/styles.css').'" media="all" />';
44
+ }
45
+ ?>
46
+ </head>
47
+ <body id="<?php $version = Mage::getStoreConfig('mgthemecrystal/main/colorscheme');
48
+ if ( $version == 'blue'){
49
+ echo 'blue-theme';
50
+ }elseif ($version == 'red') {
51
+ echo 'red-theme';
52
+ }else {
53
+ echo 'green-theme';
54
+ }
55
+ ?>"
56
+ <?php echo $this->getBodyClass()?' class="'.$this->getBodyClass().'"':'' ?>>
57
+ <?php echo $this->getChildHtml('after_body_start') ?>
58
+ <div class="wrapper">
59
+ <?php echo $this->getChildHtml('global_notices') ?>
60
+ <div class="page">
61
+ <?php echo $this->getChildHtml('header') ?>
62
+ <div class="main-container col1-layout">
63
+ <div class="main">
64
+
65
+ <?php $breadcrumbs = Mage::getStoreConfig('mgthemecrystal/main/breadcrumbs'); ?>
66
+ <?php if ($breadcrumbs): ?>
67
+ <?php if ($breadcrumbs == "yes"): ?>
68
+ <?php echo $this->getChildHtml('breadcrumbs') ?>
69
+ <?php elseif($breadcrumbs == "no"): ?>
70
+ <!-- do nothing -->
71
+ <?php endif ?>
72
+ <?php else: ?>
73
+ <?php echo $this->getChildHtml('breadcrumbs') ?>
74
+ <?php endif ?>
75
+
76
+ <div><?php echo $this->getChildHtml('baners') ?></div>
77
+ <div class="containerHomeList"><?php echo $this->getChildHtml('newreference') ?></div>
78
+ <div class="col-main">
79
+ <?php echo $this->getChildHtml('global_messages') ?>
80
+ <?php echo $this->getChildHtml('content') ?>
81
+ <br class="clear" />
82
+ </div>
83
+ <div class="brands_container"><?php echo $this->getChildHtml('brands') ?></div>
84
+ </div>
85
+ </div>
86
+ <?php echo $this->getChildHtml('footer') ?>
87
+ <?php echo $this->getChildHtml('global_cookie_notice') ?>
88
+ <?php echo $this->getChildHtml('before_body_end') ?>
89
+ </div>
90
+ </div>
91
+ <?php echo $this->getAbsoluteFooter() ?>
92
+ </body>
93
+ </html>
app/design/frontend/modulesgarden/crystal/template/page/2columns-left.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 base_default
23
+ * @copyright Copyright (c) 2014 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
+ <?php
37
+ $style = Mage::getStoreConfig('mgthemecrystal/main/colorscheme');
38
+ if ( $style == 'blue'){
39
+ echo '<link rel="stylesheet" type="text/css" href="'.$this->getSkinUrl('css/styles_blue.css').'" media="all" />';
40
+ }elseif ($style == 'red') {
41
+ echo '<link rel="stylesheet" type="text/css" href="'.$this->getSkinUrl('css/styles_red.css').'" media="all" />';
42
+ }else {
43
+ echo '<link rel="stylesheet" type="text/css" href="'.$this->getSkinUrl('css/styles.css').'" media="all" />';
44
+ }
45
+ ?>
46
+ </head>
47
+ <body id="<?php $version = Mage::getStoreConfig('mgthemecrystal/main/colorscheme');
48
+ if ( $version == 'blue'){
49
+ echo 'blue-theme';
50
+ }elseif ($version == 'red') {
51
+ echo 'red-theme';
52
+ }else {
53
+ echo 'green-theme';
54
+ }
55
+ ?>"
56
+ <?php echo $this->getBodyClass()?' class="'.$this->getBodyClass().'"':'' ?>>
57
+ <?php echo $this->getChildHtml('after_body_start') ?>
58
+ <div class="wrapper">
59
+ <?php echo $this->getChildHtml('global_notices') ?>
60
+ <div class="page">
61
+ <?php echo $this->getChildHtml('header') ?>
62
+ <div class="main-container col2-left-layout">
63
+ <div class="main">
64
+
65
+ <?php $breadcrumbs = Mage::getStoreConfig('mgthemecrystal/main/breadcrumbs'); ?>
66
+ <?php if ($breadcrumbs): ?>
67
+ <?php if ($breadcrumbs == "yes"): ?>
68
+ <?php echo $this->getChildHtml('breadcrumbs') ?>
69
+ <?php elseif($breadcrumbs == "no"): ?>
70
+ <!-- do nothing -->
71
+ <?php endif ?>
72
+ <?php else: ?>
73
+ <?php echo $this->getChildHtml('breadcrumbs') ?>
74
+ <?php endif ?>
75
+
76
+ <div><?php echo $this->getChildHtml('baners') ?></div>
77
+ <div class="containerHomeList"><?php echo $this->getChildHtml('newreference') ?></div>
78
+ <div class="col-main">
79
+ <?php echo $this->getChildHtml('global_messages') ?>
80
+ <?php echo $this->getChildHtml('content') ?>
81
+ </div>
82
+ <div class="col-left sidebar"><?php echo $this->getChildHtml('left') ?></div>
83
+ <div class="clear"></div>
84
+ <div class="brands_container"><?php echo $this->getChildHtml('brands') ?></div>
85
+ </div>
86
+ </div>
87
+ <?php echo $this->getChildHtml('footer') ?>
88
+ <?php echo $this->getChildHtml('global_cookie_notice') ?>
89
+ <?php echo $this->getChildHtml('before_body_end') ?>
90
+ </div>
91
+ </div>
92
+ <?php echo $this->getAbsoluteFooter() ?>
93
+ </body>
94
+ </html>
app/design/frontend/modulesgarden/crystal/template/page/2columns-right.phtml ADDED
@@ -0,0 +1,93 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 base_default
23
+ * @copyright Copyright (c) 2014 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
+ <?php
37
+ $style = Mage::getStoreConfig('mgthemecrystal/main/colorscheme');
38
+ if ( $style == 'blue'){
39
+ echo '<link rel="stylesheet" type="text/css" href="'.$this->getSkinUrl('css/styles_blue.css').'" media="all" />';
40
+ }elseif ($style == 'red') {
41
+ echo '<link rel="stylesheet" type="text/css" href="'.$this->getSkinUrl('css/styles_red.css').'" media="all" />';
42
+ }else {
43
+ echo '<link rel="stylesheet" type="text/css" href="'.$this->getSkinUrl('css/styles.css').'" media="all" />';
44
+ }
45
+ ?>
46
+ </head>
47
+ <body id="<?php $version = Mage::getStoreConfig('mgthemecrystal/main/colorscheme');
48
+ if ( $version == 'blue'){
49
+ echo 'blue-theme';
50
+ }elseif ($version == 'red') {
51
+ echo 'red-theme';
52
+ }else {
53
+ echo 'green-theme';
54
+ }
55
+ ?>"
56
+ <?php echo $this->getBodyClass()?' class="'.$this->getBodyClass().'"':'' ?>>
57
+ <?php echo $this->getChildHtml('after_body_start') ?>
58
+ <div class="wrapper">
59
+ <?php echo $this->getChildHtml('global_notices') ?>
60
+ <div class="page">
61
+ <?php echo $this->getChildHtml('header') ?>
62
+ <div class="main-container col2-right-layout">
63
+ <div class="main">
64
+ <?php $breadcrumbs = Mage::getStoreConfig('mgthemecrystal/main/breadcrumbs'); ?>
65
+ <?php if ($breadcrumbs): ?>
66
+ <?php if ($breadcrumbs == "yes"): ?>
67
+ <?php echo $this->getChildHtml('breadcrumbs') ?>
68
+ <?php elseif($breadcrumbs == "no"): ?>
69
+ <!-- do nothing -->
70
+ <?php endif ?>
71
+ <?php else: ?>
72
+ <?php echo $this->getChildHtml('breadcrumbs') ?>
73
+ <?php endif ?>
74
+
75
+ <div><?php echo $this->getChildHtml('baners') ?></div>
76
+ <div class="containerHomeList"><?php echo $this->getChildHtml('newreference') ?></div>
77
+ <div class="col-main">
78
+ <?php echo $this->getChildHtml('global_messages') ?>
79
+ <div class="uwaga-content"><?php echo $this->getChildHtml('content') ?></div>
80
+ </div>
81
+ <div class="col-right sidebar"><?php echo $this->getChildHtml('right') ?></div>
82
+ <br class="clear"/>
83
+ <div class="brands_container"><?php echo $this->getChildHtml('brands') ?></div>
84
+ </div>
85
+ </div>
86
+ <?php echo $this->getChildHtml('footer') ?>
87
+ <?php echo $this->getChildHtml('global_cookie_notice') ?>
88
+ <?php echo $this->getChildHtml('before_body_end') ?>
89
+ </div>
90
+ </div>
91
+ <?php echo $this->getAbsoluteFooter() ?>
92
+ </body>
93
+ </html>
app/design/frontend/modulesgarden/crystal/template/page/3columns.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 base_default
23
+ * @copyright Copyright (c) 2014 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
+ <?php
37
+ $style = Mage::getStoreConfig('mgthemecrystal/main/colorscheme');
38
+ if ( $style == 'blue'){
39
+ echo '<link rel="stylesheet" type="text/css" href="'.$this->getSkinUrl('css/styles_blue.css').'" media="all" />';
40
+ }elseif ($style == 'red') {
41
+ echo '<link rel="stylesheet" type="text/css" href="'.$this->getSkinUrl('css/styles_red.css').'" media="all" />';
42
+ }else {
43
+ echo '<link rel="stylesheet" type="text/css" href="'.$this->getSkinUrl('css/styles.css').'" media="all" />';
44
+ }
45
+ ?>
46
+ </head>
47
+ <body id="<?php $version = Mage::getStoreConfig('mgthemecrystal/main/colorscheme');
48
+ if ( $version == 'blue'){
49
+ echo 'blue-theme';
50
+ }elseif ($version == 'red') {
51
+ echo 'red-theme';
52
+ }else {
53
+ echo 'green-theme';
54
+ }
55
+ ?>"
56
+ <?php echo $this->getBodyClass()?' class="'.$this->getBodyClass().'"':'' ?>>
57
+ <?php echo $this->getChildHtml('after_body_start') ?>
58
+ <div class="wrapper">
59
+ <?php echo $this->getChildHtml('global_notices') ?>
60
+ <div class="page">
61
+ <?php echo $this->getChildHtml('header') ?>
62
+ <div class="main-container col3-layout">
63
+ <div class="main">
64
+
65
+ <?php $breadcrumbs = Mage::getStoreConfig('mgthemecrystal/main/breadcrumbs'); ?>
66
+ <?php if ($breadcrumbs): ?>
67
+ <?php if ($breadcrumbs == "yes"): ?>
68
+ <?php echo $this->getChildHtml('breadcrumbs') ?>
69
+ <?php elseif($breadcrumbs == "no"): ?>
70
+ <!-- do nothing -->
71
+ <?php endif ?>
72
+ <?php else: ?>
73
+ <?php echo $this->getChildHtml('breadcrumbs') ?>
74
+ <?php endif ?>
75
+
76
+ <div><?php echo $this->getChildHtml('baners') ?></div>
77
+ <div class="containerHomeList"><?php echo $this->getChildHtml('newreference') ?></div>
78
+ <div class="col-wrapper">
79
+ <div class="col-main">
80
+ <?php echo $this->getChildHtml('global_messages') ?>
81
+ <?php echo $this->getChildHtml('content') ?>
82
+ </div>
83
+ <div class="col-left sidebar"><?php echo $this->getChildHtml('left') ?></div>
84
+ </div>
85
+ <div class="col-right sidebar"><?php echo $this->getChildHtml('right') ?></div>
86
+ <div class="clear"></div>
87
+ <div class="brands_container">
88
+ <?php echo $this->getChildHtml('brands') ?>
89
+ </div>
90
+ </div>
91
+ </div>
92
+ <?php echo $this->getChildHtml('footer') ?>
93
+ <?php echo $this->getChildHtml('global_cookie_notice') ?>
94
+ <?php echo $this->getChildHtml('before_body_end') ?>
95
+ </div>
96
+ </div>
97
+ <?php echo $this->getAbsoluteFooter() ?>
98
+ </body>
99
+ </html>
app/design/frontend/modulesgarden/crystal/template/page/baners.phtml ADDED
@@ -0,0 +1,176 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ if (Mage::helper('core')->isModuleEnabled('Modulesgarden_SPSSliders')){
3
+ $slider = Mage::getModel('storepluginsetsliders/slider')->loadByCode('crystal_slider_simple');
4
+ $slider2 = Mage::getModel('storepluginsetsliders/slider')->loadByCode('crystal_small_baners');
5
+ $slider3 = Mage::getModel('storepluginsetsliders/slider')->loadByCode('crystal_slider_one');
6
+
7
+ $colorFont = Mage::getStoreConfig('mgthemecrystal/main/colorslider');
8
+ if ( $colorFont == 'bright'){
9
+ $colorSlider = '#fff';
10
+ }else {
11
+ $colorSlider = '#333';
12
+ }
13
+
14
+ $shadowSliderVariable = Mage::getStoreConfig('mgthemecrystal/main/shadowslider');
15
+ if ( $shadowSliderVariable == 'shadow'){
16
+ $shadowSlider = 'text-shadow:1px 1px 2px rgba(150, 150, 150, 1);';
17
+ }else {
18
+ $shadowSlider = '';
19
+ }
20
+ ?>
21
+
22
+ <?php $sliderType = Mage::getStoreConfig('mgthemecrystal/main/slider');
23
+ if ( $sliderType == 'group'){ ?>
24
+ <?php if (!$slider->isEmpty() && $slider->getEnabledBanners()->getSize() > 0 && $slider->isEnabledForCurrentStoreView() && !$slider2->isEmpty() && $slider2->getEnabledBanners()->getSize() > 0 && $slider2->isEnabledForCurrentStoreView()) { ?>
25
+ <div class="baners">
26
+ <div id="slider-wrapper">
27
+ <section id="layerslider" class="slider" style="width:893px; height:425px; max-width:893px;" >
28
+ <div class='slides'>
29
+ <?php
30
+ foreach ($slider->getEnabledBanners() as $banner){ ?>
31
+
32
+ <div class='ls-slide' data-ls='slidedelay: 4000; transition2d: 2,7,9;'>
33
+ <?php
34
+ echo '<img class="ls-bg" alt="Slide background" src="'.$banner->getFileUrl().'"/>';
35
+ $titleSlide = $banner->getTitle();
36
+ if (strlen($titleSlide) > 36){
37
+ $titlecSlide = substr($titleSlide,0,36);
38
+ $titleSlideWrap = $titleSlide."...";
39
+ }
40
+ else {
41
+ $titleSlideWrap = $titleSlide;
42
+ }
43
+ echo '<h2 class="ls-l slide-title" style="'.$shadowSlider.'left:50px; top:70px; color:'.$colorSlider.';" data-ls="offsetxin: 0; offsetyin: top; delayin:100; rotatexin:180; scalexin:2;">'.$titleSlideWrap.'</h2>';
44
+ $descSlide = $banner->getDescription();
45
+ if (strlen($descSlide) > 120){
46
+ $descSlide = substr($descSlide,0,120);
47
+ $descSlideWrap = $descSlide."...";
48
+ }
49
+ else {
50
+ $descSlideWrap = $descSlide;
51
+ }
52
+ echo '<p class="ls-l slide-desc" style="'.$shadowSlider.'left:50px; top:50%; color:'.$colorSlider.';" data-ls="offsetxin: 0; offsetyin: top; delayin:300; rotateyin:180">'.$descSlideWrap.'</p>';
53
+ echo '<a class="ls-l slide-link" href="'.$banner->getUrl().'"></a>';
54
+ if ($banner->getUrlTitle()){
55
+ echo '<a class="ls-l link slide-btn" style="left:50px; top:73%;" data-ls="offsetxin: top; delayin:500;" href="'.$banner->getUrl().'">'.$banner->getUrlTitle().'</a>';
56
+ }
57
+ ?>
58
+ </div>
59
+ <?php } ?>
60
+ </div>
61
+ </section>
62
+ </div>
63
+ <section class="min_baners">
64
+ <ul>
65
+ <?php
66
+
67
+ foreach ($slider2->getEnabledBanners() as $banner){
68
+ echo "<li><a href='".$banner->getUrl()."'><img src='".$banner->getFileUrl()."'/></a></li>";
69
+ }
70
+ ?>
71
+ </ul>
72
+ </section>
73
+ <div class="clearer"></div>
74
+ </div>
75
+ <?php } ?>
76
+ <!-- koniec slidera -->
77
+ <?php } elseif ($sliderType == 'one') { ?>
78
+ <?php if (!$slider3->isEmpty() && $slider3->getEnabledBanners()->getSize() > 0 && $slider3->isEnabledForCurrentStoreView()) { ?>
79
+ <div class="baners">
80
+ <div id="slider-wrapper-one">
81
+ <section id="layerslider" class="slider" style="width:1200px; height:425px; max-width:1200px;" >
82
+ <div class='slides'>
83
+ <?php
84
+ foreach ($slider3->getEnabledBanners() as $banner){ ?>
85
+
86
+ <div class='ls-slide' data-ls='slidedelay: 4000; transition2d: 2,7,9;'>
87
+ <?php
88
+ echo '<img class="ls-bg" alt="Slide background" src="'.$banner->getFileUrl().'"/>';
89
+ $titleSlide = $banner->getTitle();
90
+ if (strlen($titleSlide) > 36){
91
+ $titlecSlide = substr($titleSlide,0,36);
92
+ $titleSlideWrap = $titleSlide."...";
93
+ }
94
+ else {
95
+ $titleSlideWrap = $titleSlide;
96
+ }
97
+ echo '<h2 class="ls-l slide-title" style="'.$shadowSlider.'left:50px; top:70px;color:'.$colorSlider.';" data-ls="offsetxin: 0; offsetyin: top; delayin:100; rotatexin:180; scalexin:2;">'.$titleSlideWrap.'</h2>';
98
+ $descSlide = $banner->getDescription();
99
+ if (strlen($descSlide) > 120){
100
+ $descSlide = substr($descSlide,0,120);
101
+ $descSlideWrap = $descSlide."...";
102
+ }
103
+ else {
104
+ $descSlideWrap = $descSlide;
105
+ }
106
+ echo '<p class="ls-l slide-desc" style="'.$shadowSlider.'left:50px; top:50%;color:'.$colorSlider.';" data-ls="offsetxin: 0; offsetyin: top; delayin:300; rotateyin:180">'.$descSlideWrap.'</p>';
107
+ echo '<a class="ls-l slide-link" href="'.$banner->getUrl().'"></a>';
108
+ if ($banner->getUrlTitle()){
109
+ echo '<a class="ls-l link slide-btn" style="left:50px; top:73%;" data-ls="offsetxin: top; delayin:500;" href="'.$banner->getUrl().'">'.$banner->getUrlTitle().'</a>';
110
+ }
111
+ ?>
112
+ </div>
113
+ <?php } ?>
114
+ </div>
115
+ </section>
116
+ </div>
117
+ </div>
118
+ <?php } ?>
119
+ <!-- koniec slidera -->
120
+ <?php }else { ?>
121
+ <?php if (!$slider->isEmpty() && $slider->getEnabledBanners()->getSize() > 0 && $slider->isEnabledForCurrentStoreView() && !$slider2->isEmpty() && $slider2->getEnabledBanners()->getSize() > 0 && $slider2->isEnabledForCurrentStoreView()) { ?>
122
+ <div class="baners">
123
+ <div id="slider-wrapper">
124
+ <section id="layerslider" class="slider" style="width:893px; height:425px; max-width:893px;" >
125
+
126
+ <div class='slides'>
127
+ <?php
128
+ foreach ($slider->getEnabledBanners() as $banner){ ?>
129
+
130
+ <div class='ls-slide' data-ls='slidedelay: 4000; transition2d: 2,7,9;'>
131
+ <?php
132
+ echo '<img class="ls-bg" alt="Slide background" src="'.$banner->getFileUrl().'"/>';
133
+ $titleSlide = $banner->getTitle();
134
+ if (strlen($titleSlide) > 36){
135
+ $titlecSlide = substr($titleSlide,0,36);
136
+ $titleSlideWrap = $titleSlide."...";
137
+ }
138
+ else {
139
+ $titleSlideWrap = $titleSlide;
140
+ }
141
+ echo '<h2 class="ls-l slide-title" style="left:50px; top:70px;color:'.$colorSlider.';" data-ls="offsetxin: 0; offsetyin: top; delayin:100; rotatexin:180; scalexin:2;">'.$titleSlideWrap.'</h2>';
142
+ $descSlide = $banner->getDescription();
143
+ if (strlen($descSlide) > 120){
144
+ $descSlide = substr($descSlide,0,120);
145
+ $descSlideWrap = $descSlide."...";
146
+ }
147
+ else {
148
+ $descSlideWrap = $descSlide;
149
+ }
150
+ echo '<p class="ls-l slide-desc" style="left:50px; top:50%;color:'.$colorSlider.';" data-ls="offsetxin: 0; offsetyin: top; delayin:300; rotateyin:180">'.$descSlideWrap.'</p>';
151
+ echo '<a class="ls-l slide-link" href="'.$banner->getUrl().'"></a>';
152
+ if ($banner->getUrlTitle()){
153
+ echo '<a class="ls-l link slide-btn" style="left:50px; top:73%;" data-ls="offsetxin: top; delayin:500;" href="'.$banner->getUrl().'">'.$banner->getUrlTitle().'</a>';
154
+ }
155
+ ?>
156
+ </div>
157
+ <?php } ?>
158
+ </div>
159
+ </section>
160
+ </div>
161
+ <section class="min_baners">
162
+ <ul>
163
+ <?php
164
+ foreach ($slider2->getEnabledBanners() as $banner){
165
+ echo "<li><a href='".$banner->getUrl()."'><img src='".$banner->getFileUrl()."'/></a></li>";
166
+ }
167
+ ?>
168
+ </ul>
169
+ </section>
170
+ <div class="clearer"></div>
171
+ </div>
172
+ <?php } ?>
173
+ <!-- koniec slidera -->
174
+ <?php }
175
+ }
176
+ ?>
app/design/frontend/modulesgarden/crystal/template/page/brands.phtml ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ <?php
3
+ if (Mage::helper('core')->isModuleEnabled('Modulesgarden_SPSSliders')){
4
+ $slider = Mage::getModel('storepluginsetsliders/slider')->loadByCode('crystal_brands');
5
+ if (!$slider->isEmpty() && $slider->getEnabled() && $slider->isEnabledForCurrentStoreView()){
6
+ ?>
7
+ <section class="brands">
8
+ <div class="page-title catalog_title"><h2><?php echo $this->__('Brands') ?></h2></div>
9
+ <div class="customNavigation">
10
+ <a class="btn prev prev-brands"></a>
11
+ <a class="btn next next-brands"></a>
12
+ </div>
13
+ <div id="owl-brands" class="owl-carousel-brands owl-carousel owl-theme">
14
+ <?php
15
+ foreach ($slider->getEnabledBanners() as $banner){
16
+ echo "<div class='item'><img src='".$banner->getFileUrl()."'/></div>";
17
+ }
18
+ }
19
+ ?>
20
+ </div>
21
+ </section>
22
+ <?php } ?>
app/design/frontend/modulesgarden/crystal/template/page/html/breadcrumbs.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 base_default
23
+ * @copyright Copyright (c) 2014 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
+ <div class="breadcrumbs">
29
+ <ul>
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->escapeHtml($_crumbInfo['title']) ?>"><?php echo $this->escapeHtml($_crumbInfo['label']) ?></a>
34
+ <?php elseif($_crumbInfo['last']): ?>
35
+ <strong><?php echo $this->escapeHtml($_crumbInfo['label']) ?></strong>
36
+ <?php else: ?>
37
+ <?php echo $this->escapeHtml($_crumbInfo['label']) ?>
38
+ <?php endif; ?>
39
+ <?php if(!$_crumbInfo['last']): ?>
40
+ <span>/ </span>
41
+ <?php endif; ?>
42
+ </li>
43
+ <?php endforeach; ?>
44
+ </ul>
45
+ </div>
46
+ <?php endif; ?>
app/design/frontend/modulesgarden/crystal/template/page/html/footer.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 base_default
23
+ * @copyright Copyright (c) 2014 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="footer-container">
28
+ <div class="footer">
29
+ <div class="col1 col-footer">
30
+ <?php
31
+ $storeName = Mage::getStoreConfig('general/store_information/name');
32
+ $storeAddress = Mage::getStoreConfig('general/store_information/address');
33
+ $storePhone = Mage::getStoreConfig('general/store_information/phone');
34
+ $storeEmail = Mage::getStoreConfig('trans_email/ident_general/email');
35
+
36
+ if($storeName && $storeAddress && $storePhone && $storeEmail ){
37
+ ?>
38
+ <h2><?php echo $this->__('Contact'); ?></h2>
39
+ <ul>
40
+ <li><?php echo $storeName; ?></li>
41
+ <li><?php echo $storeAddress; ?></li>
42
+ <li><?php echo $storePhone; ?></li>
43
+ <li><?php echo $storeEmail; ?></li>
44
+ </ul>
45
+ <?php
46
+ }else {
47
+ echo $this->getLayout()->createBlock('cms/block')->setBlockId('crystal-footer-col1')->toHtml();
48
+ }
49
+ ?>
50
+ </div>
51
+ <div class="col2 col-footer">
52
+ <?php echo $this->getLayout()->createBlock('cms/block')->setBlockId('crystal-footer-col2')->toHtml() ?>
53
+ </div>
54
+ <div class="col3 col-footer">
55
+ <?php echo $this->getLayout()->createBlock('cms/block')->setBlockId('crystal-footer-col3')->toHtml() ?>
56
+ </div>
57
+ <div class="col3 col-footer">
58
+ <?php echo $this->getLayout()->createBlock('cms/block')->setBlockId('crystal-footer-col4')->toHtml() ?>
59
+ </div>
60
+ <div class="col4 col-footer">
61
+ <?php echo $this->getChildHtml('footer.newsletter'); ?>
62
+ </div>
63
+ <br class="clear"/>
64
+ </div>
65
+ </div>
66
+
67
+ <address><?php echo $this->getCopyright() ?></address>
app/design/frontend/modulesgarden/crystal/template/page/html/head.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 base_default
23
+ * @copyright Copyright (c) 2014 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
+ <meta http-equiv="Content-Type" content="<?php echo $this->getContentType() ?>" />
29
+
30
+ <?php $pageTitle = Mage::getStoreConfig('mgthemecrystal/main/maintitle'); ?>
31
+ <?php if ($pageTitle): ?>
32
+ <title><?php echo $pageTitle; ?></title>
33
+ <?php else: ?>
34
+ <title><?php echo $this->getTitle() ?></title>
35
+ <?php endif ?>
36
+
37
+ <meta name="description" content="<?php echo htmlspecialchars($this->getDescription()) ?>" />
38
+ <meta name="keywords" content="<?php echo htmlspecialchars($this->getKeywords()) ?>" />
39
+ <meta name="robots" content="<?php echo htmlspecialchars($this->getRobots()) ?>" />
40
+ <meta name="viewport" content="width=device-width, initial-scale=1"/>
41
+ <link rel="icon" href="<?php echo $this->getFaviconFile(); ?>" type="image/x-icon" />
42
+ <link rel="shortcut icon" href="<?php echo $this->getFaviconFile(); ?>" type="image/x-icon" />
43
+ <!--[if lt IE 7]>
44
+ <script type="text/javascript">
45
+ //<![CDATA[
46
+ var BLANK_URL = '<?php echo $this->helper('core/js')->getJsUrl('blank.html') ?>';
47
+ var BLANK_IMG = '<?php echo $this->helper('core/js')->getJsUrl('spacer.gif') ?>';
48
+ //]]>
49
+ </script>
50
+ <![endif]-->
51
+ <script type="text/javascript" src="<?php echo $this->getSkinUrl('js/layerslider/js/jquery.js'); ?>"></script>
52
+ <script type="text/javascript" src="<?php echo $this->getSkinUrl('js/owl-carousel/owl.carousel.min.js'); ?>"></script>
53
+ <script type="text/javascript" src="<?php echo $this->getSkinUrl('js/fancybox/jquery.fancybox.pack.js'); ?>"></script>
54
+ <script type="text/javascript" src="<?php echo $this->getSkinUrl('js/custom.js'); ?>"></script>
55
+ <script type="text/javascript" src="<?php echo $this->getSkinUrl('js/layerslider/js/greensock.js'); ?>"></script>
56
+ <script type="text/javascript" src="<?php echo $this->getSkinUrl('js/layerslider/js/layerslider.transitions.js'); ?>"></script>
57
+ <script type="text/javascript" src="<?php echo $this->getSkinUrl('js/layerslider/js/layerslider.kreaturamedia.jquery.js'); ?>"></script>
58
+
59
+ <div id="dom-target" style="display: none;">
60
+ <?php
61
+ $urlPath = Mage::getBaseUrl('js');
62
+ echo htmlspecialchars($urlPath);
63
+ ?>
64
+ </div>
65
+ <script>
66
+ $j = jQuery.noConflict();
67
+ var div = document.getElementById("dom-target");
68
+ var myData = div.textContent;
69
+ console.log(myData);
70
+ </script>
71
+
72
+ <?php echo $this->getCssJsHtml() ?>
73
+
74
+ <?php $fontFamily = Mage::getStoreConfig('mgthemecrystal/main/fontfamily'); ?>
75
+ <?php if ($fontFamily): ?>
76
+ <?php if ($fontFamily == "opensans"): ?>
77
+ <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,300,700&subset=latin,latin-ext,cyrillic-ext,greek-ext,greek,vietnamese,cyrillic' rel='stylesheet' type='text/css'>
78
+ <?php echo '<link rel="stylesheet" type="text/css" href="'.$this->getSkinUrl('css/open-sans-font.css').'" media="all" />'; ?>
79
+ <?php elseif($fontFamily == "lato"): ?>
80
+ <link href='http://fonts.googleapis.com/css?family=Lato:400,300,700&subset=latin,latin-ext' rel='stylesheet' type='text/css'>
81
+ <?php echo '<link rel="stylesheet" type="text/css" href="'.$this->getSkinUrl('css/lato-font.css').'" media="all" />'; ?>
82
+ <?php elseif($fontFamily == "roboto"): ?>
83
+ <link href='http://fonts.googleapis.com/css?family=Roboto:400,300,700&subset=latin,cyrillic-ext,greek-ext,greek,vietnamese,latin-ext,cyrillic' rel='stylesheet' type='text/css'>
84
+ <?php echo '<link rel="stylesheet" type="text/css" href="'.$this->getSkinUrl('css/roboto-font.css').'" media="all" />'; ?>
85
+ <?php elseif($fontFamily == "raleway"): ?>
86
+ <link href='http://fonts.googleapis.com/css?family=Raleway:300,400,700' rel='stylesheet' type='text/css'>
87
+ <?php echo '<link rel="stylesheet" type="text/css" href="'.$this->getSkinUrl('css/raleway-font.css').'" media="all" />'; ?>
88
+ <?php endif ?>
89
+ <?php else: ?>
90
+ <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,300,700&subset=latin,latin-ext,cyrillic-ext,greek-ext,greek,vietnamese,cyrillic' rel='stylesheet' type='text/css'>
91
+ <?php echo '<link rel="stylesheet" type="text/css" href="'.$this->getSkinUrl('css/open-sans-font.css').'" media="all" />'; ?>
92
+ <?php endif ?>
93
+
94
+ <?php $colorFooter = Mage::getStoreConfig('mgthemecrystal/main/colorfooter'); ?>
95
+ <?php if ($colorFooter): ?>
96
+ <?php if ($colorFooter == "lightgray"): ?>
97
+ <?php echo '<link rel="stylesheet" type="text/css" href="'.$this->getSkinUrl('css/color-footer-lightgray.css').'" media="all" />'; ?>
98
+ <?php elseif($colorFooter == "dark"): ?>
99
+ <?php echo '<link rel="stylesheet" type="text/css" href="'.$this->getSkinUrl('css/color-footer-dark.css').'" media="all" />'; ?>
100
+ <?php elseif($colorFooter == "white"): ?>
101
+ <?php echo '<link rel="stylesheet" type="text/css" href="'.$this->getSkinUrl('css/color-footer-white.css').'" media="all" />'; ?>
102
+ <?php endif ?>
103
+ <?php else: ?>
104
+ <?php echo '<link rel="stylesheet" type="text/css" href="'.$this->getSkinUrl('css/color-footer-lightgray.css').'" media="all" />'; ?>
105
+ <?php endif ?>
106
+
107
+ <?php $modules = Mage::getConfig()->getNode('modules')->children();
108
+ $modulesArray = (array)$modules;
109
+
110
+ // check is install IWD One Page Checkout
111
+ if(isset($modulesArray['IWD_All'])) {
112
+ echo '<link rel="stylesheet" type="text/css" href="'.$this->getSkinUrl('css/iwd-active.css').'" media="all" />';
113
+ } else {
114
+ echo '<link rel="stylesheet" type="text/css" href="'.$this->getSkinUrl('css/iwd-disable.css').'" media="all" />';
115
+ } ?>
116
+
117
+ <?php echo $this->getChildHtml() ?>
118
+ <?php echo $this->helper('core/js')->getTranslatorScript() ?>
119
+ <?php echo $this->getIncludes() ?>
app/design/frontend/modulesgarden/crystal/template/page/html/header.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 base_default
23
+ * @copyright Copyright (c) 2014 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
+ <div class="header-container">
31
+ <div class="header_wrapp">
32
+ <div class="header">
33
+ <div class="msg_header"><p class="welcome-msg"><?php echo $this->getChildHtml('welcome') ?> <?php echo $this->getAdditionalHtml() ?></p></div>
34
+ <div class="quick-access">
35
+ <?php echo $this->getChildHtml('topLinks') ?>
36
+ <?php echo $this->getChildHtml('store_language') ?>
37
+ </div>
38
+ </div>
39
+ </div>
40
+ <div class="header">
41
+ <?php if ($this->getIsHomePage()):?>
42
+ <h1 class="logo"><strong><?php echo $this->getLogoAlt() ?></strong><a href="<?php echo $this->getUrl('') ?>" title="<?php echo $this->getLogoAlt() ?>" class="logo"><img src="<?php echo $this->getLogoSrc() ?>" alt="<?php echo $this->getLogoAlt() ?>" /></a></h1>
43
+ <?php else:?>
44
+ <a href="<?php echo $this->getUrl('') ?>" title="<?php echo $this->getLogoAlt() ?>" class="logo"><strong><?php echo $this->getLogoAlt() ?></strong><img src="<?php echo $this->getLogoSrc() ?>" alt="<?php echo $this->getLogoAlt() ?>" /></a>
45
+ <?php endif?>
46
+ <?php echo $this->getChildHtml('topContainer'); ?>
47
+
48
+ <div class="cart-box-header">
49
+
50
+ <span>
51
+ <i class="fa fa-shopping-cart"></i>
52
+ <?php
53
+ echo $this->__('My Cart&ensp;');
54
+ $count = $this->helper('checkout/cart')->getSummaryCount(); //get total items in cart
55
+ $total = $this->helper('checkout/cart')->getQuote()->getGrandTotal(); //get total price
56
+ $urlCart = Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_LINK);
57
+ if($count==0)
58
+ {
59
+ echo $this->__('<a href="'.$urlCart.'checkout/cart" class="cartgo">(0 items)</a>',$count);
60
+ }
61
+ if($count==1)
62
+ {
63
+ echo $this->__('<a href="'.$urlCart.'checkout/cart" class="cartgo">(1 item)</a>',$count);
64
+ }
65
+ if($count>1)
66
+ {
67
+ echo $this->__('<a href="'.$urlCart.'checkout/cart" class="cartgo">(%s items)</a>',$count);
68
+ }
69
+ echo $this->__('', $this->helper('core')->formatPrice($total, false));
70
+ ?>
71
+ </span>
72
+ </div>
73
+ <br class="clear"/>
74
+ </div>
75
+ </div>
76
+ <?php echo $this->getChildHtml('topMenu') ?>
app/design/frontend/modulesgarden/crystal/template/page/html/notices.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 base_default
23
+ * @copyright Copyright (c) 2014 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
+ * @var $this Mage_Page_Block_Html_Notices
30
+ */
31
+ ?>
32
+ <?php if ($this->displayNoscriptNotice()): ?>
33
+ <noscript>
34
+ <div class="global-site-notice noscript">
35
+ <div class="notice-inner">
36
+ <p>
37
+ <strong><?php echo $this->__('JavaScript seems to be disabled in your browser.'); ?></strong><br />
38
+ <?php echo $this->__('You must have JavaScript enabled in your browser to utilize the functionality of this website.'); ?>
39
+ </p>
40
+ </div>
41
+ </div>
42
+ </noscript>
43
+ <?php endif; ?>
44
+ <?php if ($this->displayDemoNotice()): ?>
45
+ <div class="global-site-notice demo-notice">
46
+ <div class="notice-inner"><p><?php echo $this->__('This is a demo store. Any orders placed through this store will not be honored or fulfilled.') ?></p></div>
47
+ </div>
48
+ <?php endif; ?>
app/design/frontend/modulesgarden/crystal/template/page/html/pager.phtml ADDED
@@ -0,0 +1,133 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 base_default
23
+ * @copyright Copyright (c) 2014 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 $imgStyle = Mage::getStoreConfig('mgthemecrystal/main/colorscheme');
35
+ if ( $imgStyle == 'blue'){
36
+ $img = '_blue';
37
+ }elseif ($imgStyle == 'red') {
38
+ $img = '_red';
39
+ }else {
40
+ $img = '';
41
+ }
42
+ ?>
43
+ <?php if($this->getCollection()->getSize()): ?>
44
+
45
+ <?php if($this->getUseContainer()): ?>
46
+ <div class="pager">
47
+ <?php endif ?>
48
+
49
+ <?php if($this->getShowAmounts()): ?>
50
+ <p class="amount">
51
+ <?php if($this->getLastPageNum()>1): ?>
52
+ <?php echo $this->__('Items %s to %s of %s total', $this->getFirstNum(), $this->getLastNum(), $this->getTotalNum()) ?>
53
+ <?php else: ?>
54
+ <strong><?php echo $this->__('%s Item(s)', $this->getTotalNum()) ?></strong>
55
+ <?php endif; ?>
56
+ </p>
57
+ <?php endif ?>
58
+
59
+ <?php if($this->getShowPerPage()): ?>
60
+ <div class="limiter">
61
+ <label><?php echo $this->__('Show') ?></label>
62
+ <select onchange="setLocation(this.value)">
63
+ <?php foreach ($this->getAvailableLimit() as $_key=>$_limit): ?>
64
+ <option value="<?php echo $this->getLimitUrl($_key) ?>"<?php if($this->isLimitCurrent($_key)): ?> selected="selected"<?php endif ?>>
65
+ <?php echo $_limit ?>
66
+ </option>
67
+ <?php endforeach; ?>
68
+ </select> <?php echo $this->__('per page') ?>
69
+ </div>
70
+ <?php endif ?>
71
+
72
+ <?php if($this->getLastPageNum()>1): ?>
73
+ <div class="pages">
74
+ <strong><?php echo $this->__('Page:') ?></strong>
75
+ <ol>
76
+ <?php if (!$this->isFirstPage()): ?>
77
+ <li>
78
+ <a class="previous<?php if(!$this->getAnchorTextForPrevious()): ?> i-previous<?php endif;?>" href="<?php echo $this->getPreviousPageUrl() ?>" title="<?php echo $this->__('Previous') ?>">
79
+ <?php if(!$this->getAnchorTextForPrevious()): ?>
80
+ <img src="<?php echo $this->getSkinUrl('images/pager_arrow_left'.$img.'.gif') ?>" alt="<?php echo $this->__('Previous') ?>" class="v-middle" />
81
+ <?php else: ?>
82
+ <?php echo $this->getAnchorTextForPrevious() ?>
83
+ <?php endif;?>
84
+ </a>
85
+ </li>
86
+ <?php endif;?>
87
+
88
+ <?php if ($this->canShowFirst()): ?>
89
+ <li><a class="first" href="<?php echo $this->getFirstPageUrl() ?>">1</a></li>
90
+ <?php endif;?>
91
+
92
+ <?php if ($this->canShowPreviousJump()): ?>
93
+ <li><a class="previous_jump" title="" href="<?php echo $this->getPreviousJumpUrl() ?>">...</a></li>
94
+ <?php endif;?>
95
+
96
+ <?php foreach ($this->getFramePages() as $_page): ?>
97
+ <?php if ($this->isPageCurrent($_page)): ?>
98
+ <li class="current"><?php echo $_page ?></li>
99
+ <?php else: ?>
100
+ <li><a href="<?php echo $this->getPageUrl($_page) ?>"><?php echo $_page ?></a></li>
101
+ <?php endif;?>
102
+ <?php endforeach;?>
103
+
104
+
105
+ <?php if ($this->canShowNextJump()): ?>
106
+ <li><a class="next_jump" title="" href="<?php echo $this->getNextJumpUrl() ?>">...</a></li>
107
+ <?php endif;?>
108
+
109
+ <?php if ($this->canShowLast()): ?>
110
+ <li><a class="last" href="<?php echo $this->getLastPageUrl() ?>"><?php echo $this->getLastPageNum() ?></a></li>
111
+ <?php endif;?>
112
+
113
+ <?php if (!$this->isLastPage()): ?>
114
+ <li>
115
+ <a class="next<?php if(!$this->getAnchorTextForNext()): ?> i-next<?php endif; ?>" href="<?php echo $this->getNextPageUrl() ?>" title="<?php echo $this->__('Next') ?>">
116
+ <?php if(!$this->getAnchorTextForNext()): ?>
117
+ <img src="<?php echo $this->getSkinUrl('images/pager_arrow_right'.$img.'.gif') ?>" alt="<?php echo $this->__('Next') ?>" class="v-middle" />
118
+ <?php else: ?>
119
+ <?php echo $this->getAnchorTextForNext() ?>
120
+ <?php endif;?>
121
+ </a>
122
+ </li>
123
+ <?php endif;?>
124
+ </ol>
125
+
126
+ </div>
127
+ <?php endif; ?>
128
+
129
+ <?php if($this->getUseContainer()): ?>
130
+ </div>
131
+ <?php endif ?>
132
+
133
+ <?php endif ?>
app/design/frontend/modulesgarden/crystal/template/page/html/top.links.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 base_default
23
+ * @copyright Copyright (c) 2014 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
+ * @deprecated after 1.4.0.1
30
+ */
31
+ ?>
32
+ <?php if($toplinks && is_array($toplinks)): ?>
33
+ <ul class="links">
34
+ <?php echo $this->getChildHtml() ?>
35
+ <?php foreach($toplinks as $_toplink): ?>
36
+ <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>
37
+ <?php endforeach; ?>
38
+ </ul>
39
+ <?php endif; ?>
app/design/frontend/modulesgarden/crystal/template/page/html/topmenu.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 base_default
23
+ * @copyright Copyright (c) 2014 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_Page_Block_Html_Topmenu
32
+ */
33
+ ?>
34
+ <div id="mainNav" class="menu">
35
+ <?php $_menu = $this->getHtml('level-top') ?>
36
+ <?php if($_menu): ?>
37
+ <div class="nav-container">
38
+ <div class="menu_search_wrapp">
39
+
40
+ <ul id="nav">
41
+ <?php $homeLink = Mage::getStoreConfig('mgthemecrystal/main/showhome'); ?>
42
+ <?php if ($homeLink): ?>
43
+ <?php if ($homeLink == "yes"): ?>
44
+ <li class="level0 nav-1 first home-link level-top"><a class="level-top" href="<?php echo Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_LINK); ?>">HOME</a></li>
45
+ <?php elseif($homeLink == "no"): ?>
46
+ <!-- do nothing -->
47
+ <?php endif ?>
48
+ <?php else: ?>
49
+ <!-- do nothing -->
50
+ <?php endif ?>
51
+
52
+ <?php echo $_menu ?>
53
+
54
+ <?php endif ?>
55
+
56
+ <?php $catalogSearchHelper = $this->helper('catalogsearch'); ?>
57
+
58
+ <?php
59
+
60
+ //if ($categoryAmount > 0) { ?>
61
+ <form id="search_mini_form" action="<?php echo $catalogSearchHelper->getResultUrl() ?>" method="get">
62
+ <div class="form-search">
63
+ <input id="search" type="text" name="<?php echo $catalogSearchHelper->getQueryParamName() ?>" value="<?php echo $catalogSearchHelper->getEscapedQueryText() ?>" class="input-text" maxlength="<?php echo $catalogSearchHelper->getMaxQueryLength();?>" />
64
+ <button type="submit" title="<?php echo $this->__('Search') ?>" class="search-button"></button>
65
+ <div id="search_autocomplete" class="search-autocomplete"></div>
66
+ <script type="text/javascript">
67
+ //<![CDATA[
68
+ var searchForm = new Varien.searchForm('search_mini_form', 'search', '');
69
+ searchForm.initAutocomplete('<?php echo $catalogSearchHelper->getSuggestUrl() ?>', 'search_autocomplete');
70
+ //]]>
71
+ </script>
72
+ </div>
73
+ </form>
74
+ <?php //} ?>
75
+ </ul>
76
+ </div>
77
+ </div>
78
+ </div>
79
+
80
+
81
+
82
+ <div id="menu_mobile_click">
83
+ <div class="menu_icon"><i class="fa fa-bars"></i></div>
84
+ <div class="search_mobile">
85
+ <?php $catalogSearchHelper = $this->helper('catalogsearch'); ?>
86
+ <form id="search_mini_form" action="<?php echo $catalogSearchHelper->getResultUrl() ?>" method="get">
87
+ <div class="form-search">
88
+ <input id="search" type="text" name="<?php echo $catalogSearchHelper->getQueryParamName() ?>" value="<?php echo $catalogSearchHelper->getEscapedQueryText() ?>" class="input-text" maxlength="<?php echo $catalogSearchHelper->getMaxQueryLength();?>" />
89
+ <button type="submit" title="<?php echo $this->__('Search') ?>" class="search-button"></button>
90
+ <div id="search_autocomplete" class="search-autocomplete"></div>
91
+ <script type="text/javascript">
92
+ //<![CDATA[
93
+ var searchForm = new Varien.searchForm('search_mini_form', 'search', '');
94
+ searchForm.initAutocomplete('<?php echo $catalogSearchHelper->getSuggestUrl() ?>', 'search_autocomplete');
95
+ //]]>
96
+ </script>
97
+ </div>
98
+ </form>
99
+ </div>
100
+ <div class="clear"></div>
101
+ </div>
102
+
103
+ <div class="menu_mobile">
104
+ <?php if($_menu): ?>
105
+ <div class="nav-container">
106
+ <div class="menu_search_wrapp">
107
+
108
+ <ul id="nav">
109
+ <?php echo $_menu; ?>
110
+
111
+ <?php endif ?>
112
+
113
+ </ul>
114
+ </div>
115
+ </div>
116
+ </div>
app/design/frontend/modulesgarden/crystal/template/page/html/viewpointmeta.phtml ADDED
@@ -0,0 +1 @@
 
1
+ <meta name="viewport" content="width=device-width, initial-scale=1">
app/design/frontend/modulesgarden/crystal/template/page/html/wrapper.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 base_default
23
+ * @copyright Copyright (c) 2014 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
+ * @deprecated after 1.4.0.0-alpha3
30
+ */
31
+
32
+ /**
33
+ * This template is for generic wrapper purposes, including ajax.updater loaded blocks
34
+ *
35
+ * Usage in layout xml files:
36
+ * <block type="core/template" template="page/html/wrapper.phtml">
37
+ * <action method="setId"><id>some-custom-identificator</id></action>
38
+ *
39
+ * <!-- optional -->
40
+ * <action method="setTag"><tag>span</tag></action> <!-- div is used if not specified -->
41
+ * <action method="setParams"><params>class="custom-class"</params></action>
42
+ *
43
+ * <!-- insert wrapped blocks here -->
44
+ * </block>
45
+ */
46
+ ?>
47
+ <?php $_tag = $this->hasTag() ? $this->getTag() : "div" ?>
48
+ <<?php echo $_tag?> id="<?php echo $this->getId()?>" <?php echo $this->getParams()?>>
49
+ <?php echo $this->getChildHtml()?>
50
+ </<?php echo $_tag?>>
app/design/frontend/modulesgarden/crystal/template/page/switch/languages.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 base_default
23
+ * @copyright Copyright (c) 2014 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
+ <?php if(count($this->getStores())>1): ?>
35
+ <div class="form-language">
36
+ <label for="select-language"><?php echo $this->__('Language:') ?></label>
37
+ <select id="select-language" title="<?php echo $this->__('Language') ?>" onchange="window.location.href=this.value">
38
+ <?php foreach ($this->getStores() as $_lang): ?>
39
+ <?php $_selected = ($_lang->getId() == $this->getCurrentStoreId()) ? ' selected="selected"' : '' ?>
40
+ <option value="<?php echo $_lang->getCurrentUrl() ?>"<?php echo $_selected ?>><?php echo $this->escapeHtml($_lang->getName()) ?></option>
41
+ <?php endforeach; ?>
42
+ </select>
43
+ </div>
44
+ <?php endif; ?>
app/design/frontend/modulesgarden/crystal/template/page/template/links.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 base_default
23
+ * @copyright Copyright (c) 2014 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
+ <ul class="links"<?php if($this->getName()): ?> id="<?php echo $this->getName() ?>"<?php endif;?>>
35
+ <?php foreach($_links as $_link): ?>
36
+ <?php if ($_link instanceof Mage_Core_Block_Abstract):?>
37
+ <?php echo $_link->toHtml() ?>
38
+ <?php else: ?>
39
+ <li<?php if($_link->getIsFirst()||$_link->getIsLast()): ?> class="<?php if($_link->getIsFirst()): ?>first<?php endif; ?><?php if($_link->getIsLast()): ?> last<?php endif; ?>"<?php endif; ?> <?php echo $_link->getLiParams() ?>><?php echo $_link->getBeforeText() ?><a href="<?php echo $_link->getUrl() ?>" title="<?php echo $_link->getTitle() ?>" <?php echo $_link->getAParams() ?>><?php echo $_link->getLabel() ?></a><?php echo $_link->getAfterText() ?></li>
40
+ <?php endif;?>
41
+ <?php endforeach; ?>
42
+ </ul>
43
+ <?php endif; ?>
app/design/frontend/modulesgarden/crystal/template/page/template/linksblock.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 base_default
23
+ * @copyright Copyright (c) 2014 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_Block
30
+ */
31
+ ?>
32
+ <li<?php if($this->getIsFirst()||$this->getIsLast()): ?> class="<?php if($this->getIsFirst()): ?>first<?php endif; ?><?php if($this->getIsLast()): ?> last<?php endif; ?>"<?php endif; ?> <?php echo $this->getLiParams() ?>><?php echo $this->getBeforeText() ?><a href="<?php echo $this->getLinkUrl() ?>" title="<?php echo $this->getTitle() ?>" <?php echo $this->getAParams() ?>><?php echo $this->getLabel() ?></a><?php echo $this->getAfterText() ?></li>
app/design/frontend/modulesgarden/crystal/template/payment/catalog/product/view/profile/options.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 base_default
23
+ * @copyright Copyright (c) 2014 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_Payment_Block_Catalog_Product_View_Profile
30
+ */
31
+ ?>
32
+ <?php if ($dateHtml = $this->getDateHtml()): ?>
33
+ <dl>
34
+ <dt>
35
+ <label for="<?php echo $this->getDateHtmlId() ?>"><?php echo $this->__('Recurring Profile Start Date') ?></label>
36
+ </dt>
37
+ <dd>
38
+ <?php echo $dateHtml ?>
39
+ </dd>
40
+ </dl>
41
+ <?php endif; ?>
app/design/frontend/modulesgarden/crystal/template/payment/catalog/product/view/profile/schedule.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 base_default
23
+ * @copyright Copyright (c) 2014 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_Payment_Block_Catalog_Product_View_Profile
30
+ */
31
+ ?>
32
+ <dl>
33
+ <?php foreach($this->getScheduleInfo() as $term => $definitions): ?>
34
+ <dt><?php echo $this->escapeHtml($term); ?></dt>
35
+ <?php foreach ($definitions as $definition):?>
36
+ <dd><?php echo $this->escapeHtml($definition)?></dd>
37
+ <?php endforeach;?>
38
+ <?php endforeach;?>
39
+ </dl>
app/design/frontend/modulesgarden/crystal/template/payment/form/banktransfer.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 base_default
23
+ * @copyright Copyright (c) 2014 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 ($instructions = $this->getInstructions()): ?>
28
+ <ul class="form-list checkout-agreements" id="payment_form_<?php echo $this->getMethodCode() ?>" style="display:none;">
29
+ <li>
30
+ <div class="<?php echo $this->getMethodCode() ?>-instructions-content agreement-content">
31
+ <?php echo nl2br($instructions) ?>
32
+ </div>
33
+ </li>
34
+ </ul>
35
+ <?php endif; ?>
app/design/frontend/modulesgarden/crystal/template/payment/form/cashondelivery.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 base_default
23
+ * @copyright Copyright (c) 2014 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
+ * @see Saas_Payment_Block_Form_Cashondelivery
29
+ */
30
+ ?>
31
+ <?php if ($this->getInstructions()): ?>
32
+ <ul class="form-list checkout-agreements" id="payment_form_<?php echo $this->getMethodCode() ?>" style="display:none;">
33
+ <li>
34
+ <div class="<?php echo $this->getMethodCode() ?>-instructions-content agreement-content">
35
+ <?php echo nl2br($this->getInstructions()) ?>
36
+ </div>
37
+ </li>
38
+ </ul>
39
+ <?php endif; ?>
app/design/frontend/modulesgarden/crystal/template/payment/form/cc.phtml ADDED
@@ -0,0 +1,138 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 base_default
23
+ * @copyright Copyright (c) 2014 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 $_code=$this->getMethodCode() ?>
28
+ <ul class="form-list" id="payment_form_<?php echo $_code ?>" style="display:none;">
29
+ <?php /*
30
+ <li>
31
+ <div class="input-box">
32
+ <label for="<?php echo $_code ?>_cc_owner" class="required"><em>*</em><?php echo $this->__('Name on Card') ?></label>
33
+ <input type="text" title="<?php echo $this->__('Name on Card') ?>" class="input-text required-entry" id="<?php echo $_code ?>_cc_owner" name="payment[cc_owner]" value="<?php echo $this->escapeHtml($this->getInfoData('cc_owner')) ?>" />
34
+ </div>
35
+ </li>
36
+ */ ?>
37
+ <li>
38
+ <label for="<?php echo $_code ?>_cc_type" class="required"><em>*</em><?php echo $this->__('Credit Card Type') ?></label>
39
+ <div class="input-box">
40
+ <select id="<?php echo $_code ?>_cc_type" name="payment[cc_type]" class="required-entry validate-cc-type-select">
41
+ <option value=""><?php echo $this->__('--Please Select--')?></option>
42
+ <?php $_ccType = $this->getInfoData('cc_type') ?>
43
+ <?php foreach ($this->getCcAvailableTypes() as $_typeCode => $_typeName): ?>
44
+ <option value="<?php echo $_typeCode ?>"<?php if($_typeCode==$_ccType): ?> selected="selected"<?php endif ?>><?php echo $_typeName ?></option>
45
+ <?php endforeach ?>
46
+ </select>
47
+ </div>
48
+ </li>
49
+ <li>
50
+ <label for="<?php echo $_code ?>_cc_number" class="required"><em>*</em><?php echo $this->__('Credit Card Number') ?></label>
51
+ <div class="input-box">
52
+ <input type="text" id="<?php echo $_code ?>_cc_number" name="payment[cc_number]" title="<?php echo $this->__('Credit Card Number') ?>" class="input-text validate-cc-number validate-cc-type" value="" />
53
+ </div>
54
+ </li>
55
+ <li id="<?php echo $_code ?>_cc_type_exp_div">
56
+ <label for="<?php echo $_code ?>_expiration" class="required"><em>*</em><?php echo $this->__('Expiration Date') ?></label>
57
+ <div class="input-box">
58
+ <div class="v-fix">
59
+ <select id="<?php echo $_code ?>_expiration" name="payment[cc_exp_month]" class="month validate-cc-exp required-entry">
60
+ <?php $_ccExpMonth = $this->getInfoData('cc_exp_month') ?>
61
+ <?php foreach ($this->getCcMonths() as $k=>$v): ?>
62
+ <option value="<?php echo $k?$k:'' ?>"<?php if($k==$_ccExpMonth): ?> selected="selected"<?php endif ?>><?php echo $v ?></option>
63
+ <?php endforeach ?>
64
+ </select>
65
+ </div>
66
+ <div class="v-fix">
67
+ <?php $_ccExpYear = $this->getInfoData('cc_exp_year') ?>
68
+ <select id="<?php echo $_code ?>_expiration_yr" name="payment[cc_exp_year]" class="year required-entry">
69
+ <?php foreach ($this->getCcYears() as $k=>$v): ?>
70
+ <option value="<?php echo $k?$k:'' ?>"<?php if($k==$_ccExpYear): ?> selected="selected"<?php endif ?>><?php echo $v ?></option>
71
+ <?php endforeach ?>
72
+ </select>
73
+ </div>
74
+ </div>
75
+ </li>
76
+ <?php echo $this->getChildHtml() ?>
77
+ <?php if($this->hasVerification()): ?>
78
+ <li id="<?php echo $_code ?>_cc_type_cvv_div">
79
+ <label for="<?php echo $_code ?>_cc_cid" class="required"><em>*</em><?php echo $this->__('Card Verification Number') ?></label>
80
+ <div class="input-box">
81
+ <div class="v-fix">
82
+ <input type="text" title="<?php echo $this->__('Card Verification Number') ?>" class="input-text cvv required-entry validate-cc-cvn" id="<?php echo $_code ?>_cc_cid" name="payment[cc_cid]" value="" />
83
+ </div>
84
+ <a href="#" class="cvv-what-is-this"><?php echo $this->__('What is this?') ?></a>
85
+ </div>
86
+ </li>
87
+ <?php endif; ?>
88
+
89
+ <?php if ($this->hasSsCardType()): ?>
90
+ <li id="<?php echo $_code ?>_cc_type_ss_div">
91
+ <ul class="inner-form">
92
+ <li class="form-alt"><label for="<?php echo $_code ?>_cc_issue" class="required"><em>*</em><?php echo $this->__('Switch/Solo/Maestro Only') ?></label></li>
93
+ <li>
94
+ <label for="<?php echo $_code ?>_cc_issue"><?php echo $this->__('Issue Number') ?>:</label>
95
+ <span class="input-box">
96
+ <input type="text" title="<?php echo $this->__('Issue Number') ?>" class="input-text validate-cc-ukss cvv" id="<?php echo $_code ?>_cc_issue" name="payment[cc_ss_issue]" value="" />
97
+ </span>
98
+ </li>
99
+
100
+ <li>
101
+ <label for="<?php echo $_code ?>_start_month"><?php echo $this->__('Start Date') ?>:</label>
102
+ <div class="input-box">
103
+ <div class="v-fix">
104
+ <select id="<?php echo $_code ?>_start_month" name="payment[cc_ss_start_month]" class="validate-cc-ukss month">
105
+ <?php foreach ($this->getCcMonths() as $k=>$v): ?>
106
+ <option value="<?php echo $k?$k:'' ?>"<?php if($k==$this->getInfoData('cc_ss_start_month')): ?> selected="selected"<?php endif ?>><?php echo $v ?></option>
107
+ <?php endforeach ?>
108
+ </select>
109
+ </div>
110
+ <div class="v-fix">
111
+ <select id="<?php echo $_code ?>_start_year" name="payment[cc_ss_start_year]" class="validate-cc-ukss year">
112
+ <?php foreach ($this->getSsStartYears() as $k=>$v): ?>
113
+ <option value="<?php echo $k?$k:'' ?>"<?php if($k==$this->getInfoData('cc_ss_start_year')): ?> selected="selected"<?php endif ?>><?php echo $v ?></option>
114
+ <?php endforeach ?>
115
+ </select>
116
+ </div>
117
+ </div>
118
+ </li>
119
+ <li class="adv-container">&nbsp;</li>
120
+ </ul>
121
+ <script type="text/javascript">
122
+ //<![CDATA[
123
+ var SSChecked<?php echo $_code ?> = function() {
124
+ var elm = $('<?php echo $_code ?>_cc_type');
125
+ if (['SS','SM','SO'].indexOf(elm.value) != -1) {
126
+ $('<?php echo $_code ?>_cc_type_ss_div').show();
127
+ } else {
128
+ $('<?php echo $_code ?>_cc_type_ss_div').hide();
129
+ }
130
+ };
131
+
132
+ Event.observe($('<?php echo $_code ?>_cc_type'), 'change', SSChecked<?php echo $_code ?>);
133
+ SSChecked<?php echo $_code ?>();
134
+ //]]>
135
+ </script>
136
+ </li>
137
+ <?php endif; ?>
138
+ </ul>
app/design/frontend/modulesgarden/crystal/template/payment/form/ccsave.phtml ADDED
@@ -0,0 +1,135 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 base_default
23
+ * @copyright Copyright (c) 2014 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 $_code=$this->getMethodCode() ?>
28
+ <ul class="form-list" id="payment_form_<?php echo $_code ?>" style="display:none;">
29
+ <li>
30
+ <label for="<?php echo $_code ?>_cc_owner" class="required"><em>*</em><?php echo $this->__('Name on Card') ?></label>
31
+ <div class="input-box">
32
+ <input type="text" title="<?php echo $this->__('Name on Card') ?>" class="input-text required-entry" id="<?php echo $_code ?>_cc_owner" name="payment[cc_owner]" value="<?php echo $this->escapeHtml($this->getInfoData('cc_owner')) ?>" />
33
+ </div>
34
+ </li>
35
+ <li>
36
+ <label for="<?php echo $_code ?>_cc_type" class="required"><em>*</em><?php echo $this->__('Credit Card Type') ?></label>
37
+ <div class="input-box">
38
+ <select id="<?php echo $_code ?>_cc_type" name="payment[cc_type]" title="<?php echo $this->__('Credit Card Type') ?>" class="required-entry validate-cc-type-select">
39
+ <option value=""><?php echo $this->__('--Please Select--') ?></option>
40
+ <?php $_ccType = $this->getInfoData('cc_type') ?>
41
+ <?php foreach ($this->getCcAvailableTypes() as $_typeCode => $_typeName): ?>
42
+ <option value="<?php echo $_typeCode ?>"<?php if($_typeCode==$_ccType): ?> selected="selected"<?php endif ?>><?php echo $_typeName ?></option>
43
+ <?php endforeach ?>
44
+ </select>
45
+ </div>
46
+ </li>
47
+ <li>
48
+ <label for="<?php echo $_code ?>_cc_number" class="required"><em>*</em><?php echo $this->__('Credit Card Number') ?></label>
49
+ <div class="input-box">
50
+ <input type="text" id="<?php echo $_code ?>_cc_number" name="payment[cc_number]" title="<?php echo $this->__('Credit Card Number') ?>" class="input-text validate-cc-number validate-cc-type" value="" />
51
+ </div>
52
+ </li>
53
+ <li>
54
+ <label for="<?php echo $_code ?>_expiration" class="required"><em>*</em><?php echo $this->__('Expiration Date') ?></label>
55
+ <div class="input-box">
56
+ <div class="v-fix">
57
+ <select id="<?php echo $_code ?>_expiration" name="payment[cc_exp_month]" class="month validate-cc-exp required-entry">
58
+ <?php $_ccExpMonth = $this->getInfoData('cc_exp_month') ?>
59
+ <?php foreach ($this->getCcMonths() as $k=>$v): ?>
60
+ <option value="<?php echo $k?$k:'' ?>"<?php if($k==$_ccExpMonth): ?> selected="selected"<?php endif ?>><?php echo $v ?></option>
61
+ <?php endforeach ?>
62
+ </select>
63
+ </div>
64
+ <div class="v-fix">
65
+ <?php $_ccExpYear = $this->getInfoData('cc_exp_year') ?>
66
+ <select id="<?php echo $_code ?>_expiration_yr" name="payment[cc_exp_year]" class="year required-entry">
67
+ <?php foreach ($this->getCcYears() as $k=>$v): ?>
68
+ <option value="<?php echo $k?$k:'' ?>"<?php if($k==$_ccExpYear): ?> selected="selected"<?php endif ?>><?php echo $v ?></option>
69
+ <?php endforeach ?>
70
+ </select>
71
+ </div>
72
+ </div>
73
+ </li>
74
+ <?php echo $this->getChildHtml() ?>
75
+ <?php if($this->hasVerification()): ?>
76
+ <li>
77
+ <label for="<?php echo $_code ?>_cc_cid" class="required"><em>*</em><?php echo $this->__('Card Verification Number') ?></label>
78
+ <div class="input-box">
79
+ <div class="v-fix">
80
+ <input type="text" title="<?php echo $this->__('Card Verification Number') ?>" class="input-text cvv required-entry validate-cc-cvn" id="<?php echo $_code ?>_cc_cid" name="payment[cc_cid]" value="" />
81
+ </div>
82
+ <a href="#" class="cvv-what-is-this"><?php echo $this->__('What is this?') ?></a>
83
+ </div>
84
+ </li>
85
+ <?php endif; ?>
86
+ <?php if ($this->hasSsCardType()): ?>
87
+ <li id="<?php echo $_code ?>_cc_type_ss_div">
88
+ <ul class="inner-form">
89
+ <li class="form-alt"><label for="<?php echo $_code ?>_cc_issue" class="required"><em>*</em><?php echo $this->__('Switch/Solo/Maestro Only') ?></label></li>
90
+ <li>
91
+ <label for="<?php echo $_code ?>_cc_issue"><?php echo $this->__('Issue Number') ?>:</label>
92
+ <span class="input-box">
93
+ <input type="text" title="<?php echo $this->__('Issue Number') ?>" class="input-text validate-cc-ukss cvv" id="<?php echo $_code ?>_cc_issue" name="payment[cc_ss_issue]" value="" />
94
+ </span>
95
+ </li>
96
+
97
+ <li>
98
+ <label for="<?php echo $_code ?>_start_month"><?php echo $this->__('Start Date') ?>:</label>
99
+ <div class="input-box">
100
+ <div class="v-fix">
101
+ <select id="<?php echo $_code ?>_start_month" name="payment[cc_ss_start_month]" class="validate-cc-ukss month">
102
+ <?php foreach ($this->getCcMonths() as $k=>$v): ?>
103
+ <option value="<?php echo $k?$k:'' ?>"<?php if($k==$this->getInfoData('cc_ss_start_month')): ?> selected="selected"<?php endif ?>><?php echo $v ?></option>
104
+ <?php endforeach ?>
105
+ </select>
106
+ </div>
107
+ <div class="v-fix">
108
+ <select id="<?php echo $_code ?>_start_year" name="payment[cc_ss_start_year]" class="validate-cc-ukss year">
109
+ <?php foreach ($this->getSsStartYears() as $k=>$v): ?>
110
+ <option value="<?php echo $k?$k:'' ?>"<?php if($k==$this->getInfoData('cc_ss_start_year')): ?> selected="selected"<?php endif ?>><?php echo $v ?></option>
111
+ <?php endforeach ?>
112
+ </select>
113
+ </div>
114
+ </div>
115
+ </li>
116
+ <li class="adv-container">&nbsp;</li>
117
+ </ul>
118
+ <script type="text/javascript">
119
+ //<![CDATA[
120
+ var SSChecked<?php echo $_code ?> = function() {
121
+ var elm = $('<?php echo $_code ?>_cc_type');
122
+ if (['SS','SM','SO'].indexOf(elm.value) != -1) {
123
+ $('<?php echo $_code ?>_cc_type_ss_div').show();
124
+ } else {
125
+ $('<?php echo $_code ?>_cc_type_ss_div').hide();
126
+ }
127
+ };
128
+
129
+ Event.observe($('<?php echo $_code ?>_cc_type'), 'change', SSChecked<?php echo $_code ?>);
130
+ SSChecked<?php echo $_code ?>();
131
+ //]]>
132
+ </script>
133
+ </li>
134
+ <?php endif; ?>
135
+ </ul>
app/design/frontend/modulesgarden/crystal/template/payment/form/checkmo.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 base_default
23
+ * @copyright Copyright (c) 2014 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->getMethod()->getMailingAddress() || $this->getMethod()->getPayableTo()): ?>
28
+ <ul class="form-list checkmo-list" id="payment_form_<?php echo $this->getMethodCode() ?>" style="display:none;">
29
+ <?php if ($this->getMethod()->getPayableTo()): ?>
30
+ <li>
31
+ <label><?php echo $this->__('Make Check payable to:') ?></label>
32
+ <?php echo $this->escapeHtml($this->getMethod()->getPayableTo()) ?>
33
+ </li>
34
+ <?php endif; ?>
35
+ <?php if ($this->getMethod()->getMailingAddress()): ?>
36
+ <li>
37
+ <label><?php echo Mage::helper('payment')->__('Send Check to:') ?></label>
38
+ <address class="checkmo-mailing-address">
39
+ <?php echo nl2br($this->escapeHtml($this->getMethod()->getMailingAddress())) ?>
40
+ </address>
41
+ </li>
42
+ <?php endif; ?>
43
+ </ul>
44
+ <?php endif; ?>
app/design/frontend/modulesgarden/crystal/template/payment/form/purchaseorder.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 base_default
23
+ * @copyright Copyright (c) 2014 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
+ <ul class="form-list" id="payment_form_<?php echo $this->getMethodCode() ?>" style="display:none;">
28
+ <li>
29
+ <label for="po_number" class="required"><em>*</em><?php echo $this->__('Purchase Order Number') ?></label>
30
+ <div class="input-box">
31
+ <input type="text" id="po_number" name="payment[po_number]" title="<?php echo $this->__('Purchase Order Number') ?>" class="input-text required-entry" value="<?php echo $this->escapeHtml($this->getInfoData('po_number')) ?>" />
32
+ </div>
33
+ </li>
34
+ </ul>
app/design/frontend/modulesgarden/crystal/template/payment/info/banktransfer.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 base_default
23
+ * @copyright Copyright (c) 2014 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_Payment_Block_Info
30
+ */
31
+ ?>
32
+ <p><?php echo $this->escapeHtml($this->getMethod()->getTitle()) ?></p>
33
+ <?php if ($this->getInstructions()): ?>
34
+ <table>
35
+ <tbody>
36
+ <tr>
37
+ <td><?php echo nl2br($this->getInstructions()) ?></td>
38
+ </tr>
39
+ </tbody>
40
+ </table>
41
+ <?php endif; ?>
app/design/frontend/modulesgarden/crystal/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 base_default
23
+ * @copyright Copyright (c) 2014 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->escapeHtml($this->getMethod()->getTitle()) ?></p>
28
+ <?php if($this->getInfo()->getAdditionalData()): ?>
29
+ <?php if($this->getPayableTo()): ?>
30
+ <p><strong><?php echo $this->__('Make Check payable to:') ?></strong> <?php echo $this->escapeHtml($this->getPayableTo()) ?></p>
31
+ <?php endif; ?>
32
+ <?php if($this->getMailingAddress()): ?>
33
+ <p><strong><?php echo Mage::helper('payment')->__('Send Check to:') ?></strong></p>
34
+ <address class="checkmo-mailing-address">
35
+ <?php echo nl2br($this->escapeHtml($this->getMailingAddress())) ?>
36
+ </address>
37
+ <?php endif; ?>
38
+ <?php endif; ?>
app/design/frontend/modulesgarden/crystal/template/payment/info/default.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 base_default
23
+ * @copyright Copyright (c) 2014 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_Payment_Block_Info
30
+ */
31
+ ?>
32
+ <p><strong><?php echo $this->escapeHtml($this->getMethod()->getTitle()) ?></strong></p>
33
+
34
+ <?php if ($_specificInfo = $this->getSpecificInformation()):?>
35
+ <table>
36
+ <tbody>
37
+ <?php foreach ($_specificInfo as $_label => $_value):?>
38
+ <tr>
39
+ <th><strong><?php echo $this->escapeHtml($_label)?>:</strong></th>
40
+ </tr>
41
+ <tr>
42
+ <td><?php echo nl2br(implode($this->getValueAsArray($_value, true), "\n"))?></td>
43
+ </tr>
44
+ <?php endforeach; ?>
45
+ </tbody>
46
+ </table>
47
+ <?php endif;?>
48
+
49
+ <?php echo $this->getChildHtml()?>
app/design/frontend/modulesgarden/crystal/template/payment/info/purchaseorder.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 base_default
23
+ * @copyright Copyright (c) 2014 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->escapeHtml($this->getMethod()->getTitle()) ?></p>
28
+ <p><strong><?php echo $this->__('Purchase Order Number:') ?></strong> <span class="nobr"><?php echo $this->escapeHtml($this->getInfo()->getPoNumber()) ?></span></p>
app/design/frontend/modulesgarden/crystal/template/persistent/checkout/onepage/billing.phtml ADDED
@@ -0,0 +1,226 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 base_default
23
+ * @copyright Copyright (c) 2014 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 Mage_Checkout_Block_Onepage_Billing $this */
27
+ ?>
28
+ <form id="co-billing-form" action="">
29
+ <fieldset>
30
+ <ul class="form-list">
31
+ <?php if ($this->customerHasAddresses()): ?>
32
+ <li class="wide">
33
+ <label for="billing-address-select"><?php echo $this->__('Select a billing address from your address book or enter a new address.') ?></label>
34
+ <div class="input-box">
35
+ <?php echo $this->getAddressesHtmlSelect('billing') ?>
36
+ </div>
37
+ </li>
38
+ <?php endif; ?>
39
+ <li id="billing-new-address-form"<?php if ($this->customerHasAddresses()): ?> style="display:none;"<?php endif; ?>>
40
+ <fieldset>
41
+ <input type="hidden" name="billing[address_id]" value="<?php echo $this->getAddress()->getId() ?>" id="billing:address_id" />
42
+ <ul>
43
+ <li class="fields"><?php echo $this->getLayout()->createBlock('customer/widget_name')->setObject($this->getAddress()->getFirstname() ? $this->getAddress() : $this->getQuote()->getCustomer())->setForceUseCustomerRequiredAttributes(!$this->isCustomerLoggedIn())->setFieldIdFormat('billing:%s')->setFieldNameFormat('billing[%s]')->toHtml() ?></li>
44
+ <li class="fields">
45
+ <div class="field">
46
+ <label for="billing:company"><?php echo $this->__('Company') ?></label>
47
+ <div class="input-box">
48
+ <input type="text" id="billing:company" name="billing[company]" value="<?php echo $this->escapeHtml($this->getAddress()->getCompany()) ?>" title="<?php echo $this->__('Company') ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('company') ?>" />
49
+ </div>
50
+ </div>
51
+ <?php if(!$this->isCustomerLoggedIn()): ?>
52
+ <div class="field">
53
+ <label for="billing:email" class="required"><em>*</em><?php echo $this->__('Email Address') ?></label>
54
+ <div class="input-box">
55
+ <input type="text" name="billing[email]" id="billing:email" value="<?php echo $this->escapeHtml($this->getAddress()->getEmail()) ?>" title="<?php echo $this->__('Email Address') ?>" class="input-text validate-email required-entry" />
56
+ </div>
57
+ </div>
58
+ <?php endif; ?>
59
+ </li>
60
+ <?php $_streetValidationClass = $this->helper('customer/address')->getAttributeValidationClass('street'); ?>
61
+ <li class="wide">
62
+ <label for="billing:street1" class="required"><em>*</em><?php echo $this->__('Address') ?></label>
63
+ <div class="input-box">
64
+ <input type="text" title="<?php echo $this->__('Street Address') ?>" name="billing[street][]" id="billing:street1" value="<?php echo $this->escapeHtml($this->getAddress()->getStreet(1)) ?>" class="input-text <?php echo $_streetValidationClass ?>" />
65
+ </div>
66
+ </li>
67
+ <?php $_streetValidationClass = trim(str_replace('required-entry', '', $_streetValidationClass)); ?>
68
+ <?php for ($_i = 2, $_n = $this->helper('customer/address')->getStreetLines(); $_i <= $_n; $_i++): ?>
69
+ <li class="wide">
70
+ <div class="input-box">
71
+ <input type="text" title="<?php echo $this->__('Street Address %s', $_i) ?>" name="billing[street][]" id="billing:street<?php echo $_i ?>" value="<?php echo $this->escapeHtml($this->getAddress()->getStreet($_i)) ?>" class="input-text <?php echo $_streetValidationClass ?>" />
72
+ </div>
73
+ </li>
74
+ <?php endfor; ?>
75
+ <?php if ($this->helper('customer/address')->isVatAttributeVisible()) : ?>
76
+ <li class="wide">
77
+ <label for="billing:vat_id"><?php echo $this->__('VAT Number') ?></label>
78
+ <div class="input-box">
79
+ <input type="text" id="billing:vat_id" name="billing[vat_id]" value="<?php echo $this->escapeHtml($this->getAddress()->getVatId()) ?>" title="<?php echo $this->__('VAT Number') ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('vat_id') ?>" />
80
+ </div>
81
+ </li>
82
+ <?php endif; ?>
83
+ <li class="fields">
84
+ <div class="field">
85
+ <label for="billing:city" class="required"><em>*</em><?php echo $this->__('City') ?></label>
86
+ <div class="input-box">
87
+ <input type="text" title="<?php echo $this->__('City') ?>" name="billing[city]" value="<?php echo $this->escapeHtml($this->getAddress()->getCity()) ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('city') ?>" id="billing:city" />
88
+ </div>
89
+ </div>
90
+ <div class="field">
91
+ <label for="billing:region_id" class="required"><em>*</em><?php echo $this->__('State/Province') ?></label>
92
+ <div class="input-box">
93
+ <select id="billing:region_id" name="billing[region_id]" title="<?php echo $this->__('State/Province') ?>" class="validate-select" style="display:none;">
94
+ <option value=""><?php echo $this->__('Please select region, state or province') ?></option>
95
+ </select>
96
+ <script type="text/javascript">
97
+ //<![CDATA[
98
+ $('billing:region_id').setAttribute('defaultValue', "<?php echo $this->getAddress()->getRegionId() ?>");
99
+ //]]>
100
+ </script>
101
+ <input type="text" id="billing:region" name="billing[region]" value="<?php echo $this->escapeHtml($this->getAddress()->getRegion()) ?>" title="<?php echo $this->__('State/Province') ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('region') ?>" style="display:none;" />
102
+ </div>
103
+ </div>
104
+ </li>
105
+ <li class="fields">
106
+ <div class="field">
107
+ <label for="billing:postcode" class="required"><em>*</em><?php echo $this->__('Zip/Postal Code') ?></label>
108
+ <div class="input-box">
109
+ <input type="text" title="<?php echo $this->__('Zip/Postal Code') ?>" name="billing[postcode]" id="billing:postcode" value="<?php echo $this->escapeHtml($this->getAddress()->getPostcode()) ?>" class="input-text validate-zip-international <?php echo $this->helper('customer/address')->getAttributeValidationClass('postcode') ?>" />
110
+ </div>
111
+ </div>
112
+ <div class="field">
113
+ <label for="billing:country_id" class="required"><em>*</em><?php echo $this->__('Country') ?></label>
114
+ <div class="input-box">
115
+ <?php echo $this->getCountryHtmlSelect('billing') ?>
116
+ </div>
117
+ </div>
118
+ </li>
119
+ <li class="fields">
120
+ <div class="field">
121
+ <label for="billing:telephone" class="required"><em>*</em><?php echo $this->__('Telephone') ?></label>
122
+ <div class="input-box">
123
+ <input type="text" name="billing[telephone]" value="<?php echo $this->escapeHtml($this->getAddress()->getTelephone()) ?>" title="<?php echo $this->__('Telephone') ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('telephone') ?>" id="billing:telephone" />
124
+ </div>
125
+ </div>
126
+ <div class="field">
127
+ <label for="billing:fax"><?php echo $this->__('Fax') ?></label>
128
+ <div class="input-box">
129
+ <input type="text" name="billing[fax]" value="<?php echo $this->escapeHtml($this->getAddress()->getFax()) ?>" title="<?php echo $this->__('Fax') ?>" class="input-text <?php echo $this->helper('customer/address')->getAttributeValidationClass('fax') ?>" id="billing:fax" />
130
+ </div>
131
+ </div>
132
+ </li>
133
+ <?php if(!$this->isCustomerLoggedIn()): ?>
134
+
135
+ <?php $_dob = $this->getLayout()->createBlock('customer/widget_dob') ?>
136
+ <?php $_gender = $this->getLayout()->createBlock('customer/widget_gender') ?>
137
+ <?php if ($_dob->isEnabled() || $_gender->isEnabled()): ?>
138
+ <li class="fields">
139
+ <?php if ($_dob->isEnabled()): ?>
140
+ <div class="field">
141
+ <?php echo $_dob->setDate($this->getQuote()->getCustomerDob())->setFieldIdFormat('billing:%s')->setFieldNameFormat('billing[%s]')->toHtml() ?>
142
+ </div>
143
+ <?php endif; ?>
144
+ <?php if ($_gender->isEnabled()): ?>
145
+ <div class="field">
146
+ <?php echo $_gender->setGender($this->getQuote()->getCustomerGender())->setFieldIdFormat('billing:%s')->setFieldNameFormat('billing[%s]')->toHtml() ?>
147
+ </div>
148
+ <?php endif ?>
149
+ </li>
150
+ <?php endif ?>
151
+
152
+ <?php if ($this->isTaxvatEnabled()):?>
153
+ <li><?php echo $this->getTaxvatHtml() ?></li>
154
+ <?php endif; ?>
155
+
156
+ <li class="fields" id="register-customer-password">
157
+ <div class="field">
158
+ <label for="billing:customer_password" class="required"><em>*</em><?php echo $this->__('Password') ?></label>
159
+ <div class="input-box">
160
+ <input type="password" name="billing[customer_password]" id="billing:customer_password" title="<?php echo $this->__('Password') ?>" class="input-text required-entry validate-password" />
161
+ </div>
162
+ </div>
163
+ <div class="field">
164
+ <label for="billing:confirm_password" class="required"><em>*</em><?php echo $this->__('Confirm Password') ?></label>
165
+ <div class="input-box">
166
+ <input type="password" name="billing[confirm_password]" title="<?php echo $this->__('Confirm Password') ?>" id="billing:confirm_password" class="input-text required-entry validate-cpassword" />
167
+ </div>
168
+ </div>
169
+ </li>
170
+ <?php echo $this->getChildHtml('persistent.remember.me'); ?>
171
+ <?php endif; ?>
172
+ <?php if ($this->isCustomerLoggedIn() && $this->customerHasAddresses()):?>
173
+ <li class="control">
174
+ <input type="checkbox" name="billing[save_in_address_book]" value="1" title="<?php echo $this->__('Save in address book') ?>" id="billing:save_in_address_book" onchange="if(window.shipping) shipping.setSameAsBilling(false);"<?php if ($this->getAddress()->getSaveInAddressBook()):?> checked="checked"<?php endif;?> class="checkbox" /><label for="billing:save_in_address_book"><?php echo $this->__('Save in address book') ?></label>
175
+ </li>
176
+ <?php else:?>
177
+ <li class="no-display"><input type="hidden" name="billing[save_in_address_book]" value="1" /></li>
178
+ <?php endif; ?>
179
+ <?php echo $this->getChildHtml('form.additional.info'); ?>
180
+ </ul>
181
+ <?php echo $this->getChildHtml('persistent.remember.me.tooltip'); ?>
182
+ </fieldset>
183
+ </li>
184
+ <?php if ($this->canShip()): ?>
185
+ <li class="control">
186
+ <input type="radio" name="billing[use_for_shipping]" id="billing:use_for_shipping_yes" value="1"<?php if ($this->isUseBillingAddressForShipping()) {?> checked="checked"<?php }?> title="<?php echo $this->__('Ship to this address') ?>" onclick="$('shipping:same_as_billing').checked = true;" class="radio" /><label for="billing:use_for_shipping_yes"><?php echo $this->__('Ship to this address') ?></label></li>
187
+ <li class="control">
188
+ <input type="radio" name="billing[use_for_shipping]" id="billing:use_for_shipping_no" value="0"<?php if (!$this->isUseBillingAddressForShipping()) {?> checked="checked"<?php }?> title="<?php echo $this->__('Ship to different address') ?>" onclick="$('shipping:same_as_billing').checked = false;" class="radio" /><label for="billing:use_for_shipping_no"><?php echo $this->__('Ship to different address') ?></label>
189
+ </li>
190
+ <?php endif; ?>
191
+ </ul>
192
+ <?php if (!$this->canShip()): ?>
193
+ <input type="hidden" name="billing[use_for_shipping]" value="1" />
194
+ <?php endif; ?>
195
+ <div class="buttons-set" id="billing-buttons-container">
196
+ <p class="required"><?php echo $this->__('* Required Fields') ?></p>
197
+ <button type="button" title="<?php echo $this->__('Continue') ?>" class="button_green" onclick="billing.save()"><span><span><?php echo $this->__('Continue') ?></span></span></button>
198
+ <span class="please-wait" id="billing-please-wait" style="display:none;">
199
+ <img src="<?php echo $this->getSkinUrl('images/opc-ajax-loader.gif') ?>" alt="<?php echo $this->__('Loading next step...') ?>" title="<?php echo $this->__('Loading next step...') ?>" class="v-middle" /> <?php echo $this->__('Loading next step...') ?>
200
+ </span>
201
+ </div>
202
+ </fieldset>
203
+ </form>
204
+ <script type="text/javascript">
205
+ //<![CDATA[
206
+ var billing = new Billing('co-billing-form', '<?php echo $this->getUrl('checkout/onepage/getAddress') ?>address/', '<?php echo $this->getUrl('checkout/onepage/saveBilling') ?>');
207
+ var billingForm = new VarienForm('co-billing-form');
208
+
209
+ //billingForm.setElementsRelation('billing:country_id', 'billing:region', '<?php echo $this->getUrl('directory/json/childRegion') ?>', '<?php echo $this->__('Select State/Province...') ?>');
210
+ $('billing-address-select') && billing.newAddress(!$('billing-address-select').value);
211
+
212
+ var billingRegionUpdater = new RegionUpdater('billing:country_id', 'billing:region', 'billing:region_id', <?php echo $this->helper('directory')->getRegionJson() ?>, undefined, 'billing:postcode');
213
+ if ($('onepage-guest-register-button')) {
214
+ Event.observe($('onepage-guest-register-button'), 'click', function(event) {
215
+ var billingRememberMe = $('co-billing-form').select('#remember-me-box');
216
+ if (billingRememberMe.length > 0) {
217
+ if ($('login:guest') && $('login:guest').checked) {
218
+ billingRememberMe[0].hide();
219
+ } else if ($('login:register') && ($('login:register').checked || $('login:register').type == 'hidden')) {
220
+ billingRememberMe[0].show();
221
+ }
222
+ }
223
+ });
224
+ }
225
+ //]]>
226
+ </script>
app/design/frontend/modulesgarden/crystal/template/persistent/checkout/onepage/login.phtml ADDED
@@ -0,0 +1,149 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 base_default
23
+ * @copyright Copyright (c) 2014 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 onepage checkout login form template
30
+ *
31
+ * @see app/design/frontend/base/default/template/checkout/onepage/login.phtml
32
+ */
33
+ /** @var $this Mage_Checkout_Block_Onepage_Login */
34
+ ?>
35
+ <div class="col2-set">
36
+ <?php echo $this->getChildHtml('login_before')?>
37
+ <div class="col-1">
38
+ <h3><?php if( $this->getQuote()->isAllowedGuestCheckout() ): ?><?php echo $this->__('Checkout as a Guest or Register') ?><?php else: ?><?php echo $this->__('Register to Create an Account') ?><?php endif; ?></h3>
39
+ <?php if( $this->getQuote()->isAllowedGuestCheckout() ): ?>
40
+ <p><?php echo $this->__('Register with us for future convenience:') ?></p>
41
+ <?php else: ?>
42
+ <p><strong><?php echo $this->__('Register and save time!') ?></strong><br />
43
+ <?php echo $this->__('Register with us for future convenience:') ?></p>
44
+ <ul>
45
+ <li><?php echo $this->__('Fast and easy check out') ?></li>
46
+ <li><?php echo $this->__('Easy access to your order history and status') ?></li>
47
+ </ul>
48
+ <?php endif; ?>
49
+ <?php if( $this->getQuote()->isAllowedGuestCheckout() ): ?>
50
+ <ul class="form-list">
51
+ <?php if( $this->getQuote()->isAllowedGuestCheckout() ): ?>
52
+ <li class="control">
53
+ <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; ?> class="radio" /><label for="login:guest"><?php echo $this->__('Checkout as Guest') ?></label>
54
+ </li>
55
+ <?php endif; ?>
56
+ <li class="control">
57
+ <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 ?> class="radio" /><label for="login:register"><?php echo $this->__('Register') ?></label>
58
+ </li>
59
+ </ul>
60
+ <h4><?php echo $this->__('Register and save time!') ?></h4>
61
+ <p><?php echo $this->__('Register with us for future convenience:') ?></p>
62
+ <ul class="ul">
63
+ <li><?php echo $this->__('Fast and easy check out') ?></li>
64
+ <li><?php echo $this->__('Easy access to your order history and status') ?></li>
65
+ </ul>
66
+ <?php else: ?>
67
+ <input type="hidden" name="checkout_method" id="login:register" value="register" checked="checked" />
68
+ <?php endif; ?>
69
+ <div class="buttons-set">
70
+ <p class="required">&nbsp;</p>
71
+ <?php if ($this->getQuote()->isAllowedGuestCheckout()): ?>
72
+ <button id="onepage-guest-register-button" type="button" class="button_green" onclick="checkout.setMethod();"><span><span><?php echo $this->__('Continue') ?></span></span></button>
73
+ <?php elseif ($this->helper('checkout')->isCustomerMustBeLogged()): ?>
74
+ <button id="onepage-guest-register-button" type="button" class="button_green" onclick="window.location='<?php echo $this->helper('checkout/url')->getRegistrationUrl();?>'"><span><span><?php echo $this->__('Register') ?></span></span></button>
75
+ <?php else: ?>
76
+ <form action="<?php echo $this->getUrl('persistent/index/saveMethod'); ?>">
77
+ <button id="onepage-guest-register-button" type="submit" class="button_green"><span><span><?php echo $this->__('Register') ?></span></span></button>
78
+ </form>
79
+ <?php endif; ?>
80
+ </div>
81
+ </div>
82
+ <div class="col-2">
83
+ <h3><?php echo $this->__('Login') ?></h3>
84
+ <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
85
+ <form id="login-form" action="<?php echo $this->getPostAction() ?>" method="post">
86
+ <fieldset>
87
+ <?php echo $this->getBlockHtml('formkey'); ?>
88
+ <h4><?php echo $this->__('Already registered?') ?></h4>
89
+ <p><?php echo $this->__('Please log in below:') ?></p>
90
+ <ul class="form-list">
91
+ <li>
92
+ <label for="login-email" class="required"><em>*</em><?php echo $this->__('Email Address') ?></label>
93
+ <div class="input-box">
94
+ <input type="text" class="input-text required-entry validate-email" id="login-email" name="login[username]" value="<?php echo $this->escapeHtml($this->getUsername()) ?>" />
95
+ </div>
96
+ </li>
97
+ <li>
98
+ <label for="login-password" class="required"><em>*</em><?php echo $this->__('Password') ?></label>
99
+ <div class="input-box">
100
+ <input type="password" class="input-text required-entry" id="login-password" name="login[password]" />
101
+ </div>
102
+ </li>
103
+ <?php echo $this->getChildHtml('form.additional.info'); ?>
104
+ <?php echo $this->getChildHtml('persistent.remember.me'); ?>
105
+ </ul>
106
+ <input name="context" type="hidden" value="checkout" />
107
+ </fieldset>
108
+ </form>
109
+ <div class="buttons-set">
110
+ <p class="required"><?php echo $this->__('* Required Fields') ?></p>
111
+ <a href="<?php echo $this->getUrl('customer/account/forgotpassword') ?>" class="f-left"><?php echo $this->__('Forgot your password?') ?></a>
112
+ <button type="submit" class="button_green" onclick="onepageLogin(this)"><span><span><?php echo $this->__('Login') ?></span></span></button>
113
+ </div>
114
+ </div>
115
+ </div>
116
+ <script type="text/javascript">
117
+ //<![CDATA[
118
+ var loginForm = new VarienForm('login-form', true);
119
+ $('login-email').observe('keypress', bindLoginPost);
120
+ $('login-password').observe('keypress', bindLoginPost);
121
+ function bindLoginPost(evt){
122
+ if (evt.keyCode == Event.KEY_RETURN) {
123
+ loginForm.submit();
124
+ }
125
+ }
126
+ function onepageLogin(button)
127
+ {
128
+ if(loginForm.validator && loginForm.validator.validate()){
129
+ button.disabled = true;
130
+ loginForm.submit();
131
+ }
132
+ }
133
+ //]]>
134
+ </script>
135
+ <?php
136
+ $registerParam = $this->getRequest()->getParam('register');
137
+ if ($registerParam || $registerParam === ''):
138
+ ?>
139
+ <script type="text/javascript">
140
+ //<![CDATA[
141
+ document.observe("dom:loaded", function() {
142
+ if($('login:register')) {
143
+ $('login:register').checked = true;
144
+ checkout.setMethod();
145
+ }
146
+ })
147
+ //]]>
148
+ </script>
149
+ <?php endif; ?>
app/design/frontend/modulesgarden/crystal/template/persistent/customer/form/login.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 base_default
23
+ * @copyright Copyright (c) 2014 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 app/design/frontend/base/default/template/customer/form/login.phtml
32
+ */
33
+ /** @var $this Mage_Customer_Block_Form_Login */
34
+ ?>
35
+ <div class="account-login">
36
+ <div class="page-title">
37
+ <h1><?php echo $this->__('Login or Create an Account') ?></h1>
38
+ </div>
39
+ <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
40
+ <form action="<?php echo $this->getPostActionUrl() ?>" method="post" id="login-form">
41
+ <?php echo $this->getBlockHtml('formkey'); ?>
42
+ <div class="col2-set">
43
+ <div class="col-1 new-users">
44
+ <div class="content">
45
+ <h2><?php echo $this->__('New Customers') ?></h2>
46
+ <div class="wrapp">
47
+ <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>
48
+ </div>
49
+ <div class="buttons-set">
50
+ <button type="button" title="<?php echo $this->__('Create an Account') ?>" class="button_green" onclick="window.location='<?php echo Mage::helper('persistent')->getCreateAccountUrl($this->getCreateAccountUrl()) ?>';"><span><span><?php echo $this->__('Create an Account') ?></span></span></button>
51
+ </div>
52
+ </div>
53
+ </div>
54
+ <div class="col-2 registered-users">
55
+ <div class="content">
56
+ <h2><?php echo $this->__('Registered Customers') ?></h2>
57
+ <div class="wrapp">
58
+ <p><?php echo $this->__('If you have an account with us, please log in.') ?></p>
59
+ <ul class="form-list">
60
+ <li>
61
+ <label for="email" class="required"><em>*</em><?php echo $this->__('Email Address') ?></label>
62
+ <div class="input-box">
63
+ <input type="text" name="login[username]" value="<?php echo $this->escapeHtml($this->getUsername()) ?>" id="email" class="input-text required-entry validate-email" title="<?php echo $this->__('Email Address') ?>" />
64
+ </div>
65
+ </li>
66
+ <li>
67
+ <label for="pass" class="required"><em>*</em><?php echo $this->__('Password') ?></label>
68
+ <div class="input-box">
69
+ <input type="password" name="login[password]" class="input-text required-entry validate-password" id="pass" title="<?php echo $this->__('Password') ?>" />
70
+ </div>
71
+ </li>
72
+ <?php echo $this->getChildHtml('form.additional.info'); ?>
73
+ <?php echo $this->getChildHtml('persistent.remember.me'); ?>
74
+ </ul>
75
+ <?php echo $this->getChildHtml('persistent.remember.me.tooltip'); ?>
76
+ <p class="required"><?php echo $this->__('* Required Fields') ?></p>
77
+ </div>
78
+ <div class="buttons-set">
79
+ <a href="<?php echo $this->getForgotPasswordUrl() ?>" class="f-left"><?php echo $this->__('Forgot Your Password?') ?></a>
80
+ <button type="submit" class="button_green" title="<?php echo $this->__('Login') ?>" name="send" id="send2"><span><span><?php echo $this->__('Login') ?></span></span></button>
81
+ </div>
82
+ </div>
83
+ </div>
84
+ </div>
85
+ <?php if (Mage::helper('checkout')->isContextCheckout()): ?>
86
+ <input name="context" type="hidden" value="checkout" />
87
+ <?php endif; ?>
88
+ </form>
89
+ <script type="text/javascript">
90
+ //<![CDATA[
91
+ var dataForm = new VarienForm('login-form', true);
92
+ //]]>
93
+ </script>
94
+ </div>
app/design/frontend/modulesgarden/crystal/template/rating/detailed.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 base_default
23
+ * @copyright Copyright (c) 2013 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-table">
29
+ <col width="1" />
30
+ <col />
31
+ <tbody>
32
+ <?php foreach ($collection as $_rating): ?>
33
+ <?php if($_rating->getSummary()): ?>
34
+ <tr>
35
+ <th><?php echo $this->__($this->escapeHtml($_rating->getRatingCode())) ?></th>
36
+ <td>
37
+ <div class="rating-box">
38
+ <div class="rating" style="width:<?php echo ceil($_rating->getSummary()) ?>%;"></div>
39
+ </div>
40
+ </td>
41
+ </tr>
42
+ <?php endif; ?>
43
+ <?php endforeach; ?>
44
+ </tbody>
45
+ </table>
46
+ <?php endif; ?>
app/design/frontend/modulesgarden/crystal/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 base_default
23
+ * @copyright Copyright (c) 2013 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 class="no-rating"><a href="#review-form"><?php echo $this->__('Be the first to review this product') ?></a></p>
app/design/frontend/modulesgarden/crystal/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 base_default
23
+ * @copyright Copyright (c) 2013 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="page-title">
29
+ <h1><?php echo $this->__('My Product Reviews') ?></h1>
30
+ </div>
31
+ <?php if( $this->getCollection() && $this->count()): ?>
32
+ <?php echo $this->getToolbarHtml() ?>
33
+ <table class="data-table" id="my-reviews-table">
34
+ <col width="1" />
35
+ <col width="210" />
36
+ <col width="1" />
37
+ <col />
38
+ <col width="1" />
39
+ <tbody>
40
+ <?php foreach ($this->getCollection() as $_review): ?>
41
+ <tr>
42
+ <td><span class="nobr"><?php echo $this->dateFormat($_review->getReviewCreatedAt()); ?></span></td>
43
+ <td><h2 class="product-name"><a href="<?php echo $this->getProductLink() ?>id/<?php echo $_review->getEntityPkValue() ?>"><?php echo $this->escapeHtml($_review->getName()) ?></a></h2></td>
44
+ <td>
45
+ <?php if($_review->getSum()): ?>
46
+ <div class="rating-box">
47
+ <div class="rating" style="width:<?php echo ( $_review->getSum() / $_review->getCount() ) ?>%;"></div>
48
+ </div>
49
+ <?php endif; ?>
50
+ </td>
51
+ <td><?php echo $this->helper('review')->getDetailHtml($_review->getDetail()) ?></td>
52
+ <td><a href="<?php echo $this->getReviewLink() ?>id/<?php echo $_review->getReviewId() ?>" class="nobr"><?php echo $this->__('View Details') ?></a></td>
53
+ </tr>
54
+ <?php endforeach; ?>
55
+ </tbody>
56
+ </table>
57
+ <script type="text/javascript">decorateTable('my-reviews-table')</script>
58
+ <?php else: ?>
59
+ <p><?php echo $this->__('You have submitted no reviews.') ?></p>
60
+ <?php endif; ?>
61
+ <div class="buttons-set">
62
+ <p class="back-link"><a href="<?php echo $this->escapeUrl($this->getBackUrl()) ?>"><small>&laquo; </small><?php echo $this->__('Back') ?></a></p>
63
+ </div>
app/design/frontend/modulesgarden/crystal/template/review/customer/recent.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 base_default
23
+ * @copyright Copyright (c) 2013 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="box-account box-reviews">
29
+ <div class="box-head">
30
+ <h2><?php echo $this->__('My Recent Reviews') ?></h2>
31
+ <a href="<?php echo $this->getAllReviewsUrl() ?>"><?php echo $this->__('View All Reviews') ?></a>
32
+ </div>
33
+ <ol id="my_recent_reviews">
34
+ <?php $iterator = 0 ?>
35
+ <?php foreach ($this->getCollection() as $_review): ?>
36
+ <li class="item">
37
+ <span class="number"><?php echo ++$iterator ?></span>
38
+ <div class="details">
39
+ <h3 class="product-name"><a href="<?php echo $this->getReviewUrl($_review->getReviewId()) ?>"><?php echo $this->escapeHtml($_review->getName()) ?></a></h3>
40
+ <?php if($_review->getSum()): ?>
41
+ <div class="ratings">
42
+ <strong><?php echo $this->__('Rating:') ?></strong>
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
+ <?php endforeach; ?>
51
+ </ol>
52
+ <script type="text/javascript">decorateList('my_recent_reviews');</script>
53
+ </div>
54
+ <?php endif; ?>
app/design/frontend/modulesgarden/crystal/template/review/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 base_default
23
+ * @copyright Copyright (c) 2013 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="product-review">
29
+ <div class="page-title">
30
+ <h1><?php echo $this->__('Review Details') ?></h1>
31
+ </div>
32
+ <div class="product-img-box">
33
+ <a href="<?php echo $this->getProductData()->getProductUrl() ?>" title="<?php echo $this->escapeHtml($this->getProductData()->getName()) ?>" class="product-image"><img src="<?php echo $this->helper('catalog/image')->init($this->getProductData(), 'small_image')->resize(125, 125); ?>" width="125" height="125" alt="<?php echo $this->escapeHtml($this->getProductData()->getName()) ?>" /></a>
34
+ <?php if( $this->getRating() && $this->getRating()->getSize()): ?>
35
+ <p class="label"><?php echo $this->__('Average Customer Rating:') ?></p>
36
+ <?php echo $this->getReviewsSummaryHtml($this->getProductData()) ?>
37
+ <?php endif; ?>
38
+ </div>
39
+ <div class="product-details">
40
+ <h2 class="product-name"><?php echo $this->escapeHtml($this->getProductData()->getName()) ?></h2>
41
+ <?php if( $this->getRating() && $this->getRating()->getSize()): ?>
42
+ <h3><?php echo ($this->isReviewOwner()) ? $this->__('Your Rating:') : $this->__('Rating:'); ?></h3>
43
+ <table class="ratings-table">
44
+ <?php foreach ($this->getRating() as $_rating): ?>
45
+ <?php if($_rating->getPercent()): ?>
46
+ <tr>
47
+ <th><?php echo $this->escapeHtml($_rating->getRatingCode()) ?></th>
48
+ <td>
49
+ <div class="rating-box">
50
+ <div class="rating" style="width:<?php echo ceil($_rating->getPercent()) ?>%;"></div>
51
+ </div>
52
+ </td>
53
+ </tr>
54
+ <?php endif; ?>
55
+ <?php endforeach; ?>
56
+ </table>
57
+ <?php endif; ?>
58
+ <dl>
59
+ <dt>
60
+ <?php if ($this->isReviewOwner()): ?>
61
+ <?php echo $this->__('Your Review (submitted on %s):', $this->dateFormat($this->getReviewData()->getCreatedAt())) ?>
62
+ <?php else :?>
63
+ <?php echo $this->__('Review (submitted on %s):', $this->dateFormat($this->getReviewData()->getCreatedAt())) ?>
64
+ <?php endif;?>
65
+ </dt>
66
+ <dd>
67
+ <?php echo nl2br($this->escapeHtml($this->getReviewData()->getDetail())) ?>
68
+ </dd>
69
+ </dl>
70
+ </div>
71
+ <div class="buttons-set">
72
+ <p class="back-link"><a href="<?php echo $this->getBackUrl() ?>"><small>&laquo; </small><?php echo $this->__('Back to My Reviews') ?></a></p>
73
+ </div>
74
+ </div>
75
+ <?php endif; ?>
app/design/frontend/modulesgarden/crystal/template/review/form.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 rwd_default
23
+ * @copyright Copyright (c) 2014 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="form-add">
28
+ <h2><?php echo $this->__('Write Your Own Review') ?></h2>
29
+ <?php if ($this->getAllowWriteReviewFlag()): ?>
30
+ <form action="<?php echo $this->getAction() ?>" method="post" id="review-form">
31
+ <?php echo $this->getBlockHtml('formkey'); ?>
32
+ <?php echo $this->getChildHtml('form_fields_before')?>
33
+ <h3><?php echo $this->__("You're reviewing:"); ?>
34
+ <span><?php echo $this->escapeHtml($this->getProductInfo()->getName()) ?></span>
35
+ </h3>
36
+
37
+ <div class="fieldset">
38
+ <?php if( $this->getRatings() && $this->getRatings()->getSize()): ?>
39
+ <h4><?php echo $this->__('How do you rate this product?') ?> <em class="required">*</em></h4>
40
+ <span id="input-message-box"></span>
41
+ <table class="data-table review-summary-table ratings" id="product-review-table">
42
+ <col />
43
+ <col />
44
+ <col />
45
+ <col />
46
+ <col />
47
+ <col />
48
+ <thead>
49
+ <tr>
50
+ <th>&nbsp;</th>
51
+ <th>
52
+ <div class="rating-box">
53
+ <span class="rating-number">1</span>
54
+ <span class="rating nobr" style="width:20%;"><?php echo $this->__('1 star') ?></span>
55
+ </div>
56
+ </th>
57
+ <th>
58
+ <div class="rating-box">
59
+ <span class="rating-number">2</span>
60
+ <span class="rating nobr" style="width:40%;"><?php echo $this->__('2 star') ?></span>
61
+ </div>
62
+ </th>
63
+ <th>
64
+ <div class="rating-box">
65
+ <span class="rating-number">3</span>
66
+ <span class="rating nobr" style="width:60%;"><?php echo $this->__('3 star') ?></span>
67
+ </div>
68
+ </th>
69
+ <th>
70
+ <div class="rating-box">
71
+ <span class="rating-number">4</span>
72
+ <span class="rating nobr" style="width:80%;"><?php echo $this->__('4 star') ?></span>
73
+ </div>
74
+ </th>
75
+ <th>
76
+ <div class="rating-box">
77
+ <span class="rating-number">5</span>
78
+ <span class="rating nobr" style="width:100%;"><?php echo $this->__('5 star') ?></span>
79
+ </div>
80
+ </th>
81
+ </tr>
82
+ </thead>
83
+ <tbody>
84
+ <?php foreach ($this->getRatings() as $_rating): ?>
85
+ <tr>
86
+ <th><?php echo $this->escapeHtml($_rating->getRatingCode()) ?></th>
87
+ <?php foreach ($_rating->getOptions() as $_option): ?>
88
+ <td class="value"><label for="<?php echo $this->escapeHtml($_rating->getRatingCode()) ?>_<?php echo $_option->getValue() ?>"><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() ?>" class="radio" /></label></td>
89
+ <?php endforeach; ?>
90
+ </tr>
91
+ <?php endforeach; ?>
92
+ </tbody>
93
+ </table>
94
+ <input type="hidden" name="validate_rating" class="validate-rating" value="" />
95
+ <script type="text/javascript">decorateTable('product-review-table')</script>
96
+ <?php endif; ?>
97
+
98
+ <ul class="form-list">
99
+ <li>
100
+ <label for="review_field" class="required"><em>*</em><?php echo $this->__('Let us know your thoughts') ?></label>
101
+ <div class="input-box">
102
+ <textarea name="detail" id="review_field" cols="5" rows="3" class="required-entry"><?php echo $this->escapeHtml($data->getDetail()) ?></textarea>
103
+ </div>
104
+ </li>
105
+
106
+ <li class="inline-label">
107
+ <label for="summary_field" class="required"><em>*</em><?php echo $this->__('Summary of Your Review') ?></label>
108
+ <div class="input-box">
109
+ <input type="text" name="title" id="summary_field" class="input-text required-entry" value="<?php echo $this->escapeHtml($data->getTitle()) ?>" />
110
+ </div>
111
+ </li>
112
+
113
+ <li class="inline-label">
114
+ <label for="nickname_field" class="required"><em>*</em><?php echo $this->__("What's your nickname?") ?></label>
115
+ <div class="input-box">
116
+ <input type="text" name="nickname" id="nickname_field" class="input-text required-entry" value="<?php echo $this->escapeHtml($data->getNickname()) ?>" />
117
+ </div>
118
+ </li>
119
+
120
+ </ul>
121
+ </div>
122
+ <div class="buttons-set">
123
+ <button type="submit" title="<?php echo $this->__('Submit Review') ?>" class="button"><span><span><?php echo $this->__('Submit Review') ?></span></span></button>
124
+ </div>
125
+ </form>
126
+ <script type="text/javascript">
127
+ //<![CDATA[
128
+ var dataForm = new VarienForm('review-form');
129
+ Validation.addAllThese(
130
+ [
131
+ ['validate-rating', '<?php echo $this->__('Please select one of each of the ratings above') ?>', function(v) {
132
+ var trs = $('product-review-table').select('tr');
133
+ var inputs;
134
+ var error = 1;
135
+
136
+ for( var j=0; j < trs.length; j++ ) {
137
+ var tr = trs[j];
138
+ if( j > 0 ) {
139
+ inputs = tr.select('input');
140
+
141
+ for( i in inputs ) {
142
+ if( inputs[i].checked == true ) {
143
+ error = 0;
144
+ }
145
+ }
146
+
147
+ if( error == 1 ) {
148
+ return false;
149
+ } else {
150
+ error = 1;
151
+ }
152
+ }
153
+ }
154
+ return true;
155
+ }]
156
+ ]
157
+ );
158
+ //]]>
159
+ </script>
160
+ <?php else: ?>
161
+ <p class="review-nologged" id="review-form">
162
+ <?php echo $this->__('Only registered users can write reviews. Please, <a href="%s">log in</a> or <a href="%s">register</a>', $this->getLoginLink(), Mage::helper('customer')->getRegisterUrl()) ?>
163
+ </p>
164
+ <?php endif ?>
165
+ </div>
app/design/frontend/modulesgarden/crystal/template/review/helper/summary.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 base_default
23
+ * @copyright Copyright (c) 2013 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->getReviewsCount()): ?>
28
+ <div class="ratings">
29
+ <?php if ($this->getRatingSummary()):?>
30
+ <div class="rating-box">
31
+ <div class="rating" style="width:<?php echo $this->getRatingSummary() ?>%"></div>
32
+ </div>
33
+ <?php endif;?>
34
+ <p class="rating-links">
35
+ <a href="<?php echo $this->getReviewsUrl() ?>"><?php echo $this->__('%d Review(s)', $this->getReviewsCount()) ?></a>
36
+ <span class="separator">|</span>
37
+ <a href="<?php echo $this->getReviewsUrl() ?>#review-form"><?php echo $this->__('Add Your Review') ?></a>
38
+ </p>
39
+ </div>
40
+ <?php elseif ($this->getDisplayIfEmpty()): ?>
41
+ <p class="no-rating"><a href="<?php echo $this->getReviewsUrl() ?>#review-form"><?php echo $this->__('Be the first to review this product') ?></a></p>
42
+ <?php endif; ?>
app/design/frontend/modulesgarden/crystal/template/review/helper/summary_short.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 base_default
23
+ * @copyright Copyright (c) 2013 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->getReviewsCount()): ?>
28
+ <div class="ratings">
29
+ <?php if ($this->getRatingSummary()):?>
30
+ <div class="rating-box">
31
+ <div class="rating" style="width:<?php echo $this->getRatingSummary() ?>%"></div>
32
+ </div>
33
+ <?php endif;?>
34
+ <span class="amount"><a href="#" onclick="var t = opener ? opener.window : window; t.location.href='<?php echo $this->getReviewsUrl() ?>'; return false;"><?php echo $this->__('%d Review(s)', $this->getReviewsCount()) ?></a></span>
35
+ </div>
36
+ <?php elseif ($this->getDisplayIfEmpty()): ?>
37
+ <p class="no-rating"><a href="<?php echo $this->getReviewsUrl() ?>#review-form"><?php echo $this->__('Be the first to review this product') ?></a></p>
38
+ <?php endif; ?>
app/design/frontend/modulesgarden/crystal/template/review/product/view/count.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 base_default
23
+ * @copyright Copyright (c) 2013 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($count)):?>
28
+ <a href="#customer-reviews" class="nobr"><?php echo $this->__('%s Review(s)', $count) ?></a>
29
+ <?php endif;?>
app/design/frontend/modulesgarden/crystal/template/review/product/view/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 base_default
23
+ * @copyright Copyright (c) 2013 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 $_items = $this->getReviewsCollection()->getItems();?>
29
+ <div class="box-collateral box-reviews" id="customer-reviews">
30
+ <?php if (count($_items)):?>
31
+ <h2><?php echo $this->__('Customer Reviews') ?></h2>
32
+ <dl>
33
+ <?php foreach ($_items as $_review):?>
34
+ <dt>
35
+ <a href="<?php echo $this->getReviewUrl($_review->getId()) ?>"><?php echo $this->escapeHtml($_review->getTitle()) ?></a> <?php echo $this->__('Review by <span>%s</span>', $this->escapeHtml($_review->getNickname())) ?>
36
+ </dt>
37
+ <dd>
38
+ <?php $_votes = $_review->getRatingVotes(); ?>
39
+ <?php if (count($_votes)): ?>
40
+ <table class="ratings-table">
41
+ <col width="1" />
42
+ <col />
43
+ <tbody>
44
+ <?php foreach ($_votes as $_vote): ?>
45
+ <tr>
46
+ <th><?php echo $this->escapeHtml($_vote->getRatingCode()) ?></th>
47
+ <td>
48
+ <div class="rating-box">
49
+ <div class="rating" style="width:<?php echo $_vote->getPercent() ?>%;"></div>
50
+ </div>
51
+ </td>
52
+ </tr>
53
+ <?php endforeach; ?>
54
+ </tbody>
55
+ </table>
56
+ <?php endif; ?>
57
+ <?php echo nl2br($this->escapeHtml($_review->getDetail())) ?>
58
+ <small class="date"><?php echo $this->__('(Posted on %s)', $this->formatDate($_review->getCreatedAt()), 'long') ?></small>
59
+ </dd>
60
+ <?php endforeach; ?>
61
+ <?php echo $this->getChildHtml('toolbar') ?>
62
+ </dl>
63
+ <?php endif;?>
64
+ <?php echo $this->getChildHtml('review_form') ?>
65
+ </div>
app/design/frontend/modulesgarden/crystal/template/review/product/view/other.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 base_default
23
+ * @copyright Copyright (c) 2013 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 = Mage::registry('product'); ?>
29
+ <div class="buttons-set">
30
+ <p class="back-link"><a href="<?php echo $_product->getProductUrl() ?>"><small>&laquo; </small><?php echo $this->__('Back to Main Product Info') ?></a></p>
31
+ </div>
app/design/frontend/modulesgarden/crystal/template/review/view.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 base_default
23
+ * @copyright Copyright (c) 2013 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="product-review">
29
+ <div class="page-title">
30
+ <h1><?php echo $this->__('Review Details') ?></h1>
31
+ </div>
32
+ <div class="product-img-box">
33
+ <a href="<?php echo $this->getProductData()->getProductUrl() ?>" title="<?php echo $this->escapeHtml($this->getProductData()->getName()) ?>" class="product-image"><img src="<?php echo $this->helper('catalog/image')->init($this->getProductData(), 'small_image')->resize(125, 125); ?>" height="125" width="125" alt="<?php echo $this->escapeHtml($this->getProductData()->getName()) ?>" /></a>
34
+ <?php if( $this->getRating() && $this->getRating()->getSize()): ?>
35
+ <p class="label"><?php echo $this->__('Average Customer Rating') ?>:</p>
36
+ <?php echo $this->getReviewsSummaryHtml($this->getProductData()) ?>
37
+ <?php endif; ?>
38
+ </div>
39
+ <div class="product-details">
40
+ <h2 class="product-name"><?php echo $this->escapeHtml($this->getProductData()->getName()) ?></h2>
41
+ <?php if( $this->getRating() && $this->getRating()->getSize()): ?>
42
+ <h3><?php echo $this->__('Product Rating:') ?></h3>
43
+ <table class="ratings-table">
44
+ <?php foreach ($this->getRating() as $_rating): ?>
45
+ <?php if($_rating->getPercent()): ?>
46
+ <tr>
47
+ <th><?php echo $this->__($this->escapeHtml($_rating->getRatingCode())) ?></th>
48
+ <td>
49
+ <div class="rating-box">
50
+ <div class="rating" style="width:<?php echo ceil($_rating->getPercent()) ?>%;"></div>
51
+ </div>
52
+ </td>
53
+ </tr>
54
+ <?php endif; ?>
55
+ <?php endforeach; ?>
56
+ </table>
57
+ </dl>
58
+ <?php endif; ?>
59
+ <dl>
60
+ <dt>
61
+ <?php echo $this->__('Product Review (submitted on %s):', $this->dateFormat($this->getReviewData()->getCreatedAt())) ?>
62
+ </dt>
63
+ <dd>
64
+ <?php echo nl2br($this->escapeHtml($this->getReviewData()->getDetail())) ?>
65
+ </dd>
66
+ </dl>
67
+ </div>
68
+ <div class="buttons-set">
69
+ <p class="back-link"><a href="<?php echo $this->getBackUrl() ?>"><small>&laquo; </small><?php echo $this->__('Back to Product Reviews') ?></a></p>
70
+ </div>
71
+ </div>
72
+ <?php endif; ?>
app/design/frontend/modulesgarden/crystal/template/sales/reorder/sidebar.phtml ADDED
@@ -0,0 +1,78 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 base_default
23
+ * @copyright Copyright (c) 2014 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_Sale_Block_Reorder_Sidebar
32
+ */
33
+ ?>
34
+ <?php $_items = $this->getItems()?>
35
+ <?php if($_items): ?>
36
+ <div class="block block-reorder">
37
+ <div class="block-title">
38
+ <strong><span><?php echo $this->__('My Orders') ?></span></strong>
39
+ </div>
40
+ <form method="post" action="<?php echo $this->getFormActionUrl() ?>" id="reorder-validate-detail">
41
+ <?php echo $this->getBlockHtml('formkey'); ?>
42
+ <div class="block-content">
43
+ <p class="block-subtitle"><?php echo $this->__('Last Ordered Items') ?></p>
44
+ <ol id="cart-sidebar-reorder">
45
+ <?php $_showAddButtonFlag = false ?>
46
+ <?php foreach ($_items as $_item): ?>
47
+ <li class="item">
48
+ <?php if ($this->isItemAvailableForReorder($_item)): ?>
49
+ <?php $_showAddButtonFlag = true ?>
50
+ <input type="checkbox" name="order_items[]" id="reorder-item-<?php echo $_item->getId() ?>" value="<?php echo $_item->getId() ?>" title="<?php echo $this->__('Add to Cart') ?>" class="checkbox validate-one-required-by-name" />
51
+ <script type="text/javascript">
52
+ //<![CDATA[
53
+ $('reorder-item-<?php echo $_item->getId() ?>').advaiceContainer = 'cart-sidebar-reorder-advice-container';
54
+ //]]>
55
+ </script>
56
+ <?php endif; ?>
57
+ <p class="product-name"><a href="<?php echo $_item->getProduct()->getProductUrl() ?>"><?php echo $this->escapeHtml($_item->getName()) ?></a></p>
58
+ </li>
59
+ <?php endforeach; ?>
60
+ </ol>
61
+ <script type="text/javascript">decorateList('cart-sidebar-reorder')</script>
62
+ <div id="cart-sidebar-reorder-advice-container"></div>
63
+ <a class="action_link" href="<?php echo $this->getUrl('customer/account') ?>"><?php echo $this->__('View All'); ?></a>
64
+ <div class="actions">
65
+ <?php if ($_showAddButtonFlag): ?>
66
+ <button type="submit" title="<?php echo $this->__('Add to Cart') ?>" class="button_green"><span><span><?php echo $this->__('Add to Cart') ?></span></span></button>
67
+ <?php endif; ?>
68
+ </div>
69
+ </div>
70
+ </form>
71
+ </div>
72
+ <?php echo $this->getPagerHtml(); ?>
73
+ <script type="text/javascript">
74
+ //<![CDATA[
75
+ var reorderFormDetail = new VarienForm('reorder-validate-detail');
76
+ //]]>
77
+ </script>
78
+ <?php endif ?>
app/design/frontend/modulesgarden/crystal/template/tag/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 base_default
23
+ * @copyright Copyright (c) 2014 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-collateral box-tags" data-tab="tags" >
28
+ <h2><?php echo $this->__('Product Tags') ?></h2>
29
+ <?php echo $this->getChildHtml('list_before')?>
30
+ <?php if( $this->getCount() ): ?>
31
+ <h3><?php echo $this->__('Other people marked this product with these tags:') ?></h3>
32
+ <ul id="<?php echo $this->getUniqueHtmlId('product-tags_'); ?>" class="product-tags">
33
+ <?php echo $this->renderTags('<li><a href="%1$s">%2$s</a> (%3$s)</li>') ?>
34
+ </ul>
35
+ <script type="text/javascript">
36
+ decorateGeneric($("<?php echo $this->getUniqueHtmlId('product-tags_'); ?>").select('li'), ['first', 'last']);
37
+ </script>
38
+ <?php endif; ?>
39
+ <form id="addTagForm" action="<?php echo $this->getFormAction(); ?>" method="get">
40
+ <div class="form-add">
41
+ <label for="productTagName"><?php echo $this->__('Add Your Tags:') ?></label>
42
+ <div class="input-box">
43
+ <input type="text" class="input-text required-entry" name="productTagName" id="productTagName" />
44
+ </div>
45
+ <button type="button" title="<?php echo $this->__('Add Tags') ?>" class="button_green" onclick="submitTagForm()">
46
+ <span>
47
+ <span><?php echo $this->__('Add Tags') ?></span>
48
+ </span>
49
+ </button>
50
+ </div>
51
+ </form>
52
+ <p class="note"><?php echo $this->__("Use spaces to separate tags. Use single quotes (') for phrases.") ?></p>
53
+ <script type="text/javascript">
54
+ //<![CDATA[
55
+ var addTagFormJs = new VarienForm('addTagForm');
56
+ function submitTagForm(){
57
+ if(addTagFormJs.validator.validate()) {
58
+ addTagFormJs.form.submit();
59
+ }
60
+ }
61
+ //]]>
62
+ </script>
63
+ </div>
app/design/frontend/modulesgarden/crystal/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 base_default
23
+ * @copyright Copyright (c) 2014 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="block block-tags">
28
+ <div class="block-title">
29
+ <strong><span><?php echo $this->__('Popular Tags'); ?></span></strong>
30
+ </div>
31
+ <div class="block-content">
32
+ <ul class="tags-list">
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->escapeHtml($_tag->getName()) ?></a></li>
35
+ <?php endforeach; ?>
36
+ </ul>
37
+ <div class="actions">
38
+ <a class="button_green" href="<?php echo $this->getUrl('tag/list') ?>"><?php echo $this->__('View All Tags') ?></a>
39
+ </div>
40
+ </div>
41
+ </div>
app/design/frontend/modulesgarden/crystal/template/wishlist/view.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 base_default
23
+ * @copyright Copyright (c) 2014 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
+ <?php if ($this->helper('wishlist')->isAllow()) : ?>
29
+ <div class="my-wishlist">
30
+ <div class="page-title title-buttons">
31
+ <?php if ($this->helper('wishlist')->isRssAllow() && $this->hasWishlistItems()): ?>
32
+ <a href="<?php echo $this->helper('wishlist')->getRssUrl($this->getWishlistInstance()->getId()); ?>" class="link-rss"><?php echo $this->__('RSS Feed') ?></a>
33
+ <?php endif; ?>
34
+ <h1><?php echo $this->getTitle(); ?></h1>
35
+ </div>
36
+ <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
37
+
38
+ <form id="wishlist-view-form" action="<?php echo $this->getUrl('*/*/update', array('wishlist_id' => $this->getWishlistInstance()->getId())) ?>" method="post">
39
+ <?php echo $this->getChildHtml('top'); ?>
40
+ <fieldset>
41
+ <?php if ($this->hasWishlistItems()): ?>
42
+ <?php echo $this->getBlockHtml('formkey');?>
43
+ <?php $this->getChild('items')->setItems($this->getWishlistItems()); ?>
44
+ <?php echo $this->getChildHtml('items');?>
45
+ <script type="text/javascript">decorateTable('wishlist-table')</script>
46
+ <?php else: ?>
47
+ <p class="wishlist-empty"><?php echo $this->__('You have no items in your wishlist.') ?></p>
48
+ <?php endif ?>
49
+ <div class="buttons-set buttons-set2">
50
+ <?php echo $this->getChild('control_buttons')->toHtml();?>
51
+ </div>
52
+ </fieldset>
53
+ </form>
54
+
55
+ <form id="wishlist-allcart-form" action="<?php echo $this->getUrl('*/*/allcart') ?>" method="post">
56
+ <?php echo $this->getBlockHtml('formkey') ?>
57
+ <div class="no-display">
58
+ <input type="hidden" name="wishlist_id" id="wishlist_id" value="<?php echo $this->getWishlistInstance()->getId() ?>" />
59
+ <input type="hidden" name="qty" id="qty" value="" />
60
+ </div>
61
+ </form>
62
+
63
+ <script type="text/javascript">
64
+ //<![CDATA[
65
+ var wishlistForm = new Validation($('wishlist-view-form'));
66
+ var wishlistAllCartForm = new Validation($('wishlist-allcart-form'));
67
+
68
+ function calculateQty() {
69
+ var itemQtys = new Array();
70
+ $$('#wishlist-view-form .qty').each(
71
+ function (input, index) {
72
+ var idxStr = input.name;
73
+ var idx = idxStr.replace( /[^\d.]/g, '' );
74
+ itemQtys[idx] = input.value;
75
+ }
76
+ );
77
+
78
+ $$('#qty')[0].value = JSON.stringify(itemQtys);
79
+ }
80
+
81
+ function addAllWItemsToCart() {
82
+ calculateQty();
83
+ wishlistAllCartForm.form.submit();
84
+ }
85
+ //]]>
86
+ </script>
87
+ </div>
88
+ <?php echo $this->getChildHtml('bottom'); ?>
89
+ <div class="buttons-set">
90
+ <p class="back-link"><a href="<?php echo $this->escapeUrl($this->getBackUrl()) ?>"><small>&laquo; </small><?php echo $this->__('Back') ?></a></p>
91
+ </div>
92
+ <?php endif ?>
app/etc/modules/Modulesgarden_ThemeCrystal.xml ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <config>
3
+ <modules>
4
+ <Modulesgarden_ThemeCrystal>
5
+ <active>true</active>
6
+ <codePool>community</codePool>
7
+ </Modulesgarden_ThemeCrystal>
8
+ </modules>
9
+ </config>
package.xml ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <package>
3
+ <name>Modulesgarden_Crystal</name>
4
+ <version>1.0.0</version>
5
+ <stability>stable</stability>
6
+ <license>OSL</license>
7
+ <channel>community</channel>
8
+ <extends/>
9
+ <summary>ModulesGarden Crystal - Theme For Magento Is A Responsive Skin With Simple Graphic Design, Handy Slider And Bright Colors Scheme.</summary>
10
+ <description>ModulesGarden Crystal - Theme For Magento is a responsive skin intended to bring the breath of fresh air to your online store. Its exceptionality follows from the neat combination of simple graphic design, splendid slider and bright colors scheme, which as a whole will instantly capture the attention of all prospective clients.&#xD;
11
+ &#xD;
12
+ Refresh the appearance of your eCommerce platform with our Crystal - Theme For Magento! You can do it absolutely for free in merely a few clicks: download the package from our website, upload it on your server and activate! </description>
13
+ <notes>Initial Release</notes>
14
+ <authors><author><name>ModulesGarden</name><user>ModulesGarden</user><email>peter@inbsgroup.com</email></author></authors>
15
+ <date>2015-05-06</date>
16
+ <time>09:10:30</time>
17
+ <contents><target name="magecommunity"><dir name="Modulesgarden"><dir name="ThemeCrystal"><dir name="Block"><dir name="Product"><file name="Bestseller.php" hash="229bfb803f8490d573f731810406ab96"/><file name="Featured.php" hash="6e74045722d9849c79d121954d331604"/></dir></dir><dir name="Helper"><file name="Data.php" hash="4d3b8438d30dc57048fd4cc8aec47158"/></dir><dir name="Model"><dir name="System"><dir name="Config"><dir name="Source"><file name="Select.php" hash="3c2fe471710765c2b5c790f82c8daa6f"/></dir></dir></dir></dir><dir name="data"><dir name="mgthemecrystal_setup"><file name="data-install-1.0.0.php" hash="ae41dbffdf758c97dd8126ee78778ffe"/></dir></dir><dir name="etc"><file name="config.xml" hash="c37e5ca0257324819926d8a4893a0be8"/><file name="system.xml" hash="f91a6e27a1188b29724f7560b102d7bd"/></dir><file name="moduleVersion.php" hash="214f4a77eaaf2b0684e2885c3f45217f"/><dir name="sql"><dir name="mgthemecrystal_setup"><file name="install-1.0.0.php" hash="409751e2d7d56d0e5516ed0e79a8f954"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="modulesgarden"><dir name="crystal"><dir name="layout"><file name="catalog.xml" hash="067b21f8219021f3dae0e1a2985b0a56"/><file name="catalogsearch.xml" hash="9b97d4fcb2c2d4265e5efb5e3f877be0"/><file name="checkout.xml" hash="eb4a60a14a42b1cf1f3b0a1b81981d98"/><file name="cms.xml" hash="2563b8cda9e485a41aece377d5bfd878"/><file name="customer.xml" hash="d2b9b2e3f2dafd5557bbd347a8e754f1"/><file name="local.xml" hash="754d5576a81989295629d8a80b891123"/><file name="newsletter.xml" hash="d651d53837b9ad6cb70102b3e603179b"/><file name="page.xml" hash="68e3c4f10e86ba70e29e41e88ca475c3"/><file name="paypal.xml" hash="9c414774a1ad55feed3e6656aa3b77f2"/><file name="poll.xml" hash="2b2dccf513b83cea4ac9e3d9e9a07c4f"/><file name="reports.xml" hash="006dd44fd96bbdc872c4983bab8a2879"/><file name="review.xml" hash="3f86fc3f30c16721ae7888c810bafcd4"/><file name="tag.xml" hash="85dc3d54f65ddcff7ccecf9f8c3df3e4"/><file name="wishlist.xml" hash="85f251609bb45fa1721c5d09b1720436"/></dir><dir name="template"><dir name="callouts"><file name="left_col.phtml" hash="0834af473826bb3b948e6d443968d59f"/><file name="right_col.phtml" hash="0834af473826bb3b948e6d443968d59f"/></dir><dir name="catalog"><dir name="category"><file name="page.phtml" hash="da8088fd881c776e68f2096e3ccdb515"/><file name="view.phtml" hash="348d15b1044084bd926aecb1f505d892"/><dir name="widget"><dir name="link"><file name="link_block.phtml" hash="db7ebf6737ad571c9fdaa0e77029f554"/><file name="link_inline.phtml" hash="a0bf94c67c9b299639f0919945aab2b9"/></dir></dir></dir><dir name="layer"><file name="filter.phtml" hash="19a84cdf122ea2f81e513e6f312e44f0"/><file name="state.phtml" hash="a027df04a1906a48cdbed3bc2d59c5cf"/><file name="view.phtml" hash="34cadd2da077f4d2180b25d76179befe"/></dir><dir name="navigation"><file name="left.phtml" hash="9c7d8595136b4bcec87eee043582c08c"/><file name="top.phtml" hash="c91ddb53b136b440b3814e926f8d2b2f"/></dir><dir name="product"><file name="bestseller.phtml" hash="5a9e5969dc077d110929576e7fa90388"/><dir name="compare"><file name="list.phtml" hash="2b8a0182511a00ff10c6a137c9b84dce"/><file name="sidebar.phtml" hash="eb95eb9b8ef892e8f097cd3b406da52e"/></dir><file name="featured.phtml" hash="e03883ce7c78fc35e3d2721adce346ad"/><file name="gallery.phtml" hash="ef28634ad6fa4f1bab2fcfeb22efbece"/><dir name="list"><file name="related.phtml" hash="09ede9b24eea2a416048610d140fff9e"/><file name="toolbar.phtml" hash="1bfe8c84f149394c0857fc39534ab347"/><file name="upsell.phtml" hash="30c17aca83082ae1dd8a24bf67724dac"/></dir><file name="list.phtml" hash="6961b651747297ed398d1aa6bdb365d9"/><file name="new.phtml" hash="5ed19380f53ed6bfe314a2fafa5ef994"/><file name="price.phtml" hash="e22f1cc974932565ac45cf4107a2dcd2"/><dir name="view"><file name="additional.phtml" hash="75d35ae44509ed4870d0474d244e1b08"/><file name="addto.phtml" hash="fbd3e1f65e3ae8f250392ef28a1af45c"/><file name="addtocart.phtml" hash="fba30c9a5febd48460e827d0b7a39262"/><file name="attributes.phtml" hash="2c0f5b54ad2e2a23434d407545f352ca"/><file name="description.phtml" hash="d6947fdbdf690f6593bfd8dfa51aaf62"/><file name="media.phtml" hash="adb9b40530342f90e99b8d4291cca258"/><dir name="options"><file name="js.phtml" hash="cbce4dbf550a285377e912a0d84ffac5"/><dir name="type"><file name="date.phtml" hash="10db5e907373a5dd29aaa6c697fe48ed"/><file name="default.phtml" hash="12ca975f28ceb725c86d88c3b02bfdfd"/><file name="file.phtml" hash="bd76fb7fda5ed6f80e64c019e891283e"/><file name="select.phtml" hash="32f52b09af56e1dba477d510cfdef8b8"/><file name="text.phtml" hash="1c29cdba2a0e0b1f15f68c3fbc3b07eb"/></dir><dir name="wrapper"><file name="bottom.phtml" hash="f74e0101b9348de711673a442a523883"/></dir><file name="wrapper.phtml" hash="deccc0442fcd68885e0ebfeaa91018ea"/></dir><file name="options.phtml" hash="014679e6223efcb1fcaede2b66f0ac7e"/><file name="price.phtml" hash="c55bb537b537845cc22fe46eee32b3f2"/><file name="price_clone.phtml" hash="aca0dd622abfcd04e82407d2b4763c65"/><file name="tierprices.phtml" hash="0105721a68cc8e7210fd6240a8c656bf"/><dir name="type"><file name="configurable.phtml" hash="e0dbac1a30611fa918be451ff274687d"/><file name="default.phtml" hash="07591ae059411e254686c34c81007120"/><file name="grouped.phtml" hash="8ec000960905666d70d5f8a5e664c59f"/><dir name="options"><file name="configurable.phtml" hash="d4d7a289ddcb74624111957fd4440370"/></dir><file name="simple.phtml" hash="e0dbac1a30611fa918be451ff274687d"/><file name="virtual.phtml" hash="e0dbac1a30611fa918be451ff274687d"/></dir></dir><file name="view.phtml" hash="54269effa69196c7e01752c606f99284"/><dir name="widget"><dir name="link"><file name="link_block.phtml" hash="acb9c13c312a0c94e7961ccab5c65d68"/><file name="link_inline.phtml" hash="3dfa87b0129d802a5c9ea560d1f6acbb"/></dir><dir name="new"><dir name="column"><file name="new_default_list.phtml" hash="dcf590457d8452a484982d92b07d4ddb"/><file name="new_images_list.phtml" hash="3857d8040dc4bdade3bf6f6bf61f7133"/><file name="new_names_list.phtml" hash="f6634f4255ab4cffd99460d9909a59c6"/></dir><dir name="content"><file name="new_grid.phtml" hash="fcc88367a6195d901ac6fd01d2061ac5"/><file name="new_list.phtml" hash="a3942e747640c685bc269b1e6eaa8164"/></dir></dir></dir></dir></dir><dir name="catalogsearch"><file name="form.mini.phtml" hash="241e7a915d2cc0c3f0c630955ebf96a5"/><file name="result.phtml" hash="1c0913417f5832f97bc8f3050847397a"/><file name="term.phtml" hash="5845fda49f8df1d31ac7082d0e78cbef"/></dir><dir name="checkout"><dir name="cart"><file name="coupon.phtml" hash="ab4d09a164198154f1a0e05b4a794a3b"/><file name="crosssell.phtml" hash="b9762f226ae791c773c921b7096ae0f5"/><dir name="item"><dir name="configure"><file name="updatecart.phtml" hash="ca22b44c298674148a80fe8ada1a5fb1"/></dir><file name="default.phtml" hash="8224692753f4e15784a0c5d1eaf7f082"/></dir><file name="noItems.phtml" hash="411c34be69c804d60e0bd5bcae714a9c"/><dir name="render"><file name="default.phtml" hash="9b2d0e47b6fc42c97cd05fa96ff6fb35"/><file name="simple.phtml" hash="656aba2c7b4be9755ed38a73a85ec2fa"/></dir><file name="shipping.phtml" hash="4c3e61c34c4ea4a1785cd3ce7e7f809a"/><dir name="sidebar"><file name="default.phtml" hash="cdee4fc166a08cb8bc67fd3add18185c"/></dir><file name="sidebar.phtml" hash="c2a8d3484529073567a94621bf1a4724"/><file name="totals.phtml" hash="1ef7ee9d74757622950be3c09e6fb907"/></dir><file name="cart.phtml" hash="88a77348a5aca7b78f81678b04fdba77"/><dir name="multishipping"><dir name="address"><file name="select.phtml" hash="24e5b3ae470161224b7ec93dfa076d20"/></dir><file name="addresses.phtml" hash="c4a8ddb3f20ec901c128fc53493cbb89"/><file name="agreements.phtml" hash="40405d808754920a21384811150c428a"/><dir name="billing"><file name="items.phtml" hash="dd651dc188bdf99f7e66a8c13c6ac5ff"/></dir><file name="billing.phtml" hash="ba2f65a2005ad5a7e672beb05abb0755"/><dir name="item"><file name="default.phtml" hash="7611ccf607bb1bfa7a6da29d15ab4bde"/></dir><file name="link.phtml" hash="485c52635edde2b20cae0195572c4cf1"/><dir name="overview"><file name="item.phtml" hash="b56df45e1197995f8e4bdecf1a03f475"/></dir><file name="overview.phtml" hash="7618f74e652d6fccb70504faa92fc0d4"/><file name="shipping.phtml" hash="4b14b9aca6a3f15e341cc35dd66ecfbe"/><file name="state.phtml" hash="70b551955e8039952f7ee34bd8965db1"/><file name="success.phtml" hash="ab59b63b15572789ecb1cb7e3b4632b7"/></dir><dir name="onepage"><file name="link.phtml" hash="7a760608709b3008233161d107b73110"/><file name="login.phtml" hash="828a87a6e8fb700c4f99f4f14ca42b6c"/><dir name="payment"><file name="info.phtml" hash="8e6e9b895acebae19f2cc9109fa72df3"/><file name="methods.phtml" hash="d874f75263e3eb9c7abd28bbe3750a38"/></dir><file name="payment.phtml" hash="97b5645289f03970355636f8f0461be1"/><dir name="review"><file name="button.phtml" hash="3b56a08133efff951d10e664f9cc6b07"/><file name="info.phtml" hash="174fc64c1890657a182cf517776455ad"/></dir><file name="shipping_method.phtml" hash="2d6c8db9efe5b19d2efbc78ceca147fc"/></dir><file name="onepage.phtml" hash="3317bb6bd13de8fced90130cb92df056"/><file name="success.phtml" hash="8bdb46b17a5a5a0cbd36f25ae9acf61f"/><dir name="total"><file name="default.phtml" hash="7ee091bdabdc050724203568cb433eb0"/></dir></dir><dir name="cms"><file name="content.phtml" hash="1dd256bfecd8e159da5750999f692ea0"/><dir name="widget"><dir name="static_block"><file name="default.phtml" hash="f03fd36d42a84f2f1aa2a96c7501a375"/></dir></dir></dir><dir name="contacts"><file name="form.phtml" hash="c6c56fdb8516ad717599285ea044d835"/></dir><dir name="customer"><dir name="account"><dir name="dashboard"><file name="address.phtml" hash="bd1d2e0b663af08cb893524cb14a5878"/><file name="hello.phtml" hash="aaf6637cf204354d10ced5975ffa8628"/><file name="info.phtml" hash="d66afd402a82ce5952f7cd10967959fb"/><file name="newsletter.phtml" hash="7a88755792de255d8734420b24aed220"/></dir><file name="dashboard.phtml" hash="138c8acecc3c7a72855d5482c0d41a03"/><dir name="link"><file name="back.phtml" hash="269b03c61ac58ecd42b376da3c4951d6"/></dir><file name="navigation.phtml" hash="d80c92e74821c7d4832bb5cb6630f9bb"/></dir><dir name="address"><file name="book.phtml" hash="e3397c3ceeba1630cabc3037452e5d58"/><file name="edit.phtml" hash="18c163f1c83bc45106dc9c40b44772f9"/></dir><file name="address.phtml" hash="c7d1e96e337bd0f6fd42c619f80cbf45"/><file name="balance.phtml" hash="ffa5f9c1eb242c496867672d79be73e0"/><dir name="form"><file name="address.phtml" hash="e216399279d85465677990bc7494e269"/><file name="changepassword.phtml" hash="6ad2dd980476c29a028027dd41d8303a"/><file name="confirmation.phtml" hash="c39f36698a5c4ecc361abcddccb69d25"/><file name="edit.phtml" hash="4824abf69c20fe13f97b51377a9b08ca"/><file name="forgotpassword.phtml" hash="025f136a7da53f4017fac2e6aa9a2c11"/><file name="login.phtml" hash="a787ec12e5c529a0fc6e3b702a2d7391"/><file name="mini.login.phtml" hash="f1df8f8a52dd3d964731029a171afee8"/><file name="newsletter.phtml" hash="4766be7bd5d3a2ec1c94130ef0e34023"/><file name="register.phtml" hash="4daa8e884978121e4ef96b41be891d68"/><file name="resetforgottenpassword.phtml" hash="daf6afabee59356227af4b5664ad8a03"/></dir><file name="logout.phtml" hash="aa38c8d8147fdfacffecdacf6e09a52a"/><file name="orders.phtml" hash="8d3430d4841209de8267892d42457300"/><dir name="widget"><file name="dob.phtml" hash="af46c6cfb854ad52b892e39ff29388de"/><file name="gender.phtml" hash="594a9f74083e45aa2328a3927534a321"/><file name="name.phtml" hash="9548a15c7e0b8185d694b887f9b96e63"/><file name="taxvat.phtml" hash="7ef67202f72805aa4c30d7e12ba6048a"/></dir><file name="wishlist.phtml" hash="24bae79b660c3aab3d180d93638c4cdd"/></dir><dir name="downloadable"><dir name="checkout"><dir name="cart"><dir name="item"><file name="default.phtml" hash="1e89739a6c07806a66b5b0e4deccf501"/></dir></dir></dir><dir name="customer"><dir name="products"><file name="list.phtml" hash="b0a6197b323f8194952c205a224bb8c2"/></dir></dir></dir><dir name="newsletter"><file name="subscribe.phtml" hash="dca96e0c573ecb6784d494b69142472c"/></dir><dir name="page"><file name="1column.phtml" hash="50096e5c6089442bfebba4cbb926d46d"/><file name="2columns-left.phtml" hash="6e520fdbc82be702f413a5b13cbcb104"/><file name="2columns-right.phtml" hash="0fac95b60daabeb54d400700f1067a40"/><file name="3columns.phtml" hash="239f5f717884ce36406c791d4e8b74d6"/><file name="baners.phtml" hash="0f1a23568c4b2128d4611a770f83056a"/><file name="brands.phtml" hash="5f6aead0712a83d4a75f3a726eeef835"/><dir name="html"><file name="breadcrumbs.phtml" hash="b2fa7f6eaf26e082e87441795165de90"/><file name="footer.phtml" hash="13176e8f029fea3b87ffeee725de5c0d"/><file name="head.phtml" hash="7f0f9235010d76e15941aa790b1e9a88"/><file name="header.phtml" hash="5711a97602dfda16181644f6dc5ac124"/><file name="notices.phtml" hash="da5ebd928526806c5908e5f53533b774"/><file name="pager.phtml" hash="1752c9ac8819b13684fdbba9f0fddd58"/><file name="top.links.phtml" hash="5a2867d7e8e0367c7a5ccd279c6b5f9d"/><file name="topmenu.phtml" hash="014b71e2ae6c3c9ab8802eacce249fdf"/><file name="viewpointmeta.phtml" hash="605fe92e7abaa2018e83f09776f18f9e"/><file name="wrapper.phtml" hash="17f11c22d69e9633c2a09f41cc28eaa9"/></dir><dir name="switch"><file name="languages.phtml" hash="ef27ad040530bb57e8dbad00a2edbd8b"/></dir><dir name="template"><file name="links.phtml" hash="d96096b9bfca580035b57e85963a3ce4"/><file name="linksblock.phtml" hash="3c0c73c49d39492e7a049f9d6b6f6200"/></dir></dir><dir name="payment"><dir name="catalog"><dir name="product"><dir name="view"><dir name="profile"><file name="options.phtml" hash="486e22cdd97f53d06489250a2d8ba349"/><file name="schedule.phtml" hash="2fecc41bba90f77cabb7ff87eed33c81"/></dir></dir></dir></dir><dir name="form"><file name="banktransfer.phtml" hash="78cfa40ca72015dde7227664c6b35f1b"/><file name="cashondelivery.phtml" hash="50541f512870ae803c04aeb3658a93d7"/><file name="cc.phtml" hash="630581c3d649ee8fe151a36182b6203e"/><file name="ccsave.phtml" hash="4755252df87e17b47b18c6836a69f938"/><file name="checkmo.phtml" hash="eeed7840c16ffbf56addac2588f0dbab"/><file name="purchaseorder.phtml" hash="aadf40ccc3e093874b7b0fe01465e500"/></dir><dir name="info"><file name="banktransfer.phtml" hash="5f4c13e7db3f80164ea73d13eb437bd1"/><file name="checkmo.phtml" hash="ebcdc5ee889dadd063a89dc9702bcb5d"/><file name="default.phtml" hash="45c8c15ae25c36cb2eff916d97ef822d"/><file name="purchaseorder.phtml" hash="c9e165e5f6009b3126e2c0743f1ecd06"/></dir></dir><dir name="persistent"><dir name="checkout"><dir name="onepage"><file name="billing.phtml" hash="565640adf366d32d52d71699c2308543"/><file name="login.phtml" hash="91688327b7d92548b17f0910f98b2cd0"/></dir></dir><dir name="customer"><dir name="form"><file name="login.phtml" hash="42b83ae604c19b8ac856f0a6d698b49a"/></dir></dir></dir><dir name="rating"><file name="detailed.phtml" hash="fd0413a654744d23ce6eea412221a2e4"/><file name="empty.phtml" hash="2b5189dccbaa36740993f45bd6f11214"/></dir><dir name="review"><dir name="customer"><file name="list.phtml" hash="3eff3e3faf65fd7addc56203a4ad5f77"/><file name="recent.phtml" hash="db2da0952d12c186927fa0e5de73ef92"/><file name="view.phtml" hash="f829a98a214c59676589063ef427aadf"/></dir><file name="form.phtml" hash="e25cd60279bd075dc560ca343346eded"/><dir name="helper"><file name="summary.phtml" hash="7c15b7078c848df9d2346ccd1d13cad5"/><file name="summary_short.phtml" hash="3235ad0cf2262197433a415c30fcadc2"/></dir><dir name="product"><dir name="view"><file name="count.phtml" hash="4330b226b0de0c1e151ea0e8cfc60bec"/><file name="list.phtml" hash="581e6f2c2198689b86f23f277f93f238"/><file name="other.phtml" hash="0f7a97276b6b495e1b3dedf488018625"/></dir></dir><file name="view.phtml" hash="0aeb91cca40ccadffc2cde36918af5d6"/></dir><dir name="sales"><dir name="reorder"><file name="sidebar.phtml" hash="ac91918f5063450f491937521c9b1bf9"/></dir></dir><dir name="tag"><file name="list.phtml" hash="72206a445a6af8e6dca7c119bfda7b80"/><file name="popular.phtml" hash="e9b088139e11f865c080f15b9859d02d"/></dir><dir name="wishlist"><file name="view.phtml" hash="15959ac531383b9d597e22960d6340c4"/></dir></dir></dir></dir></dir></target><target name="mageetc"><dir name="modules"><file name="Modulesgarden_ThemeCrystal.xml" hash="0e8a63bff4e300ab34a86b3b61b7ba37"/></dir></target><target name="mageskin"><dir name="frontend"><dir name="modulesgarden"><dir name="crystal"><dir name="css"><file name="color-footer-dark.css" hash="316921d49403e27403927ab44f6ef445"/><file name="color-footer-lightgray.css" hash="0ffb47a394c9b970df8b39f97197b1f6"/><file name="color-footer-white.css" hash="04bb18093e5dc97ca623181e61418b6b"/><dir name="font_awesome"><dir name="css"><file name="font-awesome.css" hash="701a716398620a5f24f4b15bd312b934"/><file name="font-awesome.min.css" hash="feda974a77ea5783b8be673f142b7c88"/></dir><dir name="fonts"><file name="FontAwesome.otf" hash="19231917733e2bcdf257c9be99cdbaf1"/><file name="fontawesome-webfont.eot" hash="7149833697a959306ec3012a8588dcfa"/><file name="fontawesome-webfont.svg" hash="65bcbc899f379216109acd0b6c494618"/><file name="fontawesome-webfont.ttf" hash="c4668ed2440df82d3fd2f8be9d31d07d"/><file name="fontawesome-webfont.woff" hash="d95d6f5d5ab7cfefd09651800b69bd54"/></dir><dir name="less"><file name="bordered-pulled.less" hash="5b3f3e1353ea7ab9d10fd7598fbd214b"/><file name="core.less" hash="b5507859b83e01561e0b171a1a8a21a7"/><file name="fixed-width.less" hash="5e07ec001f8d21bd279c12ee542813f7"/><file name="font-awesome.less" hash="65493b74c9bfb5c6942e61239efdb3de"/><file name="icons.less" hash="2e03dd427613acb1f97eb506bcc24c83"/><file name="larger.less" hash="8cb65280c0f889daf72626c21a7c8628"/><file name="list.less" hash="975571323cf880a4a30601998236b027"/><file name="mixins.less" hash="3a0108713f34ca1fcbe22451585886b5"/><file name="path.less" hash="baaf503b6821b49336f242445bcf26ca"/><file name="rotated-flipped.less" hash="a8476cdc50c264abd11ff59d6a9dd025"/><file name="spinning.less" hash="f7ceb182bd98b795cf0a55e90c518a14"/><file name="stacked.less" hash="518e2b2d263982d2caa1e6514b4b4eac"/><file name="variables.less" hash="d40d1e811702269d6aa862070b652a34"/></dir><dir name="scss"><file name="_bordered-pulled.scss" hash="e4f85472a1f6ed0e23a473b8e00ef071"/><file name="_core.scss" hash="5a0ac797103875112d48b5d51f0dc71d"/><file name="_fixed-width.scss" hash="9277ab6964a434d499873687b00be906"/><file name="_icons.scss" hash="18308d3f72183aaad1047e3e4200f7ba"/><file name="_larger.scss" hash="e95931566f6fc6ad5685c4fa9802e206"/><file name="_list.scss" hash="7107e80b053928271d5fcf422dc29490"/><file name="_mixins.scss" hash="e0baf3cfd00f9ba22126d3dfbacbce22"/><file name="_path.scss" hash="ac2a848f68cffed328272615bfca2500"/><file name="_rotated-flipped.scss" hash="9f5d4bc6fadea89328d2aac26574a9d8"/><file name="_spinning.scss" hash="7dcbea35ea3ee2f576354daeb510ab33"/><file name="_stacked.scss" hash="5594237226aedfbca2fa1c7f4604c214"/><file name="_variables.scss" hash="259f90841b8ddd08055d42737acaae95"/><file name="font-awesome.scss" hash="6adfa5c642be301ec4af882faa5cecbf"/></dir></dir><file name="lato-font.css" hash="62b6baef2b3d98a26453131ebf354ab0"/><file name="oauth-simple.css" hash="3da633ac3800b0d5a9501e089202c760"/><file name="open-sans-font.css" hash="98d4726399cc292ef212b66e2ad36d73"/><file name="print.css" hash="0931bba935b423c1e1866b4e586de88e"/><file name="raleway-font.css" hash="ed766a8fd6192377a27095fd85a21a10"/><file name="responsive.css" hash="4c849b085c056681c13006256da11634"/><file name="roboto-font.css" hash="c04cd79b21689d66bbc9880107f53a26"/><file name="styles-ie.css" hash="fd54c1025b9de3cea9002e1d6d8efdaf"/><file name="styles.css" hash="b92a1c32734dd836e7e37eaaf06eb6cb"/><file name="styles_blue.css" hash="2a41e011446aee1f65e6a956e267fbd6"/><file name="styles_red.css" hash="6593fc0653326a67fecb66cd56b196b8"/><file name="widgets.css" hash="e755828e5680da2e27edecbeafe553fc"/></dir><file name="favicon.ico" hash="88733ee53676a47fc354a61c32516e82"/><dir name="images"><file name="arrow_carusel.jpg" hash="a5c4b8b509a145c21faa5e58183bc6be"/><file name="calendar.gif" hash="94c62137a4d5cfde05e5822e3971c0e0"/><file name="cart.png" hash="4aed591a7e30a96b42d0128f74353d33"/><dir name="catalog"><dir name="product"><dir name="placeholder"><file name="image.jpg" hash="7f8ec531ce4e8be7caa9a588c738877e"/><file name="small_image.jpg" hash="262c03da4f05f6ee86e047d9778def87"/><file name="thumbnail.jpg" hash="b2b682d28a08a748a73d2cda70ab5a57"/></dir></dir></dir><file name="circle.png" hash="af9fcbd60a64da62fe565f732b6f3a86"/><file name="circle_blue.png" hash="08a653bd76583c789fddb43363cc30c2"/><file name="circle_red.png" hash="96e0ceb02502d210f62fa1ca3ab06f50"/><file name="crsl-image.png" hash="e0dfbd3bf979f252d8ffa81d86132195"/><file name="eye.png" hash="ac7afaa0316ed806780f6e8386536038"/><file name="grid.png" hash="bb1e0e5c7c78b45025fa54401b6fb7cb"/><file name="grid_blue.png" hash="526b6eba940bec8cfb168c3cc8c77dcc"/><file name="grid_n.png" hash="7c242c5cba34f79deb4171e298c353f9"/><file name="grid_red.png" hash="7be78bf29801819ea1bb74615d538bd7"/><file name="i_arrow-top.gif" hash="3dbb0584e8eb1d96cc3d3c40c17d7aaf"/><file name="i_arrow-top.png" hash="012c2813c8018ec5b58063c06968ba4d"/><file name="i_arrow-top_blue.png" hash="51d5a82d1e54179bebc62b8935bcae7e"/><file name="i_arrow-top_red.png" hash="57cf93591dfc01392fba9a2ecba38172"/><file name="i_asc_arrow.gif" hash="40aa554212d6a1f60593c27d78d85fa3"/><file name="i_asc_arrow.png" hash="ce2a90f4d1bd2d17dbc5630d0438ecb6"/><file name="i_asc_arrow_blue.png" hash="0be3f7d691653472390e59b500feedd6"/><file name="i_asc_arrow_red.png" hash="dff87f9eed9f8f6c5b5a2d9d677c22c7"/><file name="i_desc_arrow.gif" hash="92fd194bfae4ce5ae3354e1e47d7ac7d"/><file name="i_desc_arrow.png" hash="7550acdba5794a775dc0d114fb97ec04"/><file name="i_desc_arrow_blue.png" hash="e5540b9e17d5331da2ba003e0dbe1c94"/><file name="i_desc_arrow_red.png" hash="6aabf45cb33b4b72ce5272748c824938"/><file name="i_search_criteria.gif" hash="cf67b9cc5c311ae3f99e68cd29ae17be"/><file name="list.png" hash="8b9d9f85fc24a62357fcf15ca3480b33"/><file name="list_blue.png" hash="ac3eea219e5a33bef7a9e7ac4396ef97"/><file name="list_n.png" hash="c2ec852c8aa03b951a8a40da0ab46c33"/><file name="list_red.png" hash="ea6769913aedb4a0e274bb6c507b1349"/><file name="logo.gif" hash="39caf8fd5dfb8c43bccf4616c9d20a08"/><file name="logo.png" hash="39caf8fd5dfb8c43bccf4616c9d20a08"/><file name="logo_blue.gif" hash="0d20b0e97b32f9f238eefc2d752791bf"/><file name="logo_red.gif" hash="64b36ba5882a0a3a767b0ed7332b4c5f"/><dir name="media"><file name="logo.png" hash="39caf8fd5dfb8c43bccf4616c9d20a08"/></dir><file name="pager_arrow_left.gif" hash="a212ac6e10e090a94578876cd8dc5a7c"/><file name="pager_arrow_left_blue.gif" hash="778119d8117d58db410b9ffd6d91d3e1"/><file name="pager_arrow_left_red.gif" hash="be12af073dd071ccb1303fd1b577dd58"/><file name="pager_arrow_right.gif" hash="c1e688c63b94fff68eccf2d0c8017b4b"/><file name="pager_arrow_right_blue.gif" hash="2842a34bb79eedeea4fc13c0d5ada48a"/><file name="pager_arrow_right_red.gif" hash="cd8605d7ff3f69fb29b800a0ab234950"/><file name="plus.png" hash="5713c7c00702781aca68754160253ef3"/><file name="plus_blue.png" hash="51b894cd453d8361a53311e484fbc580"/><file name="plus_red.png" hash="cab6e42248c6651dcdfe1f1cc509fc7b"/><file name="search_button.png" hash="09c93ed5e39dcaae4831052678762324"/><dir name="slider"><file name="baner1.jpg" hash="035ba5223b3542cd0abdce86d71637e3"/><file name="baner2.jpg" hash="bc8d7baf6aed72dfd04541a80ed1de60"/><file name="ciecie_lista_kat_03.png" hash="b83034050eeefc69360b7b63e2982559"/><file name="logo_brands.jpg" hash="8af988cb7043558987db535ce4ff789b"/><file name="slide1-one.jpg" hash="09736c11c78df24d681caec52066ef9b"/><file name="slide1.jpg" hash="6d7633b1f8637f7c64648a0f3a5e0b4f"/><file name="slide2-one.jpg" hash="a4a22559d6c628d3ca36b9a97576d896"/><file name="slide2.jpg" hash="89873c377adfaf7e61c4ee1212514321"/><file name="slide3-one.jpg" hash="566e7687648faa296ad3f7e2364cacdb"/></dir><file name="validation_advice_bg.gif" hash="b85432906de8985a8b14eeb2dc652d3c"/><file name="wish.png" hash="f86cdb4fdfdee5619a2752221d48d347"/><dir name="xmlconnect"><dir name="catalog"><dir name="category"><dir name="placeholder"><file name="image.jpg" hash="097ab8a3051bc037ea3de0e17f440540"/><file name="small_image.jpg" hash="f825d16f97a640453553c79c48ebaa73"/><file name="thumbnail.jpg" hash="b2b682d28a08a748a73d2cda70ab5a57"/></dir></dir></dir></dir></dir><dir name="js"><file name="custom.js" hash="b757d678fa64015f151b65f3b9953d95"/><dir name="fancybox"><file name="blank.gif" hash="325472601571f31e1bf00674c368d335"/><file name="fancybox_loading.gif" hash="328cc0f6c78211485058d460e80f4fa8"/><file name="fancybox_loading@2x.gif" hash="f92938639fa894a0e8ded1c3368abe98"/><file name="fancybox_overlay.png" hash="77aeaa52715b898b73c74d68c630330e"/><file name="fancybox_sprite.png" hash="783d4031fe50c3d83c960911e1fbc705"/><file name="fancybox_sprite@2x.png" hash="ed9970ce22242421e66ff150aa97fe5f"/><dir name="helpers"><file name="fancybox_buttons.png" hash="b448080f8615e664b7788c7003803b59"/><file name="jquery.fancybox-buttons.css" hash="cac75538c2e3ddfadef839feaca8e356"/><file name="jquery.fancybox-buttons.js" hash="f53c246661fb995a3f12e67fa38e0fa0"/><file name="jquery.fancybox-media.js" hash="c017067f48d97ec4a077ccdf056e6a2e"/><file name="jquery.fancybox-thumbs.css" hash="52ddd84a9f42c1d4cd86d518a7f7e8bc"/><file name="jquery.fancybox-thumbs.js" hash="cf1fc1df534eede4cb460c5cbd71aba6"/></dir><file name="jquery.fancybox.css" hash="6c55951ce1e3115711f63f99b7501f3a"/><file name="jquery.fancybox.js" hash="921e9cb04ad6e2559869ec845c5be39b"/><file name="jquery.fancybox.pack.js" hash="cc9e759f24ba773aeef8a131889d3728"/></dir><file name="ie6.js" hash="5dbfb553bbaab5ef71ecf92ea81b7a59"/><file name="jquery.flexisel.js" hash="e2b1e9926a23e002e3283df45e47ee8b"/><dir name="layerslider"><dir name="css"><file name="blank.gif" hash="76084e29cb2cf72b320e888edc583dfb"/><file name="layerslider.css" hash="cff418c08f8f6c03660f90e791beddb5"/></dir><dir name="js"><file name="greensock.js" hash="37b8cf3e6997604340964adb3462b76d"/><file name="jquery.js" hash="562161bd1acad5172cd861f4835a5652"/><file name="layerslider.kreaturamedia.jquery.js" hash="15d2411ac58e00b29bfc552ab6428f54"/><file name="layerslider.transitions.js" hash="33f82fea7aa75721d82fc3cec6d48690"/></dir><dir name="skins"><dir name="borderlessdark"><file name="loading.gif" hash="e82577eeffcfdbb0ee0b96210a4c9afd"/><file name="nothumb.png" hash="575f8a12504e09d515edc26a0fe5eece"/><file name="shadow.png" hash="35a1002c529afb496b5642e8a9b35466"/><file name="skin.css" hash="81f75d27f86e83b442572e9660983df8"/><file name="skin.png" hash="dfc9e677df11103054c1c043ff52a4a9"/></dir><dir name="borderlessdark3d"><file name="loading.gif" hash="e32ddf7c031699fc4f43ce30a9d57c39"/><file name="nothumb.png" hash="4fb095d42325d69e33f9e08620db283a"/><file name="shadow.png" hash="dfc1373cfdc6bcc673ad236d9482cf39"/><file name="skin.css" hash="6c937a06bcac530ed839dc9659891a69"/><file name="skin.png" hash="744e435ecd2a7513fa1cf1e586ecd14a"/></dir><dir name="borderlesslight"><file name="loading.gif" hash="4f31acc6c5e9aa3e15d9e8a2475c5f55"/><file name="nothumb.png" hash="4fb095d42325d69e33f9e08620db283a"/><file name="shadow.png" hash="35a1002c529afb496b5642e8a9b35466"/><file name="skin.css" hash="2473f57f10bd6f0774e269cc7f48154d"/><file name="skin.png" hash="dd7e700c6895505621f0fea9d13dc46e"/></dir><dir name="borderlesslight3d"><file name="loading.gif" hash="4f31acc6c5e9aa3e15d9e8a2475c5f55"/><file name="nothumb.png" hash="4fb095d42325d69e33f9e08620db283a"/><file name="shadow.png" hash="dfc1373cfdc6bcc673ad236d9482cf39"/><file name="skin.css" hash="c08f1c979ba318c785ce9e108a81a0f5"/><file name="skin.png" hash="50031e6021412aa36c2bd19a317c1071"/></dir><dir name="carousel"><file name="loading.gif" hash="4f31acc6c5e9aa3e15d9e8a2475c5f55"/><file name="nothumb.png" hash="4fb095d42325d69e33f9e08620db283a"/><file name="skin.css" hash="86e04178853cbcb48b2804584b607d2d"/><file name="skin.png" hash="2168ddf8139d2f6e4bfaf5f0288b8137"/></dir><dir name="darkskin"><file name="loading.gif" hash="e32ddf7c031699fc4f43ce30a9d57c39"/><file name="nothumb.png" hash="575f8a12504e09d515edc26a0fe5eece"/><file name="skin.css" hash="7aa8160d6a51a6644ce5c94b5455683d"/><file name="skin.png" hash="d9ec414f3779a5dc5654403f3c59a7ea"/></dir><dir name="defaultskin"><file name="loading.gif" hash="088b0fa7c6f5ef8a6f0c838999b4a2de"/><file name="nothumb.png" hash="4fb095d42325d69e33f9e08620db283a"/><file name="skin.css" hash="43461c47d6853954b7df5663708077c7"/><file name="skin.png" hash="715012a0ceef20b603c81dede7ad5a65"/></dir><dir name="fullwidth"><file name="loading.gif" hash="088b0fa7c6f5ef8a6f0c838999b4a2de"/><file name="nothumb.png" hash="4fb095d42325d69e33f9e08620db283a"/><file name="skin.css" hash="b3f8dbdbfa285ce58cf629f72e93c2ed"/><file name="skin.png" hash="50031e6021412aa36c2bd19a317c1071"/></dir><dir name="fullwidthdark"><file name="loading.gif" hash="e32ddf7c031699fc4f43ce30a9d57c39"/><file name="nothumb.png" hash="4fb095d42325d69e33f9e08620db283a"/><file name="skin.css" hash="77f91e85513a68c68363ea8f5ce49046"/><file name="skin.png" hash="c2a9f34b086952c71cb599618fc928ba"/></dir><dir name="glass"><file name="loading.gif" hash="088b0fa7c6f5ef8a6f0c838999b4a2de"/><file name="nothumb.png" hash="4fb095d42325d69e33f9e08620db283a"/><file name="shadow.png" hash="7feecb2e0fe23274fe6a0bda004680fe"/><file name="skin.css" hash="bc481392c81acab1393f11f7736923d0"/><file name="skin.png" hash="a52d3924867a503e3a191affd35af3ce"/></dir><dir name="lightskin"><file name="loading.gif" hash="088b0fa7c6f5ef8a6f0c838999b4a2de"/><file name="nothumb.png" hash="4fb095d42325d69e33f9e08620db283a"/><file name="skin.css" hash="76dd2fcd0e9a152ac268a844249e03b3"/><file name="skin.png" hash="7a7014b8762c5855d4a973ad44b4115b"/></dir><dir name="minimal"><file name="loading.gif" hash="088b0fa7c6f5ef8a6f0c838999b4a2de"/><file name="nothumb.png" hash="4fb095d42325d69e33f9e08620db283a"/><file name="skin.css" hash="12a92190387c645598e919df09987d4b"/><file name="skin.png" hash="683ce20cf7650bb023a509b2182a183b"/></dir><dir name="noskin"><file name="loading.gif" hash="088b0fa7c6f5ef8a6f0c838999b4a2de"/><file name="nothumb.png" hash="4fb095d42325d69e33f9e08620db283a"/><file name="skin.css" hash="a7490e3bb30033a37d1fe123c5a675e4"/><file name="skin.png" hash="04b2ee7f7f946c9af534a01bf683505f"/></dir><dir name="v5"><file name="loading.gif" hash="088b0fa7c6f5ef8a6f0c838999b4a2de"/><file name="nothumb.png" hash="4fb095d42325d69e33f9e08620db283a"/><file name="skin.css" hash="bc97c95ae9fed681515eb45e119fea31"/><file name="skin.png" hash="04ec18a1e23a9b20cde5575245ebead4"/></dir></dir></dir><dir name="owl-carousel"><file name="AjaxLoader.gif" hash="5b8b06c052cac80413d62e5c45f9f37b"/><file name="Thumbs.db" hash="a222d71aeade05d901cd99b0008ce598"/><file name="grabbing.png" hash="d817e1dba5bd5d891d0504bf1715807b"/><file name="owl.carousel.css" hash="b51416af9e8adbe3d16f5f2526aba221"/><file name="owl.carousel.js" hash="950cd1fb28bd7d6a678a80de1a2e09a1"/><file name="owl.carousel.min.js" hash="a8933eddce0140ff58bdb697930f8164"/><file name="owl.theme.css" hash="f23cf727e4fcca9a5470658da5e755c9"/><file name="owl.transitions.css" hash="b1bdaeac4065bf67a7d7a06213192964"/></dir></dir><file name="oauth-simple.css" hash="3da633ac3800b0d5a9501e089202c760"/></dir></dir></dir><dir name="adminhtml"><dir name="base"><dir name="default"><dir name="modulesgardenbase"><dir name="css"><file name="modulesgarden.css" hash="650577b300aee71663f56162c3281473"/></dir><dir name="img"><file name="arrows.png" hash="8f6063c353557f32422521b2d7944734"/><file name="arrows_both.png" hash="0c1e461aa5a44b095a7522d08fa620bf"/><file name="arrows_down.png" hash="28b63c1742de966de6627d09047655d4"/><file name="arrows_down_dr.png" hash="58a61fbd2450542546e1a8bb46f990a7"/><file name="arrows_right.png" hash="e0e361c5792b26f5da2a2122b9f88d3f"/><file name="arrows_right_dr.png" hash="8b7af3a05c2b921313b39ae4fca2c3bf"/><file name="arrows_up.png" hash="f5210ec0865d4f2e59f878fc18506c61"/><dir name="icons"><file name="add_btn_icon.gif" hash="29ba6721f6188ffb67d1ce971a17509a"/><file name="bkg_btn-close2.gif" hash="efbc20287cea1d26712b4d9bd4a4d7b5"/><file name="btn_add-image_icon.gif" hash="b85039dd1dd204f348b6df6f3b11dcf7"/><file name="btn_add-widget_icon.gif" hash="eb7c1817b3706ce99cd1e4a0fbb619e7"/><file name="btn_go.gif" hash="0bfe09ca976da5ff1a6474305a40c95b"/><file name="btn_save_icon.gif" hash="bb25772f4f864f0ab4fd27255f027641"/><file name="btn_show-hide_icon.gif" hash="3e906aa321395f8828d457936dd5c4d9"/><file name="cancel_btn_icon.gif" hash="30a7d2003e8456ae2fb18eb52ad43305"/><file name="entry_edit_head_arrow_down.gif" hash="c0cc1a81d382db0f93d1acb243331c68"/><file name="entry_edit_head_arrow_down2.gif" hash="fd5c4bcf6ba5012262acb3b5108498ea"/><file name="entry_edit_head_arrow_up.gif" hash="fe7b94bd5c8984930143d3875523de3b"/><file name="error-msg.png" hash="dbcd59735bdd1fc9d8817f1ed3913ca9"/><file name="error_msg_icon.gif" hash="8855b0d4f318bf14e5f721617298447c"/><file name="icon_btn_add.gif" hash="29ba6721f6188ffb67d1ce971a17509a"/><file name="module.png" hash="7dfc67e00048390302bbabd7562e5510"/><file name="more_arrow.gif" hash="6702a983eba5b8273c60102c2d16d43e"/><file name="reload.png" hash="a6550016386975aa94cd36ae00e641b8"/><file name="save_btn_icon.gif" hash="bb25772f4f864f0ab4fd27255f027641"/></dir><file name="mgcommerce-logo.png" hash="8757e70e181c7360dbf280a94250a3ac"/><file name="modulesgarden.png" hash="60c4a74c9f6499dd1f0f62a668a1f777"/></dir></dir></dir></dir></dir></target></contents>
18
+ <compatible/>
19
+ <dependencies><required><php><min>5.2.13</min><max>5.4.0</max></php><package><name>Modulesgarden_Base</name><channel>community</channel><min>1.0.0</min><max></max></package></required></dependencies>
20
+ </package>
skin/adminhtml/base/default/modulesgardenbase/css/modulesgarden.css ADDED
@@ -0,0 +1,339 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* TABS */
2
+
3
+ .modulesgarden_tabs li a:link, .modulesgarden_tabs li a:visited {
4
+ color: #1c4b8c;
5
+ background: #f6f9fd;
6
+ line-height: 32px;
7
+ }
8
+
9
+ .modulesgarden_tabs a.active:link, .modulesgarden_tabs a.active:visited {
10
+ background: #1c4b8c !important;
11
+ color: #fff;
12
+ }
13
+
14
+ .modulesgarden_tabs a.active span {
15
+ background: inherit !important;
16
+ }
17
+
18
+ .modulesgarden_tabs li a:hover {
19
+ background: #2562b7;
20
+ color: #fff;
21
+ }
22
+
23
+ .modulesgarden_tabs h3 {
24
+ color: #2056a1;
25
+ font-weight: lighter;
26
+ font-size: 18px;
27
+ }
28
+
29
+ .modulesgarden_tabs ul.tabs a span.changed, .modulesgarden_tabs ul.tabs a:hover span.changed, .modulesgarden_tabs ul.tabs a span.error, .modulesgarden_tabs ul.tabs a:hover span.error {
30
+ margin-top: 7px;
31
+ }
32
+
33
+ .modulesgarden_tabs .error, .modulesgarden_tabs a.error span, .modulesgarden_tabs .required, .modulesgarden_tabs .validation-advice {
34
+ color: #1c4b8c;
35
+ /*font-size: 16px;*/;
36
+ }
37
+
38
+ .modulesgarden_tabs a.active.error span {
39
+ color: white !important;
40
+ }
41
+
42
+
43
+ /* LOGO */
44
+
45
+ div.modulesgarden_logo {
46
+ margin-top: 50px;
47
+ }
48
+
49
+ div.modulesgarden_logo img {
50
+ width: 100%;
51
+ }
52
+
53
+ /* GRIDS */
54
+
55
+ .modulesgarden_grid_container .grid tr.headings {
56
+ background: #2562b7 !important;
57
+ background-image:none !important;
58
+ color: white;
59
+ }
60
+
61
+ .modulesgarden_grid_container tr.headings a span {
62
+ padding: 0;
63
+ line-height: 22px;
64
+ }
65
+
66
+ .modulesgarden_grid_container tr.headings a, .modulesgarden_grid_container tr.headings span {
67
+ color: white;
68
+ }
69
+
70
+ .modulesgarden_grid_container tr.headings span.nobr {
71
+ padding: 5px;
72
+ display: inline-block;
73
+ height: 24px;
74
+ line-height: 24px;
75
+ }
76
+
77
+ .modulesgarden_grid_container tr.headings .sort-arrow-desc, .modulesgarden_grid_container tr.headings .sort-arrow-asc {
78
+ background: #457DCC !important;
79
+ border: 0 !important;
80
+ }
81
+
82
+ .modulesgarden_grid_container tr.headings .sort-arrow-desc span, .modulesgarden_grid_container tr.headings .sort-arrow-asc span {
83
+ padding: 0 12px 2px 8px !important;
84
+ line-height: 17px !important;
85
+ }
86
+
87
+ .modulesgarden_grid_container tr.headings th .sort-arrow-desc span.sort-title {
88
+ background-image: url('../img/arrows_down.png') !important;
89
+ }
90
+
91
+ .modulesgarden_grid_container tr.headings th .sort-arrow-asc span.sort-title {
92
+ background-image: url('../img/arrows_up.png') !important;
93
+ }
94
+
95
+ .modulesgarden_grid_container tr.headings th a {
96
+ padding: 5px 4px 1px 0;
97
+ }
98
+
99
+ .modulesgarden_grid_container h3, h3.modulesgardenbase_config_header {
100
+ color: #2056a1;
101
+ font-weight: lighter;
102
+ font-size: 18px;
103
+ }
104
+
105
+ .modulesgarden_grid_container table.actions {
106
+ background: #ddd;
107
+ padding: 10px;
108
+ margin: 0;
109
+ color: #2f2f2f;
110
+ }
111
+
112
+ .modulesgarden_grid_container table.actions td {
113
+ vertical-align: middle;
114
+ }
115
+
116
+ .modulesgarden_grid_container .grid tr.filter {
117
+ background: white;
118
+ }
119
+
120
+ .modulesgarden_grid_container div.grid td {
121
+ padding: 4px;
122
+ }
123
+
124
+ .modulesgarden_grid_container div.grid tr.even td {
125
+ background: #eee;
126
+ }
127
+
128
+ .modulesgarden_grid_container a:link, .modulesgarden_grid_container a:visited {
129
+ color: #1c4b8c;
130
+ }
131
+
132
+
133
+ /* EDIT FORM */
134
+
135
+ .modulesgarden_form_container h3 {
136
+ color: #2056a1;
137
+ font-weight: lighter;
138
+ font-size: 18px;
139
+ }
140
+
141
+ .modulesgarden_form_container div.entry-edit-head {
142
+ background: #2562b7;
143
+ padding: 6px;
144
+ }
145
+
146
+ /* BUTTONS */
147
+
148
+ .modulesgarden_grid_container button,
149
+ .modulesgarden_form_container button,
150
+ .modulesgarden_grid_container .form-button,
151
+ .modulesgarden_form_container .form-button,
152
+ .modulesgarden_grid_container button.save,
153
+ .modulesgarden_form_container button.save,
154
+ #mgbase_store_twitter button {
155
+ border-color: rgba(21,76,153,1) !important;
156
+ -webkit-border-radius:0 !important;
157
+ -moz-border-radius:0 !important;
158
+ border-radius:0 !important;
159
+ background: #428BCA !important;
160
+ color: #fff !important;
161
+ background-image: none !important;
162
+ border: 1px solid transparent !important;
163
+ border-color: #357ebd !important;
164
+ vertical-align: middle !important;
165
+ }
166
+
167
+ .modulesgarden_grid_container button:hover,
168
+ .modulesgarden_form_container button:hover {
169
+ background: #2562B7 !important;
170
+ }
171
+
172
+ .modulesgarden_grid_container button:active,
173
+ .modulesgarden_form_container button:active {
174
+ background: #2562B7 !important;
175
+ }
176
+
177
+ .modulesgarden_grid_container button span,
178
+ .modulesgarden_form_container button.span {
179
+ line-height: 1.35em !important;
180
+ background-repeat: no-repeat !important;
181
+ background-position: 0 50% !important;
182
+ }
183
+
184
+ .modulesgarden_grid_container button.back,
185
+ .modulesgarden_form_container button.back {
186
+ background: rgb(255, 255, 255) !important;
187
+ background: -moz-linear-gradient(90deg, rgb(255, 255, 255) 0%, rgb(216, 216, 216) 100%) !important;
188
+ background: -webkit-linear-gradient(90deg, rgb(255, 255, 255) 0%, rgb(216, 216, 216) 100%) !important;
189
+ background: -o-linear-gradient(90deg, rgb(255, 255, 255) 0%, rgb(216, 216, 216) 100%) !important;
190
+ background: -ms-linear-gradient(90deg, rgb(255, 255, 255) 0%, rgb(216, 216, 216) 100%) !important;
191
+ background: linear-gradient(180deg, rgb(255, 255, 255) 0%, rgb(216, 216, 216) 100%) !important;
192
+ border-left:1px solid rgb(204, 204, 204) !important;
193
+ border-top:1px solid rgb(204, 204, 204) !important;
194
+ border-right:1px solid rgb(170, 170, 170) !important;
195
+ border-bottom:1px solid rgb(170, 170, 170) !important;
196
+ color:rgb(85, 85, 85) !important;
197
+ }
198
+
199
+ .modulesgarden_grid_container button.back:hover,
200
+ .modulesgarden_form_container button.back:hover {
201
+ background-image:none !important;
202
+ background-color:white !important;
203
+ }
204
+
205
+ .modulesgarden_grid_container button.cancel,
206
+ .modulesgarden_grid_container button.delete,
207
+ .modulesgarden_form_container button.cancel,
208
+ .modulesgarden_form_container button.delete {
209
+ background: rgb(66, 139, 202) !important;
210
+ background: -moz-linear-gradient(90deg, rgb(66, 139, 202) 0%, rgb(37, 98, 183) 100%) !important;
211
+ background: -webkit-linear-gradient(90deg, rgb(66, 139, 202) 0%, rgb(37, 98, 183) 100%) !important;
212
+ background: -o-linear-gradient(90deg, rgb(66, 139, 202) 0%, rgb(37, 98, 183) 100%) !important;
213
+ background: -ms-linear-gradient(90deg, rgb(66, 139, 202) 0%, rgb(37, 98, 183) 100%) !important;
214
+ background: linear-gradient(180deg, rgb(66, 139, 202) 0%, rgb(37, 98, 183) 100%) !important;
215
+ border-color:#357ebd !important;
216
+ }
217
+
218
+ .modulesgarden_grid_container button.cancel:hover,
219
+ .modulesgarden_grid_container button.delete:hover,
220
+ .modulesgarden_form_container button.cancel:hover,
221
+ .modulesgarden_form_container button.delete:hover {
222
+ background: rgb(66, 139, 202) !important;
223
+ background: -moz-linear-gradient(270deg, rgb(66, 139, 202) 0%, rgb(37, 98, 183) 100%) !important;
224
+ background: -webkit-linear-gradient(270deg, rgb(66, 139, 202) 0%, rgb(37, 98, 183) 100%) !important;
225
+ background: -o-linear-gradient(270deg, rgb(66, 139, 202) 0%, rgb(37, 98, 183) 100%) !important;
226
+ background: -ms-linear-gradient(270deg, rgb(66, 139, 202) 0%, rgb(37, 98, 183) 100%) !important;
227
+ background: linear-gradient(0deg, rgb(66, 139, 202) 0%, rgb(37, 98, 183) 100%) !important;
228
+ border:1px solid #357ebd !important;
229
+ }
230
+
231
+ .modulesgarden_grid_container button.add span,
232
+ .modulesgarden_form_container button.add span {
233
+ background-image: url(../img/icons/add_btn_icon.gif);
234
+ }
235
+
236
+ .modulesgarden_grid_container button.save span,
237
+ .modulesgarden_form_container button.save span {
238
+ background-image: url(../img/icons/save_btn_icon.gif);
239
+ }
240
+
241
+ .modulesgarden_grid_container button.cancel span,
242
+ .modulesgarden_grid_container button.delete span,
243
+ .modulesgarden_form_container button.cancel span,
244
+ .modulesgarden_form_container button.delete span {
245
+ background-image: url(../img/icons/cancel_btn_icon.gif);
246
+ }
247
+
248
+ .modulesgarden_grid_container button.show-hide span,
249
+ .modulesgarden_form_container button.show-hide span {
250
+ background-image: url(../img/icons/btn_show-hide_icon.gif);
251
+ padding-left: 26px;
252
+ }
253
+
254
+ .modulesgarden_grid_container button.go span,
255
+ .modulesgarden_form_container button.go span {
256
+ background-image: url(../img/icons/btn_go.gif);
257
+ padding-left: 16px;
258
+ }
259
+
260
+ .modulesgarden_grid_container button.add-widget span,
261
+ .modulesgarden_form_container button.add-widget span {
262
+ background-image: url(../img/icons/btn_add-widget_icon.gif);
263
+ }
264
+
265
+ .modulesgarden_grid_container button.add-image span,
266
+ .modulesgarden_form_container button.add-image span {
267
+ background-image: url(../img/icons/btn_add-image_icon.gif);
268
+ }
269
+
270
+ /* STORE */
271
+
272
+ .mg_store_container table.extension {
273
+ width:100%;
274
+ margin-bottom:20px;
275
+ }
276
+ .mg_store_container table.extension td {
277
+ background-color: #f8f8f8;
278
+ border-bottom:2px solid #e7e7e7;
279
+ vertical-align: middle;
280
+ }
281
+ .mg_store_container table.extension h3 {
282
+ display: inline-block;
283
+ margin-right: 10px;
284
+ }
285
+ .mg_store_container table.extension h3 a {
286
+ text-decoration:none;
287
+ }
288
+ .mg_store_container table.extension td.img img {
289
+ display:block;
290
+ width: 80px;
291
+ }
292
+ .mg_store_container table.extension td.img {
293
+ text-align: center;
294
+ padding:5px;
295
+ width: 85px;
296
+ }
297
+ .mg_store_container table.extension .storelabel {
298
+ display: inline-block;
299
+ margin:-2px 0 10px;
300
+ padding:3px 10px;
301
+ color:white;
302
+ font-weight:bold;
303
+ text-decoration:none;
304
+ }
305
+ .mg_store_container table.extension span.installed {
306
+ background-color:#009933;
307
+ }
308
+ .mg_store_container table.extension .new {
309
+ background-color:#cc3333;
310
+ }
311
+ .mg_store_container table.extension .new:hover {
312
+ background-color:#a41515;
313
+ }
314
+ .mg_store_container table.extension span.promotion {
315
+ background-color:#990033;
316
+ }
317
+ .mg_store_container table.extension td.price {
318
+ text-align: center;
319
+ padding:0 10px;
320
+ line-height: 25px;
321
+ }
322
+ .mg_store_container table.extension td.price strong {
323
+ display:block;
324
+ font-size:18px;
325
+ color:#1c4b8c;
326
+ }
327
+ .mg_store_container table.extension td.price a, #mgbase_store_twitter button {
328
+ text-decoration: none;
329
+ padding:7px 16px;
330
+ }
331
+ .mg_store_container table.extension td.price a:hover, #mgbase_store_twitter button:hover {
332
+ background-color: #1c4b8c !important;
333
+ }
334
+
335
+
336
+ #mgbase_store_twitter iframe {
337
+ width: 100% !important;
338
+ }
339
+
skin/adminhtml/base/default/modulesgardenbase/img/arrows.png ADDED
Binary file
skin/adminhtml/base/default/modulesgardenbase/img/arrows_both.png ADDED
Binary file
skin/adminhtml/base/default/modulesgardenbase/img/arrows_down.png ADDED
Binary file
skin/adminhtml/base/default/modulesgardenbase/img/arrows_down_dr.png ADDED
Binary file
skin/adminhtml/base/default/modulesgardenbase/img/arrows_right.png ADDED
Binary file
skin/adminhtml/base/default/modulesgardenbase/img/arrows_right_dr.png ADDED
Binary file
skin/adminhtml/base/default/modulesgardenbase/img/arrows_up.png ADDED
Binary file
skin/adminhtml/base/default/modulesgardenbase/img/icons/add_btn_icon.gif ADDED
Binary file
skin/adminhtml/base/default/modulesgardenbase/img/icons/bkg_btn-close2.gif ADDED
Binary file
skin/adminhtml/base/default/modulesgardenbase/img/icons/btn_add-image_icon.gif ADDED
Binary file
skin/adminhtml/base/default/modulesgardenbase/img/icons/btn_add-widget_icon.gif ADDED
Binary file
skin/adminhtml/base/default/modulesgardenbase/img/icons/btn_go.gif ADDED
Binary file
skin/adminhtml/base/default/modulesgardenbase/img/icons/btn_save_icon.gif ADDED
Binary file
skin/adminhtml/base/default/modulesgardenbase/img/icons/btn_show-hide_icon.gif ADDED
Binary file
skin/adminhtml/base/default/modulesgardenbase/img/icons/cancel_btn_icon.gif ADDED
Binary file
skin/adminhtml/base/default/modulesgardenbase/img/icons/entry_edit_head_arrow_down.gif ADDED
Binary file
skin/adminhtml/base/default/modulesgardenbase/img/icons/entry_edit_head_arrow_down2.gif ADDED
Binary file
skin/adminhtml/base/default/modulesgardenbase/img/icons/entry_edit_head_arrow_up.gif ADDED
Binary file
skin/adminhtml/base/default/modulesgardenbase/img/icons/error-msg.png ADDED
Binary file
skin/adminhtml/base/default/modulesgardenbase/img/icons/error_msg_icon.gif ADDED
Binary file
skin/adminhtml/base/default/modulesgardenbase/img/icons/icon_btn_add.gif ADDED
Binary file
skin/adminhtml/base/default/modulesgardenbase/img/icons/module.png ADDED
Binary file
skin/adminhtml/base/default/modulesgardenbase/img/icons/more_arrow.gif ADDED
Binary file
skin/adminhtml/base/default/modulesgardenbase/img/icons/reload.png ADDED
Binary file
skin/adminhtml/base/default/modulesgardenbase/img/icons/save_btn_icon.gif ADDED
Binary file
skin/adminhtml/base/default/modulesgardenbase/img/mgcommerce-logo.png ADDED
Binary file
skin/adminhtml/base/default/modulesgardenbase/img/modulesgarden.png ADDED
Binary file
skin/frontend/modulesgarden/crystal/css/color-footer-dark.css ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* ============ STYLES FOR FOOTER THEME - LIGHTGRAY =============== */
2
+ .header_wrapp { background:#383a3c; border-bottom:1px solid #27292a; }
3
+ .header .welcome-msg { margin:0; color:#fff; }
4
+ .header .welcome-msg a { color:#fff; }
5
+ .header .links li a { color:#fff; }
6
+ .header .form-language select { background:#383a3c !important; }
7
+
8
+ .footer-container { background:#383a3c; border-top:1px solid #27292a; border-bottom:1px solid #27292a; }
9
+ .footer .store-switcher { display:inline; margin:0 5px 0 0; color:#fff; }
10
+ .footer a { color:#ececec; text-decoration:none; }
11
+ .footer a:hover { text-decoration:underline; }
12
+ .footer .bugs { margin:13px 0 0; color:#ececec; }
13
+ .footer .bugs a { color:#ececec; text-decoration:underline; }
14
+ .footer .bugs a:hover { text-decoration:none; }
15
+ .footer address { margin:0 0 20px; color:#ececec; }
16
+ .footer address a { color:#ececec; text-decoration:underline; }
17
+ .footer address a:hover { text-decoration:none; }
18
+ .footer .col2 h2, .footer .col3 h2, .footer .col4 span { color:#fff !important; }
19
+ .footer-container .col1 { background:#313132 !important; border:1px solid #27292a !important; }
20
+ .col-footer h2 { border-bottom: 1px solid #27292a !important; }
21
+ .col-footer .block-title { border-bottom: 1px solid #27292a !important; }
22
+ .footer .col1 h2 { border:none !important; color:#fff; }
23
+ .footer .col1 ul li { color:#ececec; }
24
+ .block-subscribe label { color:#ececec !important; }
25
+ .header .form-language label { color:#fff !important; }
skin/frontend/modulesgarden/crystal/css/color-footer-lightgray.css ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* ============ STYLES FOR FOOTER THEME - LIGHTGRAY =============== */
2
+ .header_wrapp { background:#f7f9fb; border-bottom:1px solid #e3e1e1; }
3
+ .header .welcome-msg { margin:0; color:#333; }
4
+ .header .welcome-msg a { color:#333; }
5
+
6
+ .footer-container { background:#f7f9fb; border-top:1px solid #e3e1e1; border-bottom:1px solid #e3e1e1; }
7
+ .footer .store-switcher { display:inline; margin:0 5px 0 0; color:#fff; }
8
+ .footer a { color:#333; text-decoration:none; }
9
+ .footer a:hover { text-decoration:underline; }
10
+ .footer .bugs { margin:13px 0 0; color:#333; }
11
+ .footer .bugs a { color:#333; text-decoration:underline; }
12
+ .footer .bugs a:hover { text-decoration:none; }
13
+ .footer address { margin:0 0 20px; color:#333; }
14
+ .footer address a { color:#333; text-decoration:underline; }
15
+ .footer address a:hover { text-decoration:none; }
skin/frontend/modulesgarden/crystal/css/color-footer-white.css ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* ============ STYLES FOR FOOTER THEME - WHITE =============== */
2
+ .header_wrapp { background:#fff; border-bottom:1px solid #e3e1e1; }
3
+ .header .welcome-msg { margin:0; color:#333; }
4
+ .header .welcome-msg a { color:#333; }
5
+ .header .form-language select { background:#fff !important; }
6
+
7
+ .footer-container { background:#fff; border-top:1px solid #e3e1e1; border-bottom:1px solid #e3e1e1; }
8
+ .footer .store-switcher { display:inline; margin:0 5px 0 0; color:#fff; }
9
+ .footer a { color:#333; text-decoration:none; }
10
+ .footer a:hover { text-decoration:underline; }
11
+ .footer .bugs { margin:13px 0 0; color:#333; }
12
+ .footer .bugs a { color:#333; text-decoration:underline; }
13
+ .footer .bugs a:hover { text-decoration:none; }
14
+ .footer address { margin:0 0 20px; color:#333; }
15
+ .footer address a { color:#333; text-decoration:underline; }
16
+ .footer address a:hover { text-decoration:none; }
skin/frontend/modulesgarden/crystal/css/font_awesome/css/font-awesome.css ADDED
@@ -0,0 +1,1672 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*!
2
+ * Font Awesome 4.2.0 by @davegandy - http://fontawesome.io - @fontawesome
3
+ * License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License)
4
+ */
5
+ /* FONT PATH
6
+ * -------------------------- */
7
+ @font-face {
8
+ font-family: 'FontAwesome';
9
+ src: url('../fonts/fontawesome-webfont.eot?v=4.2.0');
10
+ src: url('../fonts/fontawesome-webfont.eot?#iefix&v=4.2.0') format('embedded-opentype'), url('../fonts/fontawesome-webfont.woff?v=4.2.0') format('woff'), url('../fonts/fontawesome-webfont.ttf?v=4.2.0') format('truetype'), url('../fonts/fontawesome-webfont.svg?v=4.2.0#fontawesomeregular') format('svg');
11
+ font-weight: normal;
12
+ font-style: normal;
13
+ }
14
+ .fa {
15
+ display: inline-block;
16
+ font: normal normal normal 14px/1 FontAwesome;
17
+ font-size: inherit;
18
+ text-rendering: auto;
19
+ -webkit-font-smoothing: antialiased;
20
+ -moz-osx-font-smoothing: grayscale;
21
+ }
22
+ /* makes the font 33% larger relative to the icon container */
23
+ .fa-lg {
24
+ font-size: 1.33333333em;
25
+ line-height: 0.75em;
26
+ vertical-align: -15%;
27
+ }
28
+ .fa-2x {
29
+ font-size: 2em;
30
+ }
31
+ .fa-3x {
32
+ font-size: 3em;
33
+ }
34
+ .fa-4x {
35
+ font-size: 4em;
36
+ }
37
+ .fa-5x {
38
+ font-size: 5em;
39
+ }
40
+ .fa-fw {
41
+ width: 1.28571429em;
42
+ text-align: center;
43
+ }
44
+ .fa-ul {
45
+ padding-left: 0;
46
+ margin-left: 2.14285714em;
47
+ list-style-type: none;
48
+ }
49
+ .fa-ul > li {
50
+ position: relative;
51
+ }
52
+ .fa-li {
53
+ position: absolute;
54
+ left: -2.14285714em;
55
+ width: 2.14285714em;
56
+ top: 0.14285714em;
57
+ text-align: center;
58
+ }
59
+ .fa-li.fa-lg {
60
+ left: -1.85714286em;
61
+ }
62
+ .fa-border {
63
+ padding: .2em .25em .15em;
64
+ border: solid 0.08em #eeeeee;
65
+ border-radius: .1em;
66
+ }
67
+ .pull-right {
68
+ float: right;
69
+ }
70
+ .pull-left {
71
+ float: left;
72
+ }
73
+ .fa.pull-left {
74
+ margin-right: .3em;
75
+ }
76
+ .fa.pull-right {
77
+ margin-left: .3em;
78
+ }
79
+ .fa-spin {
80
+ -webkit-animation: fa-spin 2s infinite linear;
81
+ animation: fa-spin 2s infinite linear;
82
+ }
83
+ @-webkit-keyframes fa-spin {
84
+ 0% {
85
+ -webkit-transform: rotate(0deg);
86
+ transform: rotate(0deg);
87
+ }
88
+ 100% {
89
+ -webkit-transform: rotate(359deg);
90
+ transform: rotate(359deg);
91
+ }
92
+ }
93
+ @keyframes fa-spin {
94
+ 0% {
95
+ -webkit-transform: rotate(0deg);
96
+ transform: rotate(0deg);
97
+ }
98
+ 100% {
99
+ -webkit-transform: rotate(359deg);
100
+ transform: rotate(359deg);
101
+ }
102
+ }
103
+ .fa-rotate-90 {
104
+ filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=1);
105
+ -webkit-transform: rotate(90deg);
106
+ -ms-transform: rotate(90deg);
107
+ transform: rotate(90deg);
108
+ }
109
+ .fa-rotate-180 {
110
+ filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2);
111
+ -webkit-transform: rotate(180deg);
112
+ -ms-transform: rotate(180deg);
113
+ transform: rotate(180deg);
114
+ }
115
+ .fa-rotate-270 {
116
+ filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
117
+ -webkit-transform: rotate(270deg);
118
+ -ms-transform: rotate(270deg);
119
+ transform: rotate(270deg);
120
+ }
121
+ .fa-flip-horizontal {
122
+ filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1);
123
+ -webkit-transform: scale(-1, 1);
124
+ -ms-transform: scale(-1, 1);
125
+ transform: scale(-1, 1);
126
+ }
127
+ .fa-flip-vertical {
128
+ filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1);
129
+ -webkit-transform: scale(1, -1);
130
+ -ms-transform: scale(1, -1);
131
+ transform: scale(1, -1);
132
+ }
133
+ :root .fa-rotate-90,
134
+ :root .fa-rotate-180,
135
+ :root .fa-rotate-270,
136
+ :root .fa-flip-horizontal,
137
+ :root .fa-flip-vertical {
138
+ filter: none;
139
+ }
140
+ .fa-stack {
141
+ position: relative;
142
+ display: inline-block;
143
+ width: 2em;
144
+ height: 2em;
145
+ line-height: 2em;
146
+ vertical-align: middle;
147
+ }
148
+ .fa-stack-1x,
149
+ .fa-stack-2x {
150
+ position: absolute;
151
+ left: 0;
152
+ width: 100%;
153
+ text-align: center;
154
+ }
155
+ .fa-stack-1x {
156
+ line-height: inherit;
157
+ }
158
+ .fa-stack-2x {
159
+ font-size: 2em;
160
+ }
161
+ .fa-inverse {
162
+ color: #ffffff;
163
+ }
164
+ /* Font Awesome uses the Unicode Private Use Area (PUA) to ensure screen
165
+ readers do not read off random characters that represent icons */
166
+ .fa-glass:before {
167
+ content: "\f000";
168
+ }
169
+ .fa-music:before {
170
+ content: "\f001";
171
+ }
172
+ .fa-search:before {
173
+ content: "\f002";
174
+ }
175
+ .fa-envelope-o:before {
176
+ content: "\f003";
177
+ }
178
+ .fa-heart:before {
179
+ content: "\f004";
180
+ }
181
+ .fa-star:before {
182
+ content: "\f005";
183
+ }
184
+ .fa-star-o:before {
185
+ content: "\f006";
186
+ }
187
+ .fa-user:before {
188
+ content: "\f007";
189
+ }
190
+ .fa-film:before {
191
+ content: "\f008";
192
+ }
193
+ .fa-th-large:before {
194
+ content: "\f009";
195
+ }
196
+ .fa-th:before {
197
+ content: "\f00a";
198
+ }
199
+ .fa-th-list:before {
200
+ content: "\f00b";
201
+ }
202
+ .fa-check:before {
203
+ content: "\f00c";
204
+ }
205
+ .fa-remove:before,
206
+ .fa-close:before,
207
+ .fa-times:before {
208
+ content: "\f00d";
209
+ }
210
+ .fa-search-plus:before {
211
+ content: "\f00e";
212
+ }
213
+ .fa-search-minus:before {
214
+ content: "\f010";
215
+ }
216
+ .fa-power-off:before {
217
+ content: "\f011";
218
+ }
219
+ .fa-signal:before {
220
+ content: "\f012";
221
+ }
222
+ .fa-gear:before,
223
+ .fa-cog:before {
224
+ content: "\f013";
225
+ }
226
+ .fa-trash-o:before {
227
+ content: "\f014";
228
+ }
229
+ .fa-home:before {
230
+ content: "\f015";
231
+ }
232
+ .fa-file-o:before {
233
+ content: "\f016";
234
+ }
235
+ .fa-clock-o:before {
236
+ content: "\f017";
237
+ }
238
+ .fa-road:before {
239
+ content: "\f018";
240
+ }
241
+ .fa-download:before {
242
+ content: "\f019";
243
+ }
244
+ .fa-arrow-circle-o-down:before {
245
+ content: "\f01a";
246
+ }
247
+ .fa-arrow-circle-o-up:before {
248
+ content: "\f01b";
249
+ }
250
+ .fa-inbox:before {
251
+ content: "\f01c";
252
+ }
253
+ .fa-play-circle-o:before {
254
+ content: "\f01d";
255
+ }
256
+ .fa-rotate-right:before,
257
+ .fa-repeat:before {
258
+ content: "\f01e";
259
+ }
260
+ .fa-refresh:before {
261
+ content: "\f021";
262
+ }
263
+ .fa-list-alt:before {
264
+ content: "\f022";
265
+ }
266
+ .fa-lock:before {
267
+ content: "\f023";
268
+ }
269
+ .fa-flag:before {
270
+ content: "\f024";
271
+ }
272
+ .fa-headphones:before {
273
+ content: "\f025";
274
+ }
275
+ .fa-volume-off:before {
276
+ content: "\f026";
277
+ }
278
+ .fa-volume-down:before {
279
+ content: "\f027";
280
+ }
281
+ .fa-volume-up:before {
282
+ content: "\f028";
283
+ }
284
+ .fa-qrcode:before {
285
+ content: "\f029";
286
+ }
287
+ .fa-barcode:before {
288
+ content: "\f02a";
289
+ }
290
+ .fa-tag:before {
291
+ content: "\f02b";
292
+ }
293
+ .fa-tags:before {
294
+ content: "\f02c";
295
+ }
296
+ .fa-book:before {
297
+ content: "\f02d";
298
+ }
299
+ .fa-bookmark:before {
300
+ content: "\f02e";
301
+ }
302
+ .fa-print:before {
303
+ content: "\f02f";
304
+ }
305
+ .fa-camera:before {
306
+ content: "\f030";
307
+ }
308
+ .fa-font:before {
309
+ content: "\f031";
310
+ }
311
+ .fa-bold:before {
312
+ content: "\f032";
313
+ }
314
+ .fa-italic:before {
315
+ content: "\f033";
316
+ }
317
+ .fa-text-height:before {
318
+ content: "\f034";
319
+ }
320
+ .fa-text-width:before {
321
+ content: "\f035";
322
+ }
323
+ .fa-align-left:before {
324
+ content: "\f036";
325
+ }
326
+ .fa-align-center:before {
327
+ content: "\f037";
328
+ }
329
+ .fa-align-right:before {
330
+ content: "\f038";
331
+ }
332
+ .fa-align-justify:before {
333
+ content: "\f039";
334
+ }
335
+ .fa-list:before {
336
+ content: "\f03a";
337
+ }
338
+ .fa-dedent:before,
339
+ .fa-outdent:before {
340
+ content: "\f03b";
341
+ }
342
+ .fa-indent:before {
343
+ content: "\f03c";
344
+ }
345
+ .fa-video-camera:before {
346
+ content: "\f03d";
347
+ }
348
+ .fa-photo:before,
349
+ .fa-image:before,
350
+ .fa-picture-o:before {
351
+ content: "\f03e";
352
+ }
353
+ .fa-pencil:before {
354
+ content: "\f040";
355
+ }
356
+ .fa-map-marker:before {
357
+ content: "\f041";
358
+ }
359
+ .fa-adjust:before {
360
+ content: "\f042";
361
+ }
362
+ .fa-tint:before {
363
+ content: "\f043";
364
+ }
365
+ .fa-edit:before,
366
+ .fa-pencil-square-o:before {
367
+ content: "\f044";
368
+ }
369
+ .fa-share-square-o:before {
370
+ content: "\f045";
371
+ }
372
+ .fa-check-square-o:before {
373
+ content: "\f046";
374
+ }
375
+ .fa-arrows:before {
376
+ content: "\f047";
377
+ }
378
+ .fa-step-backward:before {
379
+ content: "\f048";
380
+ }
381
+ .fa-fast-backward:before {
382
+ content: "\f049";
383
+ }
384
+ .fa-backward:before {
385
+ content: "\f04a";
386
+ }
387
+ .fa-play:before {
388
+ content: "\f04b";
389
+ }
390
+ .fa-pause:before {
391
+ content: "\f04c";
392
+ }
393
+ .fa-stop:before {
394
+ content: "\f04d";
395
+ }
396
+ .fa-forward:before {
397
+ content: "\f04e";
398
+ }
399
+ .fa-fast-forward:before {
400
+ content: "\f050";
401
+ }
402
+ .fa-step-forward:before {
403
+ content: "\f051";
404
+ }
405
+ .fa-eject:before {
406
+ content: "\f052";
407
+ }
408
+ .fa-chevron-left:before {
409
+ content: "\f053";
410
+ }
411
+ .fa-chevron-right:before {
412
+ content: "\f054";
413
+ }
414
+ .fa-plus-circle:before {
415
+ content: "\f055";
416
+ }
417
+ .fa-minus-circle:before {
418
+ content: "\f056";
419
+ }
420
+ .fa-times-circle:before {
421
+ content: "\f057";
422
+ }
423
+ .fa-check-circle:before {
424
+ content: "\f058";
425
+ }
426
+ .fa-question-circle:before {
427
+ content: "\f059";
428
+ }
429
+ .fa-info-circle:before {
430
+ content: "\f05a";
431
+ }
432
+ .fa-crosshairs:before {
433
+ content: "\f05b";
434
+ }
435
+ .fa-times-circle-o:before {
436
+ content: "\f05c";
437
+ }
438
+ .fa-check-circle-o:before {
439
+ content: "\f05d";
440
+ }
441
+ .fa-ban:before {
442
+ content: "\f05e";
443
+ }
444
+ .fa-arrow-left:before {
445
+ content: "\f060";
446
+ }
447
+ .fa-arrow-right:before {
448
+ content: "\f061";
449
+ }
450
+ .fa-arrow-up:before {
451
+ content: "\f062";
452
+ }
453
+ .fa-arrow-down:before {
454
+ content: "\f063";
455
+ }
456
+ .fa-mail-forward:before,
457
+ .fa-share:before {
458
+ content: "\f064";
459
+ }
460
+ .fa-expand:before {
461
+ content: "\f065";
462
+ }
463
+ .fa-compress:before {
464
+ content: "\f066";
465
+ }
466
+ .fa-plus:before {
467
+ content: "\f067";
468
+ }
469
+ .fa-minus:before {
470
+ content: "\f068";
471
+ }
472
+ .fa-asterisk:before {
473
+ content: "\f069";
474
+ }
475
+ .fa-exclamation-circle:before {
476
+ content: "\f06a";
477
+ }
478
+ .fa-gift:before {
479
+ content: "\f06b";
480
+ }
481
+ .fa-leaf:before {
482
+ content: "\f06c";
483
+ }
484
+ .fa-fire:before {
485
+ content: "\f06d";
486
+ }
487
+ .fa-eye:before {
488
+ content: "\f06e";
489
+ }
490
+ .fa-eye-slash:before {
491
+ content: "\f070";
492
+ }
493
+ .fa-warning:before,
494
+ .fa-exclamation-triangle:before {
495
+ content: "\f071";
496
+ }
497
+ .fa-plane:before {
498
+ content: "\f072";
499
+ }
500
+ .fa-calendar:before {
501
+ content: "\f073";
502
+ }
503
+ .fa-random:before {
504
+ content: "\f074";
505
+ }
506
+ .fa-comment:before {
507
+ content: "\f075";
508
+ }
509
+ .fa-magnet:before {
510
+ content: "\f076";
511
+ }
512
+ .fa-chevron-up:before {
513
+ content: "\f077";
514
+ }
515
+ .fa-chevron-down:before {
516
+ content: "\f078";
517
+ }
518
+ .fa-retweet:before {
519
+ content: "\f079";
520
+ }
521
+ .fa-shopping-cart:before {
522
+ content: "\f07a";
523
+ }
524
+ .fa-folder:before {
525
+ content: "\f07b";
526
+ }
527
+ .fa-folder-open:before {
528
+ content: "\f07c";
529
+ }
530
+ .fa-arrows-v:before {
531
+ content: "\f07d";
532
+ }
533
+ .fa-arrows-h:before {
534
+ content: "\f07e";
535
+ }
536
+ .fa-bar-chart-o:before,
537
+ .fa-bar-chart:before {
538
+ content: "\f080";
539
+ }
540
+ .fa-twitter-square:before {
541
+ content: "\f081";
542
+ }
543
+ .fa-facebook-square:before {
544
+ content: "\f082";
545
+ }
546
+ .fa-camera-retro:before {
547
+ content: "\f083";
548
+ }
549
+ .fa-key:before {
550
+ content: "\f084";
551
+ }
552
+ .fa-gears:before,
553
+ .fa-cogs:before {
554
+ content: "\f085";
555
+ }
556
+ .fa-comments:before {
557
+ content: "\f086";
558
+ }
559
+ .fa-thumbs-o-up:before {
560
+ content: "\f087";
561
+ }
562
+ .fa-thumbs-o-down:before {
563
+ content: "\f088";
564
+ }
565
+ .fa-star-half:before {
566
+ content: "\f089";
567
+ }
568
+ .fa-heart-o:before {
569
+ content: "\f08a";
570
+ }
571
+ .fa-sign-out:before {
572
+ content: "\f08b";
573
+ }
574
+ .fa-linkedin-square:before {
575
+ content: "\f08c";
576
+ }
577
+ .fa-thumb-tack:before {
578
+ content: "\f08d";
579
+ }
580
+ .fa-external-link:before {
581
+ content: "\f08e";
582
+ }
583
+ .fa-sign-in:before {
584
+ content: "\f090";
585
+ }
586
+ .fa-trophy:before {
587
+ content: "\f091";
588
+ }
589
+ .fa-github-square:before {
590
+ content: "\f092";
591
+ }
592
+ .fa-upload:before {
593
+ content: "\f093";
594
+ }
595
+ .fa-lemon-o:before {
596
+ content: "\f094";
597
+ }
598
+ .fa-phone:before {
599
+ content: "\f095";
600
+ }
601
+ .fa-square-o:before {
602
+ content: "\f096";
603
+ }
604
+ .fa-bookmark-o:before {
605
+ content: "\f097";
606
+ }
607
+ .fa-phone-square:before {
608
+ content: "\f098";
609
+ }
610
+ .fa-twitter:before {
611
+ content: "\f099";
612
+ }
613
+ .fa-facebook:before {
614
+ content: "\f09a";
615
+ }
616
+ .fa-github:before {
617
+ content: "\f09b";
618
+ }
619
+ .fa-unlock:before {
620
+ content: "\f09c";
621
+ }
622
+ .fa-credit-card:before {
623
+ content: "\f09d";
624
+ }
625
+ .fa-rss:before {
626
+ content: "\f09e";
627
+ }
628
+ .fa-hdd-o:before {
629
+ content: "\f0a0";
630
+ }
631
+ .fa-bullhorn:before {
632
+ content: "\f0a1";
633
+ }
634
+ .fa-bell:before {
635
+ content: "\f0f3";
636
+ }
637
+ .fa-certificate:before {
638
+ content: "\f0a3";
639
+ }
640
+ .fa-hand-o-right:before {
641
+ content: "\f0a4";
642
+ }
643
+ .fa-hand-o-left:before {
644
+ content: "\f0a5";
645
+ }
646
+ .fa-hand-o-up:before {
647
+ content: "\f0a6";
648
+ }
649
+ .fa-hand-o-down:before {
650
+ content: "\f0a7";
651
+ }
652
+ .fa-arrow-circle-left:before {
653
+ content: "\f0a8";
654
+ }
655
+ .fa-arrow-circle-right:before {
656
+ content: "\f0a9";
657
+ }
658
+ .fa-arrow-circle-up:before {
659
+ content: "\f0aa";
660
+ }
661
+ .fa-arrow-circle-down:before {
662
+ content: "\f0ab";
663
+ }
664
+ .fa-globe:before {
665
+ content: "\f0ac";
666
+ }
667
+ .fa-wrench:before {
668
+ content: "\f0ad";
669
+ }
670
+ .fa-tasks:before {
671
+ content: "\f0ae";
672
+ }
673
+ .fa-filter:before {
674
+ content: "\f0b0";
675
+ }
676
+ .fa-briefcase:before {
677
+ content: "\f0b1";
678
+ }
679
+ .fa-arrows-alt:before {
680
+ content: "\f0b2";
681
+ }
682
+ .fa-group:before,
683
+ .fa-users:before {
684
+ content: "\f0c0";
685
+ }
686
+ .fa-chain:before,
687
+ .fa-link:before {
688
+ content: "\f0c1";
689
+ }
690
+ .fa-cloud:before {
691
+ content: "\f0c2";
692
+ }
693
+ .fa-flask:before {
694
+ content: "\f0c3";
695
+ }
696
+ .fa-cut:before,
697
+ .fa-scissors:before {
698
+ content: "\f0c4";
699
+ }
700
+ .fa-copy:before,
701
+ .fa-files-o:before {
702
+ content: "\f0c5";
703
+ }
704
+ .fa-paperclip:before {
705
+ content: "\f0c6";
706
+ }
707
+ .fa-save:before,
708
+ .fa-floppy-o:before {
709
+ content: "\f0c7";
710
+ }
711
+ .fa-square:before {
712
+ content: "\f0c8";
713
+ }
714
+ .fa-navicon:before,
715
+ .fa-reorder:before,
716
+ .fa-bars:before {
717
+ content: "\f0c9";
718
+ }
719
+ .fa-list-ul:before {
720
+ content: "\f0ca";
721
+ }
722
+ .fa-list-ol:before {
723
+ content: "\f0cb";
724
+ }
725
+ .fa-strikethrough:before {
726
+ content: "\f0cc";
727
+ }
728
+ .fa-underline:before {
729
+ content: "\f0cd";
730
+ }
731
+ .fa-table:before {
732
+ content: "\f0ce";
733
+ }
734
+ .fa-magic:before {
735
+ content: "\f0d0";
736
+ }
737
+ .fa-truck:before {
738
+ content: "\f0d1";
739
+ }
740
+ .fa-pinterest:before {
741
+ content: "\f0d2";
742
+ }
743
+ .fa-pinterest-square:before {
744
+ content: "\f0d3";
745
+ }
746
+ .fa-google-plus-square:before {
747
+ content: "\f0d4";
748
+ }
749
+ .fa-google-plus:before {
750
+ content: "\f0d5";
751
+ }
752
+ .fa-money:before {
753
+ content: "\f0d6";
754
+ }
755
+ .fa-caret-down:before {
756
+ content: "\f0d7";
757
+ }
758
+ .fa-caret-up:before {
759
+ content: "\f0d8";
760
+ }
761
+ .fa-caret-left:before {
762
+ content: "\f0d9";
763
+ }
764
+ .fa-caret-right:before {
765
+ content: "\f0da";
766
+ }
767
+ .fa-columns:before {
768
+ content: "\f0db";
769
+ }
770
+ .fa-unsorted:before,
771
+ .fa-sort:before {
772
+ content: "\f0dc";
773
+ }
774
+ .fa-sort-down:before,
775
+ .fa-sort-desc:before {
776
+ content: "\f0dd";
777
+ }
778
+ .fa-sort-up:before,
779
+ .fa-sort-asc:before {
780
+ content: "\f0de";
781
+ }
782
+ .fa-envelope:before {
783
+ content: "\f0e0";
784
+ }
785
+ .fa-linkedin:before {
786
+ content: "\f0e1";
787
+ }
788
+ .fa-rotate-left:before,
789
+ .fa-undo:before {
790
+ content: "\f0e2";
791
+ }
792
+ .fa-legal:before,
793
+ .fa-gavel:before {
794
+ content: "\f0e3";
795
+ }
796
+ .fa-dashboard:before,
797
+ .fa-tachometer:before {
798
+ content: "\f0e4";
799
+ }
800
+ .fa-comment-o:before {
801
+ content: "\f0e5";
802
+ }
803
+ .fa-comments-o:before {
804
+ content: "\f0e6";
805
+ }
806
+ .fa-flash:before,
807
+ .fa-bolt:before {
808
+ content: "\f0e7";
809
+ }
810
+ .fa-sitemap:before {
811
+ content: "\f0e8";
812
+ }
813
+ .fa-umbrella:before {
814
+ content: "\f0e9";
815
+ }
816
+ .fa-paste:before,
817
+ .fa-clipboard:before {
818
+ content: "\f0ea";
819
+ }
820
+ .fa-lightbulb-o:before {
821
+ content: "\f0eb";
822
+ }
823
+ .fa-exchange:before {
824
+ content: "\f0ec";
825
+ }
826
+ .fa-cloud-download:before {
827
+ content: "\f0ed";
828
+ }
829
+ .fa-cloud-upload:before {
830
+ content: "\f0ee";
831
+ }
832
+ .fa-user-md:before {
833
+ content: "\f0f0";
834
+ }
835
+ .fa-stethoscope:before {
836
+ content: "\f0f1";
837
+ }
838
+ .fa-suitcase:before {
839
+ content: "\f0f2";
840
+ }
841
+ .fa-bell-o:before {
842
+ content: "\f0a2";
843
+ }
844
+ .fa-coffee:before {
845
+ content: "\f0f4";
846
+ }
847
+ .fa-cutlery:before {
848
+ content: "\f0f5";
849
+ }
850
+ .fa-file-text-o:before {
851
+ content: "\f0f6";
852
+ }
853
+ .fa-building-o:before {
854
+ content: "\f0f7";
855
+ }
856
+ .fa-hospital-o:before {
857
+ content: "\f0f8";
858
+ }
859
+ .fa-ambulance:before {
860
+ content: "\f0f9";
861
+ }
862
+ .fa-medkit:before {
863
+ content: "\f0fa";
864
+ }
865
+ .fa-fighter-jet:before {
866
+ content: "\f0fb";
867
+ }
868
+ .fa-beer:before {
869
+ content: "\f0fc";
870
+ }
871
+ .fa-h-square:before {
872
+ content: "\f0fd";
873
+ }
874
+ .fa-plus-square:before {
875
+ content: "\f0fe";
876
+ }
877
+ .fa-angle-double-left:before {
878
+ content: "\f100";
879
+ }
880
+ .fa-angle-double-right:before {
881
+ content: "\f101";
882
+ }
883
+ .fa-angle-double-up:before {
884
+ content: "\f102";
885
+ }
886
+ .fa-angle-double-down:before {
887
+ content: "\f103";
888
+ }
889
+ .fa-angle-left:before {
890
+ content: "\f104";
891
+ }
892
+ .fa-angle-right:before {
893
+ content: "\f105";
894
+ }
895
+ .fa-angle-up:before {
896
+ content: "\f106";
897
+ }
898
+ .fa-angle-down:before {
899
+ content: "\f107";
900
+ }
901
+ .fa-desktop:before {
902
+ content: "\f108";
903
+ }
904
+ .fa-laptop:before {
905
+ content: "\f109";
906
+ }
907
+ .fa-tablet:before {
908
+ content: "\f10a";
909
+ }
910
+ .fa-mobile-phone:before,
911
+ .fa-mobile:before {
912
+ content: "\f10b";
913
+ }
914
+ .fa-circle-o:before {
915
+ content: "\f10c";
916
+ }
917
+ .fa-quote-left:before {
918
+ content: "\f10d";
919
+ }
920
+ .fa-quote-right:before {
921
+ content: "\f10e";
922
+ }
923
+ .fa-spinner:before {
924
+ content: "\f110";
925
+ }
926
+ .fa-circle:before {
927
+ content: "\f111";
928
+ }
929
+ .fa-mail-reply:before,
930
+ .fa-reply:before {
931
+ content: "\f112";
932
+ }
933
+ .fa-github-alt:before {
934
+ content: "\f113";
935
+ }
936
+ .fa-folder-o:before {
937
+ content: "\f114";
938
+ }
939
+ .fa-folder-open-o:before {
940
+ content: "\f115";
941
+ }
942
+ .fa-smile-o:before {
943
+ content: "\f118";
944
+ }
945
+ .fa-frown-o:before {
946
+ content: "\f119";
947
+ }
948
+ .fa-meh-o:before {
949
+ content: "\f11a";
950
+ }
951
+ .fa-gamepad:before {
952
+ content: "\f11b";
953
+ }
954
+ .fa-keyboard-o:before {
955
+ content: "\f11c";
956
+ }
957
+ .fa-flag-o:before {
958
+ content: "\f11d";
959
+ }
960
+ .fa-flag-checkered:before {
961
+ content: "\f11e";
962
+ }
963
+ .fa-terminal:before {
964
+ content: "\f120";
965
+ }
966
+ .fa-code:before {
967
+ content: "\f121";
968
+ }
969
+ .fa-mail-reply-all:before,
970
+ .fa-reply-all:before {
971
+ content: "\f122";
972
+ }
973
+ .fa-star-half-empty:before,
974
+ .fa-star-half-full:before,
975
+ .fa-star-half-o:before {
976
+ content: "\f123";
977
+ }
978
+ .fa-location-arrow:before {
979
+ content: "\f124";
980
+ }
981
+ .fa-crop:before {
982
+ content: "\f125";
983
+ }
984
+ .fa-code-fork:before {
985
+ content: "\f126";
986
+ }
987
+ .fa-unlink:before,
988
+ .fa-chain-broken:before {
989
+ content: "\f127";
990
+ }
991
+ .fa-question:before {
992
+ content: "\f128";
993
+ }
994
+ .fa-info:before {
995
+ content: "\f129";
996
+ }
997
+ .fa-exclamation:before {
998
+ content: "\f12a";
999
+ }
1000
+ .fa-superscript:before {
1001
+ content: "\f12b";
1002
+ }
1003
+ .fa-subscript:before {
1004
+ content: "\f12c";
1005
+ }
1006
+ .fa-eraser:before {
1007
+ content: "\f12d";
1008
+ }
1009
+ .fa-puzzle-piece:before {
1010
+ content: "\f12e";
1011
+ }
1012
+ .fa-microphone:before {
1013
+ content: "\f130";
1014
+ }
1015
+ .fa-microphone-slash:before {
1016
+ content: "\f131";
1017
+ }
1018
+ .fa-shield:before {
1019
+ content: "\f132";
1020
+ }
1021
+ .fa-calendar-o:before {
1022
+ content: "\f133";
1023
+ }
1024
+ .fa-fire-extinguisher:before {
1025
+ content: "\f134";
1026
+ }
1027
+ .fa-rocket:before {
1028
+ content: "\f135";
1029
+ }
1030
+ .fa-maxcdn:before {
1031
+ content: "\f136";
1032
+ }
1033
+ .fa-chevron-circle-left:before {
1034
+ content: "\f137";
1035
+ }
1036
+ .fa-chevron-circle-right:before {
1037
+ content: "\f138";
1038
+ }
1039
+ .fa-chevron-circle-up:before {
1040
+ content: "\f139";
1041
+ }
1042
+ .fa-chevron-circle-down:before {
1043
+ content: "\f13a";
1044
+ }
1045
+ .fa-html5:before {
1046
+ content: "\f13b";
1047
+ }
1048
+ .fa-css3:before {
1049
+ content: "\f13c";
1050
+ }
1051
+ .fa-anchor:before {
1052
+ content: "\f13d";
1053
+ }
1054
+ .fa-unlock-alt:before {
1055
+ content: "\f13e";
1056
+ }
1057
+ .fa-bullseye:before {
1058
+ content: "\f140";
1059
+ }
1060
+ .fa-ellipsis-h:before {
1061
+ content: "\f141";
1062
+ }
1063
+ .fa-ellipsis-v:before {
1064
+ content: "\f142";
1065
+ }
1066
+ .fa-rss-square:before {
1067
+ content: "\f143";
1068
+ }
1069
+ .fa-play-circle:before {
1070
+ content: "\f144";
1071
+ }
1072
+ .fa-ticket:before {
1073
+ content: "\f145";
1074
+ }
1075
+ .fa-minus-square:before {
1076
+ content: "\f146";
1077
+ }
1078
+ .fa-minus-square-o:before {
1079
+ content: "\f147";
1080
+ }
1081
+ .fa-level-up:before {
1082
+ content: "\f148";
1083
+ }
1084
+ .fa-level-down:before {
1085
+ content: "\f149";
1086
+ }
1087
+ .fa-check-square:before {
1088
+ content: "\f14a";
1089
+ }
1090
+ .fa-pencil-square:before {
1091
+ content: "\f14b";
1092
+ }
1093
+ .fa-external-link-square:before {
1094
+ content: "\f14c";
1095
+ }
1096
+ .fa-share-square:before {
1097
+ content: "\f14d";
1098
+ }
1099
+ .fa-compass:before {
1100
+ content: "\f14e";
1101
+ }
1102
+ .fa-toggle-down:before,
1103
+ .fa-caret-square-o-down:before {
1104
+ content: "\f150";
1105
+ }
1106
+ .fa-toggle-up:before,
1107
+ .fa-caret-square-o-up:before {
1108
+ content: "\f151";
1109
+ }
1110
+ .fa-toggle-right:before,
1111
+ .fa-caret-square-o-right:before {
1112
+ content: "\f152";
1113
+ }
1114
+ .fa-euro:before,
1115
+ .fa-eur:before {
1116
+ content: "\f153";
1117
+ }
1118
+ .fa-gbp:before {
1119
+ content: "\f154";
1120
+ }
1121
+ .fa-dollar:before,
1122
+ .fa-usd:before {
1123
+ content: "\f155";
1124
+ }
1125
+ .fa-rupee:before,
1126
+ .fa-inr:before {
1127
+ content: "\f156";
1128
+ }
1129
+ .fa-cny:before,
1130
+ .fa-rmb:before,
1131
+ .fa-yen:before,
1132
+ .fa-jpy:before {
1133
+ content: "\f157";
1134
+ }
1135
+ .fa-ruble:before,
1136
+ .fa-rouble:before,
1137
+ .fa-rub:before {
1138
+ content: "\f158";
1139
+ }
1140
+ .fa-won:before,
1141
+ .fa-krw:before {
1142
+ content: "\f159";
1143
+ }
1144
+ .fa-bitcoin:before,
1145
+ .fa-btc:before {
1146
+ content: "\f15a";
1147
+ }
1148
+ .fa-file:before {
1149
+ content: "\f15b";
1150
+ }
1151
+ .fa-file-text:before {
1152
+ content: "\f15c";
1153
+ }
1154
+ .fa-sort-alpha-asc:before {
1155
+ content: "\f15d";
1156
+ }
1157
+ .fa-sort-alpha-desc:before {
1158
+ content: "\f15e";
1159
+ }
1160
+ .fa-sort-amount-asc:before {
1161
+ content: "\f160";
1162
+ }
1163
+ .fa-sort-amount-desc:before {
1164
+ content: "\f161";
1165
+ }
1166
+ .fa-sort-numeric-asc:before {
1167
+ content: "\f162";
1168
+ }
1169
+ .fa-sort-numeric-desc:before {
1170
+ content: "\f163";
1171
+ }
1172
+ .fa-thumbs-up:before {
1173
+ content: "\f164";
1174
+ }
1175
+ .fa-thumbs-down:before {
1176
+ content: "\f165";
1177
+ }
1178
+ .fa-youtube-square:before {
1179
+ content: "\f166";
1180
+ }
1181
+ .fa-youtube:before {
1182
+ content: "\f167";
1183
+ }
1184
+ .fa-xing:before {
1185
+ content: "\f168";
1186
+ }
1187
+ .fa-xing-square:before {
1188
+ content: "\f169";
1189
+ }
1190
+ .fa-youtube-play:before {
1191
+ content: "\f16a";
1192
+ }
1193
+ .fa-dropbox:before {
1194
+ content: "\f16b";
1195
+ }
1196
+ .fa-stack-overflow:before {
1197
+ content: "\f16c";
1198
+ }
1199
+ .fa-instagram:before {
1200
+ content: "\f16d";
1201
+ }
1202
+ .fa-flickr:before {
1203
+ content: "\f16e";
1204
+ }
1205
+ .fa-adn:before {
1206
+ content: "\f170";
1207
+ }
1208
+ .fa-bitbucket:before {
1209
+ content: "\f171";
1210
+ }
1211
+ .fa-bitbucket-square:before {
1212
+ content: "\f172";
1213
+ }
1214
+ .fa-tumblr:before {
1215
+ content: "\f173";
1216
+ }
1217
+ .fa-tumblr-square:before {
1218
+ content: "\f174";
1219
+ }
1220
+ .fa-long-arrow-down:before {
1221
+ content: "\f175";
1222
+ }
1223
+ .fa-long-arrow-up:before {
1224
+ content: "\f176";
1225
+ }
1226
+ .fa-long-arrow-left:before {
1227
+ content: "\f177";
1228
+ }
1229
+ .fa-long-arrow-right:before {
1230
+ content: "\f178";
1231
+ }
1232
+ .fa-apple:before {
1233
+ content: "\f179";
1234
+ }
1235
+ .fa-windows:before {
1236
+ content: "\f17a";
1237
+ }
1238
+ .fa-android:before {
1239
+ content: "\f17b";
1240
+ }
1241
+ .fa-linux:before {
1242
+ content: "\f17c";
1243
+ }
1244
+ .fa-dribbble:before {
1245
+ content: "\f17d";
1246
+ }
1247
+ .fa-skype:before {
1248
+ content: "\f17e";
1249
+ }
1250
+ .fa-foursquare:before {
1251
+ content: "\f180";
1252
+ }
1253
+ .fa-trello:before {
1254
+ content: "\f181";
1255
+ }
1256
+ .fa-female:before {
1257
+ content: "\f182";
1258
+ }
1259
+ .fa-male:before {
1260
+ content: "\f183";
1261
+ }
1262
+ .fa-gittip:before {
1263
+ content: "\f184";
1264
+ }
1265
+ .fa-sun-o:before {
1266
+ content: "\f185";
1267
+ }
1268
+ .fa-moon-o:before {
1269
+ content: "\f186";
1270
+ }
1271
+ .fa-archive:before {
1272
+ content: "\f187";
1273
+ }
1274
+ .fa-bug:before {
1275
+ content: "\f188";
1276
+ }
1277
+ .fa-vk:before {
1278
+ content: "\f189";
1279
+ }
1280
+ .fa-weibo:before {
1281
+ content: "\f18a";
1282
+ }
1283
+ .fa-renren:before {
1284
+ content: "\f18b";
1285
+ }
1286
+ .fa-pagelines:before {
1287
+ content: "\f18c";
1288
+ }
1289
+ .fa-stack-exchange:before {
1290
+ content: "\f18d";
1291
+ }
1292
+ .fa-arrow-circle-o-right:before {
1293
+ content: "\f18e";
1294
+ }
1295
+ .fa-arrow-circle-o-left:before {
1296
+ content: "\f190";
1297
+ }
1298
+ .fa-toggle-left:before,
1299
+ .fa-caret-square-o-left:before {
1300
+ content: "\f191";
1301
+ }
1302
+ .fa-dot-circle-o:before {
1303
+ content: "\f192";
1304
+ }
1305
+ .fa-wheelchair:before {
1306
+ content: "\f193";
1307
+ }
1308
+ .fa-vimeo-square:before {
1309
+ content: "\f194";
1310
+ }
1311
+ .fa-turkish-lira:before,
1312
+ .fa-try:before {
1313
+ content: "\f195";
1314
+ }
1315
+ .fa-plus-square-o:before {
1316
+ content: "\f196";
1317
+ }
1318
+ .fa-space-shuttle:before {
1319
+ content: "\f197";
1320
+ }
1321
+ .fa-slack:before {
1322
+ content: "\f198";
1323
+ }
1324
+ .fa-envelope-square:before {
1325
+ content: "\f199";
1326
+ }
1327
+ .fa-wordpress:before {
1328
+ content: "\f19a";
1329
+ }
1330
+ .fa-openid:before {
1331
+ content: "\f19b";
1332
+ }
1333
+ .fa-institution:before,
1334
+ .fa-bank:before,
1335
+ .fa-university:before {
1336
+ content: "\f19c";
1337
+ }
1338
+ .fa-mortar-board:before,
1339
+ .fa-graduation-cap:before {
1340
+ content: "\f19d";
1341
+ }
1342
+ .fa-yahoo:before {
1343
+ content: "\f19e";
1344
+ }
1345
+ .fa-google:before {
1346
+ content: "\f1a0";
1347
+ }
1348
+ .fa-reddit:before {
1349
+ content: "\f1a1";
1350
+ }
1351
+ .fa-reddit-square:before {
1352
+ content: "\f1a2";
1353
+ }
1354
+ .fa-stumbleupon-circle:before {
1355
+ content: "\f1a3";
1356
+ }
1357
+ .fa-stumbleupon:before {
1358
+ content: "\f1a4";
1359
+ }
1360
+ .fa-delicious:before {
1361
+ content: "\f1a5";
1362
+ }
1363
+ .fa-digg:before {
1364
+ content: "\f1a6";
1365
+ }
1366
+ .fa-pied-piper:before {
1367
+ content: "\f1a7";
1368
+ }
1369
+ .fa-pied-piper-alt:before {
1370
+ content: "\f1a8";
1371
+ }
1372
+ .fa-drupal:before {
1373
+ content: "\f1a9";
1374
+ }
1375
+ .fa-joomla:before {
1376
+ content: "\f1aa";
1377
+ }
1378
+ .fa-language:before {
1379
+ content: "\f1ab";
1380
+ }
1381
+ .fa-fax:before {
1382
+ content: "\f1ac";
1383
+ }
1384
+ .fa-building:before {
1385
+ content: "\f1ad";
1386
+ }
1387
+ .fa-child:before {
1388
+ content: "\f1ae";
1389
+ }
1390
+ .fa-paw:before {
1391
+ content: "\f1b0";
1392
+ }
1393
+ .fa-spoon:before {
1394
+ content: "\f1b1";
1395
+ }
1396
+ .fa-cube:before {
1397
+ content: "\f1b2";
1398
+ }
1399
+ .fa-cubes:before {
1400
+ content: "\f1b3";
1401
+ }
1402
+ .fa-behance:before {
1403
+ content: "\f1b4";
1404
+ }
1405
+ .fa-behance-square:before {
1406
+ content: "\f1b5";
1407
+ }
1408
+ .fa-steam:before {
1409
+ content: "\f1b6";
1410
+ }
1411
+ .fa-steam-square:before {
1412
+ content: "\f1b7";
1413
+ }
1414
+ .fa-recycle:before {
1415
+ content: "\f1b8";
1416
+ }
1417
+ .fa-automobile:before,
1418
+ .fa-car:before {
1419
+ content: "\f1b9";
1420
+ }
1421
+ .fa-cab:before,
1422
+ .fa-taxi:before {
1423
+ content: "\f1ba";
1424
+ }
1425
+ .fa-tree:before {
1426
+ content: "\f1bb";
1427
+ }
1428
+ .fa-spotify:before {
1429
+ content: "\f1bc";
1430
+ }
1431
+ .fa-deviantart:before {
1432
+ content: "\f1bd";
1433
+ }
1434
+ .fa-soundcloud:before {
1435
+ content: "\f1be";
1436
+ }
1437
+ .fa-database:before {
1438
+ content: "\f1c0";
1439
+ }
1440
+ .fa-file-pdf-o:before {
1441
+ content: "\f1c1";
1442
+ }
1443
+ .fa-file-word-o:before {
1444
+ content: "\f1c2";
1445
+ }
1446
+ .fa-file-excel-o:before {
1447
+ content: "\f1c3";
1448
+ }
1449
+ .fa-file-powerpoint-o:before {
1450
+ content: "\f1c4";
1451
+ }
1452
+ .fa-file-photo-o:before,
1453
+ .fa-file-picture-o:before,
1454
+ .fa-file-image-o:before {
1455
+ content: "\f1c5";
1456
+ }
1457
+ .fa-file-zip-o:before,
1458
+ .fa-file-archive-o:before {
1459
+ content: "\f1c6";
1460
+ }
1461
+ .fa-file-sound-o:before,
1462
+ .fa-file-audio-o:before {
1463
+ content: "\f1c7";
1464
+ }
1465
+ .fa-file-movie-o:before,
1466
+ .fa-file-video-o:before {
1467
+ content: "\f1c8";
1468
+ }
1469
+ .fa-file-code-o:before {
1470
+ content: "\f1c9";
1471
+ }
1472
+ .fa-vine:before {
1473
+ content: "\f1ca";
1474
+ }
1475
+ .fa-codepen:before {
1476
+ content: "\f1cb";
1477
+ }
1478
+ .fa-jsfiddle:before {
1479
+ content: "\f1cc";
1480
+ }
1481
+ .fa-life-bouy:before,
1482
+ .fa-life-buoy:before,
1483
+ .fa-life-saver:before,
1484
+ .fa-support:before,
1485
+ .fa-life-ring:before {
1486
+ content: "\f1cd";
1487
+ }
1488
+ .fa-circle-o-notch:before {
1489
+ content: "\f1ce";
1490
+ }
1491
+ .fa-ra:before,
1492
+ .fa-rebel:before {
1493
+ content: "\f1d0";
1494
+ }
1495
+ .fa-ge:before,
1496
+ .fa-empire:before {
1497
+ content: "\f1d1";
1498
+ }
1499
+ .fa-git-square:before {
1500
+ content: "\f1d2";
1501
+ }
1502
+ .fa-git:before {
1503
+ content: "\f1d3";
1504
+ }
1505
+ .fa-hacker-news:before {
1506
+ content: "\f1d4";
1507
+ }
1508
+ .fa-tencent-weibo:before {
1509
+ content: "\f1d5";
1510
+ }
1511
+ .fa-qq:before {
1512
+ content: "\f1d6";
1513
+ }
1514
+ .fa-wechat:before,
1515
+ .fa-weixin:before {
1516
+ content: "\f1d7";
1517
+ }
1518
+ .fa-send:before,
1519
+ .fa-paper-plane:before {
1520
+ content: "\f1d8";
1521
+ }
1522
+ .fa-send-o:before,
1523
+ .fa-paper-plane-o:before {
1524
+ content: "\f1d9";
1525
+ }
1526
+ .fa-history:before {
1527
+ content: "\f1da";
1528
+ }
1529
+ .fa-circle-thin:before {
1530
+ content: "\f1db";
1531
+ }
1532
+ .fa-header:before {
1533
+ content: "\f1dc";
1534
+ }
1535
+ .fa-paragraph:before {
1536
+ content: "\f1dd";
1537
+ }
1538
+ .fa-sliders:before {
1539
+ content: "\f1de";
1540
+ }
1541
+ .fa-share-alt:before {
1542
+ content: "\f1e0";
1543
+ }
1544
+ .fa-share-alt-square:before {
1545
+ content: "\f1e1";
1546
+ }
1547
+ .fa-bomb:before {
1548
+ content: "\f1e2";
1549
+ }
1550
+ .fa-soccer-ball-o:before,
1551
+ .fa-futbol-o:before {
1552
+ content: "\f1e3";
1553
+ }
1554
+ .fa-tty:before {
1555
+ content: "\f1e4";
1556
+ }
1557
+ .fa-binoculars:before {
1558
+ content: "\f1e5";
1559
+ }
1560
+ .fa-plug:before {
1561
+ content: "\f1e6";
1562
+ }
1563
+ .fa-slideshare:before {
1564
+ content: "\f1e7";
1565
+ }
1566
+ .fa-twitch:before {
1567
+ content: "\f1e8";
1568
+ }
1569
+ .fa-yelp:before {
1570
+ content: "\f1e9";
1571
+ }
1572
+ .fa-newspaper-o:before {
1573
+ content: "\f1ea";
1574
+ }
1575
+ .fa-wifi:before {
1576
+ content: "\f1eb";
1577
+ }
1578
+ .fa-calculator:before {
1579
+ content: "\f1ec";
1580
+ }
1581
+ .fa-paypal:before {
1582
+ content: "\f1ed";
1583
+ }
1584
+ .fa-google-wallet:before {
1585
+ content: "\f1ee";
1586
+ }
1587
+ .fa-cc-visa:before {
1588
+ content: "\f1f0";
1589
+ }
1590
+ .fa-cc-mastercard:before {
1591
+ content: "\f1f1";
1592
+ }
1593
+ .fa-cc-discover:before {
1594
+ content: "\f1f2";
1595
+ }
1596
+ .fa-cc-amex:before {
1597
+ content: "\f1f3";
1598
+ }
1599
+ .fa-cc-paypal:before {
1600
+ content: "\f1f4";
1601
+ }
1602
+ .fa-cc-stripe:before {
1603
+ content: "\f1f5";
1604
+ }
1605
+ .fa-bell-slash:before {
1606
+ content: "\f1f6";
1607
+ }
1608
+ .fa-bell-slash-o:before {
1609
+ content: "\f1f7";
1610
+ }
1611
+ .fa-trash:before {
1612
+ content: "\f1f8";
1613
+ }
1614
+ .fa-copyright:before {
1615
+ content: "\f1f9";
1616
+ }
1617
+ .fa-at:before {
1618
+ content: "\f1fa";
1619
+ }
1620
+ .fa-eyedropper:before {
1621
+ content: "\f1fb";
1622
+ }
1623
+ .fa-paint-brush:before {
1624
+ content: "\f1fc";
1625
+ }
1626
+ .fa-birthday-cake:before {
1627
+ content: "\f1fd";
1628
+ }
1629
+ .fa-area-chart:before {
1630
+ content: "\f1fe";
1631
+ }
1632
+ .fa-pie-chart:before {
1633
+ content: "\f200";
1634
+ }
1635
+ .fa-line-chart:before {
1636
+ content: "\f201";
1637
+ }
1638
+ .fa-lastfm:before {
1639
+ content: "\f202";
1640
+ }
1641
+ .fa-lastfm-square:before {
1642
+ content: "\f203";
1643
+ }
1644
+ .fa-toggle-off:before {
1645
+ content: "\f204";
1646
+ }
1647
+ .fa-toggle-on:before {
1648
+ content: "\f205";
1649
+ }
1650
+ .fa-bicycle:before {
1651
+ content: "\f206";
1652
+ }
1653
+ .fa-bus:before {
1654
+ content: "\f207";
1655
+ }
1656
+ .fa-ioxhost:before {
1657
+ content: "\f208";
1658
+ }
1659
+ .fa-angellist:before {
1660
+ content: "\f209";
1661
+ }
1662
+ .fa-cc:before {
1663
+ content: "\f20a";
1664
+ }
1665
+ .fa-shekel:before,
1666
+ .fa-sheqel:before,
1667
+ .fa-ils:before {
1668
+ content: "\f20b";
1669
+ }
1670
+ .fa-meanpath:before {
1671
+ content: "\f20c";
1672
+ }
skin/frontend/modulesgarden/crystal/css/font_awesome/css/font-awesome.min.css ADDED
@@ -0,0 +1,4 @@
 
 
 
 
1
+ /*!
2
+ * Font Awesome 4.2.0 by @davegandy - http://fontawesome.io - @fontawesome
3
+ * License - http://fontawesome.io/license (Font: SIL OFL 1.1, CSS: MIT License)
4
+ */@font-face{font-family:'FontAwesome';src:url('../fonts/fontawesome-webfont.eot?v=4.2.0');src:url('../fonts/fontawesome-webfont.eot?#iefix&v=4.2.0') format('embedded-opentype'),url('../fonts/fontawesome-webfont.woff?v=4.2.0') format('woff'),url('../fonts/fontawesome-webfont.ttf?v=4.2.0') format('truetype'),url('../fonts/fontawesome-webfont.svg?v=4.2.0#fontawesomeregular') format('svg');font-weight:normal;font-style:normal}.fa{display:inline-block;font:normal normal normal 14px/1 FontAwesome;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.fa-lg{font-size:1.33333333em;line-height:.75em;vertical-align:-15%}.fa-2x{font-size:2em}.fa-3x{font-size:3em}.fa-4x{font-size:4em}.fa-5x{font-size:5em}.fa-fw{width:1.28571429em;text-align:center}.fa-ul{padding-left:0;margin-left:2.14285714em;list-style-type:none}.fa-ul>li{position:relative}.fa-li{position:absolute;left:-2.14285714em;width:2.14285714em;top:.14285714em;text-align:center}.fa-li.fa-lg{left:-1.85714286em}.fa-border{padding:.2em .25em .15em;border:solid .08em #eee;border-radius:.1em}.pull-right{float:right}.pull-left{float:left}.fa.pull-left{margin-right:.3em}.fa.pull-right{margin-left:.3em}.fa-spin{-webkit-animation:fa-spin 2s infinite linear;animation:fa-spin 2s infinite linear}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}100%{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}.fa-rotate-90{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=1);-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg)}.fa-rotate-180{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=2);-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.fa-rotate-270{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=3);-webkit-transform:rotate(270deg);-ms-transform:rotate(270deg);transform:rotate(270deg)}.fa-flip-horizontal{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1);-webkit-transform:scale(-1, 1);-ms-transform:scale(-1, 1);transform:scale(-1, 1)}.fa-flip-vertical{filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1);-webkit-transform:scale(1, -1);-ms-transform:scale(1, -1);transform:scale(1, -1)}:root .fa-rotate-90,:root .fa-rotate-180,:root .fa-rotate-270,:root .fa-flip-horizontal,:root .fa-flip-vertical{filter:none}.fa-stack{position:relative;display:inline-block;width:2em;height:2em;line-height:2em;vertical-align:middle}.fa-stack-1x,.fa-stack-2x{position:absolute;left:0;width:100%;text-align:center}.fa-stack-1x{line-height:inherit}.fa-stack-2x{font-size:2em}.fa-inverse{color:#fff}.fa-glass:before{content:"\f000"}.fa-music:before{content:"\f001"}.fa-search:before{content:"\f002"}.fa-envelope-o:before{content:"\f003"}.fa-heart:before{content:"\f004"}.fa-star:before{content:"\f005"}.fa-star-o:before{content:"\f006"}.fa-user:before{content:"\f007"}.fa-film:before{content:"\f008"}.fa-th-large:before{content:"\f009"}.fa-th:before{content:"\f00a"}.fa-th-list:before{content:"\f00b"}.fa-check:before{content:"\f00c"}.fa-remove:before,.fa-close:before,.fa-times:before{content:"\f00d"}.fa-search-plus:before{content:"\f00e"}.fa-search-minus:before{content:"\f010"}.fa-power-off:before{content:"\f011"}.fa-signal:before{content:"\f012"}.fa-gear:before,.fa-cog:before{content:"\f013"}.fa-trash-o:before{content:"\f014"}.fa-home:before{content:"\f015"}.fa-file-o:before{content:"\f016"}.fa-clock-o:before{content:"\f017"}.fa-road:before{content:"\f018"}.fa-download:before{content:"\f019"}.fa-arrow-circle-o-down:before{content:"\f01a"}.fa-arrow-circle-o-up:before{content:"\f01b"}.fa-inbox:before{content:"\f01c"}.fa-play-circle-o:before{content:"\f01d"}.fa-rotate-right:before,.fa-repeat:before{content:"\f01e"}.fa-refresh:before{content:"\f021"}.fa-list-alt:before{content:"\f022"}.fa-lock:before{content:"\f023"}.fa-flag:before{content:"\f024"}.fa-headphones:before{content:"\f025"}.fa-volume-off:before{content:"\f026"}.fa-volume-down:before{content:"\f027"}.fa-volume-up:before{content:"\f028"}.fa-qrcode:before{content:"\f029"}.fa-barcode:before{content:"\f02a"}.fa-tag:before{content:"\f02b"}.fa-tags:before{content:"\f02c"}.fa-book:before{content:"\f02d"}.fa-bookmark:before{content:"\f02e"}.fa-print:before{content:"\f02f"}.fa-camera:before{content:"\f030"}.fa-font:before{content:"\f031"}.fa-bold:before{content:"\f032"}.fa-italic:before{content:"\f033"}.fa-text-height:before{content:"\f034"}.fa-text-width:before{content:"\f035"}.fa-align-left:before{content:"\f036"}.fa-align-center:before{content:"\f037"}.fa-align-right:before{content:"\f038"}.fa-align-justify:before{content:"\f039"}.fa-list:before{content:"\f03a"}.fa-dedent:before,.fa-outdent:before{content:"\f03b"}.fa-indent:before{content:"\f03c"}.fa-video-camera:before{content:"\f03d"}.fa-photo:before,.fa-image:before,.fa-picture-o:before{content:"\f03e"}.fa-pencil:before{content:"\f040"}.fa-map-marker:before{content:"\f041"}.fa-adjust:before{content:"\f042"}.fa-tint:before{content:"\f043"}.fa-edit:before,.fa-pencil-square-o:before{content:"\f044"}.fa-share-square-o:before{content:"\f045"}.fa-check-square-o:before{content:"\f046"}.fa-arrows:before{content:"\f047"}.fa-step-backward:before{content:"\f048"}.fa-fast-backward:before{content:"\f049"}.fa-backward:before{content:"\f04a"}.fa-play:before{content:"\f04b"}.fa-pause:before{content:"\f04c"}.fa-stop:before{content:"\f04d"}.fa-forward:before{content:"\f04e"}.fa-fast-forward:before{content:"\f050"}.fa-step-forward:before{content:"\f051"}.fa-eject:before{content:"\f052"}.fa-chevron-left:before{content:"\f053"}.fa-chevron-right:before{content:"\f054"}.fa-plus-circle:before{content:"\f055"}.fa-minus-circle:before{content:"\f056"}.fa-times-circle:before{content:"\f057"}.fa-check-circle:before{content:"\f058"}.fa-question-circle:before{content:"\f059"}.fa-info-circle:before{content:"\f05a"}.fa-crosshairs:before{content:"\f05b"}.fa-times-circle-o:before{content:"\f05c"}.fa-check-circle-o:before{content:"\f05d"}.fa-ban:before{content:"\f05e"}.fa-arrow-left:before{content:"\f060"}.fa-arrow-right:before{content:"\f061"}.fa-arrow-up:before{content:"\f062"}.fa-arrow-down:before{content:"\f063"}.fa-mail-forward:before,.fa-share:before{content:"\f064"}.fa-expand:before{content:"\f065"}.fa-compress:before{content:"\f066"}.fa-plus:before{content:"\f067"}.fa-minus:before{content:"\f068"}.fa-asterisk:before{content:"\f069"}.fa-exclamation-circle:before{content:"\f06a"}.fa-gift:before{content:"\f06b"}.fa-leaf:before{content:"\f06c"}.fa-fire:before{content:"\f06d"}.fa-eye:before{content:"\f06e"}.fa-eye-slash:before{content:"\f070"}.fa-warning:before,.fa-exclamation-triangle:before{content:"\f071"}.fa-plane:before{content:"\f072"}.fa-calendar:before{content:"\f073"}.fa-random:before{content:"\f074"}.fa-comment:before{content:"\f075"}.fa-magnet:before{content:"\f076"}.fa-chevron-up:before{content:"\f077"}.fa-chevron-down:before{content:"\f078"}.fa-retweet:before{content:"\f079"}.fa-shopping-cart:before{content:"\f07a"}.fa-folder:before{content:"\f07b"}.fa-folder-open:before{content:"\f07c"}.fa-arrows-v:before{content:"\f07d"}.fa-arrows-h:before{content:"\f07e"}.fa-bar-chart-o:before,.fa-bar-chart:before{content:"\f080"}.fa-twitter-square:before{content:"\f081"}.fa-facebook-square:before{content:"\f082"}.fa-camera-retro:before{content:"\f083"}.fa-key:before{content:"\f084"}.fa-gears:before,.fa-cogs:before{content:"\f085"}.fa-comments:before{content:"\f086"}.fa-thumbs-o-up:before{content:"\f087"}.fa-thumbs-o-down:before{content:"\f088"}.fa-star-half:before{content:"\f089"}.fa-heart-o:before{content:"\f08a"}.fa-sign-out:before{content:"\f08b"}.fa-linkedin-square:before{content:"\f08c"}.fa-thumb-tack:before{content:"\f08d"}.fa-external-link:before{content:"\f08e"}.fa-sign-in:before{content:"\f090"}.fa-trophy:before{content:"\f091"}.fa-github-square:before{content:"\f092"}.fa-upload:before{content:"\f093"}.fa-lemon-o:before{content:"\f094"}.fa-phone:before{content:"\f095"}.fa-square-o:before{content:"\f096"}.fa-bookmark-o:before{content:"\f097"}.fa-phone-square:before{content:"\f098"}.fa-twitter:before{content:"\f099"}.fa-facebook:before{content:"\f09a"}.fa-github:before{content:"\f09b"}.fa-unlock:before{content:"\f09c"}.fa-credit-card:before{content:"\f09d"}.fa-rss:before{content:"\f09e"}.fa-hdd-o:before{content:"\f0a0"}.fa-bullhorn:before{content:"\f0a1"}.fa-bell:before{content:"\f0f3"}.fa-certificate:before{content:"\f0a3"}.fa-hand-o-right:before{content:"\f0a4"}.fa-hand-o-left:before{content:"\f0a5"}.fa-hand-o-up:before{content:"\f0a6"}.fa-hand-o-down:before{content:"\f0a7"}.fa-arrow-circle-left:before{content:"\f0a8"}.fa-arrow-circle-right:before{content:"\f0a9"}.fa-arrow-circle-up:before{content:"\f0aa"}.fa-arrow-circle-down:before{content:"\f0ab"}.fa-globe:before{content:"\f0ac"}.fa-wrench:before{content:"\f0ad"}.fa-tasks:before{content:"\f0ae"}.fa-filter:before{content:"\f0b0"}.fa-briefcase:before{content:"\f0b1"}.fa-arrows-alt:before{content:"\f0b2"}.fa-group:before,.fa-users:before{content:"\f0c0"}.fa-chain:before,.fa-link:before{content:"\f0c1"}.fa-cloud:before{content:"\f0c2"}.fa-flask:before{content:"\f0c3"}.fa-cut:before,.fa-scissors:before{content:"\f0c4"}.fa-copy:before,.fa-files-o:before{content:"\f0c5"}.fa-paperclip:before{content:"\f0c6"}.fa-save:before,.fa-floppy-o:before{content:"\f0c7"}.fa-square:before{content:"\f0c8"}.fa-navicon:before,.fa-reorder:before,.fa-bars:before{content:"\f0c9"}.fa-list-ul:before{content:"\f0ca"}.fa-list-ol:before{content:"\f0cb"}.fa-strikethrough:before{content:"\f0cc"}.fa-underline:before{content:"\f0cd"}.fa-table:before{content:"\f0ce"}.fa-magic:before{content:"\f0d0"}.fa-truck:before{content:"\f0d1"}.fa-pinterest:before{content:"\f0d2"}.fa-pinterest-square:before{content:"\f0d3"}.fa-google-plus-square:before{content:"\f0d4"}.fa-google-plus:before{content:"\f0d5"}.fa-money:before{content:"\f0d6"}.fa-caret-down:before{content:"\f0d7"}.fa-caret-up:before{content:"\f0d8"}.fa-caret-left:before{content:"\f0d9"}.fa-caret-right:before{content:"\f0da"}.fa-columns:before{content:"\f0db"}.fa-unsorted:before,.fa-sort:before{content:"\f0dc"}.fa-sort-down:before,.fa-sort-desc:before{content:"\f0dd"}.fa-sort-up:before,.fa-sort-asc:before{content:"\f0de"}.fa-envelope:before{content:"\f0e0"}.fa-linkedin:before{content:"\f0e1"}.fa-rotate-left:before,.fa-undo:before{content:"\f0e2"}.fa-legal:before,.fa-gavel:before{content:"\f0e3"}.fa-dashboard:before,.fa-tachometer:before{content:"\f0e4"}.fa-comment-o:before{content:"\f0e5"}.fa-comments-o:before{content:"\f0e6"}.fa-flash:before,.fa-bolt:before{content:"\f0e7"}.fa-sitemap:before{content:"\f0e8"}.fa-umbrella:before{content:"\f0e9"}.fa-paste:before,.fa-clipboard:before{content:"\f0ea"}.fa-lightbulb-o:before{content:"\f0eb"}.fa-exchange:before{content:"\f0ec"}.fa-cloud-download:before{content:"\f0ed"}.fa-cloud-upload:before{content:"\f0ee"}.fa-user-md:before{content:"\f0f0"}.fa-stethoscope:before{content:"\f0f1"}.fa-suitcase:before{content:"\f0f2"}.fa-bell-o:before{content:"\f0a2"}.fa-coffee:before{content:"\f0f4"}.fa-cutlery:before{content:"\f0f5"}.fa-file-text-o:before{content:"\f0f6"}.fa-building-o:before{content:"\f0f7"}.fa-hospital-o:before{content:"\f0f8"}.fa-ambulance:before{content:"\f0f9"}.fa-medkit:before{content:"\f0fa"}.fa-fighter-jet:before{content:"\f0fb"}.fa-beer:before{content:"\f0fc"}.fa-h-square:before{content:"\f0fd"}.fa-plus-square:before{content:"\f0fe"}.fa-angle-double-left:before{content:"\f100"}.fa-angle-double-right:before{content:"\f101"}.fa-angle-double-up:before{content:"\f102"}.fa-angle-double-down:before{content:"\f103"}.fa-angle-left:before{content:"\f104"}.fa-angle-right:before{content:"\f105"}.fa-angle-up:before{content:"\f106"}.fa-angle-down:before{content:"\f107"}.fa-desktop:before{content:"\f108"}.fa-laptop:before{content:"\f109"}.fa-tablet:before{content:"\f10a"}.fa-mobile-phone:before,.fa-mobile:before{content:"\f10b"}.fa-circle-o:before{content:"\f10c"}.fa-quote-left:before{content:"\f10d"}.fa-quote-right:before{content:"\f10e"}.fa-spinner:before{content:"\f110"}.fa-circle:before{content:"\f111"}.fa-mail-reply:before,.fa-reply:before{content:"\f112"}.fa-github-alt:before{content:"\f113"}.fa-folder-o:before{content:"\f114"}.fa-folder-open-o:before{content:"\f115"}.fa-smile-o:before{content:"\f118"}.fa-frown-o:before{content:"\f119"}.fa-meh-o:before{content:"\f11a"}.fa-gamepad:before{content:"\f11b"}.fa-keyboard-o:before{content:"\f11c"}.fa-flag-o:before{content:"\f11d"}.fa-flag-checkered:before{content:"\f11e"}.fa-terminal:before{content:"\f120"}.fa-code:before{content:"\f121"}.fa-mail-reply-all:before,.fa-reply-all:before{content:"\f122"}.fa-star-half-empty:before,.fa-star-half-full:before,.fa-star-half-o:before{content:"\f123"}.fa-location-arrow:before{content:"\f124"}.fa-crop:before{content:"\f125"}.fa-code-fork:before{content:"\f126"}.fa-unlink:before,.fa-chain-broken:before{content:"\f127"}.fa-question:before{content:"\f128"}.fa-info:before{content:"\f129"}.fa-exclamation:before{content:"\f12a"}.fa-superscript:before{content:"\f12b"}.fa-subscript:before{content:"\f12c"}.fa-eraser:before{content:"\f12d"}.fa-puzzle-piece:before{content:"\f12e"}.fa-microphone:before{content:"\f130"}.fa-microphone-slash:before{content:"\f131"}.fa-shield:before{content:"\f132"}.fa-calendar-o:before{content:"\f133"}.fa-fire-extinguisher:before{content:"\f134"}.fa-rocket:before{content:"\f135"}.fa-maxcdn:before{content:"\f136"}.fa-chevron-circle-left:before{content:"\f137"}.fa-chevron-circle-right:before{content:"\f138"}.fa-chevron-circle-up:before{content:"\f139"}.fa-chevron-circle-down:before{content:"\f13a"}.fa-html5:before{content:"\f13b"}.fa-css3:before{content:"\f13c"}.fa-anchor:before{content:"\f13d"}.fa-unlock-alt:before{content:"\f13e"}.fa-bullseye:before{content:"\f140"}.fa-ellipsis-h:before{content:"\f141"}.fa-ellipsis-v:before{content:"\f142"}.fa-rss-square:before{content:"\f143"}.fa-play-circle:before{content:"\f144"}.fa-ticket:before{content:"\f145"}.fa-minus-square:before{content:"\f146"}.fa-minus-square-o:before{content:"\f147"}.fa-level-up:before{content:"\f148"}.fa-level-down:before{content:"\f149"}.fa-check-square:before{content:"\f14a"}.fa-pencil-square:before{content:"\f14b"}.fa-external-link-square:before{content:"\f14c"}.fa-share-square:before{content:"\f14d"}.fa-compass:before{content:"\f14e"}.fa-toggle-down:before,.fa-caret-square-o-down:before{content:"\f150"}.fa-toggle-up:before,.fa-caret-square-o-up:before{content:"\f151"}.fa-toggle-right:before,.fa-caret-square-o-right:before{content:"\f152"}.fa-euro:before,.fa-eur:before{content:"\f153"}.fa-gbp:before{content:"\f154"}.fa-dollar:before,.fa-usd:before{content:"\f155"}.fa-rupee:before,.fa-inr:before{content:"\f156"}.fa-cny:before,.fa-rmb:before,.fa-yen:before,.fa-jpy:before{content:"\f157"}.fa-ruble:before,.fa-rouble:before,.fa-rub:before{content:"\f158"}.fa-won:before,.fa-krw:before{content:"\f159"}.fa-bitcoin:before,.fa-btc:before{content:"\f15a"}.fa-file:before{content:"\f15b"}.fa-file-text:before{content:"\f15c"}.fa-sort-alpha-asc:before{content:"\f15d"}.fa-sort-alpha-desc:before{content:"\f15e"}.fa-sort-amount-asc:before{content:"\f160"}.fa-sort-amount-desc:before{content:"\f161"}.fa-sort-numeric-asc:before{content:"\f162"}.fa-sort-numeric-desc:before{content:"\f163"}.fa-thumbs-up:before{content:"\f164"}.fa-thumbs-down:before{content:"\f165"}.fa-youtube-square:before{content:"\f166"}.fa-youtube:before{content:"\f167"}.fa-xing:before{content:"\f168"}.fa-xing-square:before{content:"\f169"}.fa-youtube-play:before{content:"\f16a"}.fa-dropbox:before{content:"\f16b"}.fa-stack-overflow:before{content:"\f16c"}.fa-instagram:before{content:"\f16d"}.fa-flickr:before{content:"\f16e"}.fa-adn:before{content:"\f170"}.fa-bitbucket:before{content:"\f171"}.fa-bitbucket-square:before{content:"\f172"}.fa-tumblr:before{content:"\f173"}.fa-tumblr-square:before{content:"\f174"}.fa-long-arrow-down:before{content:"\f175"}.fa-long-arrow-up:before{content:"\f176"}.fa-long-arrow-left:before{content:"\f177"}.fa-long-arrow-right:before{content:"\f178"}.fa-apple:before{content:"\f179"}.fa-windows:before{content:"\f17a"}.fa-android:before{content:"\f17b"}.fa-linux:before{content:"\f17c"}.fa-dribbble:before{content:"\f17d"}.fa-skype:before{content:"\f17e"}.fa-foursquare:before{content:"\f180"}.fa-trello:before{content:"\f181"}.fa-female:before{content:"\f182"}.fa-male:before{content:"\f183"}.fa-gittip:before{content:"\f184"}.fa-sun-o:before{content:"\f185"}.fa-moon-o:before{content:"\f186"}.fa-archive:before{content:"\f187"}.fa-bug:before{content:"\f188"}.fa-vk:before{content:"\f189"}.fa-weibo:before{content:"\f18a"}.fa-renren:before{content:"\f18b"}.fa-pagelines:before{content:"\f18c"}.fa-stack-exchange:before{content:"\f18d"}.fa-arrow-circle-o-right:before{content:"\f18e"}.fa-arrow-circle-o-left:before{content:"\f190"}.fa-toggle-left:before,.fa-caret-square-o-left:before{content:"\f191"}.fa-dot-circle-o:before{content:"\f192"}.fa-wheelchair:before{content:"\f193"}.fa-vimeo-square:before{content:"\f194"}.fa-turkish-lira:before,.fa-try:before{content:"\f195"}.fa-plus-square-o:before{content:"\f196"}.fa-space-shuttle:before{content:"\f197"}.fa-slack:before{content:"\f198"}.fa-envelope-square:before{content:"\f199"}.fa-wordpress:before{content:"\f19a"}.fa-openid:before{content:"\f19b"}.fa-institution:before,.fa-bank:before,.fa-university:before{content:"\f19c"}.fa-mortar-board:before,.fa-graduation-cap:before{content:"\f19d"}.fa-yahoo:before{content:"\f19e"}.fa-google:before{content:"\f1a0"}.fa-reddit:before{content:"\f1a1"}.fa-reddit-square:before{content:"\f1a2"}.fa-stumbleupon-circle:before{content:"\f1a3"}.fa-stumbleupon:before{content:"\f1a4"}.fa-delicious:before{content:"\f1a5"}.fa-digg:before{content:"\f1a6"}.fa-pied-piper:before{content:"\f1a7"}.fa-pied-piper-alt:before{content:"\f1a8"}.fa-drupal:before{content:"\f1a9"}.fa-joomla:before{content:"\f1aa"}.fa-language:before{content:"\f1ab"}.fa-fax:before{content:"\f1ac"}.fa-building:before{content:"\f1ad"}.fa-child:before{content:"\f1ae"}.fa-paw:before{content:"\f1b0"}.fa-spoon:before{content:"\f1b1"}.fa-cube:before{content:"\f1b2"}.fa-cubes:before{content:"\f1b3"}.fa-behance:before{content:"\f1b4"}.fa-behance-square:before{content:"\f1b5"}.fa-steam:before{content:"\f1b6"}.fa-steam-square:before{content:"\f1b7"}.fa-recycle:before{content:"\f1b8"}.fa-automobile:before,.fa-car:before{content:"\f1b9"}.fa-cab:before,.fa-taxi:before{content:"\f1ba"}.fa-tree:before{content:"\f1bb"}.fa-spotify:before{content:"\f1bc"}.fa-deviantart:before{content:"\f1bd"}.fa-soundcloud:before{content:"\f1be"}.fa-database:before{content:"\f1c0"}.fa-file-pdf-o:before{content:"\f1c1"}.fa-file-word-o:before{content:"\f1c2"}.fa-file-excel-o:before{content:"\f1c3"}.fa-file-powerpoint-o:before{content:"\f1c4"}.fa-file-photo-o:before,.fa-file-picture-o:before,.fa-file-image-o:before{content:"\f1c5"}.fa-file-zip-o:before,.fa-file-archive-o:before{content:"\f1c6"}.fa-file-sound-o:before,.fa-file-audio-o:before{content:"\f1c7"}.fa-file-movie-o:before,.fa-file-video-o:before{content:"\f1c8"}.fa-file-code-o:before{content:"\f1c9"}.fa-vine:before{content:"\f1ca"}.fa-codepen:before{content:"\f1cb"}.fa-jsfiddle:before{content:"\f1cc"}.fa-life-bouy:before,.fa-life-buoy:before,.fa-life-saver:before,.fa-support:before,.fa-life-ring:before{content:"\f1cd"}.fa-circle-o-notch:before{content:"\f1ce"}.fa-ra:before,.fa-rebel:before{content:"\f1d0"}.fa-ge:before,.fa-empire:before{content:"\f1d1"}.fa-git-square:before{content:"\f1d2"}.fa-git:before{content:"\f1d3"}.fa-hacker-news:before{content:"\f1d4"}.fa-tencent-weibo:before{content:"\f1d5"}.fa-qq:before{content:"\f1d6"}.fa-wechat:before,.fa-weixin:before{content:"\f1d7"}.fa-send:before,.fa-paper-plane:before{content:"\f1d8"}.fa-send-o:before,.fa-paper-plane-o:before{content:"\f1d9"}.fa-history:before{content:"\f1da"}.fa-circle-thin:before{content:"\f1db"}.fa-header:before{content:"\f1dc"}.fa-paragraph:before{content:"\f1dd"}.fa-sliders:before{content:"\f1de"}.fa-share-alt:before{content:"\f1e0"}.fa-share-alt-square:before{content:"\f1e1"}.fa-bomb:before{content:"\f1e2"}.fa-soccer-ball-o:before,.fa-futbol-o:before{content:"\f1e3"}.fa-tty:before{content:"\f1e4"}.fa-binoculars:before{content:"\f1e5"}.fa-plug:before{content:"\f1e6"}.fa-slideshare:before{content:"\f1e7"}.fa-twitch:before{content:"\f1e8"}.fa-yelp:before{content:"\f1e9"}.fa-newspaper-o:before{content:"\f1ea"}.fa-wifi:before{content:"\f1eb"}.fa-calculator:before{content:"\f1ec"}.fa-paypal:before{content:"\f1ed"}.fa-google-wallet:before{content:"\f1ee"}.fa-cc-visa:before{content:"\f1f0"}.fa-cc-mastercard:before{content:"\f1f1"}.fa-cc-discover:before{content:"\f1f2"}.fa-cc-amex:before{content:"\f1f3"}.fa-cc-paypal:before{content:"\f1f4"}.fa-cc-stripe:before{content:"\f1f5"}.fa-bell-slash:before{content:"\f1f6"}.fa-bell-slash-o:before{content:"\f1f7"}.fa-trash:before{content:"\f1f8"}.fa-copyright:before{content:"\f1f9"}.fa-at:before{content:"\f1fa"}.fa-eyedropper:before{content:"\f1fb"}.fa-paint-brush:before{content:"\f1fc"}.fa-birthday-cake:before{content:"\f1fd"}.fa-area-chart:before{content:"\f1fe"}.fa-pie-chart:before{content:"\f200"}.fa-line-chart:before{content:"\f201"}.fa-lastfm:before{content:"\f202"}.fa-lastfm-square:before{content:"\f203"}.fa-toggle-off:before{content:"\f204"}.fa-toggle-on:before{content:"\f205"}.fa-bicycle:before{content:"\f206"}.fa-bus:before{content:"\f207"}.fa-ioxhost:before{content:"\f208"}.fa-angellist:before{content:"\f209"}.fa-cc:before{content:"\f20a"}.fa-shekel:before,.fa-sheqel:before,.fa-ils:before{content:"\f20b"}.fa-meanpath:before{content:"\f20c"}
skin/frontend/modulesgarden/crystal/css/font_awesome/fonts/FontAwesome.otf ADDED
Binary file
skin/frontend/modulesgarden/crystal/css/font_awesome/fonts/fontawesome-webfont.eot ADDED
Binary file
skin/frontend/modulesgarden/crystal/css/font_awesome/fonts/fontawesome-webfont.svg ADDED
@@ -0,0 +1,520 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" standalone="no"?>
2
+ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
3
+ <svg xmlns="http://www.w3.org/2000/svg">
4
+ <metadata></metadata>
5
+ <defs>
6
+ <font id="fontawesomeregular" horiz-adv-x="1536" >
7
+ <font-face units-per-em="1792" ascent="1536" descent="-256" />
8
+ <missing-glyph horiz-adv-x="448" />
9
+ <glyph unicode=" " horiz-adv-x="448" />
10
+ <glyph unicode="&#x09;" horiz-adv-x="448" />
11
+ <glyph unicode="&#xa0;" horiz-adv-x="448" />
12
+ <glyph unicode="&#xa8;" horiz-adv-x="1792" />
13
+ <glyph unicode="&#xa9;" horiz-adv-x="1792" />
14
+ <glyph unicode="&#xae;" horiz-adv-x="1792" />
15
+ <glyph unicode="&#xb4;" horiz-adv-x="1792" />
16
+ <glyph unicode="&#xc6;" horiz-adv-x="1792" />
17
+ <glyph unicode="&#xd8;" horiz-adv-x="1792" />
18
+ <glyph unicode="&#x2000;" horiz-adv-x="768" />
19
+ <glyph unicode="&#x2001;" horiz-adv-x="1537" />
20
+ <glyph unicode="&#x2002;" horiz-adv-x="768" />
21
+ <glyph unicode="&#x2003;" horiz-adv-x="1537" />
22
+ <glyph unicode="&#x2004;" horiz-adv-x="512" />
23
+ <glyph unicode="&#x2005;" horiz-adv-x="384" />
24
+ <glyph unicode="&#x2006;" horiz-adv-x="256" />
25
+ <glyph unicode="&#x2007;" horiz-adv-x="256" />
26
+ <glyph unicode="&#x2008;" horiz-adv-x="192" />
27
+ <glyph unicode="&#x2009;" horiz-adv-x="307" />
28
+ <glyph unicode="&#x200a;" horiz-adv-x="85" />
29
+ <glyph unicode="&#x202f;" horiz-adv-x="307" />
30
+ <glyph unicode="&#x205f;" horiz-adv-x="384" />
31
+ <glyph unicode="&#x2122;" horiz-adv-x="1792" />
32
+ <glyph unicode="&#x221e;" horiz-adv-x="1792" />
33
+ <glyph unicode="&#x2260;" horiz-adv-x="1792" />
34
+ <glyph unicode="&#x25fc;" horiz-adv-x="500" d="M0 0z" />
35
+ <glyph unicode="&#xf000;" horiz-adv-x="1792" d="M1699 1350q0 -35 -43 -78l-632 -632v-768h320q26 0 45 -19t19 -45t-19 -45t-45 -19h-896q-26 0 -45 19t-19 45t19 45t45 19h320v768l-632 632q-43 43 -43 78q0 23 18 36.5t38 17.5t43 4h1408q23 0 43 -4t38 -17.5t18 -36.5z" />
36
+ <glyph unicode="&#xf001;" d="M1536 1312v-1120q0 -50 -34 -89t-86 -60.5t-103.5 -32t-96.5 -10.5t-96.5 10.5t-103.5 32t-86 60.5t-34 89t34 89t86 60.5t103.5 32t96.5 10.5q105 0 192 -39v537l-768 -237v-709q0 -50 -34 -89t-86 -60.5t-103.5 -32t-96.5 -10.5t-96.5 10.5t-103.5 32t-86 60.5t-34 89 t34 89t86 60.5t103.5 32t96.5 10.5q105 0 192 -39v967q0 31 19 56.5t49 35.5l832 256q12 4 28 4q40 0 68 -28t28 -68z" />
37
+ <glyph unicode="&#xf002;" horiz-adv-x="1664" d="M1152 704q0 185 -131.5 316.5t-316.5 131.5t-316.5 -131.5t-131.5 -316.5t131.5 -316.5t316.5 -131.5t316.5 131.5t131.5 316.5zM1664 -128q0 -52 -38 -90t-90 -38q-54 0 -90 38l-343 342q-179 -124 -399 -124q-143 0 -273.5 55.5t-225 150t-150 225t-55.5 273.5 t55.5 273.5t150 225t225 150t273.5 55.5t273.5 -55.5t225 -150t150 -225t55.5 -273.5q0 -220 -124 -399l343 -343q37 -37 37 -90z" />
38
+ <glyph unicode="&#xf003;" horiz-adv-x="1792" d="M1664 32v768q-32 -36 -69 -66q-268 -206 -426 -338q-51 -43 -83 -67t-86.5 -48.5t-102.5 -24.5h-1h-1q-48 0 -102.5 24.5t-86.5 48.5t-83 67q-158 132 -426 338q-37 30 -69 66v-768q0 -13 9.5 -22.5t22.5 -9.5h1472q13 0 22.5 9.5t9.5 22.5zM1664 1083v11v13.5t-0.5 13 t-3 12.5t-5.5 9t-9 7.5t-14 2.5h-1472q-13 0 -22.5 -9.5t-9.5 -22.5q0 -168 147 -284q193 -152 401 -317q6 -5 35 -29.5t46 -37.5t44.5 -31.5t50.5 -27.5t43 -9h1h1q20 0 43 9t50.5 27.5t44.5 31.5t46 37.5t35 29.5q208 165 401 317q54 43 100.5 115.5t46.5 131.5z M1792 1120v-1088q0 -66 -47 -113t-113 -47h-1472q-66 0 -113 47t-47 113v1088q0 66 47 113t113 47h1472q66 0 113 -47t47 -113z" />
39
+ <glyph unicode="&#xf004;" horiz-adv-x="1792" d="M896 -128q-26 0 -44 18l-624 602q-10 8 -27.5 26t-55.5 65.5t-68 97.5t-53.5 121t-23.5 138q0 220 127 344t351 124q62 0 126.5 -21.5t120 -58t95.5 -68.5t76 -68q36 36 76 68t95.5 68.5t120 58t126.5 21.5q224 0 351 -124t127 -344q0 -221 -229 -450l-623 -600 q-18 -18 -44 -18z" />
40
+ <glyph unicode="&#xf005;" horiz-adv-x="1664" d="M1664 889q0 -22 -26 -48l-363 -354l86 -500q1 -7 1 -20q0 -21 -10.5 -35.5t-30.5 -14.5q-19 0 -40 12l-449 236l-449 -236q-22 -12 -40 -12q-21 0 -31.5 14.5t-10.5 35.5q0 6 2 20l86 500l-364 354q-25 27 -25 48q0 37 56 46l502 73l225 455q19 41 49 41t49 -41l225 -455 l502 -73q56 -9 56 -46z" />
41
+ <glyph unicode="&#xf006;" horiz-adv-x="1664" d="M1137 532l306 297l-422 62l-189 382l-189 -382l-422 -62l306 -297l-73 -421l378 199l377 -199zM1664 889q0 -22 -26 -48l-363 -354l86 -500q1 -7 1 -20q0 -50 -41 -50q-19 0 -40 12l-449 236l-449 -236q-22 -12 -40 -12q-21 0 -31.5 14.5t-10.5 35.5q0 6 2 20l86 500 l-364 354q-25 27 -25 48q0 37 56 46l502 73l225 455q19 41 49 41t49 -41l225 -455l502 -73q56 -9 56 -46z" />
42
+ <glyph unicode="&#xf007;" horiz-adv-x="1408" d="M1408 131q0 -120 -73 -189.5t-194 -69.5h-874q-121 0 -194 69.5t-73 189.5q0 53 3.5 103.5t14 109t26.5 108.5t43 97.5t62 81t85.5 53.5t111.5 20q9 0 42 -21.5t74.5 -48t108 -48t133.5 -21.5t133.5 21.5t108 48t74.5 48t42 21.5q61 0 111.5 -20t85.5 -53.5t62 -81 t43 -97.5t26.5 -108.5t14 -109t3.5 -103.5zM1088 1024q0 -159 -112.5 -271.5t-271.5 -112.5t-271.5 112.5t-112.5 271.5t112.5 271.5t271.5 112.5t271.5 -112.5t112.5 -271.5z" />
43
+ <glyph unicode="&#xf008;" horiz-adv-x="1920" d="M384 -64v128q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h128q26 0 45 19t19 45zM384 320v128q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h128q26 0 45 19t19 45zM384 704v128q0 26 -19 45t-45 19h-128 q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h128q26 0 45 19t19 45zM1408 -64v512q0 26 -19 45t-45 19h-768q-26 0 -45 -19t-19 -45v-512q0 -26 19 -45t45 -19h768q26 0 45 19t19 45zM384 1088v128q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45 t45 -19h128q26 0 45 19t19 45zM1792 -64v128q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h128q26 0 45 19t19 45zM1408 704v512q0 26 -19 45t-45 19h-768q-26 0 -45 -19t-19 -45v-512q0 -26 19 -45t45 -19h768q26 0 45 19t19 45zM1792 320v128 q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h128q26 0 45 19t19 45zM1792 704v128q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h128q26 0 45 19t19 45zM1792 1088v128q0 26 -19 45t-45 19h-128q-26 0 -45 -19 t-19 -45v-128q0 -26 19 -45t45 -19h128q26 0 45 19t19 45zM1920 1248v-1344q0 -66 -47 -113t-113 -47h-1600q-66 0 -113 47t-47 113v1344q0 66 47 113t113 47h1600q66 0 113 -47t47 -113z" />
44
+ <glyph unicode="&#xf009;" horiz-adv-x="1664" d="M768 512v-384q0 -52 -38 -90t-90 -38h-512q-52 0 -90 38t-38 90v384q0 52 38 90t90 38h512q52 0 90 -38t38 -90zM768 1280v-384q0 -52 -38 -90t-90 -38h-512q-52 0 -90 38t-38 90v384q0 52 38 90t90 38h512q52 0 90 -38t38 -90zM1664 512v-384q0 -52 -38 -90t-90 -38 h-512q-52 0 -90 38t-38 90v384q0 52 38 90t90 38h512q52 0 90 -38t38 -90zM1664 1280v-384q0 -52 -38 -90t-90 -38h-512q-52 0 -90 38t-38 90v384q0 52 38 90t90 38h512q52 0 90 -38t38 -90z" />
45
+ <glyph unicode="&#xf00a;" horiz-adv-x="1792" d="M512 288v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM512 800v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM1152 288v-192q0 -40 -28 -68t-68 -28h-320 q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM512 1312v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM1152 800v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28 h320q40 0 68 -28t28 -68zM1792 288v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM1152 1312v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM1792 800v-192 q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM1792 1312v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68z" />
46
+ <glyph unicode="&#xf00b;" horiz-adv-x="1792" d="M512 288v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM512 800v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM1792 288v-192q0 -40 -28 -68t-68 -28h-960 q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h960q40 0 68 -28t28 -68zM512 1312v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM1792 800v-192q0 -40 -28 -68t-68 -28h-960q-40 0 -68 28t-28 68v192q0 40 28 68t68 28 h960q40 0 68 -28t28 -68zM1792 1312v-192q0 -40 -28 -68t-68 -28h-960q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h960q40 0 68 -28t28 -68z" />
47
+ <glyph unicode="&#xf00c;" horiz-adv-x="1792" d="M1671 970q0 -40 -28 -68l-724 -724l-136 -136q-28 -28 -68 -28t-68 28l-136 136l-362 362q-28 28 -28 68t28 68l136 136q28 28 68 28t68 -28l294 -295l656 657q28 28 68 28t68 -28l136 -136q28 -28 28 -68z" />
48
+ <glyph unicode="&#xf00d;" horiz-adv-x="1408" d="M1298 214q0 -40 -28 -68l-136 -136q-28 -28 -68 -28t-68 28l-294 294l-294 -294q-28 -28 -68 -28t-68 28l-136 136q-28 28 -28 68t28 68l294 294l-294 294q-28 28 -28 68t28 68l136 136q28 28 68 28t68 -28l294 -294l294 294q28 28 68 28t68 -28l136 -136q28 -28 28 -68 t-28 -68l-294 -294l294 -294q28 -28 28 -68z" />
49
+ <glyph unicode="&#xf00e;" horiz-adv-x="1664" d="M1024 736v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-224v-224q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v224h-224q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h224v224q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5v-224h224 q13 0 22.5 -9.5t9.5 -22.5zM1152 704q0 185 -131.5 316.5t-316.5 131.5t-316.5 -131.5t-131.5 -316.5t131.5 -316.5t316.5 -131.5t316.5 131.5t131.5 316.5zM1664 -128q0 -53 -37.5 -90.5t-90.5 -37.5q-54 0 -90 38l-343 342q-179 -124 -399 -124q-143 0 -273.5 55.5 t-225 150t-150 225t-55.5 273.5t55.5 273.5t150 225t225 150t273.5 55.5t273.5 -55.5t225 -150t150 -225t55.5 -273.5q0 -220 -124 -399l343 -343q37 -37 37 -90z" />
50
+ <glyph unicode="&#xf010;" horiz-adv-x="1664" d="M1024 736v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-576q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h576q13 0 22.5 -9.5t9.5 -22.5zM1152 704q0 185 -131.5 316.5t-316.5 131.5t-316.5 -131.5t-131.5 -316.5t131.5 -316.5t316.5 -131.5t316.5 131.5t131.5 316.5z M1664 -128q0 -53 -37.5 -90.5t-90.5 -37.5q-54 0 -90 38l-343 342q-179 -124 -399 -124q-143 0 -273.5 55.5t-225 150t-150 225t-55.5 273.5t55.5 273.5t150 225t225 150t273.5 55.5t273.5 -55.5t225 -150t150 -225t55.5 -273.5q0 -220 -124 -399l343 -343q37 -37 37 -90z " />
51
+ <glyph unicode="&#xf011;" d="M1536 640q0 -156 -61 -298t-164 -245t-245 -164t-298 -61t-298 61t-245 164t-164 245t-61 298q0 182 80.5 343t226.5 270q43 32 95.5 25t83.5 -50q32 -42 24.5 -94.5t-49.5 -84.5q-98 -74 -151.5 -181t-53.5 -228q0 -104 40.5 -198.5t109.5 -163.5t163.5 -109.5 t198.5 -40.5t198.5 40.5t163.5 109.5t109.5 163.5t40.5 198.5q0 121 -53.5 228t-151.5 181q-42 32 -49.5 84.5t24.5 94.5q31 43 84 50t95 -25q146 -109 226.5 -270t80.5 -343zM896 1408v-640q0 -52 -38 -90t-90 -38t-90 38t-38 90v640q0 52 38 90t90 38t90 -38t38 -90z" />
52
+ <glyph unicode="&#xf012;" horiz-adv-x="1792" d="M256 96v-192q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h192q14 0 23 -9t9 -23zM640 224v-320q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23v320q0 14 9 23t23 9h192q14 0 23 -9t9 -23zM1024 480v-576q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23 v576q0 14 9 23t23 9h192q14 0 23 -9t9 -23zM1408 864v-960q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23v960q0 14 9 23t23 9h192q14 0 23 -9t9 -23zM1792 1376v-1472q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23v1472q0 14 9 23t23 9h192q14 0 23 -9t9 -23z" />
53
+ <glyph unicode="&#xf013;" d="M1024 640q0 106 -75 181t-181 75t-181 -75t-75 -181t75 -181t181 -75t181 75t75 181zM1536 749v-222q0 -12 -8 -23t-20 -13l-185 -28q-19 -54 -39 -91q35 -50 107 -138q10 -12 10 -25t-9 -23q-27 -37 -99 -108t-94 -71q-12 0 -26 9l-138 108q-44 -23 -91 -38 q-16 -136 -29 -186q-7 -28 -36 -28h-222q-14 0 -24.5 8.5t-11.5 21.5l-28 184q-49 16 -90 37l-141 -107q-10 -9 -25 -9q-14 0 -25 11q-126 114 -165 168q-7 10 -7 23q0 12 8 23q15 21 51 66.5t54 70.5q-27 50 -41 99l-183 27q-13 2 -21 12.5t-8 23.5v222q0 12 8 23t19 13 l186 28q14 46 39 92q-40 57 -107 138q-10 12 -10 24q0 10 9 23q26 36 98.5 107.5t94.5 71.5q13 0 26 -10l138 -107q44 23 91 38q16 136 29 186q7 28 36 28h222q14 0 24.5 -8.5t11.5 -21.5l28 -184q49 -16 90 -37l142 107q9 9 24 9q13 0 25 -10q129 -119 165 -170q7 -8 7 -22 q0 -12 -8 -23q-15 -21 -51 -66.5t-54 -70.5q26 -50 41 -98l183 -28q13 -2 21 -12.5t8 -23.5z" />
54
+ <glyph unicode="&#xf014;" horiz-adv-x="1408" d="M512 800v-576q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v576q0 14 9 23t23 9h64q14 0 23 -9t9 -23zM768 800v-576q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v576q0 14 9 23t23 9h64q14 0 23 -9t9 -23zM1024 800v-576q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v576 q0 14 9 23t23 9h64q14 0 23 -9t9 -23zM1152 76v948h-896v-948q0 -22 7 -40.5t14.5 -27t10.5 -8.5h832q3 0 10.5 8.5t14.5 27t7 40.5zM480 1152h448l-48 117q-7 9 -17 11h-317q-10 -2 -17 -11zM1408 1120v-64q0 -14 -9 -23t-23 -9h-96v-948q0 -83 -47 -143.5t-113 -60.5h-832 q-66 0 -113 58.5t-47 141.5v952h-96q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h309l70 167q15 37 54 63t79 26h320q40 0 79 -26t54 -63l70 -167h309q14 0 23 -9t9 -23z" />
55
+ <glyph unicode="&#xf015;" horiz-adv-x="1664" d="M1408 544v-480q0 -26 -19 -45t-45 -19h-384v384h-256v-384h-384q-26 0 -45 19t-19 45v480q0 1 0.5 3t0.5 3l575 474l575 -474q1 -2 1 -6zM1631 613l-62 -74q-8 -9 -21 -11h-3q-13 0 -21 7l-692 577l-692 -577q-12 -8 -24 -7q-13 2 -21 11l-62 74q-8 10 -7 23.5t11 21.5 l719 599q32 26 76 26t76 -26l244 -204v195q0 14 9 23t23 9h192q14 0 23 -9t9 -23v-408l219 -182q10 -8 11 -21.5t-7 -23.5z" />
56
+ <glyph unicode="&#xf016;" d="M1468 1156q28 -28 48 -76t20 -88v-1152q0 -40 -28 -68t-68 -28h-1344q-40 0 -68 28t-28 68v1600q0 40 28 68t68 28h896q40 0 88 -20t76 -48zM1024 1400v-376h376q-10 29 -22 41l-313 313q-12 12 -41 22zM1408 -128v1024h-416q-40 0 -68 28t-28 68v416h-768v-1536h1280z " />
57
+ <glyph unicode="&#xf017;" d="M896 992v-448q0 -14 -9 -23t-23 -9h-320q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h224v352q0 14 9 23t23 9h64q14 0 23 -9t9 -23zM1312 640q0 148 -73 273t-198 198t-273 73t-273 -73t-198 -198t-73 -273t73 -273t198 -198t273 -73t273 73t198 198t73 273zM1536 640 q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
58
+ <glyph unicode="&#xf018;" horiz-adv-x="1920" d="M1111 540v4l-24 320q-1 13 -11 22.5t-23 9.5h-186q-13 0 -23 -9.5t-11 -22.5l-24 -320v-4q-1 -12 8 -20t21 -8h244q12 0 21 8t8 20zM1870 73q0 -73 -46 -73h-704q13 0 22 9.5t8 22.5l-20 256q-1 13 -11 22.5t-23 9.5h-272q-13 0 -23 -9.5t-11 -22.5l-20 -256 q-1 -13 8 -22.5t22 -9.5h-704q-46 0 -46 73q0 54 26 116l417 1044q8 19 26 33t38 14h339q-13 0 -23 -9.5t-11 -22.5l-15 -192q-1 -14 8 -23t22 -9h166q13 0 22 9t8 23l-15 192q-1 13 -11 22.5t-23 9.5h339q20 0 38 -14t26 -33l417 -1044q26 -62 26 -116z" />
59
+ <glyph unicode="&#xf019;" horiz-adv-x="1664" d="M1280 192q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1536 192q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1664 416v-320q0 -40 -28 -68t-68 -28h-1472q-40 0 -68 28t-28 68v320q0 40 28 68t68 28h465l135 -136 q58 -56 136 -56t136 56l136 136h464q40 0 68 -28t28 -68zM1339 985q17 -41 -14 -70l-448 -448q-18 -19 -45 -19t-45 19l-448 448q-31 29 -14 70q17 39 59 39h256v448q0 26 19 45t45 19h256q26 0 45 -19t19 -45v-448h256q42 0 59 -39z" />
60
+ <glyph unicode="&#xf01a;" d="M1120 608q0 -12 -10 -24l-319 -319q-11 -9 -23 -9t-23 9l-320 320q-15 16 -7 35q8 20 30 20h192v352q0 14 9 23t23 9h192q14 0 23 -9t9 -23v-352h192q14 0 23 -9t9 -23zM768 1184q-148 0 -273 -73t-198 -198t-73 -273t73 -273t198 -198t273 -73t273 73t198 198t73 273 t-73 273t-198 198t-273 73zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
61
+ <glyph unicode="&#xf01b;" d="M1118 660q-8 -20 -30 -20h-192v-352q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23v352h-192q-14 0 -23 9t-9 23q0 12 10 24l319 319q11 9 23 9t23 -9l320 -320q15 -16 7 -35zM768 1184q-148 0 -273 -73t-198 -198t-73 -273t73 -273t198 -198t273 -73t273 73t198 198 t73 273t-73 273t-198 198t-273 73zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
62
+ <glyph unicode="&#xf01c;" d="M1023 576h316q-1 3 -2.5 8t-2.5 8l-212 496h-708l-212 -496q-1 -2 -2.5 -8t-2.5 -8h316l95 -192h320zM1536 546v-482q0 -26 -19 -45t-45 -19h-1408q-26 0 -45 19t-19 45v482q0 62 25 123l238 552q10 25 36.5 42t52.5 17h832q26 0 52.5 -17t36.5 -42l238 -552 q25 -61 25 -123z" />
63
+ <glyph unicode="&#xf01d;" d="M1184 640q0 -37 -32 -55l-544 -320q-15 -9 -32 -9q-16 0 -32 8q-32 19 -32 56v640q0 37 32 56q33 18 64 -1l544 -320q32 -18 32 -55zM1312 640q0 148 -73 273t-198 198t-273 73t-273 -73t-198 -198t-73 -273t73 -273t198 -198t273 -73t273 73t198 198t73 273zM1536 640 q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
64
+ <glyph unicode="&#xf01e;" d="M1536 1280v-448q0 -26 -19 -45t-45 -19h-448q-42 0 -59 40q-17 39 14 69l138 138q-148 137 -349 137q-104 0 -198.5 -40.5t-163.5 -109.5t-109.5 -163.5t-40.5 -198.5t40.5 -198.5t109.5 -163.5t163.5 -109.5t198.5 -40.5q119 0 225 52t179 147q7 10 23 12q14 0 25 -9 l137 -138q9 -8 9.5 -20.5t-7.5 -22.5q-109 -132 -264 -204.5t-327 -72.5q-156 0 -298 61t-245 164t-164 245t-61 298t61 298t164 245t245 164t298 61q147 0 284.5 -55.5t244.5 -156.5l130 129q29 31 70 14q39 -17 39 -59z" />
65
+ <glyph unicode="&#xf021;" d="M1511 480q0 -5 -1 -7q-64 -268 -268 -434.5t-478 -166.5q-146 0 -282.5 55t-243.5 157l-129 -129q-19 -19 -45 -19t-45 19t-19 45v448q0 26 19 45t45 19h448q26 0 45 -19t19 -45t-19 -45l-137 -137q71 -66 161 -102t187 -36q134 0 250 65t186 179q11 17 53 117 q8 23 30 23h192q13 0 22.5 -9.5t9.5 -22.5zM1536 1280v-448q0 -26 -19 -45t-45 -19h-448q-26 0 -45 19t-19 45t19 45l138 138q-148 137 -349 137q-134 0 -250 -65t-186 -179q-11 -17 -53 -117q-8 -23 -30 -23h-199q-13 0 -22.5 9.5t-9.5 22.5v7q65 268 270 434.5t480 166.5 q146 0 284 -55.5t245 -156.5l130 129q19 19 45 19t45 -19t19 -45z" />
66
+ <glyph unicode="&#xf022;" horiz-adv-x="1792" d="M384 352v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM384 608v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M384 864v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM1536 352v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-960q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h960q13 0 22.5 -9.5t9.5 -22.5z M1536 608v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-960q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h960q13 0 22.5 -9.5t9.5 -22.5zM1536 864v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-960q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h960q13 0 22.5 -9.5 t9.5 -22.5zM1664 160v832q0 13 -9.5 22.5t-22.5 9.5h-1472q-13 0 -22.5 -9.5t-9.5 -22.5v-832q0 -13 9.5 -22.5t22.5 -9.5h1472q13 0 22.5 9.5t9.5 22.5zM1792 1248v-1088q0 -66 -47 -113t-113 -47h-1472q-66 0 -113 47t-47 113v1088q0 66 47 113t113 47h1472q66 0 113 -47 t47 -113z" />
67
+ <glyph unicode="&#xf023;" horiz-adv-x="1152" d="M320 768h512v192q0 106 -75 181t-181 75t-181 -75t-75 -181v-192zM1152 672v-576q0 -40 -28 -68t-68 -28h-960q-40 0 -68 28t-28 68v576q0 40 28 68t68 28h32v192q0 184 132 316t316 132t316 -132t132 -316v-192h32q40 0 68 -28t28 -68z" />
68
+ <glyph unicode="&#xf024;" horiz-adv-x="1792" d="M320 1280q0 -72 -64 -110v-1266q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v1266q-64 38 -64 110q0 53 37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1792 1216v-763q0 -25 -12.5 -38.5t-39.5 -27.5q-215 -116 -369 -116q-61 0 -123.5 22t-108.5 48 t-115.5 48t-142.5 22q-192 0 -464 -146q-17 -9 -33 -9q-26 0 -45 19t-19 45v742q0 32 31 55q21 14 79 43q236 120 421 120q107 0 200 -29t219 -88q38 -19 88 -19q54 0 117.5 21t110 47t88 47t54.5 21q26 0 45 -19t19 -45z" />
69
+ <glyph unicode="&#xf025;" horiz-adv-x="1664" d="M1664 650q0 -166 -60 -314l-20 -49l-185 -33q-22 -83 -90.5 -136.5t-156.5 -53.5v-32q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v576q0 14 9 23t23 9h64q14 0 23 -9t9 -23v-32q71 0 130 -35.5t93 -95.5l68 12q29 95 29 193q0 148 -88 279t-236.5 209t-315.5 78 t-315.5 -78t-236.5 -209t-88 -279q0 -98 29 -193l68 -12q34 60 93 95.5t130 35.5v32q0 14 9 23t23 9h64q14 0 23 -9t9 -23v-576q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v32q-88 0 -156.5 53.5t-90.5 136.5l-185 33l-20 49q-60 148 -60 314q0 151 67 291t179 242.5 t266 163.5t320 61t320 -61t266 -163.5t179 -242.5t67 -291z" />
70
+ <glyph unicode="&#xf026;" horiz-adv-x="768" d="M768 1184v-1088q0 -26 -19 -45t-45 -19t-45 19l-333 333h-262q-26 0 -45 19t-19 45v384q0 26 19 45t45 19h262l333 333q19 19 45 19t45 -19t19 -45z" />
71
+ <glyph unicode="&#xf027;" horiz-adv-x="1152" d="M768 1184v-1088q0 -26 -19 -45t-45 -19t-45 19l-333 333h-262q-26 0 -45 19t-19 45v384q0 26 19 45t45 19h262l333 333q19 19 45 19t45 -19t19 -45zM1152 640q0 -76 -42.5 -141.5t-112.5 -93.5q-10 -5 -25 -5q-26 0 -45 18.5t-19 45.5q0 21 12 35.5t29 25t34 23t29 35.5 t12 57t-12 57t-29 35.5t-34 23t-29 25t-12 35.5q0 27 19 45.5t45 18.5q15 0 25 -5q70 -27 112.5 -93t42.5 -142z" />
72
+ <glyph unicode="&#xf028;" horiz-adv-x="1664" d="M768 1184v-1088q0 -26 -19 -45t-45 -19t-45 19l-333 333h-262q-26 0 -45 19t-19 45v384q0 26 19 45t45 19h262l333 333q19 19 45 19t45 -19t19 -45zM1152 640q0 -76 -42.5 -141.5t-112.5 -93.5q-10 -5 -25 -5q-26 0 -45 18.5t-19 45.5q0 21 12 35.5t29 25t34 23t29 35.5 t12 57t-12 57t-29 35.5t-34 23t-29 25t-12 35.5q0 27 19 45.5t45 18.5q15 0 25 -5q70 -27 112.5 -93t42.5 -142zM1408 640q0 -153 -85 -282.5t-225 -188.5q-13 -5 -25 -5q-27 0 -46 19t-19 45q0 39 39 59q56 29 76 44q74 54 115.5 135.5t41.5 173.5t-41.5 173.5 t-115.5 135.5q-20 15 -76 44q-39 20 -39 59q0 26 19 45t45 19q13 0 26 -5q140 -59 225 -188.5t85 -282.5zM1664 640q0 -230 -127 -422.5t-338 -283.5q-13 -5 -26 -5q-26 0 -45 19t-19 45q0 36 39 59q7 4 22.5 10.5t22.5 10.5q46 25 82 51q123 91 192 227t69 289t-69 289 t-192 227q-36 26 -82 51q-7 4 -22.5 10.5t-22.5 10.5q-39 23 -39 59q0 26 19 45t45 19q13 0 26 -5q211 -91 338 -283.5t127 -422.5z" />
73
+ <glyph unicode="&#xf029;" horiz-adv-x="1408" d="M384 384v-128h-128v128h128zM384 1152v-128h-128v128h128zM1152 1152v-128h-128v128h128zM128 129h384v383h-384v-383zM128 896h384v384h-384v-384zM896 896h384v384h-384v-384zM640 640v-640h-640v640h640zM1152 128v-128h-128v128h128zM1408 128v-128h-128v128h128z M1408 640v-384h-384v128h-128v-384h-128v640h384v-128h128v128h128zM640 1408v-640h-640v640h640zM1408 1408v-640h-640v640h640z" />
74
+ <glyph unicode="&#xf02a;" horiz-adv-x="1792" d="M63 0h-63v1408h63v-1408zM126 1h-32v1407h32v-1407zM220 1h-31v1407h31v-1407zM377 1h-31v1407h31v-1407zM534 1h-62v1407h62v-1407zM660 1h-31v1407h31v-1407zM723 1h-31v1407h31v-1407zM786 1h-31v1407h31v-1407zM943 1h-63v1407h63v-1407zM1100 1h-63v1407h63v-1407z M1226 1h-63v1407h63v-1407zM1352 1h-63v1407h63v-1407zM1446 1h-63v1407h63v-1407zM1635 1h-94v1407h94v-1407zM1698 1h-32v1407h32v-1407zM1792 0h-63v1408h63v-1408z" />
75
+ <glyph unicode="&#xf02b;" d="M448 1088q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1515 512q0 -53 -37 -90l-491 -492q-39 -37 -91 -37q-53 0 -90 37l-715 716q-38 37 -64.5 101t-26.5 117v416q0 52 38 90t90 38h416q53 0 117 -26.5t102 -64.5 l715 -714q37 -39 37 -91z" />
76
+ <glyph unicode="&#xf02c;" horiz-adv-x="1920" d="M448 1088q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1515 512q0 -53 -37 -90l-491 -492q-39 -37 -91 -37q-53 0 -90 37l-715 716q-38 37 -64.5 101t-26.5 117v416q0 52 38 90t90 38h416q53 0 117 -26.5t102 -64.5 l715 -714q37 -39 37 -91zM1899 512q0 -53 -37 -90l-491 -492q-39 -37 -91 -37q-36 0 -59 14t-53 45l470 470q37 37 37 90q0 52 -37 91l-715 714q-38 38 -102 64.5t-117 26.5h224q53 0 117 -26.5t102 -64.5l715 -714q37 -39 37 -91z" />
77
+ <glyph unicode="&#xf02d;" horiz-adv-x="1664" d="M1639 1058q40 -57 18 -129l-275 -906q-19 -64 -76.5 -107.5t-122.5 -43.5h-923q-77 0 -148.5 53.5t-99.5 131.5q-24 67 -2 127q0 4 3 27t4 37q1 8 -3 21.5t-3 19.5q2 11 8 21t16.5 23.5t16.5 23.5q23 38 45 91.5t30 91.5q3 10 0.5 30t-0.5 28q3 11 17 28t17 23 q21 36 42 92t25 90q1 9 -2.5 32t0.5 28q4 13 22 30.5t22 22.5q19 26 42.5 84.5t27.5 96.5q1 8 -3 25.5t-2 26.5q2 8 9 18t18 23t17 21q8 12 16.5 30.5t15 35t16 36t19.5 32t26.5 23.5t36 11.5t47.5 -5.5l-1 -3q38 9 51 9h761q74 0 114 -56t18 -130l-274 -906 q-36 -119 -71.5 -153.5t-128.5 -34.5h-869q-27 0 -38 -15q-11 -16 -1 -43q24 -70 144 -70h923q29 0 56 15.5t35 41.5l300 987q7 22 5 57q38 -15 59 -43zM575 1056q-4 -13 2 -22.5t20 -9.5h608q13 0 25.5 9.5t16.5 22.5l21 64q4 13 -2 22.5t-20 9.5h-608q-13 0 -25.5 -9.5 t-16.5 -22.5zM492 800q-4 -13 2 -22.5t20 -9.5h608q13 0 25.5 9.5t16.5 22.5l21 64q4 13 -2 22.5t-20 9.5h-608q-13 0 -25.5 -9.5t-16.5 -22.5z" />
78
+ <glyph unicode="&#xf02e;" horiz-adv-x="1280" d="M1164 1408q23 0 44 -9q33 -13 52.5 -41t19.5 -62v-1289q0 -34 -19.5 -62t-52.5 -41q-19 -8 -44 -8q-48 0 -83 32l-441 424l-441 -424q-36 -33 -83 -33q-23 0 -44 9q-33 13 -52.5 41t-19.5 62v1289q0 34 19.5 62t52.5 41q21 9 44 9h1048z" />
79
+ <glyph unicode="&#xf02f;" horiz-adv-x="1664" d="M384 0h896v256h-896v-256zM384 640h896v384h-160q-40 0 -68 28t-28 68v160h-640v-640zM1536 576q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1664 576v-416q0 -13 -9.5 -22.5t-22.5 -9.5h-224v-160q0 -40 -28 -68t-68 -28h-960q-40 0 -68 28t-28 68 v160h-224q-13 0 -22.5 9.5t-9.5 22.5v416q0 79 56.5 135.5t135.5 56.5h64v544q0 40 28 68t68 28h672q40 0 88 -20t76 -48l152 -152q28 -28 48 -76t20 -88v-256h64q79 0 135.5 -56.5t56.5 -135.5z" />
80
+ <glyph unicode="&#xf030;" horiz-adv-x="1920" d="M960 864q119 0 203.5 -84.5t84.5 -203.5t-84.5 -203.5t-203.5 -84.5t-203.5 84.5t-84.5 203.5t84.5 203.5t203.5 84.5zM1664 1280q106 0 181 -75t75 -181v-896q0 -106 -75 -181t-181 -75h-1408q-106 0 -181 75t-75 181v896q0 106 75 181t181 75h224l51 136 q19 49 69.5 84.5t103.5 35.5h512q53 0 103.5 -35.5t69.5 -84.5l51 -136h224zM960 128q185 0 316.5 131.5t131.5 316.5t-131.5 316.5t-316.5 131.5t-316.5 -131.5t-131.5 -316.5t131.5 -316.5t316.5 -131.5z" />
81
+ <glyph unicode="&#xf031;" horiz-adv-x="1664" d="M725 977l-170 -450q33 0 136.5 -2t160.5 -2q19 0 57 2q-87 253 -184 452zM0 -128l2 79q23 7 56 12.5t57 10.5t49.5 14.5t44.5 29t31 50.5l237 616l280 724h75h53q8 -14 11 -21l205 -480q33 -78 106 -257.5t114 -274.5q15 -34 58 -144.5t72 -168.5q20 -45 35 -57 q19 -15 88 -29.5t84 -20.5q6 -38 6 -57q0 -4 -0.5 -13t-0.5 -13q-63 0 -190 8t-191 8q-76 0 -215 -7t-178 -8q0 43 4 78l131 28q1 0 12.5 2.5t15.5 3.5t14.5 4.5t15 6.5t11 8t9 11t2.5 14q0 16 -31 96.5t-72 177.5t-42 100l-450 2q-26 -58 -76.5 -195.5t-50.5 -162.5 q0 -22 14 -37.5t43.5 -24.5t48.5 -13.5t57 -8.5t41 -4q1 -19 1 -58q0 -9 -2 -27q-58 0 -174.5 10t-174.5 10q-8 0 -26.5 -4t-21.5 -4q-80 -14 -188 -14z" />
82
+ <glyph unicode="&#xf032;" horiz-adv-x="1408" d="M555 15q74 -32 140 -32q376 0 376 335q0 114 -41 180q-27 44 -61.5 74t-67.5 46.5t-80.5 25t-84 10.5t-94.5 2q-73 0 -101 -10q0 -53 -0.5 -159t-0.5 -158q0 -8 -1 -67.5t-0.5 -96.5t4.5 -83.5t12 -66.5zM541 761q42 -7 109 -7q82 0 143 13t110 44.5t74.5 89.5t25.5 142 q0 70 -29 122.5t-79 82t-108 43.5t-124 14q-50 0 -130 -13q0 -50 4 -151t4 -152q0 -27 -0.5 -80t-0.5 -79q0 -46 1 -69zM0 -128l2 94q15 4 85 16t106 27q7 12 12.5 27t8.5 33.5t5.5 32.5t3 37.5t0.5 34v35.5v30q0 982 -22 1025q-4 8 -22 14.5t-44.5 11t-49.5 7t-48.5 4.5 t-30.5 3l-4 83q98 2 340 11.5t373 9.5q23 0 68.5 -0.5t67.5 -0.5q70 0 136.5 -13t128.5 -42t108 -71t74 -104.5t28 -137.5q0 -52 -16.5 -95.5t-39 -72t-64.5 -57.5t-73 -45t-84 -40q154 -35 256.5 -134t102.5 -248q0 -100 -35 -179.5t-93.5 -130.5t-138 -85.5t-163.5 -48.5 t-176 -14q-44 0 -132 3t-132 3q-106 0 -307 -11t-231 -12z" />
83
+ <glyph unicode="&#xf033;" horiz-adv-x="1024" d="M0 -126l17 85q6 2 81.5 21.5t111.5 37.5q28 35 41 101q1 7 62 289t114 543.5t52 296.5v25q-24 13 -54.5 18.5t-69.5 8t-58 5.5l19 103q33 -2 120 -6.5t149.5 -7t120.5 -2.5q48 0 98.5 2.5t121 7t98.5 6.5q-5 -39 -19 -89q-30 -10 -101.5 -28.5t-108.5 -33.5 q-8 -19 -14 -42.5t-9 -40t-7.5 -45.5t-6.5 -42q-27 -148 -87.5 -419.5t-77.5 -355.5q-2 -9 -13 -58t-20 -90t-16 -83.5t-6 -57.5l1 -18q17 -4 185 -31q-3 -44 -16 -99q-11 0 -32.5 -1.5t-32.5 -1.5q-29 0 -87 10t-86 10q-138 2 -206 2q-51 0 -143 -9t-121 -11z" />
84
+ <glyph unicode="&#xf034;" horiz-adv-x="1792" d="M1744 128q33 0 42 -18.5t-11 -44.5l-126 -162q-20 -26 -49 -26t-49 26l-126 162q-20 26 -11 44.5t42 18.5h80v1024h-80q-33 0 -42 18.5t11 44.5l126 162q20 26 49 26t49 -26l126 -162q20 -26 11 -44.5t-42 -18.5h-80v-1024h80zM81 1407l54 -27q12 -5 211 -5q44 0 132 2 t132 2q36 0 107.5 -0.5t107.5 -0.5h293q6 0 21 -0.5t20.5 0t16 3t17.5 9t15 17.5l42 1q4 0 14 -0.5t14 -0.5q2 -112 2 -336q0 -80 -5 -109q-39 -14 -68 -18q-25 44 -54 128q-3 9 -11 48t-14.5 73.5t-7.5 35.5q-6 8 -12 12.5t-15.5 6t-13 2.5t-18 0.5t-16.5 -0.5 q-17 0 -66.5 0.5t-74.5 0.5t-64 -2t-71 -6q-9 -81 -8 -136q0 -94 2 -388t2 -455q0 -16 -2.5 -71.5t0 -91.5t12.5 -69q40 -21 124 -42.5t120 -37.5q5 -40 5 -50q0 -14 -3 -29l-34 -1q-76 -2 -218 8t-207 10q-50 0 -151 -9t-152 -9q-3 51 -3 52v9q17 27 61.5 43t98.5 29t78 27 q19 42 19 383q0 101 -3 303t-3 303v117q0 2 0.5 15.5t0.5 25t-1 25.5t-3 24t-5 14q-11 12 -162 12q-33 0 -93 -12t-80 -26q-19 -13 -34 -72.5t-31.5 -111t-42.5 -53.5q-42 26 -56 44v383z" />
85
+ <glyph unicode="&#xf035;" d="M81 1407l54 -27q12 -5 211 -5q44 0 132 2t132 2q70 0 246.5 1t304.5 0.5t247 -4.5q33 -1 56 31l42 1q4 0 14 -0.5t14 -0.5q2 -112 2 -336q0 -80 -5 -109q-39 -14 -68 -18q-25 44 -54 128q-3 9 -11 47.5t-15 73.5t-7 36q-10 13 -27 19q-5 2 -66 2q-30 0 -93 1t-103 1 t-94 -2t-96 -7q-9 -81 -8 -136l1 -152v52q0 -55 1 -154t1.5 -180t0.5 -153q0 -16 -2.5 -71.5t0 -91.5t12.5 -69q40 -21 124 -42.5t120 -37.5q5 -40 5 -50q0 -14 -3 -29l-34 -1q-76 -2 -218 8t-207 10q-50 0 -151 -9t-152 -9q-3 51 -3 52v9q17 27 61.5 43t98.5 29t78 27 q7 16 11.5 74t6 145.5t1.5 155t-0.5 153.5t-0.5 89q0 7 -2.5 21.5t-2.5 22.5q0 7 0.5 44t1 73t0 76.5t-3 67.5t-6.5 32q-11 12 -162 12q-41 0 -163 -13.5t-138 -24.5q-19 -12 -34 -71.5t-31.5 -111.5t-42.5 -54q-42 26 -56 44v383zM1310 125q12 0 42 -19.5t57.5 -41.5 t59.5 -49t36 -30q26 -21 26 -49t-26 -49q-4 -3 -36 -30t-59.5 -49t-57.5 -41.5t-42 -19.5q-13 0 -20.5 10.5t-10 28.5t-2.5 33.5t1.5 33t1.5 19.5h-1024q0 -2 1.5 -19.5t1.5 -33t-2.5 -33.5t-10 -28.5t-20.5 -10.5q-12 0 -42 19.5t-57.5 41.5t-59.5 49t-36 30q-26 21 -26 49 t26 49q4 3 36 30t59.5 49t57.5 41.5t42 19.5q13 0 20.5 -10.5t10 -28.5t2.5 -33.5t-1.5 -33t-1.5 -19.5h1024q0 2 -1.5 19.5t-1.5 33t2.5 33.5t10 28.5t20.5 10.5z" />
86
+ <glyph unicode="&#xf036;" horiz-adv-x="1792" d="M1792 192v-128q0 -26 -19 -45t-45 -19h-1664q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1664q26 0 45 -19t19 -45zM1408 576v-128q0 -26 -19 -45t-45 -19h-1280q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1280q26 0 45 -19t19 -45zM1664 960v-128q0 -26 -19 -45 t-45 -19h-1536q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1536q26 0 45 -19t19 -45zM1280 1344v-128q0 -26 -19 -45t-45 -19h-1152q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1152q26 0 45 -19t19 -45z" />
87
+ <glyph unicode="&#xf037;" horiz-adv-x="1792" d="M1792 192v-128q0 -26 -19 -45t-45 -19h-1664q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1664q26 0 45 -19t19 -45zM1408 576v-128q0 -26 -19 -45t-45 -19h-896q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h896q26 0 45 -19t19 -45zM1664 960v-128q0 -26 -19 -45t-45 -19 h-1408q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1408q26 0 45 -19t19 -45zM1280 1344v-128q0 -26 -19 -45t-45 -19h-640q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h640q26 0 45 -19t19 -45z" />
88
+ <glyph unicode="&#xf038;" horiz-adv-x="1792" d="M1792 192v-128q0 -26 -19 -45t-45 -19h-1664q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1664q26 0 45 -19t19 -45zM1792 576v-128q0 -26 -19 -45t-45 -19h-1280q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1280q26 0 45 -19t19 -45zM1792 960v-128q0 -26 -19 -45 t-45 -19h-1536q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1536q26 0 45 -19t19 -45zM1792 1344v-128q0 -26 -19 -45t-45 -19h-1152q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1152q26 0 45 -19t19 -45z" />
89
+ <glyph unicode="&#xf039;" horiz-adv-x="1792" d="M1792 192v-128q0 -26 -19 -45t-45 -19h-1664q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1664q26 0 45 -19t19 -45zM1792 576v-128q0 -26 -19 -45t-45 -19h-1664q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1664q26 0 45 -19t19 -45zM1792 960v-128q0 -26 -19 -45 t-45 -19h-1664q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1664q26 0 45 -19t19 -45zM1792 1344v-128q0 -26 -19 -45t-45 -19h-1664q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1664q26 0 45 -19t19 -45z" />
90
+ <glyph unicode="&#xf03a;" horiz-adv-x="1792" d="M256 224v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-192q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h192q13 0 22.5 -9.5t9.5 -22.5zM256 608v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-192q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h192q13 0 22.5 -9.5 t9.5 -22.5zM256 992v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-192q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h192q13 0 22.5 -9.5t9.5 -22.5zM1792 224v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1344q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1344 q13 0 22.5 -9.5t9.5 -22.5zM256 1376v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-192q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h192q13 0 22.5 -9.5t9.5 -22.5zM1792 608v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1344q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5 t22.5 9.5h1344q13 0 22.5 -9.5t9.5 -22.5zM1792 992v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1344q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1344q13 0 22.5 -9.5t9.5 -22.5zM1792 1376v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1344q-13 0 -22.5 9.5t-9.5 22.5v192 q0 13 9.5 22.5t22.5 9.5h1344q13 0 22.5 -9.5t9.5 -22.5z" />
91
+ <glyph unicode="&#xf03b;" horiz-adv-x="1792" d="M384 992v-576q0 -13 -9.5 -22.5t-22.5 -9.5q-14 0 -23 9l-288 288q-9 9 -9 23t9 23l288 288q9 9 23 9q13 0 22.5 -9.5t9.5 -22.5zM1792 224v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1728q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1728q13 0 22.5 -9.5 t9.5 -22.5zM1792 608v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1088q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1088q13 0 22.5 -9.5t9.5 -22.5zM1792 992v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1088q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1088 q13 0 22.5 -9.5t9.5 -22.5zM1792 1376v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1728q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1728q13 0 22.5 -9.5t9.5 -22.5z" />
92
+ <glyph unicode="&#xf03c;" horiz-adv-x="1792" d="M352 704q0 -14 -9 -23l-288 -288q-9 -9 -23 -9q-13 0 -22.5 9.5t-9.5 22.5v576q0 13 9.5 22.5t22.5 9.5q14 0 23 -9l288 -288q9 -9 9 -23zM1792 224v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1728q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1728q13 0 22.5 -9.5 t9.5 -22.5zM1792 608v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1088q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1088q13 0 22.5 -9.5t9.5 -22.5zM1792 992v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1088q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1088 q13 0 22.5 -9.5t9.5 -22.5zM1792 1376v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1728q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1728q13 0 22.5 -9.5t9.5 -22.5z" />
93
+ <glyph unicode="&#xf03d;" horiz-adv-x="1792" d="M1792 1184v-1088q0 -42 -39 -59q-13 -5 -25 -5q-27 0 -45 19l-403 403v-166q0 -119 -84.5 -203.5t-203.5 -84.5h-704q-119 0 -203.5 84.5t-84.5 203.5v704q0 119 84.5 203.5t203.5 84.5h704q119 0 203.5 -84.5t84.5 -203.5v-165l403 402q18 19 45 19q12 0 25 -5 q39 -17 39 -59z" />
94
+ <glyph unicode="&#xf03e;" horiz-adv-x="1920" d="M640 960q0 -80 -56 -136t-136 -56t-136 56t-56 136t56 136t136 56t136 -56t56 -136zM1664 576v-448h-1408v192l320 320l160 -160l512 512zM1760 1280h-1600q-13 0 -22.5 -9.5t-9.5 -22.5v-1216q0 -13 9.5 -22.5t22.5 -9.5h1600q13 0 22.5 9.5t9.5 22.5v1216 q0 13 -9.5 22.5t-22.5 9.5zM1920 1248v-1216q0 -66 -47 -113t-113 -47h-1600q-66 0 -113 47t-47 113v1216q0 66 47 113t113 47h1600q66 0 113 -47t47 -113z" />
95
+ <glyph unicode="&#xf040;" d="M363 0l91 91l-235 235l-91 -91v-107h128v-128h107zM886 928q0 22 -22 22q-10 0 -17 -7l-542 -542q-7 -7 -7 -17q0 -22 22 -22q10 0 17 7l542 542q7 7 7 17zM832 1120l416 -416l-832 -832h-416v416zM1515 1024q0 -53 -37 -90l-166 -166l-416 416l166 165q36 38 90 38 q53 0 91 -38l235 -234q37 -39 37 -91z" />
96
+ <glyph unicode="&#xf041;" horiz-adv-x="1024" d="M768 896q0 106 -75 181t-181 75t-181 -75t-75 -181t75 -181t181 -75t181 75t75 181zM1024 896q0 -109 -33 -179l-364 -774q-16 -33 -47.5 -52t-67.5 -19t-67.5 19t-46.5 52l-365 774q-33 70 -33 179q0 212 150 362t362 150t362 -150t150 -362z" />
97
+ <glyph unicode="&#xf042;" d="M768 96v1088q-148 0 -273 -73t-198 -198t-73 -273t73 -273t198 -198t273 -73zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
98
+ <glyph unicode="&#xf043;" horiz-adv-x="1024" d="M512 384q0 36 -20 69q-1 1 -15.5 22.5t-25.5 38t-25 44t-21 50.5q-4 16 -21 16t-21 -16q-7 -23 -21 -50.5t-25 -44t-25.5 -38t-15.5 -22.5q-20 -33 -20 -69q0 -53 37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1024 512q0 -212 -150 -362t-362 -150t-362 150t-150 362 q0 145 81 275q6 9 62.5 90.5t101 151t99.5 178t83 201.5q9 30 34 47t51 17t51.5 -17t33.5 -47q28 -93 83 -201.5t99.5 -178t101 -151t62.5 -90.5q81 -127 81 -275z" />
99
+ <glyph unicode="&#xf044;" horiz-adv-x="1792" d="M888 352l116 116l-152 152l-116 -116v-56h96v-96h56zM1328 1072q-16 16 -33 -1l-350 -350q-17 -17 -1 -33t33 1l350 350q17 17 1 33zM1408 478v-190q0 -119 -84.5 -203.5t-203.5 -84.5h-832q-119 0 -203.5 84.5t-84.5 203.5v832q0 119 84.5 203.5t203.5 84.5h832 q63 0 117 -25q15 -7 18 -23q3 -17 -9 -29l-49 -49q-14 -14 -32 -8q-23 6 -45 6h-832q-66 0 -113 -47t-47 -113v-832q0 -66 47 -113t113 -47h832q66 0 113 47t47 113v126q0 13 9 22l64 64q15 15 35 7t20 -29zM1312 1216l288 -288l-672 -672h-288v288zM1756 1084l-92 -92 l-288 288l92 92q28 28 68 28t68 -28l152 -152q28 -28 28 -68t-28 -68z" />
100
+ <glyph unicode="&#xf045;" horiz-adv-x="1664" d="M1408 547v-259q0 -119 -84.5 -203.5t-203.5 -84.5h-832q-119 0 -203.5 84.5t-84.5 203.5v832q0 119 84.5 203.5t203.5 84.5h255v0q13 0 22.5 -9.5t9.5 -22.5q0 -27 -26 -32q-77 -26 -133 -60q-10 -4 -16 -4h-112q-66 0 -113 -47t-47 -113v-832q0 -66 47 -113t113 -47h832 q66 0 113 47t47 113v214q0 19 18 29q28 13 54 37q16 16 35 8q21 -9 21 -29zM1645 1043l-384 -384q-18 -19 -45 -19q-12 0 -25 5q-39 17 -39 59v192h-160q-323 0 -438 -131q-119 -137 -74 -473q3 -23 -20 -34q-8 -2 -12 -2q-16 0 -26 13q-10 14 -21 31t-39.5 68.5t-49.5 99.5 t-38.5 114t-17.5 122q0 49 3.5 91t14 90t28 88t47 81.5t68.5 74t94.5 61.5t124.5 48.5t159.5 30.5t196.5 11h160v192q0 42 39 59q13 5 25 5q26 0 45 -19l384 -384q19 -19 19 -45t-19 -45z" />
101
+ <glyph unicode="&#xf046;" horiz-adv-x="1664" d="M1408 606v-318q0 -119 -84.5 -203.5t-203.5 -84.5h-832q-119 0 -203.5 84.5t-84.5 203.5v832q0 119 84.5 203.5t203.5 84.5h832q63 0 117 -25q15 -7 18 -23q3 -17 -9 -29l-49 -49q-10 -10 -23 -10q-3 0 -9 2q-23 6 -45 6h-832q-66 0 -113 -47t-47 -113v-832 q0 -66 47 -113t113 -47h832q66 0 113 47t47 113v254q0 13 9 22l64 64q10 10 23 10q6 0 12 -3q20 -8 20 -29zM1639 1095l-814 -814q-24 -24 -57 -24t-57 24l-430 430q-24 24 -24 57t24 57l110 110q24 24 57 24t57 -24l263 -263l647 647q24 24 57 24t57 -24l110 -110 q24 -24 24 -57t-24 -57z" />
102
+ <glyph unicode="&#xf047;" horiz-adv-x="1792" d="M1792 640q0 -26 -19 -45l-256 -256q-19 -19 -45 -19t-45 19t-19 45v128h-384v-384h128q26 0 45 -19t19 -45t-19 -45l-256 -256q-19 -19 -45 -19t-45 19l-256 256q-19 19 -19 45t19 45t45 19h128v384h-384v-128q0 -26 -19 -45t-45 -19t-45 19l-256 256q-19 19 -19 45 t19 45l256 256q19 19 45 19t45 -19t19 -45v-128h384v384h-128q-26 0 -45 19t-19 45t19 45l256 256q19 19 45 19t45 -19l256 -256q19 -19 19 -45t-19 -45t-45 -19h-128v-384h384v128q0 26 19 45t45 19t45 -19l256 -256q19 -19 19 -45z" />
103
+ <glyph unicode="&#xf048;" horiz-adv-x="1024" d="M979 1395q19 19 32 13t13 -32v-1472q0 -26 -13 -32t-32 13l-710 710q-9 9 -13 19v-678q0 -26 -19 -45t-45 -19h-128q-26 0 -45 19t-19 45v1408q0 26 19 45t45 19h128q26 0 45 -19t19 -45v-678q4 11 13 19z" />
104
+ <glyph unicode="&#xf049;" horiz-adv-x="1792" d="M1747 1395q19 19 32 13t13 -32v-1472q0 -26 -13 -32t-32 13l-710 710q-9 9 -13 19v-710q0 -26 -13 -32t-32 13l-710 710q-9 9 -13 19v-678q0 -26 -19 -45t-45 -19h-128q-26 0 -45 19t-19 45v1408q0 26 19 45t45 19h128q26 0 45 -19t19 -45v-678q4 11 13 19l710 710 q19 19 32 13t13 -32v-710q4 11 13 19z" />
105
+ <glyph unicode="&#xf04a;" horiz-adv-x="1664" d="M1619 1395q19 19 32 13t13 -32v-1472q0 -26 -13 -32t-32 13l-710 710q-8 9 -13 19v-710q0 -26 -13 -32t-32 13l-710 710q-19 19 -19 45t19 45l710 710q19 19 32 13t13 -32v-710q5 11 13 19z" />
106
+ <glyph unicode="&#xf04b;" horiz-adv-x="1408" d="M1384 609l-1328 -738q-23 -13 -39.5 -3t-16.5 36v1472q0 26 16.5 36t39.5 -3l1328 -738q23 -13 23 -31t-23 -31z" />
107
+ <glyph unicode="&#xf04c;" d="M1536 1344v-1408q0 -26 -19 -45t-45 -19h-512q-26 0 -45 19t-19 45v1408q0 26 19 45t45 19h512q26 0 45 -19t19 -45zM640 1344v-1408q0 -26 -19 -45t-45 -19h-512q-26 0 -45 19t-19 45v1408q0 26 19 45t45 19h512q26 0 45 -19t19 -45z" />
108
+ <glyph unicode="&#xf04d;" d="M1536 1344v-1408q0 -26 -19 -45t-45 -19h-1408q-26 0 -45 19t-19 45v1408q0 26 19 45t45 19h1408q26 0 45 -19t19 -45z" />
109
+ <glyph unicode="&#xf04e;" horiz-adv-x="1664" d="M45 -115q-19 -19 -32 -13t-13 32v1472q0 26 13 32t32 -13l710 -710q8 -8 13 -19v710q0 26 13 32t32 -13l710 -710q19 -19 19 -45t-19 -45l-710 -710q-19 -19 -32 -13t-13 32v710q-5 -10 -13 -19z" />
110
+ <glyph unicode="&#xf050;" horiz-adv-x="1792" d="M45 -115q-19 -19 -32 -13t-13 32v1472q0 26 13 32t32 -13l710 -710q8 -8 13 -19v710q0 26 13 32t32 -13l710 -710q8 -8 13 -19v678q0 26 19 45t45 19h128q26 0 45 -19t19 -45v-1408q0 -26 -19 -45t-45 -19h-128q-26 0 -45 19t-19 45v678q-5 -10 -13 -19l-710 -710 q-19 -19 -32 -13t-13 32v710q-5 -10 -13 -19z" />
111
+ <glyph unicode="&#xf051;" horiz-adv-x="1024" d="M45 -115q-19 -19 -32 -13t-13 32v1472q0 26 13 32t32 -13l710 -710q8 -8 13 -19v678q0 26 19 45t45 19h128q26 0 45 -19t19 -45v-1408q0 -26 -19 -45t-45 -19h-128q-26 0 -45 19t-19 45v678q-5 -10 -13 -19z" />
112
+ <glyph unicode="&#xf052;" horiz-adv-x="1538" d="M14 557l710 710q19 19 45 19t45 -19l710 -710q19 -19 13 -32t-32 -13h-1472q-26 0 -32 13t13 32zM1473 0h-1408q-26 0 -45 19t-19 45v256q0 26 19 45t45 19h1408q26 0 45 -19t19 -45v-256q0 -26 -19 -45t-45 -19z" />
113
+ <glyph unicode="&#xf053;" horiz-adv-x="1280" d="M1171 1235l-531 -531l531 -531q19 -19 19 -45t-19 -45l-166 -166q-19 -19 -45 -19t-45 19l-742 742q-19 19 -19 45t19 45l742 742q19 19 45 19t45 -19l166 -166q19 -19 19 -45t-19 -45z" />
114
+ <glyph unicode="&#xf054;" horiz-adv-x="1280" d="M1107 659l-742 -742q-19 -19 -45 -19t-45 19l-166 166q-19 19 -19 45t19 45l531 531l-531 531q-19 19 -19 45t19 45l166 166q19 19 45 19t45 -19l742 -742q19 -19 19 -45t-19 -45z" />
115
+ <glyph unicode="&#xf055;" d="M1216 576v128q0 26 -19 45t-45 19h-256v256q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-256h-256q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h256v-256q0 -26 19 -45t45 -19h128q26 0 45 19t19 45v256h256q26 0 45 19t19 45zM1536 640q0 -209 -103 -385.5 t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
116
+ <glyph unicode="&#xf056;" d="M1216 576v128q0 26 -19 45t-45 19h-768q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h768q26 0 45 19t19 45zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5 t103 -385.5z" />
117
+ <glyph unicode="&#xf057;" d="M1149 414q0 26 -19 45l-181 181l181 181q19 19 19 45q0 27 -19 46l-90 90q-19 19 -46 19q-26 0 -45 -19l-181 -181l-181 181q-19 19 -45 19q-27 0 -46 -19l-90 -90q-19 -19 -19 -46q0 -26 19 -45l181 -181l-181 -181q-19 -19 -19 -45q0 -27 19 -46l90 -90q19 -19 46 -19 q26 0 45 19l181 181l181 -181q19 -19 45 -19q27 0 46 19l90 90q19 19 19 46zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
118
+ <glyph unicode="&#xf058;" d="M1284 802q0 28 -18 46l-91 90q-19 19 -45 19t-45 -19l-408 -407l-226 226q-19 19 -45 19t-45 -19l-91 -90q-18 -18 -18 -46q0 -27 18 -45l362 -362q19 -19 45 -19q27 0 46 19l543 543q18 18 18 45zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103 t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
119
+ <glyph unicode="&#xf059;" d="M896 160v192q0 14 -9 23t-23 9h-192q-14 0 -23 -9t-9 -23v-192q0 -14 9 -23t23 -9h192q14 0 23 9t9 23zM1152 832q0 88 -55.5 163t-138.5 116t-170 41q-243 0 -371 -213q-15 -24 8 -42l132 -100q7 -6 19 -6q16 0 25 12q53 68 86 92q34 24 86 24q48 0 85.5 -26t37.5 -59 q0 -38 -20 -61t-68 -45q-63 -28 -115.5 -86.5t-52.5 -125.5v-36q0 -14 9 -23t23 -9h192q14 0 23 9t9 23q0 19 21.5 49.5t54.5 49.5q32 18 49 28.5t46 35t44.5 48t28 60.5t12.5 81zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5 t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
120
+ <glyph unicode="&#xf05a;" d="M1024 160v160q0 14 -9 23t-23 9h-96v512q0 14 -9 23t-23 9h-320q-14 0 -23 -9t-9 -23v-160q0 -14 9 -23t23 -9h96v-320h-96q-14 0 -23 -9t-9 -23v-160q0 -14 9 -23t23 -9h448q14 0 23 9t9 23zM896 1056v160q0 14 -9 23t-23 9h-192q-14 0 -23 -9t-9 -23v-160q0 -14 9 -23 t23 -9h192q14 0 23 9t9 23zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
121
+ <glyph unicode="&#xf05b;" d="M1197 512h-109q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h109q-32 108 -112.5 188.5t-188.5 112.5v-109q0 -26 -19 -45t-45 -19h-128q-26 0 -45 19t-19 45v109q-108 -32 -188.5 -112.5t-112.5 -188.5h109q26 0 45 -19t19 -45v-128q0 -26 -19 -45t-45 -19h-109 q32 -108 112.5 -188.5t188.5 -112.5v109q0 26 19 45t45 19h128q26 0 45 -19t19 -45v-109q108 32 188.5 112.5t112.5 188.5zM1536 704v-128q0 -26 -19 -45t-45 -19h-143q-37 -161 -154.5 -278.5t-278.5 -154.5v-143q0 -26 -19 -45t-45 -19h-128q-26 0 -45 19t-19 45v143 q-161 37 -278.5 154.5t-154.5 278.5h-143q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h143q37 161 154.5 278.5t278.5 154.5v143q0 26 19 45t45 19h128q26 0 45 -19t19 -45v-143q161 -37 278.5 -154.5t154.5 -278.5h143q26 0 45 -19t19 -45z" />
122
+ <glyph unicode="&#xf05c;" d="M1097 457l-146 -146q-10 -10 -23 -10t-23 10l-137 137l-137 -137q-10 -10 -23 -10t-23 10l-146 146q-10 10 -10 23t10 23l137 137l-137 137q-10 10 -10 23t10 23l146 146q10 10 23 10t23 -10l137 -137l137 137q10 10 23 10t23 -10l146 -146q10 -10 10 -23t-10 -23 l-137 -137l137 -137q10 -10 10 -23t-10 -23zM1312 640q0 148 -73 273t-198 198t-273 73t-273 -73t-198 -198t-73 -273t73 -273t198 -198t273 -73t273 73t198 198t73 273zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5 t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
123
+ <glyph unicode="&#xf05d;" d="M1171 723l-422 -422q-19 -19 -45 -19t-45 19l-294 294q-19 19 -19 45t19 45l102 102q19 19 45 19t45 -19l147 -147l275 275q19 19 45 19t45 -19l102 -102q19 -19 19 -45t-19 -45zM1312 640q0 148 -73 273t-198 198t-273 73t-273 -73t-198 -198t-73 -273t73 -273t198 -198 t273 -73t273 73t198 198t73 273zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
124
+ <glyph unicode="&#xf05e;" d="M1312 643q0 161 -87 295l-754 -753q137 -89 297 -89q111 0 211.5 43.5t173.5 116.5t116 174.5t43 212.5zM313 344l755 754q-135 91 -300 91q-148 0 -273 -73t-198 -199t-73 -274q0 -162 89 -299zM1536 643q0 -157 -61 -300t-163.5 -246t-245 -164t-298.5 -61t-298.5 61 t-245 164t-163.5 246t-61 300t61 299.5t163.5 245.5t245 164t298.5 61t298.5 -61t245 -164t163.5 -245.5t61 -299.5z" />
125
+ <glyph unicode="&#xf060;" d="M1536 640v-128q0 -53 -32.5 -90.5t-84.5 -37.5h-704l293 -294q38 -36 38 -90t-38 -90l-75 -76q-37 -37 -90 -37q-52 0 -91 37l-651 652q-37 37 -37 90q0 52 37 91l651 650q38 38 91 38q52 0 90 -38l75 -74q38 -38 38 -91t-38 -91l-293 -293h704q52 0 84.5 -37.5 t32.5 -90.5z" />
126
+ <glyph unicode="&#xf061;" d="M1472 576q0 -54 -37 -91l-651 -651q-39 -37 -91 -37q-51 0 -90 37l-75 75q-38 38 -38 91t38 91l293 293h-704q-52 0 -84.5 37.5t-32.5 90.5v128q0 53 32.5 90.5t84.5 37.5h704l-293 294q-38 36 -38 90t38 90l75 75q38 38 90 38q53 0 91 -38l651 -651q37 -35 37 -90z" />
127
+ <glyph unicode="&#xf062;" horiz-adv-x="1664" d="M1611 565q0 -51 -37 -90l-75 -75q-38 -38 -91 -38q-54 0 -90 38l-294 293v-704q0 -52 -37.5 -84.5t-90.5 -32.5h-128q-53 0 -90.5 32.5t-37.5 84.5v704l-294 -293q-36 -38 -90 -38t-90 38l-75 75q-38 38 -38 90q0 53 38 91l651 651q35 37 90 37q54 0 91 -37l651 -651 q37 -39 37 -91z" />
128
+ <glyph unicode="&#xf063;" horiz-adv-x="1664" d="M1611 704q0 -53 -37 -90l-651 -652q-39 -37 -91 -37q-53 0 -90 37l-651 652q-38 36 -38 90q0 53 38 91l74 75q39 37 91 37q53 0 90 -37l294 -294v704q0 52 38 90t90 38h128q52 0 90 -38t38 -90v-704l294 294q37 37 90 37q52 0 91 -37l75 -75q37 -39 37 -91z" />
129
+ <glyph unicode="&#xf064;" horiz-adv-x="1792" d="M1792 896q0 -26 -19 -45l-512 -512q-19 -19 -45 -19t-45 19t-19 45v256h-224q-98 0 -175.5 -6t-154 -21.5t-133 -42.5t-105.5 -69.5t-80 -101t-48.5 -138.5t-17.5 -181q0 -55 5 -123q0 -6 2.5 -23.5t2.5 -26.5q0 -15 -8.5 -25t-23.5 -10q-16 0 -28 17q-7 9 -13 22 t-13.5 30t-10.5 24q-127 285 -127 451q0 199 53 333q162 403 875 403h224v256q0 26 19 45t45 19t45 -19l512 -512q19 -19 19 -45z" />
130
+ <glyph unicode="&#xf065;" d="M755 480q0 -13 -10 -23l-332 -332l144 -144q19 -19 19 -45t-19 -45t-45 -19h-448q-26 0 -45 19t-19 45v448q0 26 19 45t45 19t45 -19l144 -144l332 332q10 10 23 10t23 -10l114 -114q10 -10 10 -23zM1536 1344v-448q0 -26 -19 -45t-45 -19t-45 19l-144 144l-332 -332 q-10 -10 -23 -10t-23 10l-114 114q-10 10 -10 23t10 23l332 332l-144 144q-19 19 -19 45t19 45t45 19h448q26 0 45 -19t19 -45z" />
131
+ <glyph unicode="&#xf066;" d="M768 576v-448q0 -26 -19 -45t-45 -19t-45 19l-144 144l-332 -332q-10 -10 -23 -10t-23 10l-114 114q-10 10 -10 23t10 23l332 332l-144 144q-19 19 -19 45t19 45t45 19h448q26 0 45 -19t19 -45zM1523 1248q0 -13 -10 -23l-332 -332l144 -144q19 -19 19 -45t-19 -45 t-45 -19h-448q-26 0 -45 19t-19 45v448q0 26 19 45t45 19t45 -19l144 -144l332 332q10 10 23 10t23 -10l114 -114q10 -10 10 -23z" />
132
+ <glyph unicode="&#xf067;" horiz-adv-x="1408" d="M1408 800v-192q0 -40 -28 -68t-68 -28h-416v-416q0 -40 -28 -68t-68 -28h-192q-40 0 -68 28t-28 68v416h-416q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h416v416q0 40 28 68t68 28h192q40 0 68 -28t28 -68v-416h416q40 0 68 -28t28 -68z" />
133
+ <glyph unicode="&#xf068;" horiz-adv-x="1408" d="M1408 800v-192q0 -40 -28 -68t-68 -28h-1216q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h1216q40 0 68 -28t28 -68z" />
134
+ <glyph unicode="&#xf069;" horiz-adv-x="1664" d="M1482 486q46 -26 59.5 -77.5t-12.5 -97.5l-64 -110q-26 -46 -77.5 -59.5t-97.5 12.5l-266 153v-307q0 -52 -38 -90t-90 -38h-128q-52 0 -90 38t-38 90v307l-266 -153q-46 -26 -97.5 -12.5t-77.5 59.5l-64 110q-26 46 -12.5 97.5t59.5 77.5l266 154l-266 154 q-46 26 -59.5 77.5t12.5 97.5l64 110q26 46 77.5 59.5t97.5 -12.5l266 -153v307q0 52 38 90t90 38h128q52 0 90 -38t38 -90v-307l266 153q46 26 97.5 12.5t77.5 -59.5l64 -110q26 -46 12.5 -97.5t-59.5 -77.5l-266 -154z" />
135
+ <glyph unicode="&#xf06a;" d="M768 1408q209 0 385.5 -103t279.5 -279.5t103 -385.5t-103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103zM896 161v190q0 14 -9 23.5t-22 9.5h-192q-13 0 -23 -10t-10 -23v-190q0 -13 10 -23t23 -10h192 q13 0 22 9.5t9 23.5zM894 505l18 621q0 12 -10 18q-10 8 -24 8h-220q-14 0 -24 -8q-10 -6 -10 -18l17 -621q0 -10 10 -17.5t24 -7.5h185q14 0 23.5 7.5t10.5 17.5z" />
136
+ <glyph unicode="&#xf06b;" d="M928 180v56v468v192h-320v-192v-468v-56q0 -25 18 -38.5t46 -13.5h192q28 0 46 13.5t18 38.5zM472 1024h195l-126 161q-26 31 -69 31q-40 0 -68 -28t-28 -68t28 -68t68 -28zM1160 1120q0 40 -28 68t-68 28q-43 0 -69 -31l-125 -161h194q40 0 68 28t28 68zM1536 864v-320 q0 -14 -9 -23t-23 -9h-96v-416q0 -40 -28 -68t-68 -28h-1088q-40 0 -68 28t-28 68v416h-96q-14 0 -23 9t-9 23v320q0 14 9 23t23 9h440q-93 0 -158.5 65.5t-65.5 158.5t65.5 158.5t158.5 65.5q107 0 168 -77l128 -165l128 165q61 77 168 77q93 0 158.5 -65.5t65.5 -158.5 t-65.5 -158.5t-158.5 -65.5h440q14 0 23 -9t9 -23z" />
137
+ <glyph unicode="&#xf06c;" horiz-adv-x="1792" d="M1280 832q0 26 -19 45t-45 19q-172 0 -318 -49.5t-259.5 -134t-235.5 -219.5q-19 -21 -19 -45q0 -26 19 -45t45 -19q24 0 45 19q27 24 74 71t67 66q137 124 268.5 176t313.5 52q26 0 45 19t19 45zM1792 1030q0 -95 -20 -193q-46 -224 -184.5 -383t-357.5 -268 q-214 -108 -438 -108q-148 0 -286 47q-15 5 -88 42t-96 37q-16 0 -39.5 -32t-45 -70t-52.5 -70t-60 -32q-30 0 -51 11t-31 24t-27 42q-2 4 -6 11t-5.5 10t-3 9.5t-1.5 13.5q0 35 31 73.5t68 65.5t68 56t31 48q0 4 -14 38t-16 44q-9 51 -9 104q0 115 43.5 220t119 184.5 t170.5 139t204 95.5q55 18 145 25.5t179.5 9t178.5 6t163.5 24t113.5 56.5l29.5 29.5t29.5 28t27 20t36.5 16t43.5 4.5q39 0 70.5 -46t47.5 -112t24 -124t8 -96z" />
138
+ <glyph unicode="&#xf06d;" horiz-adv-x="1408" d="M1408 -160v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-1344q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h1344q13 0 22.5 -9.5t9.5 -22.5zM1152 896q0 -78 -24.5 -144t-64 -112.5t-87.5 -88t-96 -77.5t-87.5 -72t-64 -81.5t-24.5 -96.5q0 -96 67 -224l-4 1l1 -1 q-90 41 -160 83t-138.5 100t-113.5 122.5t-72.5 150.5t-27.5 184q0 78 24.5 144t64 112.5t87.5 88t96 77.5t87.5 72t64 81.5t24.5 96.5q0 94 -66 224l3 -1l-1 1q90 -41 160 -83t138.5 -100t113.5 -122.5t72.5 -150.5t27.5 -184z" />
139
+ <glyph unicode="&#xf06e;" horiz-adv-x="1792" d="M1664 576q-152 236 -381 353q61 -104 61 -225q0 -185 -131.5 -316.5t-316.5 -131.5t-316.5 131.5t-131.5 316.5q0 121 61 225q-229 -117 -381 -353q133 -205 333.5 -326.5t434.5 -121.5t434.5 121.5t333.5 326.5zM944 960q0 20 -14 34t-34 14q-125 0 -214.5 -89.5 t-89.5 -214.5q0 -20 14 -34t34 -14t34 14t14 34q0 86 61 147t147 61q20 0 34 14t14 34zM1792 576q0 -34 -20 -69q-140 -230 -376.5 -368.5t-499.5 -138.5t-499.5 139t-376.5 368q-20 35 -20 69t20 69q140 229 376.5 368t499.5 139t499.5 -139t376.5 -368q20 -35 20 -69z" />
140
+ <glyph unicode="&#xf070;" horiz-adv-x="1792" d="M555 201l78 141q-87 63 -136 159t-49 203q0 121 61 225q-229 -117 -381 -353q167 -258 427 -375zM944 960q0 20 -14 34t-34 14q-125 0 -214.5 -89.5t-89.5 -214.5q0 -20 14 -34t34 -14t34 14t14 34q0 86 61 147t147 61q20 0 34 14t14 34zM1307 1151q0 -7 -1 -9 q-105 -188 -315 -566t-316 -567l-49 -89q-10 -16 -28 -16q-12 0 -134 70q-16 10 -16 28q0 12 44 87q-143 65 -263.5 173t-208.5 245q-20 31 -20 69t20 69q153 235 380 371t496 136q89 0 180 -17l54 97q10 16 28 16q5 0 18 -6t31 -15.5t33 -18.5t31.5 -18.5t19.5 -11.5 q16 -10 16 -27zM1344 704q0 -139 -79 -253.5t-209 -164.5l280 502q8 -45 8 -84zM1792 576q0 -35 -20 -69q-39 -64 -109 -145q-150 -172 -347.5 -267t-419.5 -95l74 132q212 18 392.5 137t301.5 307q-115 179 -282 294l63 112q95 -64 182.5 -153t144.5 -184q20 -34 20 -69z " />
141
+ <glyph unicode="&#xf071;" horiz-adv-x="1792" d="M1024 161v190q0 14 -9.5 23.5t-22.5 9.5h-192q-13 0 -22.5 -9.5t-9.5 -23.5v-190q0 -14 9.5 -23.5t22.5 -9.5h192q13 0 22.5 9.5t9.5 23.5zM1022 535l18 459q0 12 -10 19q-13 11 -24 11h-220q-11 0 -24 -11q-10 -7 -10 -21l17 -457q0 -10 10 -16.5t24 -6.5h185 q14 0 23.5 6.5t10.5 16.5zM1008 1469l768 -1408q35 -63 -2 -126q-17 -29 -46.5 -46t-63.5 -17h-1536q-34 0 -63.5 17t-46.5 46q-37 63 -2 126l768 1408q17 31 47 49t65 18t65 -18t47 -49z" />
142
+ <glyph unicode="&#xf072;" horiz-adv-x="1408" d="M1376 1376q44 -52 12 -148t-108 -172l-161 -161l160 -696q5 -19 -12 -33l-128 -96q-7 -6 -19 -6q-4 0 -7 1q-15 3 -21 16l-279 508l-259 -259l53 -194q5 -17 -8 -31l-96 -96q-9 -9 -23 -9h-2q-15 2 -24 13l-189 252l-252 189q-11 7 -13 23q-1 13 9 25l96 97q9 9 23 9 q6 0 8 -1l194 -53l259 259l-508 279q-14 8 -17 24q-2 16 9 27l128 128q14 13 30 8l665 -159l160 160q76 76 172 108t148 -12z" />
143
+ <glyph unicode="&#xf073;" horiz-adv-x="1664" d="M128 -128h288v288h-288v-288zM480 -128h320v288h-320v-288zM128 224h288v320h-288v-320zM480 224h320v320h-320v-320zM128 608h288v288h-288v-288zM864 -128h320v288h-320v-288zM480 608h320v288h-320v-288zM1248 -128h288v288h-288v-288zM864 224h320v320h-320v-320z M512 1088v288q0 13 -9.5 22.5t-22.5 9.5h-64q-13 0 -22.5 -9.5t-9.5 -22.5v-288q0 -13 9.5 -22.5t22.5 -9.5h64q13 0 22.5 9.5t9.5 22.5zM1248 224h288v320h-288v-320zM864 608h320v288h-320v-288zM1248 608h288v288h-288v-288zM1280 1088v288q0 13 -9.5 22.5t-22.5 9.5h-64 q-13 0 -22.5 -9.5t-9.5 -22.5v-288q0 -13 9.5 -22.5t22.5 -9.5h64q13 0 22.5 9.5t9.5 22.5zM1664 1152v-1280q0 -52 -38 -90t-90 -38h-1408q-52 0 -90 38t-38 90v1280q0 52 38 90t90 38h128v96q0 66 47 113t113 47h64q66 0 113 -47t47 -113v-96h384v96q0 66 47 113t113 47 h64q66 0 113 -47t47 -113v-96h128q52 0 90 -38t38 -90z" />
144
+ <glyph unicode="&#xf074;" horiz-adv-x="1792" d="M666 1055q-60 -92 -137 -273q-22 45 -37 72.5t-40.5 63.5t-51 56.5t-63 35t-81.5 14.5h-224q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h224q250 0 410 -225zM1792 256q0 -14 -9 -23l-320 -320q-9 -9 -23 -9q-13 0 -22.5 9.5t-9.5 22.5v192q-32 0 -85 -0.5t-81 -1t-73 1 t-71 5t-64 10.5t-63 18.5t-58 28.5t-59 40t-55 53.5t-56 69.5q59 93 136 273q22 -45 37 -72.5t40.5 -63.5t51 -56.5t63 -35t81.5 -14.5h256v192q0 14 9 23t23 9q12 0 24 -10l319 -319q9 -9 9 -23zM1792 1152q0 -14 -9 -23l-320 -320q-9 -9 -23 -9q-13 0 -22.5 9.5t-9.5 22.5 v192h-256q-48 0 -87 -15t-69 -45t-51 -61.5t-45 -77.5q-32 -62 -78 -171q-29 -66 -49.5 -111t-54 -105t-64 -100t-74 -83t-90 -68.5t-106.5 -42t-128 -16.5h-224q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h224q48 0 87 15t69 45t51 61.5t45 77.5q32 62 78 171q29 66 49.5 111 t54 105t64 100t74 83t90 68.5t106.5 42t128 16.5h256v192q0 14 9 23t23 9q12 0 24 -10l319 -319q9 -9 9 -23z" />
145
+ <glyph unicode="&#xf075;" horiz-adv-x="1792" d="M1792 640q0 -174 -120 -321.5t-326 -233t-450 -85.5q-70 0 -145 8q-198 -175 -460 -242q-49 -14 -114 -22q-17 -2 -30.5 9t-17.5 29v1q-3 4 -0.5 12t2 10t4.5 9.5l6 9t7 8.5t8 9q7 8 31 34.5t34.5 38t31 39.5t32.5 51t27 59t26 76q-157 89 -247.5 220t-90.5 281 q0 130 71 248.5t191 204.5t286 136.5t348 50.5q244 0 450 -85.5t326 -233t120 -321.5z" />
146
+ <glyph unicode="&#xf076;" d="M1536 704v-128q0 -201 -98.5 -362t-274 -251.5t-395.5 -90.5t-395.5 90.5t-274 251.5t-98.5 362v128q0 26 19 45t45 19h384q26 0 45 -19t19 -45v-128q0 -52 23.5 -90t53.5 -57t71 -30t64 -13t44 -2t44 2t64 13t71 30t53.5 57t23.5 90v128q0 26 19 45t45 19h384 q26 0 45 -19t19 -45zM512 1344v-384q0 -26 -19 -45t-45 -19h-384q-26 0 -45 19t-19 45v384q0 26 19 45t45 19h384q26 0 45 -19t19 -45zM1536 1344v-384q0 -26 -19 -45t-45 -19h-384q-26 0 -45 19t-19 45v384q0 26 19 45t45 19h384q26 0 45 -19t19 -45z" />
147
+ <glyph unicode="&#xf077;" horiz-adv-x="1792" d="M1683 205l-166 -165q-19 -19 -45 -19t-45 19l-531 531l-531 -531q-19 -19 -45 -19t-45 19l-166 165q-19 19 -19 45.5t19 45.5l742 741q19 19 45 19t45 -19l742 -741q19 -19 19 -45.5t-19 -45.5z" />
148
+ <glyph unicode="&#xf078;" horiz-adv-x="1792" d="M1683 728l-742 -741q-19 -19 -45 -19t-45 19l-742 741q-19 19 -19 45.5t19 45.5l166 165q19 19 45 19t45 -19l531 -531l531 531q19 19 45 19t45 -19l166 -165q19 -19 19 -45.5t-19 -45.5z" />
149
+ <glyph unicode="&#xf079;" horiz-adv-x="1920" d="M1280 32q0 -13 -9.5 -22.5t-22.5 -9.5h-960q-8 0 -13.5 2t-9 7t-5.5 8t-3 11.5t-1 11.5v13v11v160v416h-192q-26 0 -45 19t-19 45q0 24 15 41l320 384q19 22 49 22t49 -22l320 -384q15 -17 15 -41q0 -26 -19 -45t-45 -19h-192v-384h576q16 0 25 -11l160 -192q7 -11 7 -21 zM1920 448q0 -24 -15 -41l-320 -384q-20 -23 -49 -23t-49 23l-320 384q-15 17 -15 41q0 26 19 45t45 19h192v384h-576q-16 0 -25 12l-160 192q-7 9 -7 20q0 13 9.5 22.5t22.5 9.5h960q8 0 13.5 -2t9 -7t5.5 -8t3 -11.5t1 -11.5v-13v-11v-160v-416h192q26 0 45 -19t19 -45z " />
150
+ <glyph unicode="&#xf07a;" horiz-adv-x="1664" d="M640 0q0 -53 -37.5 -90.5t-90.5 -37.5t-90.5 37.5t-37.5 90.5t37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1536 0q0 -53 -37.5 -90.5t-90.5 -37.5t-90.5 37.5t-37.5 90.5t37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1664 1088v-512q0 -24 -16 -42.5t-41 -21.5 l-1044 -122q1 -7 4.5 -21.5t6 -26.5t2.5 -22q0 -16 -24 -64h920q26 0 45 -19t19 -45t-19 -45t-45 -19h-1024q-26 0 -45 19t-19 45q0 14 11 39.5t29.5 59.5t20.5 38l-177 823h-204q-26 0 -45 19t-19 45t19 45t45 19h256q16 0 28.5 -6.5t20 -15.5t13 -24.5t7.5 -26.5 t5.5 -29.5t4.5 -25.5h1201q26 0 45 -19t19 -45z" />
151
+ <glyph unicode="&#xf07b;" horiz-adv-x="1664" d="M1664 928v-704q0 -92 -66 -158t-158 -66h-1216q-92 0 -158 66t-66 158v960q0 92 66 158t158 66h320q92 0 158 -66t66 -158v-32h672q92 0 158 -66t66 -158z" />
152
+ <glyph unicode="&#xf07c;" horiz-adv-x="1920" d="M1879 584q0 -31 -31 -66l-336 -396q-43 -51 -120.5 -86.5t-143.5 -35.5h-1088q-34 0 -60.5 13t-26.5 43q0 31 31 66l336 396q43 51 120.5 86.5t143.5 35.5h1088q34 0 60.5 -13t26.5 -43zM1536 928v-160h-832q-94 0 -197 -47.5t-164 -119.5l-337 -396l-5 -6q0 4 -0.5 12.5 t-0.5 12.5v960q0 92 66 158t158 66h320q92 0 158 -66t66 -158v-32h544q92 0 158 -66t66 -158z" />
153
+ <glyph unicode="&#xf07d;" horiz-adv-x="768" d="M704 1216q0 -26 -19 -45t-45 -19h-128v-1024h128q26 0 45 -19t19 -45t-19 -45l-256 -256q-19 -19 -45 -19t-45 19l-256 256q-19 19 -19 45t19 45t45 19h128v1024h-128q-26 0 -45 19t-19 45t19 45l256 256q19 19 45 19t45 -19l256 -256q19 -19 19 -45z" />
154
+ <glyph unicode="&#xf07e;" horiz-adv-x="1792" d="M1792 640q0 -26 -19 -45l-256 -256q-19 -19 -45 -19t-45 19t-19 45v128h-1024v-128q0 -26 -19 -45t-45 -19t-45 19l-256 256q-19 19 -19 45t19 45l256 256q19 19 45 19t45 -19t19 -45v-128h1024v128q0 26 19 45t45 19t45 -19l256 -256q19 -19 19 -45z" />
155
+ <glyph unicode="&#xf080;" horiz-adv-x="2048" d="M640 640v-512h-256v512h256zM1024 1152v-1024h-256v1024h256zM2048 0v-128h-2048v1536h128v-1408h1920zM1408 896v-768h-256v768h256zM1792 1280v-1152h-256v1152h256z" />
156
+ <glyph unicode="&#xf081;" d="M1280 926q-56 -25 -121 -34q68 40 93 117q-65 -38 -134 -51q-61 66 -153 66q-87 0 -148.5 -61.5t-61.5 -148.5q0 -29 5 -48q-129 7 -242 65t-192 155q-29 -50 -29 -106q0 -114 91 -175q-47 1 -100 26v-2q0 -75 50 -133.5t123 -72.5q-29 -8 -51 -8q-13 0 -39 4 q21 -63 74.5 -104t121.5 -42q-116 -90 -261 -90q-26 0 -50 3q148 -94 322 -94q112 0 210 35.5t168 95t120.5 137t75 162t24.5 168.5q0 18 -1 27q63 45 105 109zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5 t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
157
+ <glyph unicode="&#xf082;" d="M1536 160q0 -119 -84.5 -203.5t-203.5 -84.5h-192v608h203l30 224h-233v143q0 54 28 83t96 29l132 1v207q-96 9 -180 9q-136 0 -218 -80.5t-82 -225.5v-166h-224v-224h224v-608h-544q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960 q119 0 203.5 -84.5t84.5 -203.5v-960z" />
158
+ <glyph unicode="&#xf083;" horiz-adv-x="1792" d="M928 704q0 14 -9 23t-23 9q-66 0 -113 -47t-47 -113q0 -14 9 -23t23 -9t23 9t9 23q0 40 28 68t68 28q14 0 23 9t9 23zM1152 574q0 -106 -75 -181t-181 -75t-181 75t-75 181t75 181t181 75t181 -75t75 -181zM128 0h1536v128h-1536v-128zM1280 574q0 159 -112.5 271.5 t-271.5 112.5t-271.5 -112.5t-112.5 -271.5t112.5 -271.5t271.5 -112.5t271.5 112.5t112.5 271.5zM256 1216h384v128h-384v-128zM128 1024h1536v118v138h-828l-64 -128h-644v-128zM1792 1280v-1280q0 -53 -37.5 -90.5t-90.5 -37.5h-1536q-53 0 -90.5 37.5t-37.5 90.5v1280 q0 53 37.5 90.5t90.5 37.5h1536q53 0 90.5 -37.5t37.5 -90.5z" />
159
+ <glyph unicode="&#xf084;" horiz-adv-x="1792" d="M832 1024q0 80 -56 136t-136 56t-136 -56t-56 -136q0 -42 19 -83q-41 19 -83 19q-80 0 -136 -56t-56 -136t56 -136t136 -56t136 56t56 136q0 42 -19 83q41 -19 83 -19q80 0 136 56t56 136zM1683 320q0 -17 -49 -66t-66 -49q-9 0 -28.5 16t-36.5 33t-38.5 40t-24.5 26 l-96 -96l220 -220q28 -28 28 -68q0 -42 -39 -81t-81 -39q-40 0 -68 28l-671 671q-176 -131 -365 -131q-163 0 -265.5 102.5t-102.5 265.5q0 160 95 313t248 248t313 95q163 0 265.5 -102.5t102.5 -265.5q0 -189 -131 -365l355 -355l96 96q-3 3 -26 24.5t-40 38.5t-33 36.5 t-16 28.5q0 17 49 66t66 49q13 0 23 -10q6 -6 46 -44.5t82 -79.5t86.5 -86t73 -78t28.5 -41z" />
160
+ <glyph unicode="&#xf085;" horiz-adv-x="1920" d="M896 640q0 106 -75 181t-181 75t-181 -75t-75 -181t75 -181t181 -75t181 75t75 181zM1664 128q0 52 -38 90t-90 38t-90 -38t-38 -90q0 -53 37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1664 1152q0 52 -38 90t-90 38t-90 -38t-38 -90q0 -53 37.5 -90.5t90.5 -37.5 t90.5 37.5t37.5 90.5zM1280 731v-185q0 -10 -7 -19.5t-16 -10.5l-155 -24q-11 -35 -32 -76q34 -48 90 -115q7 -10 7 -20q0 -12 -7 -19q-23 -30 -82.5 -89.5t-78.5 -59.5q-11 0 -21 7l-115 90q-37 -19 -77 -31q-11 -108 -23 -155q-7 -24 -30 -24h-186q-11 0 -20 7.5t-10 17.5 l-23 153q-34 10 -75 31l-118 -89q-7 -7 -20 -7q-11 0 -21 8q-144 133 -144 160q0 9 7 19q10 14 41 53t47 61q-23 44 -35 82l-152 24q-10 1 -17 9.5t-7 19.5v185q0 10 7 19.5t16 10.5l155 24q11 35 32 76q-34 48 -90 115q-7 11 -7 20q0 12 7 20q22 30 82 89t79 59q11 0 21 -7 l115 -90q34 18 77 32q11 108 23 154q7 24 30 24h186q11 0 20 -7.5t10 -17.5l23 -153q34 -10 75 -31l118 89q8 7 20 7q11 0 21 -8q144 -133 144 -160q0 -9 -7 -19q-12 -16 -42 -54t-45 -60q23 -48 34 -82l152 -23q10 -2 17 -10.5t7 -19.5zM1920 198v-140q0 -16 -149 -31 q-12 -27 -30 -52q51 -113 51 -138q0 -4 -4 -7q-122 -71 -124 -71q-8 0 -46 47t-52 68q-20 -2 -30 -2t-30 2q-14 -21 -52 -68t-46 -47q-2 0 -124 71q-4 3 -4 7q0 25 51 138q-18 25 -30 52q-149 15 -149 31v140q0 16 149 31q13 29 30 52q-51 113 -51 138q0 4 4 7q4 2 35 20 t59 34t30 16q8 0 46 -46.5t52 -67.5q20 2 30 2t30 -2q51 71 92 112l6 2q4 0 124 -70q4 -3 4 -7q0 -25 -51 -138q17 -23 30 -52q149 -15 149 -31zM1920 1222v-140q0 -16 -149 -31q-12 -27 -30 -52q51 -113 51 -138q0 -4 -4 -7q-122 -71 -124 -71q-8 0 -46 47t-52 68 q-20 -2 -30 -2t-30 2q-14 -21 -52 -68t-46 -47q-2 0 -124 71q-4 3 -4 7q0 25 51 138q-18 25 -30 52q-149 15 -149 31v140q0 16 149 31q13 29 30 52q-51 113 -51 138q0 4 4 7q4 2 35 20t59 34t30 16q8 0 46 -46.5t52 -67.5q20 2 30 2t30 -2q51 71 92 112l6 2q4 0 124 -70 q4 -3 4 -7q0 -25 -51 -138q17 -23 30 -52q149 -15 149 -31z" />
161
+ <glyph unicode="&#xf086;" horiz-adv-x="1792" d="M1408 768q0 -139 -94 -257t-256.5 -186.5t-353.5 -68.5q-86 0 -176 16q-124 -88 -278 -128q-36 -9 -86 -16h-3q-11 0 -20.5 8t-11.5 21q-1 3 -1 6.5t0.5 6.5t2 6l2.5 5t3.5 5.5t4 5t4.5 5t4 4.5q5 6 23 25t26 29.5t22.5 29t25 38.5t20.5 44q-124 72 -195 177t-71 224 q0 139 94 257t256.5 186.5t353.5 68.5t353.5 -68.5t256.5 -186.5t94 -257zM1792 512q0 -120 -71 -224.5t-195 -176.5q10 -24 20.5 -44t25 -38.5t22.5 -29t26 -29.5t23 -25q1 -1 4 -4.5t4.5 -5t4 -5t3.5 -5.5l2.5 -5t2 -6t0.5 -6.5t-1 -6.5q-3 -14 -13 -22t-22 -7 q-50 7 -86 16q-154 40 -278 128q-90 -16 -176 -16q-271 0 -472 132q58 -4 88 -4q161 0 309 45t264 129q125 92 192 212t67 254q0 77 -23 152q129 -71 204 -178t75 -230z" />
162
+ <glyph unicode="&#xf087;" d="M256 192q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1408 768q0 51 -39 89.5t-89 38.5h-352q0 58 48 159.5t48 160.5q0 98 -32 145t-128 47q-26 -26 -38 -85t-30.5 -125.5t-59.5 -109.5q-22 -23 -77 -91q-4 -5 -23 -30t-31.5 -41t-34.5 -42.5 t-40 -44t-38.5 -35.5t-40 -27t-35.5 -9h-32v-640h32q13 0 31.5 -3t33 -6.5t38 -11t35 -11.5t35.5 -12.5t29 -10.5q211 -73 342 -73h121q192 0 192 167q0 26 -5 56q30 16 47.5 52.5t17.5 73.5t-18 69q53 50 53 119q0 25 -10 55.5t-25 47.5q32 1 53.5 47t21.5 81zM1536 769 q0 -89 -49 -163q9 -33 9 -69q0 -77 -38 -144q3 -21 3 -43q0 -101 -60 -178q1 -139 -85 -219.5t-227 -80.5h-36h-93q-96 0 -189.5 22.5t-216.5 65.5q-116 40 -138 40h-288q-53 0 -90.5 37.5t-37.5 90.5v640q0 53 37.5 90.5t90.5 37.5h274q36 24 137 155q58 75 107 128 q24 25 35.5 85.5t30.5 126.5t62 108q39 37 90 37q84 0 151 -32.5t102 -101.5t35 -186q0 -93 -48 -192h176q104 0 180 -76t76 -179z" />
163
+ <glyph unicode="&#xf088;" d="M256 1088q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1408 512q0 35 -21.5 81t-53.5 47q15 17 25 47.5t10 55.5q0 69 -53 119q18 32 18 69t-17.5 73.5t-47.5 52.5q5 30 5 56q0 85 -49 126t-136 41h-128q-131 0 -342 -73q-5 -2 -29 -10.5 t-35.5 -12.5t-35 -11.5t-38 -11t-33 -6.5t-31.5 -3h-32v-640h32q16 0 35.5 -9t40 -27t38.5 -35.5t40 -44t34.5 -42.5t31.5 -41t23 -30q55 -68 77 -91q41 -43 59.5 -109.5t30.5 -125.5t38 -85q96 0 128 47t32 145q0 59 -48 160.5t-48 159.5h352q50 0 89 38.5t39 89.5z M1536 511q0 -103 -76 -179t-180 -76h-176q48 -99 48 -192q0 -118 -35 -186q-35 -69 -102 -101.5t-151 -32.5q-51 0 -90 37q-34 33 -54 82t-25.5 90.5t-17.5 84.5t-31 64q-48 50 -107 127q-101 131 -137 155h-274q-53 0 -90.5 37.5t-37.5 90.5v640q0 53 37.5 90.5t90.5 37.5 h288q22 0 138 40q128 44 223 66t200 22h112q140 0 226.5 -79t85.5 -216v-5q60 -77 60 -178q0 -22 -3 -43q38 -67 38 -144q0 -36 -9 -69q49 -74 49 -163z" />
164
+ <glyph unicode="&#xf089;" horiz-adv-x="896" d="M832 1504v-1339l-449 -236q-22 -12 -40 -12q-21 0 -31.5 14.5t-10.5 35.5q0 6 2 20l86 500l-364 354q-25 27 -25 48q0 37 56 46l502 73l225 455q19 41 49 41z" />
165
+ <glyph unicode="&#xf08a;" horiz-adv-x="1792" d="M1664 940q0 81 -21.5 143t-55 98.5t-81.5 59.5t-94 31t-98 8t-112 -25.5t-110.5 -64t-86.5 -72t-60 -61.5q-18 -22 -49 -22t-49 22q-24 28 -60 61.5t-86.5 72t-110.5 64t-112 25.5t-98 -8t-94 -31t-81.5 -59.5t-55 -98.5t-21.5 -143q0 -168 187 -355l581 -560l580 559 q188 188 188 356zM1792 940q0 -221 -229 -450l-623 -600q-18 -18 -44 -18t-44 18l-624 602q-10 8 -27.5 26t-55.5 65.5t-68 97.5t-53.5 121t-23.5 138q0 220 127 344t351 124q62 0 126.5 -21.5t120 -58t95.5 -68.5t76 -68q36 36 76 68t95.5 68.5t120 58t126.5 21.5 q224 0 351 -124t127 -344z" />
166
+ <glyph unicode="&#xf08b;" horiz-adv-x="1664" d="M640 96q0 -4 1 -20t0.5 -26.5t-3 -23.5t-10 -19.5t-20.5 -6.5h-320q-119 0 -203.5 84.5t-84.5 203.5v704q0 119 84.5 203.5t203.5 84.5h320q13 0 22.5 -9.5t9.5 -22.5q0 -4 1 -20t0.5 -26.5t-3 -23.5t-10 -19.5t-20.5 -6.5h-320q-66 0 -113 -47t-47 -113v-704 q0 -66 47 -113t113 -47h288h11h13t11.5 -1t11.5 -3t8 -5.5t7 -9t2 -13.5zM1568 640q0 -26 -19 -45l-544 -544q-19 -19 -45 -19t-45 19t-19 45v288h-448q-26 0 -45 19t-19 45v384q0 26 19 45t45 19h448v288q0 26 19 45t45 19t45 -19l544 -544q19 -19 19 -45z" />
167
+ <glyph unicode="&#xf08c;" d="M237 122h231v694h-231v-694zM483 1030q-1 52 -36 86t-93 34t-94.5 -34t-36.5 -86q0 -51 35.5 -85.5t92.5 -34.5h1q59 0 95 34.5t36 85.5zM1068 122h231v398q0 154 -73 233t-193 79q-136 0 -209 -117h2v101h-231q3 -66 0 -694h231v388q0 38 7 56q15 35 45 59.5t74 24.5 q116 0 116 -157v-371zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
168
+ <glyph unicode="&#xf08d;" horiz-adv-x="1152" d="M480 672v448q0 14 -9 23t-23 9t-23 -9t-9 -23v-448q0 -14 9 -23t23 -9t23 9t9 23zM1152 320q0 -26 -19 -45t-45 -19h-429l-51 -483q-2 -12 -10.5 -20.5t-20.5 -8.5h-1q-27 0 -32 27l-76 485h-404q-26 0 -45 19t-19 45q0 123 78.5 221.5t177.5 98.5v512q-52 0 -90 38 t-38 90t38 90t90 38h640q52 0 90 -38t38 -90t-38 -90t-90 -38v-512q99 0 177.5 -98.5t78.5 -221.5z" />
169
+ <glyph unicode="&#xf08e;" horiz-adv-x="1792" d="M1408 608v-320q0 -119 -84.5 -203.5t-203.5 -84.5h-832q-119 0 -203.5 84.5t-84.5 203.5v832q0 119 84.5 203.5t203.5 84.5h704q14 0 23 -9t9 -23v-64q0 -14 -9 -23t-23 -9h-704q-66 0 -113 -47t-47 -113v-832q0 -66 47 -113t113 -47h832q66 0 113 47t47 113v320 q0 14 9 23t23 9h64q14 0 23 -9t9 -23zM1792 1472v-512q0 -26 -19 -45t-45 -19t-45 19l-176 176l-652 -652q-10 -10 -23 -10t-23 10l-114 114q-10 10 -10 23t10 23l652 652l-176 176q-19 19 -19 45t19 45t45 19h512q26 0 45 -19t19 -45z" />
170
+ <glyph unicode="&#xf090;" d="M1184 640q0 -26 -19 -45l-544 -544q-19 -19 -45 -19t-45 19t-19 45v288h-448q-26 0 -45 19t-19 45v384q0 26 19 45t45 19h448v288q0 26 19 45t45 19t45 -19l544 -544q19 -19 19 -45zM1536 992v-704q0 -119 -84.5 -203.5t-203.5 -84.5h-320q-13 0 -22.5 9.5t-9.5 22.5 q0 4 -1 20t-0.5 26.5t3 23.5t10 19.5t20.5 6.5h320q66 0 113 47t47 113v704q0 66 -47 113t-113 47h-288h-11h-13t-11.5 1t-11.5 3t-8 5.5t-7 9t-2 13.5q0 4 -1 20t-0.5 26.5t3 23.5t10 19.5t20.5 6.5h320q119 0 203.5 -84.5t84.5 -203.5z" />
171
+ <glyph unicode="&#xf091;" horiz-adv-x="1664" d="M458 653q-74 162 -74 371h-256v-96q0 -78 94.5 -162t235.5 -113zM1536 928v96h-256q0 -209 -74 -371q141 29 235.5 113t94.5 162zM1664 1056v-128q0 -71 -41.5 -143t-112 -130t-173 -97.5t-215.5 -44.5q-42 -54 -95 -95q-38 -34 -52.5 -72.5t-14.5 -89.5q0 -54 30.5 -91 t97.5 -37q75 0 133.5 -45.5t58.5 -114.5v-64q0 -14 -9 -23t-23 -9h-832q-14 0 -23 9t-9 23v64q0 69 58.5 114.5t133.5 45.5q67 0 97.5 37t30.5 91q0 51 -14.5 89.5t-52.5 72.5q-53 41 -95 95q-113 5 -215.5 44.5t-173 97.5t-112 130t-41.5 143v128q0 40 28 68t68 28h288v96 q0 66 47 113t113 47h576q66 0 113 -47t47 -113v-96h288q40 0 68 -28t28 -68z" />
172
+ <glyph unicode="&#xf092;" d="M394 184q-8 -9 -20 3q-13 11 -4 19q8 9 20 -3q12 -11 4 -19zM352 245q9 -12 0 -19q-8 -6 -17 7t0 18q9 7 17 -6zM291 305q-5 -7 -13 -2q-10 5 -7 12q3 5 13 2q10 -5 7 -12zM322 271q-6 -7 -16 3q-9 11 -2 16q6 6 16 -3q9 -11 2 -16zM451 159q-4 -12 -19 -6q-17 4 -13 15 t19 7q16 -5 13 -16zM514 154q0 -11 -16 -11q-17 -2 -17 11q0 11 16 11q17 2 17 -11zM572 164q2 -10 -14 -14t-18 8t14 15q16 2 18 -9zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-224q-16 0 -24.5 1t-19.5 5t-16 14.5t-5 27.5v239q0 97 -52 142q57 6 102.5 18t94 39 t81 66.5t53 105t20.5 150.5q0 121 -79 206q37 91 -8 204q-28 9 -81 -11t-92 -44l-38 -24q-93 26 -192 26t-192 -26q-16 11 -42.5 27t-83.5 38.5t-86 13.5q-44 -113 -7 -204q-79 -85 -79 -206q0 -85 20.5 -150t52.5 -105t80.5 -67t94 -39t102.5 -18q-40 -36 -49 -103 q-21 -10 -45 -15t-57 -5t-65.5 21.5t-55.5 62.5q-19 32 -48.5 52t-49.5 24l-20 3q-21 0 -29 -4.5t-5 -11.5t9 -14t13 -12l7 -5q22 -10 43.5 -38t31.5 -51l10 -23q13 -38 44 -61.5t67 -30t69.5 -7t55.5 3.5l23 4q0 -38 0.5 -103t0.5 -68q0 -22 -11 -33.5t-22 -13t-33 -1.5 h-224q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
173
+ <glyph unicode="&#xf093;" horiz-adv-x="1664" d="M1280 64q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1536 64q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1664 288v-320q0 -40 -28 -68t-68 -28h-1472q-40 0 -68 28t-28 68v320q0 40 28 68t68 28h427q21 -56 70.5 -92 t110.5 -36h256q61 0 110.5 36t70.5 92h427q40 0 68 -28t28 -68zM1339 936q-17 -40 -59 -40h-256v-448q0 -26 -19 -45t-45 -19h-256q-26 0 -45 19t-19 45v448h-256q-42 0 -59 40q-17 39 14 69l448 448q18 19 45 19t45 -19l448 -448q31 -30 14 -69z" />
174
+ <glyph unicode="&#xf094;" d="M1407 710q0 44 -7 113.5t-18 96.5q-12 30 -17 44t-9 36.5t-4 48.5q0 23 5 68.5t5 67.5q0 37 -10 55q-4 1 -13 1q-19 0 -58 -4.5t-59 -4.5q-60 0 -176 24t-175 24q-43 0 -94.5 -11.5t-85 -23.5t-89.5 -34q-137 -54 -202 -103q-96 -73 -159.5 -189.5t-88 -236t-24.5 -248.5 q0 -40 12.5 -120t12.5 -121q0 -23 -11 -66.5t-11 -65.5t12 -36.5t34 -14.5q24 0 72.5 11t73.5 11q57 0 169.5 -15.5t169.5 -15.5q181 0 284 36q129 45 235.5 152.5t166 245.5t59.5 275zM1535 712q0 -165 -70 -327.5t-196 -288t-281 -180.5q-124 -44 -326 -44 q-57 0 -170 14.5t-169 14.5q-24 0 -72.5 -14.5t-73.5 -14.5q-73 0 -123.5 55.5t-50.5 128.5q0 24 11 68t11 67q0 40 -12.5 120.5t-12.5 121.5q0 111 18 217.5t54.5 209.5t100.5 194t150 156q78 59 232 120q194 78 316 78q60 0 175.5 -24t173.5 -24q19 0 57 5t58 5 q81 0 118 -50.5t37 -134.5q0 -23 -5 -68t-5 -68q0 -10 1 -18.5t3 -17t4 -13.5t6.5 -16t6.5 -17q16 -40 25 -118.5t9 -136.5z" />
175
+ <glyph unicode="&#xf095;" horiz-adv-x="1408" d="M1408 296q0 -27 -10 -70.5t-21 -68.5q-21 -50 -122 -106q-94 -51 -186 -51q-27 0 -52.5 3.5t-57.5 12.5t-47.5 14.5t-55.5 20.5t-49 18q-98 35 -175 83q-128 79 -264.5 215.5t-215.5 264.5q-48 77 -83 175q-3 9 -18 49t-20.5 55.5t-14.5 47.5t-12.5 57.5t-3.5 52.5 q0 92 51 186q56 101 106 122q25 11 68.5 21t70.5 10q14 0 21 -3q18 -6 53 -76q11 -19 30 -54t35 -63.5t31 -53.5q3 -4 17.5 -25t21.5 -35.5t7 -28.5q0 -20 -28.5 -50t-62 -55t-62 -53t-28.5 -46q0 -9 5 -22.5t8.5 -20.5t14 -24t11.5 -19q76 -137 174 -235t235 -174 q2 -1 19 -11.5t24 -14t20.5 -8.5t22.5 -5q18 0 46 28.5t53 62t55 62t50 28.5q14 0 28.5 -7t35.5 -21.5t25 -17.5q25 -15 53.5 -31t63.5 -35t54 -30q70 -35 76 -53q3 -7 3 -21z" />
176
+ <glyph unicode="&#xf096;" horiz-adv-x="1408" d="M1120 1280h-832q-66 0 -113 -47t-47 -113v-832q0 -66 47 -113t113 -47h832q66 0 113 47t47 113v832q0 66 -47 113t-113 47zM1408 1120v-832q0 -119 -84.5 -203.5t-203.5 -84.5h-832q-119 0 -203.5 84.5t-84.5 203.5v832q0 119 84.5 203.5t203.5 84.5h832 q119 0 203.5 -84.5t84.5 -203.5z" />
177
+ <glyph unicode="&#xf097;" horiz-adv-x="1280" d="M1152 1280h-1024v-1242l423 406l89 85l89 -85l423 -406v1242zM1164 1408q23 0 44 -9q33 -13 52.5 -41t19.5 -62v-1289q0 -34 -19.5 -62t-52.5 -41q-19 -8 -44 -8q-48 0 -83 32l-441 424l-441 -424q-36 -33 -83 -33q-23 0 -44 9q-33 13 -52.5 41t-19.5 62v1289 q0 34 19.5 62t52.5 41q21 9 44 9h1048z" />
178
+ <glyph unicode="&#xf098;" d="M1280 343q0 11 -2 16q-3 8 -38.5 29.5t-88.5 49.5l-53 29q-5 3 -19 13t-25 15t-21 5q-18 0 -47 -32.5t-57 -65.5t-44 -33q-7 0 -16.5 3.5t-15.5 6.5t-17 9.5t-14 8.5q-99 55 -170.5 126.5t-126.5 170.5q-2 3 -8.5 14t-9.5 17t-6.5 15.5t-3.5 16.5q0 13 20.5 33.5t45 38.5 t45 39.5t20.5 36.5q0 10 -5 21t-15 25t-13 19q-3 6 -15 28.5t-25 45.5t-26.5 47.5t-25 40.5t-16.5 18t-16 2q-48 0 -101 -22q-46 -21 -80 -94.5t-34 -130.5q0 -16 2.5 -34t5 -30.5t9 -33t10 -29.5t12.5 -33t11 -30q60 -164 216.5 -320.5t320.5 -216.5q6 -2 30 -11t33 -12.5 t29.5 -10t33 -9t30.5 -5t34 -2.5q57 0 130.5 34t94.5 80q22 53 22 101zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
179
+ <glyph unicode="&#xf099;" horiz-adv-x="1664" d="M1620 1128q-67 -98 -162 -167q1 -14 1 -42q0 -130 -38 -259.5t-115.5 -248.5t-184.5 -210.5t-258 -146t-323 -54.5q-271 0 -496 145q35 -4 78 -4q225 0 401 138q-105 2 -188 64.5t-114 159.5q33 -5 61 -5q43 0 85 11q-112 23 -185.5 111.5t-73.5 205.5v4q68 -38 146 -41 q-66 44 -105 115t-39 154q0 88 44 163q121 -149 294.5 -238.5t371.5 -99.5q-8 38 -8 74q0 134 94.5 228.5t228.5 94.5q140 0 236 -102q109 21 205 78q-37 -115 -142 -178q93 10 186 50z" />
180
+ <glyph unicode="&#xf09a;" horiz-adv-x="1024" d="M959 1524v-264h-157q-86 0 -116 -36t-30 -108v-189h293l-39 -296h-254v-759h-306v759h-255v296h255v218q0 186 104 288.5t277 102.5q147 0 228 -12z" />
181
+ <glyph unicode="&#xf09b;" d="M1536 640q0 -251 -146.5 -451.5t-378.5 -277.5q-27 -5 -39.5 7t-12.5 30v211q0 97 -52 142q57 6 102.5 18t94 39t81 66.5t53 105t20.5 150.5q0 121 -79 206q37 91 -8 204q-28 9 -81 -11t-92 -44l-38 -24q-93 26 -192 26t-192 -26q-16 11 -42.5 27t-83.5 38.5t-86 13.5 q-44 -113 -7 -204q-79 -85 -79 -206q0 -85 20.5 -150t52.5 -105t80.5 -67t94 -39t102.5 -18q-40 -36 -49 -103q-21 -10 -45 -15t-57 -5t-65.5 21.5t-55.5 62.5q-19 32 -48.5 52t-49.5 24l-20 3q-21 0 -29 -4.5t-5 -11.5t9 -14t13 -12l7 -5q22 -10 43.5 -38t31.5 -51l10 -23 q13 -38 44 -61.5t67 -30t69.5 -7t55.5 3.5l23 4q0 -38 0.5 -89t0.5 -54q0 -18 -13 -30t-40 -7q-232 77 -378.5 277.5t-146.5 451.5q0 209 103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
182
+ <glyph unicode="&#xf09c;" horiz-adv-x