ModulesGarden_Swifty - Version 1.0.0

Version Notes

Initial Release

Download this release

Release Info

Developer ModulesGarden
Extension ModulesGarden_Swifty
Version 1.0.0
Comparing to
See all releases


Version 1.0.0

Files changed (221) hide show
  1. app/code/community/Modulesgarden/ThemeSwifty/Block/Product/Bestseller.php +29 -0
  2. app/code/community/Modulesgarden/ThemeSwifty/Block/Product/Featured.php +52 -0
  3. app/code/community/Modulesgarden/ThemeSwifty/Helper/Data.php +31 -0
  4. app/code/community/Modulesgarden/ThemeSwifty/Model/System/Config/Source/Select.php +72 -0
  5. app/code/community/Modulesgarden/ThemeSwifty/etc/config.xml +86 -0
  6. app/code/community/Modulesgarden/ThemeSwifty/etc/system.xml +193 -0
  7. app/code/community/Modulesgarden/ThemeSwifty/moduleVersion.php +11 -0
  8. app/code/community/Modulesgarden/ThemeSwifty/sql/mgthemeswifty_setup/install-1.0.0.php +133 -0
  9. app/design/frontend/modulesgarden/swifty/layout/catalog.xml +449 -0
  10. app/design/frontend/modulesgarden/swifty/layout/catalogsearch.xml +142 -0
  11. app/design/frontend/modulesgarden/swifty/layout/checkout.xml +490 -0
  12. app/design/frontend/modulesgarden/swifty/layout/cms.xml +94 -0
  13. app/design/frontend/modulesgarden/swifty/layout/customer.xml +320 -0
  14. app/design/frontend/modulesgarden/swifty/layout/local.xml +68 -0
  15. app/design/frontend/modulesgarden/swifty/layout/newsletter.xml +69 -0
  16. app/design/frontend/modulesgarden/swifty/layout/page.xml +209 -0
  17. app/design/frontend/modulesgarden/swifty/layout/paypal.xml +207 -0
  18. app/design/frontend/modulesgarden/swifty/layout/poll.xml +61 -0
  19. app/design/frontend/modulesgarden/swifty/layout/reports.xml +45 -0
  20. app/design/frontend/modulesgarden/swifty/layout/review.xml +135 -0
  21. app/design/frontend/modulesgarden/swifty/layout/tag.xml +134 -0
  22. app/design/frontend/modulesgarden/swifty/layout/wishlist.xml +139 -0
  23. app/design/frontend/modulesgarden/swifty/template/callouts/left_col.phtml +39 -0
  24. app/design/frontend/modulesgarden/swifty/template/callouts/right_col.phtml +39 -0
  25. app/design/frontend/modulesgarden/swifty/template/catalog/category/page.phtml +36 -0
  26. app/design/frontend/modulesgarden/swifty/template/catalog/category/view.phtml +75 -0
  27. app/design/frontend/modulesgarden/swifty/template/catalog/category/widget/link/link_block.phtml +27 -0
  28. app/design/frontend/modulesgarden/swifty/template/catalog/category/widget/link/link_inline.phtml +27 -0
  29. app/design/frontend/modulesgarden/swifty/template/catalog/layer/filter.phtml +47 -0
  30. app/design/frontend/modulesgarden/swifty/template/catalog/layer/state.phtml +55 -0
  31. app/design/frontend/modulesgarden/swifty/template/catalog/layer/view.phtml +56 -0
  32. app/design/frontend/modulesgarden/swifty/template/catalog/navigation/left.phtml +59 -0
  33. app/design/frontend/modulesgarden/swifty/template/catalog/navigation/top.phtml +49 -0
  34. app/design/frontend/modulesgarden/swifty/template/catalog/product/bestseller.phtml +52 -0
  35. app/design/frontend/modulesgarden/swifty/template/catalog/product/compare/list.phtml +174 -0
  36. app/design/frontend/modulesgarden/swifty/template/catalog/product/compare/sidebar.phtml +60 -0
  37. app/design/frontend/modulesgarden/swifty/template/catalog/product/featured.phtml +61 -0
  38. app/design/frontend/modulesgarden/swifty/template/catalog/product/gallery.phtml +66 -0
  39. app/design/frontend/modulesgarden/swifty/template/catalog/product/list.phtml +167 -0
  40. app/design/frontend/modulesgarden/swifty/template/catalog/product/list/related.phtml +94 -0
  41. app/design/frontend/modulesgarden/swifty/template/catalog/product/list/toolbar.phtml +120 -0
  42. app/design/frontend/modulesgarden/swifty/template/catalog/product/list/upsell.phtml +74 -0
  43. app/design/frontend/modulesgarden/swifty/template/catalog/product/new.phtml +66 -0
  44. app/design/frontend/modulesgarden/swifty/template/catalog/product/price.phtml +472 -0
  45. app/design/frontend/modulesgarden/swifty/template/catalog/product/view.phtml +192 -0
  46. app/design/frontend/modulesgarden/swifty/template/catalog/product/view/additional.phtml +29 -0
  47. app/design/frontend/modulesgarden/swifty/template/catalog/product/view/addto.phtml +41 -0
  48. app/design/frontend/modulesgarden/swifty/template/catalog/product/view/addtocart.phtml +38 -0
  49. app/design/frontend/modulesgarden/swifty/template/catalog/product/view/attributes.phtml +52 -0
  50. app/design/frontend/modulesgarden/swifty/template/catalog/product/view/description.phtml +39 -0
  51. app/design/frontend/modulesgarden/swifty/template/catalog/product/view/media.phtml +69 -0
  52. app/design/frontend/modulesgarden/swifty/template/catalog/product/view/options.phtml +193 -0
  53. app/design/frontend/modulesgarden/swifty/template/catalog/product/view/options/js.phtml +89 -0
  54. app/design/frontend/modulesgarden/swifty/template/catalog/product/view/options/type/date.phtml +92 -0
  55. app/design/frontend/modulesgarden/swifty/template/catalog/product/view/options/type/default.phtml +30 -0
  56. app/design/frontend/modulesgarden/swifty/template/catalog/product/view/options/type/file.phtml +103 -0
  57. app/design/frontend/modulesgarden/swifty/template/catalog/product/view/options/type/select.phtml +40 -0
  58. app/design/frontend/modulesgarden/swifty/template/catalog/product/view/options/type/text.phtml +41 -0
  59. app/design/frontend/modulesgarden/swifty/template/catalog/product/view/options/wrapper.phtml +33 -0
  60. app/design/frontend/modulesgarden/swifty/template/catalog/product/view/options/wrapper/bottom.phtml +29 -0
  61. app/design/frontend/modulesgarden/swifty/template/catalog/product/view/price.phtml +34 -0
  62. app/design/frontend/modulesgarden/swifty/template/catalog/product/view/price_clone.phtml +27 -0
  63. app/design/frontend/modulesgarden/swifty/template/catalog/product/view/tierprices.phtml +232 -0
  64. app/design/frontend/modulesgarden/swifty/template/catalog/product/view/type/configurable.phtml +31 -0
  65. app/design/frontend/modulesgarden/swifty/template/catalog/product/view/type/default.phtml +36 -0
  66. app/design/frontend/modulesgarden/swifty/template/catalog/product/view/type/grouped.phtml +94 -0
  67. app/design/frontend/modulesgarden/swifty/template/catalog/product/view/type/options/configurable.phtml +48 -0
  68. app/design/frontend/modulesgarden/swifty/template/catalog/product/view/type/simple.phtml +31 -0
  69. app/design/frontend/modulesgarden/swifty/template/catalog/product/view/type/virtual.phtml +31 -0
  70. app/design/frontend/modulesgarden/swifty/template/catalog/product/widget/link/link_block.phtml +27 -0
  71. app/design/frontend/modulesgarden/swifty/template/catalog/product/widget/link/link_inline.phtml +27 -0
  72. app/design/frontend/modulesgarden/swifty/template/catalog/product/widget/new/column/new_default_list.phtml +56 -0
  73. app/design/frontend/modulesgarden/swifty/template/catalog/product/widget/new/column/new_images_list.phtml +47 -0
  74. app/design/frontend/modulesgarden/swifty/template/catalog/product/widget/new/column/new_names_list.phtml +47 -0
  75. app/design/frontend/modulesgarden/swifty/template/catalog/product/widget/new/content/new_grid.phtml +66 -0
  76. app/design/frontend/modulesgarden/swifty/template/catalog/product/widget/new/content/new_list.phtml +63 -0
  77. app/design/frontend/modulesgarden/swifty/template/catalogsearch/advanced/form.phtml +96 -0
  78. app/design/frontend/modulesgarden/swifty/template/catalogsearch/advanced/result.phtml +60 -0
  79. app/design/frontend/modulesgarden/swifty/template/catalogsearch/form.mini.phtml +43 -0
  80. app/design/frontend/modulesgarden/swifty/template/catalogsearch/result.phtml +55 -0
  81. app/design/frontend/modulesgarden/swifty/template/catalogsearch/term.phtml +38 -0
  82. app/design/frontend/modulesgarden/swifty/template/checkout/cart.phtml +156 -0
  83. app/design/frontend/modulesgarden/swifty/template/checkout/cart/coupon.phtml +59 -0
  84. app/design/frontend/modulesgarden/swifty/template/checkout/cart/crosssell.phtml +59 -0
  85. app/design/frontend/modulesgarden/swifty/template/checkout/cart/item/configure/updatecart.phtml +39 -0
  86. app/design/frontend/modulesgarden/swifty/template/checkout/cart/item/default.phtml +279 -0
  87. app/design/frontend/modulesgarden/swifty/template/checkout/cart/noItems.phtml +36 -0
  88. app/design/frontend/modulesgarden/swifty/template/checkout/cart/render/default.phtml +70 -0
  89. app/design/frontend/modulesgarden/swifty/template/checkout/cart/render/simple.phtml +70 -0
  90. app/design/frontend/modulesgarden/swifty/template/checkout/cart/shipping.phtml +139 -0
  91. app/design/frontend/modulesgarden/swifty/template/checkout/cart/sidebar.phtml +80 -0
  92. app/design/frontend/modulesgarden/swifty/template/checkout/cart/sidebar/default.phtml +145 -0
  93. app/design/frontend/modulesgarden/swifty/template/checkout/cart/totals.phtml +48 -0
  94. app/design/frontend/modulesgarden/swifty/template/checkout/multishipping/address/select.phtml +58 -0
  95. app/design/frontend/modulesgarden/swifty/template/checkout/multishipping/addresses.phtml +81 -0
  96. app/design/frontend/modulesgarden/swifty/template/checkout/multishipping/agreements.phtml +49 -0
  97. app/design/frontend/modulesgarden/swifty/template/checkout/multishipping/billing.phtml +116 -0
  98. app/design/frontend/modulesgarden/swifty/template/checkout/multishipping/billing/items.phtml +54 -0
  99. app/design/frontend/modulesgarden/swifty/template/checkout/multishipping/item/default.phtml +45 -0
  100. app/design/frontend/modulesgarden/swifty/template/checkout/multishipping/link.phtml +27 -0
  101. app/design/frontend/modulesgarden/swifty/template/checkout/multishipping/overview.phtml +243 -0
  102. app/design/frontend/modulesgarden/swifty/template/checkout/multishipping/overview/item.phtml +238 -0
  103. app/design/frontend/modulesgarden/swifty/template/checkout/multishipping/shipping.phtml +130 -0
  104. app/design/frontend/modulesgarden/swifty/template/checkout/multishipping/state.phtml +39 -0
  105. app/design/frontend/modulesgarden/swifty/template/checkout/multishipping/success.phtml +50 -0
  106. app/design/frontend/modulesgarden/swifty/template/checkout/onepage.phtml +60 -0
  107. app/design/frontend/modulesgarden/swifty/template/checkout/onepage/link.phtml +29 -0
  108. app/design/frontend/modulesgarden/swifty/template/checkout/onepage/login.phtml +124 -0
  109. app/design/frontend/modulesgarden/swifty/template/checkout/onepage/payment.phtml +73 -0
  110. app/design/frontend/modulesgarden/swifty/template/checkout/onepage/payment/info.phtml +29 -0
  111. app/design/frontend/modulesgarden/swifty/template/checkout/onepage/payment/methods.phtml +73 -0
  112. app/design/frontend/modulesgarden/swifty/template/checkout/onepage/review/button.phtml +27 -0
  113. app/design/frontend/modulesgarden/swifty/template/checkout/onepage/review/info.phtml +84 -0
  114. app/design/frontend/modulesgarden/swifty/template/checkout/onepage/shipping_method.phtml +46 -0
  115. app/design/frontend/modulesgarden/swifty/template/checkout/success.phtml +64 -0
  116. app/design/frontend/modulesgarden/swifty/template/checkout/total/default.phtml +38 -0
  117. app/design/frontend/modulesgarden/swifty/template/cms/content.phtml +27 -0
  118. app/design/frontend/modulesgarden/swifty/template/cms/widget/static_block/default.phtml +27 -0
  119. app/design/frontend/modulesgarden/swifty/template/contacts/form.phtml +73 -0
  120. app/design/frontend/modulesgarden/swifty/template/customer/account/dashboard.phtml +45 -0
  121. app/design/frontend/modulesgarden/swifty/template/customer/account/dashboard/address.phtml +50 -0
  122. app/design/frontend/modulesgarden/swifty/template/customer/account/dashboard/hello.phtml +30 -0
  123. app/design/frontend/modulesgarden/swifty/template/customer/account/dashboard/info.phtml +64 -0
  124. app/design/frontend/modulesgarden/swifty/template/customer/account/dashboard/newsletter.phtml +31 -0
  125. app/design/frontend/modulesgarden/swifty/template/customer/account/link/back.phtml +29 -0
  126. app/design/frontend/modulesgarden/swifty/template/customer/account/navigation.phtml +46 -0
  127. app/design/frontend/modulesgarden/swifty/template/customer/address.phtml +94 -0
  128. app/design/frontend/modulesgarden/swifty/template/customer/address/book.phtml +105 -0
  129. app/design/frontend/modulesgarden/swifty/template/customer/address/edit.phtml +165 -0
  130. app/design/frontend/modulesgarden/swifty/template/customer/balance.phtml +31 -0
  131. app/design/frontend/modulesgarden/swifty/template/customer/form/address.phtml +143 -0
  132. app/design/frontend/modulesgarden/swifty/template/customer/form/changepassword.phtml +67 -0
  133. app/design/frontend/modulesgarden/swifty/template/customer/form/confirmation.phtml +54 -0
  134. app/design/frontend/modulesgarden/swifty/template/customer/form/edit.phtml +117 -0
  135. app/design/frontend/modulesgarden/swifty/template/customer/form/forgotpassword.phtml +55 -0
  136. app/design/frontend/modulesgarden/swifty/template/customer/form/login.phtml +92 -0
  137. app/design/frontend/modulesgarden/swifty/template/customer/form/mini.login.phtml +40 -0
  138. app/design/frontend/modulesgarden/swifty/template/customer/form/newsletter.phtml +53 -0
  139. app/design/frontend/modulesgarden/swifty/template/customer/form/register.phtml +190 -0
  140. app/design/frontend/modulesgarden/swifty/template/customer/form/resetforgottenpassword.phtml +59 -0
  141. app/design/frontend/modulesgarden/swifty/template/customer/logout.phtml +35 -0
  142. app/design/frontend/modulesgarden/swifty/template/customer/orders.phtml +65 -0
  143. app/design/frontend/modulesgarden/swifty/template/customer/widget/dob.phtml +87 -0
  144. app/design/frontend/modulesgarden/swifty/template/customer/widget/gender.phtml +36 -0
  145. app/design/frontend/modulesgarden/swifty/template/customer/widget/name.phtml +101 -0
  146. app/design/frontend/modulesgarden/swifty/template/customer/widget/taxvat.phtml +30 -0
  147. app/design/frontend/modulesgarden/swifty/template/customer/wishlist.phtml +73 -0
  148. app/design/frontend/modulesgarden/swifty/template/downloadable/checkout/cart/item/default.phtml +315 -0
  149. app/design/frontend/modulesgarden/swifty/template/downloadable/customer/products/list.phtml +73 -0
  150. app/design/frontend/modulesgarden/swifty/template/newsletter/subscribe.phtml +49 -0
  151. app/design/frontend/modulesgarden/swifty/template/page/1column.phtml +91 -0
  152. app/design/frontend/modulesgarden/swifty/template/page/2columns-left.phtml +92 -0
  153. app/design/frontend/modulesgarden/swifty/template/page/2columns-right.phtml +94 -0
  154. app/design/frontend/modulesgarden/swifty/template/page/3columns.phtml +98 -0
  155. app/design/frontend/modulesgarden/swifty/template/page/baners.phtml +105 -0
  156. app/design/frontend/modulesgarden/swifty/template/page/brands.phtml +22 -0
  157. app/design/frontend/modulesgarden/swifty/template/page/empty.phtml +46 -0
  158. app/design/frontend/modulesgarden/swifty/template/page/html/breadcrumbs.phtml +46 -0
  159. app/design/frontend/modulesgarden/swifty/template/page/html/cookienotice.phtml +54 -0
  160. app/design/frontend/modulesgarden/swifty/template/page/html/footer.phtml +48 -0
  161. app/design/frontend/modulesgarden/swifty/template/page/html/head.phtml +104 -0
  162. app/design/frontend/modulesgarden/swifty/template/page/html/header.phtml +72 -0
  163. app/design/frontend/modulesgarden/swifty/template/page/html/notices.phtml +48 -0
  164. app/design/frontend/modulesgarden/swifty/template/page/html/pager.phtml +133 -0
  165. app/design/frontend/modulesgarden/swifty/template/page/html/top.links.phtml +39 -0
  166. app/design/frontend/modulesgarden/swifty/template/page/html/topmenu.phtml +126 -0
  167. app/design/frontend/modulesgarden/swifty/template/page/html/viewpointmeta.phtml +1 -0
  168. app/design/frontend/modulesgarden/swifty/template/page/html/wrapper.phtml +50 -0
  169. app/design/frontend/modulesgarden/swifty/template/page/js/calendar.phtml +94 -0
  170. app/design/frontend/modulesgarden/swifty/template/page/js/cookie.phtml +40 -0
  171. app/design/frontend/modulesgarden/swifty/template/page/popup.phtml +55 -0
  172. app/design/frontend/modulesgarden/swifty/template/page/print.phtml +52 -0
  173. app/design/frontend/modulesgarden/swifty/template/page/redirect.phtml +36 -0
  174. app/design/frontend/modulesgarden/swifty/template/page/switch/flags.phtml +37 -0
  175. app/design/frontend/modulesgarden/swifty/template/page/switch/languages.phtml +44 -0
  176. app/design/frontend/modulesgarden/swifty/template/page/switch/stores.phtml +47 -0
  177. app/design/frontend/modulesgarden/swifty/template/page/template/container.phtml +35 -0
  178. app/design/frontend/modulesgarden/swifty/template/page/template/links.phtml +43 -0
  179. app/design/frontend/modulesgarden/swifty/template/page/template/linksblock.phtml +32 -0
  180. app/design/frontend/modulesgarden/swifty/template/payment/catalog/product/view/profile/options.phtml +41 -0
  181. app/design/frontend/modulesgarden/swifty/template/payment/catalog/product/view/profile/schedule.phtml +39 -0
  182. app/design/frontend/modulesgarden/swifty/template/payment/form/banktransfer.phtml +35 -0
  183. app/design/frontend/modulesgarden/swifty/template/payment/form/cashondelivery.phtml +39 -0
  184. app/design/frontend/modulesgarden/swifty/template/payment/form/cc.phtml +138 -0
  185. app/design/frontend/modulesgarden/swifty/template/payment/form/ccsave.phtml +135 -0
  186. app/design/frontend/modulesgarden/swifty/template/payment/form/checkmo.phtml +44 -0
  187. app/design/frontend/modulesgarden/swifty/template/payment/form/purchaseorder.phtml +34 -0
  188. app/design/frontend/modulesgarden/swifty/template/payment/info/banktransfer.phtml +41 -0
  189. app/design/frontend/modulesgarden/swifty/template/payment/info/checkmo.phtml +38 -0
  190. app/design/frontend/modulesgarden/swifty/template/payment/info/default.phtml +49 -0
  191. app/design/frontend/modulesgarden/swifty/template/payment/info/purchaseorder.phtml +28 -0
  192. app/design/frontend/modulesgarden/swifty/template/persistent/checkout/onepage/billing.phtml +226 -0
  193. app/design/frontend/modulesgarden/swifty/template/persistent/checkout/onepage/login.phtml +149 -0
  194. app/design/frontend/modulesgarden/swifty/template/persistent/customer/form/login.phtml +94 -0
  195. app/design/frontend/modulesgarden/swifty/template/rating/detailed.phtml +46 -0
  196. app/design/frontend/modulesgarden/swifty/template/rating/empty.phtml +27 -0
  197. app/design/frontend/modulesgarden/swifty/template/review/customer/list.phtml +63 -0
  198. app/design/frontend/modulesgarden/swifty/template/review/customer/recent.phtml +54 -0
  199. app/design/frontend/modulesgarden/swifty/template/review/customer/view.phtml +75 -0
  200. app/design/frontend/modulesgarden/swifty/template/review/form.phtml +165 -0
  201. app/design/frontend/modulesgarden/swifty/template/review/helper/summary.phtml +42 -0
  202. app/design/frontend/modulesgarden/swifty/template/review/helper/summary_short.phtml +38 -0
  203. app/design/frontend/modulesgarden/swifty/template/review/product/view/count.phtml +29 -0
  204. app/design/frontend/modulesgarden/swifty/template/review/product/view/list.phtml +65 -0
  205. app/design/frontend/modulesgarden/swifty/template/review/product/view/other.phtml +31 -0
  206. app/design/frontend/modulesgarden/swifty/template/review/rev/form.phtml +165 -0
  207. app/design/frontend/modulesgarden/swifty/template/review/view.phtml +72 -0
  208. app/design/frontend/modulesgarden/swifty/template/sales/reorder/sidebar.phtml +78 -0
  209. app/design/frontend/modulesgarden/swifty/template/tag/list.phtml +63 -0
  210. app/design/frontend/modulesgarden/swifty/template/tag/popular.phtml +41 -0
  211. app/design/frontend/modulesgarden/swifty/template/wishlist/view.phtml +92 -0
  212. app/etc/modules/Modulesgarden_ThemeSwifty.xml +9 -0
  213. package.xml +20 -0
  214. skin/frontend/modulesgarden/swifty/css/color-footer-dark.css +19 -0
  215. skin/frontend/modulesgarden/swifty/css/color-footer-lightgray.css +12 -0
  216. skin/frontend/modulesgarden/swifty/css/color-footer-white.css +12 -0
  217. skin/frontend/modulesgarden/swifty/css/font_awesome/css/font-awesome.css +1672 -0
  218. skin/frontend/modulesgarden/swifty/css/font_awesome/css/font-awesome.min.css +4 -0
  219. skin/frontend/modulesgarden/swifty/css/font_awesome/fonts/FontAwesome.otf +0 -0
  220. skin/frontend/modulesgarden/swifty/css/font_awesome/fonts/fontawesome-webfont.eot +0 -0
  221. skin/frontend/modulesgarden/swifty/css/font_awesome/fonts/fontawesome-webfont.svg +165 -0
app/code/community/Modulesgarden/ThemeSwifty/Block/Product/Bestseller.php ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ class Modulesgarden_ThemeSwifty_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/ThemeSwifty/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_ThemeSwifty_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/ThemeSwifty/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_ThemeSwifty_Helper_Data extends Mage_Core_Helper_Abstract {
30
+
31
+ }
app/code/community/Modulesgarden/ThemeSwifty/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_ThemeSwifty_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' => Mage::helper('adminhtml')->__($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/ThemeSwifty/etc/config.xml ADDED
@@ -0,0 +1,86 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <config>
3
+ <modules>
4
+ <Modulesgarden_ThemeSwifty>
5
+ <version>1.0.0</version>
6
+ </Modulesgarden_ThemeSwifty>
7
+ </modules>
8
+
9
+ <global>
10
+ <models>
11
+ <mgthemeswifty>
12
+ <class>Modulesgarden_ThemeSwifty_Model</class>
13
+ <resourceModel>mgthemeswifty_resource</resourceModel>
14
+ </mgthemeswifty>
15
+ <mgthemeswifty_resource>
16
+ <class>Modulesgarden_ThemeSwifty_Model_Resource</class>
17
+ </mgthemeswifty_resource>
18
+ </models>
19
+ <blocks>
20
+ <mgthemeswifty>
21
+ <class>Modulesgarden_ThemeSwifty_Block</class>
22
+ </mgthemeswifty>
23
+ </blocks>
24
+ <helpers>
25
+ <mgthemeswifty>
26
+ <class>Modulesgarden_ThemeSwifty_Helper</class>
27
+ </mgthemeswifty>
28
+ </helpers>
29
+ <resources>
30
+ <mgthemeswifty_setup>
31
+ <setup>
32
+ <module>Modulesgarden_ThemeSwifty</module>
33
+ <class>Mage_Sales_Model_Mysql4_Setup</class>
34
+ </setup>
35
+ <connection>
36
+ <use>core_setup</use>
37
+ </connection>
38
+ </mgthemeswifty_setup>
39
+ <mgthemeswifty_write>
40
+ <connection>
41
+ <use>core_write</use>
42
+ </connection>
43
+ </mgthemeswifty_write>
44
+ <mgthemeswifty_read>
45
+ <connection>
46
+ <use>core_read</use>
47
+ </connection>
48
+ </mgthemeswifty_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
+ <mgthemeswifty> <!-- the same as <sections> child name -->
62
+ <title>Modulesgarden Theme Swifty</title>
63
+ </mgthemeswifty>
64
+ </children>
65
+ </config>
66
+ </children>
67
+ </system>
68
+ </children>
69
+ </admin>
70
+ </resources>
71
+ </acl>
72
+ </adminhtml>
73
+
74
+ <default>
75
+ <mgthemeswifty>
76
+ <main>
77
+ <colorscheme>red</colorscheme>
78
+ <fontfamily>opensans</fontfamily>
79
+ <colorfooter>lightgray</colorfooter>
80
+ <breadcrumbs>yes</breadcrumbs>
81
+ <showhome>no</showhome>
82
+ <slider>full</slider>
83
+ </main>
84
+ </mgthemeswifty>
85
+ </default>
86
+ </config>
app/code/community/Modulesgarden/ThemeSwifty/etc/system.xml ADDED
@@ -0,0 +1,193 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ <mgthemeswifty translate="label">
11
+ <class>separator-top</class>
12
+ <label>Theme Swifty</label> <!-- change it for theme name -->
13
+ <tab>modulesgarden</tab>
14
+ <sort_order>10</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('mgthemeswifty/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>mgthemeswifty/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
+ <red>
35
+ <label>Red</label>
36
+ <value>red</value>
37
+ </red>
38
+ <blue> <!-- just unique -->
39
+ <label>Blue</label>
40
+ <value>blue</value>
41
+ </blue>
42
+ <green>
43
+ <label>Green</label>
44
+ <value>green</value>
45
+ </green>
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
+ <slider translate="label"> <!-- Mage::getStoreConfig('mgthemeswifty/main/colorscheme') -->
53
+ <label>Select Slider type</label>
54
+ <comment>Select type of slider which you want display on your home page.</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>mgthemeswifty/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
+ <full>
59
+ <label>Slider full width</label>
60
+ <value>full</value>
61
+ </full>
62
+ <wrapped> <!-- just unique -->
63
+ <label>Slider wrapped</label>
64
+ <value>wrapped</value>
65
+ </wrapped>
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
+ </slider>
72
+ <fontfamily translate="label">
73
+ <label>Font</label>
74
+ <comment>Choose your favorite font.</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>mgthemeswifty/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
+ <opensans> <!-- just unique -->
79
+ <label>Open Sans</label>
80
+ <value>opensans</value>
81
+ </opensans>
82
+ <lato>
83
+ <label>Lato</label>
84
+ <value>lato</value>
85
+ </lato>
86
+ <roboto>
87
+ <label>Roboto</label>
88
+ <value>roboto</value>
89
+ </roboto>
90
+ <raleway>
91
+ <label>Raleway</label>
92
+ <value>raleway</value>
93
+ </raleway>
94
+ </options>
95
+ <sort_order>1</sort_order>
96
+ <show_in_default>1</show_in_default>
97
+ <show_in_website>1</show_in_website>
98
+ <show_in_store>1</show_in_store> <!-- field per Store View -->
99
+ </fontfamily>
100
+ <colorfooter translate="label">
101
+ <label>Choose color (footer)</label>
102
+ <comment></comment>
103
+ <frontend_type>select</frontend_type> <!-- http://www.magentocommerce.com/wiki/5_-_modules_and_development/admin/xml_structure_for_admin_configurations -->
104
+ <source_model>mgthemeswifty/system_config_source_select</source_model> <!-- only if select|multiselect with constant options (see below) -->
105
+ <options> <!-- only if select|multiselect with constant options -->
106
+ <lightgray> <!-- just unique -->
107
+ <label>Light Gray</label>
108
+ <value>lightgray</value>
109
+ </lightgray>
110
+ <dark>
111
+ <label>Dark</label>
112
+ <value>dark</value>
113
+ </dark>
114
+ <white>
115
+ <label>White</label>
116
+ <value>white</value>
117
+ </white>
118
+ </options>
119
+ <sort_order>1</sort_order>
120
+ <show_in_default>1</show_in_default>
121
+ <show_in_website>1</show_in_website>
122
+ <show_in_store>1</show_in_store> <!-- field per Store View -->
123
+ </colorfooter>
124
+ <breadcrumbs translate="label">
125
+ <label>Show breadcrumbs</label>
126
+ <comment>Breadcrumbs under menu navigation.</comment>
127
+ <frontend_type>select</frontend_type> <!-- http://www.magentocommerce.com/wiki/5_-_modules_and_development/admin/xml_structure_for_admin_configurations -->
128
+ <source_model>mgthemeswifty/system_config_source_select</source_model> <!-- only if select|multiselect with constant options (see below) -->
129
+ <options> <!-- only if select|multiselect with constant options -->
130
+ <yes> <!-- just unique -->
131
+ <label>Yes</label>
132
+ <value>yes</value>
133
+ </yes>
134
+ <no>
135
+ <label>No</label>
136
+ <value>no</value>
137
+ </no>
138
+ </options>
139
+ <sort_order>1</sort_order>
140
+ <show_in_default>1</show_in_default>
141
+ <show_in_website>1</show_in_website>
142
+ <show_in_store>1</show_in_store> <!-- field per Store View -->
143
+ </breadcrumbs>
144
+ <showhome translate="label"> <!-- just an example -->
145
+ <label>Show home page link</label>
146
+ <comment>Add home page link in top-navigation.</comment>
147
+ <frontend_type>select</frontend_type> <!-- http://www.magentocommerce.com/wiki/5_-_modules_and_development/admin/xml_structure_for_admin_configurations -->
148
+ <source_model>mgthemeswifty/system_config_source_select</source_model> <!-- only if select|multiselect with constant options (see below) -->
149
+ <options> <!-- only if select|multiselect with constant options -->
150
+ <no>
151
+ <label>No</label>
152
+ <value>no</value>
153
+ </no>
154
+ <yes>
155
+ <label>Yes</label>
156
+ <value>yes</value>
157
+ </yes>
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
+ </showhome>
164
+ <logo translate="label"> <!-- just an example -->
165
+ <label>Logo</label>
166
+ <comment>Choose where logotyp should be displayed.</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>mgthemeswifty/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
+ <center>
171
+ <label>Center</label>
172
+ <value>center</value>
173
+ </center>
174
+ <left>
175
+ <label>Left</label>
176
+ <value>left</value>
177
+ </left>
178
+ <right>
179
+ <label>Right</label>
180
+ <value>right</value>
181
+ </right>
182
+ </options>
183
+ <sort_order>1</sort_order>
184
+ <show_in_default>1</show_in_default>
185
+ <show_in_website>1</show_in_website>
186
+ <show_in_store>1</show_in_store> <!-- field per Store View -->
187
+ </logo>
188
+ </fields>
189
+ </main>
190
+ </groups>
191
+ </mgthemeswifty>
192
+ </sections>
193
+ </config>
app/code/community/Modulesgarden/ThemeSwifty/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 = 'Swifty Theme For Magento';
9
+ $moduleVersion = '1.0.0';
10
+ $moduleRevision = '1d730c4f83506db842744a50e09cf40340f38a44';
11
+ $moduleWikiUrl = 'http://www.docs.modulesgarden.com/';
app/code/community/Modulesgarden/ThemeSwifty/sql/mgthemeswifty_setup/install-1.0.0.php ADDED
@@ -0,0 +1,133 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+
80
+ $storeName = Mage::getStoreConfig('general/store_information/name');
81
+ if(!$storeName) { $storeName = "Theme Crystal";}
82
+ $storeAddress = Mage::getStoreConfig('general/store_information/address');
83
+ if(!$storeAddress) { $storeAddress = "Your Street 22/A, Alaska";}
84
+ $storePhone = Mage::getStoreConfig('general/store_information/phone');
85
+ if(!$storePhone) { $storePhone = "+48 112 334 567";}
86
+ $storeEmail = Mage::getStoreConfig('trans_email/ident_general/email');
87
+ if(!$storeEmail) { $storeEmail = "company@my-company.com";}
88
+ $storeUrl = Mage::getBaseUrl();
89
+
90
+ $now = date("Y-m-d H:i:s", Mage::getModel('core/date')->timestamp(time()));
91
+ $block1 = Mage::getModel('cms/block')
92
+ ->setTitle('Contact Block - Footer')
93
+ ->setIdentifier('swifty-footer-col1')
94
+ ->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>")
95
+ ->setCreationTime($now)
96
+ ->setUpdateTime($now)
97
+ ->setIsActive(1)
98
+ ->save();
99
+ $block2 = Mage::getModel('cms/block')
100
+ ->setTitle('Information Block - Footer')
101
+ ->setIdentifier('swifty-footer-col2')
102
+ ->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>")
103
+ ->setCreationTime($now)
104
+ ->setUpdateTime($now)
105
+ ->setIsActive(1)
106
+ ->save();
107
+ $block3 = Mage::getModel('cms/block')
108
+ ->setTitle('Why choose us - Footer')
109
+ ->setIdentifier('swifty-footer-col3')
110
+ ->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>")
111
+ ->setCreationTime($now)
112
+ ->setUpdateTime($now)
113
+ ->setIsActive(1)
114
+ ->save();
115
+ $block4 = Mage::getModel('cms/block')
116
+ ->setTitle('My Account Block - Footer')
117
+ ->setIdentifier('swifty-footer-col4')
118
+ ->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>")
119
+ ->setCreationTime($now)
120
+ ->setUpdateTime($now)
121
+ ->setIsActive(1)
122
+ ->save();
123
+
124
+ foreach (array($block1->getId(), $block2->getId(), $block3->getId(), $block4->getId()) as $block_id){
125
+ $installer->run("INSERT INTO ".Mage::getSingleton('core/resource')->getTableName('cms_block_store')." (block_id, store_id) VALUES ({$block_id}, 0)");
126
+ }
127
+
128
+ $installer->run("
129
+ 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
130
+ (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);
131
+ ");
132
+
133
+ $installer->endSetup();
app/design/frontend/modulesgarden/swifty/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/swifty/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/swifty/layout/checkout.xml ADDED
@@ -0,0 +1,490 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ </block>
42
+ </reference>
43
+ <reference name="right">
44
+ <block type="checkout/cart_sidebar" name="cart_sidebar" template="checkout/cart/sidebar.phtml" before="-">
45
+ <action method="addItemRender"><type>simple</type><block>checkout/cart_item_renderer</block><template>checkout/cart/sidebar/default.phtml</template></action>
46
+ <action method="addItemRender"><type>grouped</type><block>checkout/cart_item_renderer_grouped</block><template>checkout/cart/sidebar/default.phtml</template></action>
47
+ <action method="addItemRender"><type>configurable</type><block>checkout/cart_item_renderer_configurable</block><template>checkout/cart/sidebar/default.phtml</template></action>
48
+ <block type="core/text_list" name="cart_sidebar.extra_actions" as="extra_actions" translate="label" module="checkout">
49
+ <label>Shopping Cart Sidebar Extra Actions</label>
50
+ </block>
51
+ </block>
52
+ </reference>
53
+ </default>
54
+
55
+ <checkout_cart_index translate="label">
56
+ <label>Shopping Cart</label>
57
+ <remove name="right"/>
58
+ <remove name="left"/>
59
+ <!-- Mage_Checkout -->
60
+ <reference name="root">
61
+ <action method="setTemplate"><template>page/1column.phtml</template></action>
62
+ </reference>
63
+ <reference name="content">
64
+ <block type="checkout/cart" name="checkout.cart">
65
+ <action method="setCartTemplate"><value>checkout/cart.phtml</value></action>
66
+ <action method="setEmptyTemplate"><value>checkout/cart/noItems.phtml</value></action>
67
+ <action method="chooseTemplate"/>
68
+ <action method="addItemRender"><type>simple</type><block>checkout/cart_item_renderer</block><template>checkout/cart/item/default.phtml</template></action>
69
+ <action method="addItemRender"><type>grouped</type><block>checkout/cart_item_renderer_grouped</block><template>checkout/cart/item/default.phtml</template></action>
70
+ <action method="addItemRender"><type>configurable</type><block>checkout/cart_item_renderer_configurable</block><template>checkout/cart/item/default.phtml</template></action>
71
+
72
+ <block type="core/text_list" name="checkout.cart.top_methods" as="top_methods" translate="label">
73
+ <label>Payment Methods Before Checkout Button</label>
74
+ <block type="checkout/onepage_link" name="checkout.cart.methods.onepage" template="checkout/onepage/link.phtml"/>
75
+ </block>
76
+
77
+ <block type="page/html_wrapper" name="checkout.cart.form.before" as="form_before" translate="label">
78
+ <label>Shopping Cart Form Before</label>
79
+ </block>
80
+
81
+ <block type="core/text_list" name="checkout.cart.methods" as="methods" translate="label">
82
+ <label>Payment Methods After Checkout Button</label>
83
+ <block type="checkout/onepage_link" name="checkout.cart.methods.onepage" template="checkout/onepage/link.phtml"/>
84
+ <block type="checkout/multishipping_link" name="checkout.cart.methods.multishipping" template="checkout/multishipping/link.phtml"/>
85
+ </block>
86
+
87
+ <block type="checkout/cart_coupon" name="checkout.cart.coupon" as="coupon" template="checkout/cart/coupon.phtml"/>
88
+ <block type="checkout/cart_shipping" name="checkout.cart.shipping" as="shipping" template="checkout/cart/shipping.phtml"/>
89
+ <block type="checkout/cart_crosssell" name="checkout.cart.crosssell" as="crosssell" template="checkout/cart/crosssell.phtml"/>
90
+
91
+ <block type="checkout/cart_totals" name="checkout.cart.totals" as="totals" template="checkout/cart/totals.phtml"/>
92
+ </block>
93
+ </reference>
94
+ <block type="core/text_list" name="additional.product.info" translate="label">
95
+ <label>Additional Product Info</label>
96
+ </block>
97
+ </checkout_cart_index>
98
+
99
+ <checkout_cart_configure translate="label">
100
+ <label>Configure Cart Item</label>
101
+ <update handle="catalog_product_view"/>
102
+ <reference name="product.info">
103
+ <block type="checkout/cart_item_configure" name="checkout.cart.item.configure.block"></block>
104
+ </reference>
105
+ </checkout_cart_configure>
106
+
107
+ <!--
108
+ Multi address shipping checkout main layout,
109
+ will be rendered on all checkout pages
110
+ -->
111
+
112
+ <checkout_multishipping translate="label">
113
+ <label>Multishipping Checkout</label>
114
+ <!-- Mage_Checkout -->
115
+ <remove name="right"/>
116
+ <remove name="left"/>
117
+
118
+ <reference name="root">
119
+ <action method="setTemplate"><template>page/1column.phtml</template></action>
120
+ </reference>
121
+ <reference name="content">
122
+ <block type="checkout/multishipping_state" name="checkout_state" template="checkout/multishipping/state.phtml"/>
123
+ </reference>
124
+ </checkout_multishipping>
125
+
126
+ <checkout_multishipping_login>
127
+ <update handle="customer_account_login"/>
128
+ </checkout_multishipping_login>
129
+
130
+ <checkout_multishipping_register>
131
+ <update handle="customer_account_create"/>
132
+ </checkout_multishipping_register>
133
+
134
+ <!--
135
+ Multi address shipping checkout selection of address per item page
136
+ -->
137
+
138
+ <checkout_multishipping_address_select translate="label">
139
+ <label>Multishipping Checkout Shipping Address Selection</label>
140
+ <update handle="checkout_multishipping"/>
141
+ <!-- Mage_Checkout -->
142
+ <reference name="content">
143
+ <block type="checkout/multishipping_address_select" name="checkout_address_select" template="checkout/multishipping/address/select.phtml"/>
144
+ </reference>
145
+ </checkout_multishipping_address_select>
146
+
147
+ <checkout_multishipping_address_selectbilling translate="label">
148
+ <label>Multishipping Checkout Billing Address Selection</label>
149
+ <update handle="checkout_multishipping"/>
150
+ <!-- Mage_Checkout -->
151
+ <reference name="content">
152
+ <block type="checkout/multishipping_address_select" name="checkout_address_select" template="checkout/multishipping/address/select.phtml"/>
153
+ </reference>
154
+ </checkout_multishipping_address_selectbilling>
155
+
156
+
157
+ <checkout_multishipping_address_newshipping translate="label">
158
+ <label>Multishipping Checkout Shipping Address Creation</label>
159
+ <update handle="checkout_multishipping"/>
160
+ <update handle="checkout_multishipping_customer_address"/>
161
+ </checkout_multishipping_address_newshipping>
162
+
163
+ <checkout_multishipping_address_newbilling translate="label">
164
+ <label>Multishipping Checkout Billing Address Creation</label>
165
+ <update handle="checkout_multishipping"/>
166
+ <update handle="checkout_multishipping_customer_address"/>
167
+ </checkout_multishipping_address_newbilling>
168
+
169
+ <checkout_multishipping_address_editshipping translate="label">
170
+ <label>Multishipping Checkout Shipping Address Edit Form</label>
171
+ <update handle="checkout_multishipping"/>
172
+ <update handle="checkout_multishipping_customer_address"/>
173
+ </checkout_multishipping_address_editshipping>
174
+
175
+ <checkout_multishipping_address_editaddress>
176
+ <update handle="checkout_multishipping"/>
177
+ <update handle="checkout_multishipping_customer_address"/>
178
+ </checkout_multishipping_address_editaddress>
179
+
180
+ <checkout_multishipping_address_editbilling translate="label">
181
+ <label>Multishipping Checkout Billing Address Edit Form</label>
182
+ <update handle="checkout_multishipping"/>
183
+ <update handle="checkout_multishipping_customer_address"/>
184
+ </checkout_multishipping_address_editbilling>
185
+
186
+ <checkout_multishipping_customer_address translate="label">
187
+ <label>Multishipping Checkout Customer Address Edit Form</label>
188
+ <reference name="content">
189
+ <block type="customer/address_edit" name="customer_address_edit" template="customer/address/edit.phtml"/>
190
+ </reference>
191
+ </checkout_multishipping_customer_address>
192
+
193
+ <!--
194
+ Multi address shipping checkout address page
195
+ -->
196
+
197
+ <checkout_multishipping_addresses translate="label">
198
+ <label>Multishipping Checkout Address (Any) Form</label>
199
+ <update handle="checkout_multishipping"/>
200
+ <!-- Mage_Checkout -->
201
+ <reference name="content">
202
+ <block type="checkout/multishipping_addresses" name="checkout_addresses" template="checkout/multishipping/addresses.phtml">
203
+ <action method="addItemRender"><type>default</type><block>checkout/cart_item_renderer</block><template>checkout/multishipping/item/default.phtml</template></action>
204
+ <action method="addItemRender"><type>grouped</type><block>checkout/cart_item_renderer_grouped</block><template>checkout/multishipping/item/default.phtml</template></action>
205
+ <action method="addItemRender"><type>configurable</type><block>checkout/cart_item_renderer_configurable</block><template>checkout/multishipping/item/default.phtml</template></action>
206
+ </block>
207
+ </reference>
208
+ </checkout_multishipping_addresses>
209
+
210
+ <!--
211
+ Multi address shipping checkout shipping information
212
+ -->
213
+
214
+ <checkout_multishipping_shipping translate="label">
215
+ <label>Multishipping Checkout Shipping Information Step</label>
216
+ <update handle="checkout_multishipping"/>
217
+ <!-- Mage_Checkout -->
218
+ <reference name="content">
219
+ <block type="checkout/multishipping_shipping" name="checkout_shipping" template="checkout/multishipping/shipping.phtml">
220
+ <action method="addItemRender"><type>default</type><block>checkout/cart_item_renderer</block><template>checkout/multishipping/item/default.phtml</template></action>
221
+ <action method="addItemRender"><type>grouped</type><block>checkout/cart_item_renderer_grouped</block><template>checkout/multishipping/item/default.phtml</template></action>
222
+ <action method="addItemRender"><type>configurable</type><block>checkout/cart_item_renderer_configurable</block><template>checkout/multishipping/item/default.phtml</template></action>
223
+
224
+ <block type="checkout/multishipping_billing_items" name="checkout_billing_items" template="checkout/multishipping/billing/items.phtml">
225
+ <action method="addItemRender"><type>default</type><block>checkout/cart_item_renderer</block><template>checkout/multishipping/item/default.phtml</template></action>
226
+ <action method="addItemRender"><type>grouped</type><block>checkout/cart_item_renderer_grouped</block><template>checkout/multishipping/item/default.phtml</template></action>
227
+ <action method="addItemRender"><type>configurable</type><block>checkout/cart_item_renderer_configurable</block><template>checkout/multishipping/item/default.phtml</template></action>
228
+ </block>
229
+ </block>
230
+ </reference>
231
+ </checkout_multishipping_shipping>
232
+
233
+ <!--
234
+ Multi address shipping checkout billing information
235
+ -->
236
+
237
+ <checkout_multishipping_billing translate="label">
238
+ <label>Multishipping Checkout Billing Information Step</label>
239
+ <update handle="checkout_multishipping"/>
240
+ <!-- Mage_Checkout -->
241
+ <reference name="content">
242
+ <block type="checkout/multishipping_billing" name="checkout_billing" template="checkout/multishipping/billing.phtml">
243
+ <action method="setMethodFormTemplate"><method>purchaseorder</method><template>payment/form/purchaseorder.phtml</template></action>
244
+
245
+ <!--<block type="checkout/multishipping_billing_items" name="checkout_billing_items" template="checkout/multishipping/billing/items.phtml">
246
+ <action method="addItemRender"><type>default</type><block>checkout/cart_item_renderer</block><template>checkout/multishipping/item/default.phtml</template></action>
247
+ <action method="addItemRender"><type>grouped</type><block>checkout/cart_item_renderer_grouped</block><template>checkout/multishipping/item/default.phtml</template></action>
248
+ <action method="addItemRender"><type>configurable</type><block>checkout/cart_item_renderer_configurable</block><template>checkout/multishipping/item/default.phtml</template></action>
249
+ </block>-->
250
+
251
+ </block>
252
+ </reference>
253
+ </checkout_multishipping_billing>
254
+
255
+ <!--
256
+ Multi address shipping checkout overview
257
+ -->
258
+
259
+ <checkout_multishipping_overview translate="label">
260
+ <label>Multishipping Checkout Overview</label>
261
+ <update handle="checkout_multishipping"/>
262
+ <!-- Mage_Checkout -->
263
+ <reference name="content">
264
+ <block type="checkout/multishipping_overview" name="checkout_overview" template="checkout/multishipping/overview.phtml">
265
+ <action method="addItemRender"><type>default</type><block>checkout/cart_item_renderer</block><template>checkout/multishipping/item/default.phtml</template></action>
266
+ <action method="addItemRender"><type>grouped</type><block>checkout/cart_item_renderer_grouped</block><template>checkout/multishipping/item/default.phtml</template></action>
267
+ <action method="addItemRender"><type>configurable</type><block>checkout/cart_item_renderer_configurable</block><template>checkout/multishipping/item/default.phtml</template></action>
268
+ <action method="addRowItemRender"><type>grouped</type><block>checkout/cart_item_renderer_grouped</block><template>checkout/multishipping/overview/item.phtml</template></action>
269
+ <action method="addRowItemRender"><type>configurable</type><block>checkout/cart_item_renderer_configurable</block><template>checkout/multishipping/overview/item.phtml</template></action>
270
+ <block type="checkout/multishipping_payment_info" name="payment_info">
271
+ <action method="setInfoTemplate"><method></method><template></template></action>
272
+ </block>
273
+ <block type="checkout/agreements" name="checkout.multishipping.agreements" as="agreements" template="checkout/multishipping/agreements.phtml"/>
274
+ <block type="checkout/cart_totals" name="totals" />
275
+ <block type="core/text_list" name="checkout.multishipping.overview.items.after" as="items_after" translate="label">
276
+ <label>Overview Items After</label>
277
+ </block>
278
+ </block>
279
+ </reference>
280
+ </checkout_multishipping_overview>
281
+
282
+ <!--
283
+ Multi address shipping checkout success
284
+ -->
285
+
286
+ <checkout_multishipping_success translate="label">
287
+ <label>Multishipping Checkout Success</label>
288
+ <update handle="checkout_multishipping"/>
289
+ <!-- Mage_Checkout -->
290
+ <reference name="content">
291
+ <block type="checkout/multishipping_success" name="checkout_success" template="checkout/multishipping/success.phtml"/>
292
+ </reference>
293
+ </checkout_multishipping_success>
294
+
295
+ <!--
296
+ One page checkout main layout
297
+ -->
298
+
299
+ <checkout_onepage_index translate="label">
300
+ <label>One Page Checkout</label>
301
+ <!-- Mage_Checkout -->
302
+ <remove name="left"/>
303
+
304
+ <reference name="root">
305
+ <action method="setTemplate"><template>page/2columns-right.phtml</template></action>
306
+ </reference>
307
+ <reference name="right">
308
+ <action method="unsetChildren"></action>
309
+ <block type="page/html_wrapper" name="checkout.progress.wrapper" translate="label">
310
+ <label>Checkout Progress Wrapper</label>
311
+ <action method="setElementId"><value>checkout-progress-wrapper</value></action>
312
+ <block type="checkout/onepage_progress" name="checkout.progress" before="-" template="checkout/onepage/progress.phtml">
313
+ <block type="checkout/onepage_progress" name="billing.progress" template="checkout/onepage/progress/billing.phtml"></block>
314
+ <block type="checkout/onepage_progress" name="shipping.progress" template="checkout/onepage/progress/shipping.phtml"></block>
315
+ <block type="checkout/onepage_progress" name="shippingmethod.progress" template="checkout/onepage/progress/shipping_method.phtml"></block>
316
+ <block type="checkout/onepage_progress" name="payment.progress" template="checkout/onepage/progress/payment.phtml"></block>
317
+ </block>
318
+ </block>
319
+ </reference>
320
+ <reference name="content">
321
+ <block type="checkout/onepage" name="checkout.onepage" template="checkout/onepage.phtml">
322
+ <block type="checkout/onepage_login" name="checkout.onepage.login" as="login" template="checkout/onepage/login.phtml">
323
+ <block type="page/html_wrapper" name="checkout.onepage.login.before" as="login_before" translate="label">
324
+ <label>Login/Registration Before</label>
325
+ <action method="setMayBeInvisible"><value>1</value></action>
326
+ </block>
327
+ </block>
328
+ <block type="checkout/onepage_billing" name="checkout.onepage.billing" as="billing" template="checkout/onepage/billing.phtml"/>
329
+ <block type="checkout/onepage_shipping" name="checkout.onepage.shipping" as="shipping" template="checkout/onepage/shipping.phtml"/>
330
+ <block type="checkout/onepage_shipping_method" name="checkout.onepage.shipping_method" as="shipping_method" template="checkout/onepage/shipping_method.phtml">
331
+ <block type="checkout/onepage_shipping_method_available" name="checkout.onepage.shipping_method.available" as="available" template="checkout/onepage/shipping_method/available.phtml"/>
332
+ <block type="checkout/onepage_shipping_method_additional" name="checkout.onepage.shipping_method.additional" as="additional" template="checkout/onepage/shipping_method/additional.phtml"/>
333
+ </block>
334
+ <block type="checkout/onepage_payment" name="checkout.onepage.payment" as="payment" template="checkout/onepage/payment.phtml">
335
+ <block type="checkout/onepage_payment_methods" name="checkout.payment.methods" as="methods" template="checkout/onepage/payment/info.phtml">
336
+ <action method="setMethodFormTemplate"><method>purchaseorder</method><template>payment/form/purchaseorder.phtml</template></action>
337
+ </block>
338
+ </block>
339
+ <block type="checkout/onepage_review" name="checkout.onepage.review" as="review" template="checkout/onepage/review.phtml"/>
340
+ </block>
341
+ </reference>
342
+ </checkout_onepage_index>
343
+
344
+ <!--
345
+ One page checkout progress block
346
+ -->
347
+
348
+ <checkout_onepage_progress>
349
+ <!-- Mage_Checkout -->
350
+ <remove name="right"/>
351
+ <remove name="left"/>
352
+
353
+ <block type="checkout/onepage_progress" name="root" output="toHtml" template="checkout/onepage/progress.phtml">
354
+ <action method="setInfoTemplate"><method></method><template></template></action>
355
+ <block type="checkout/onepage_progress" name="billing.progress" template="checkout/onepage/progress/billing.phtml"></block>
356
+ <block type="checkout/onepage_progress" name="shipping.progress" template="checkout/onepage/progress/shipping.phtml"></block>
357
+ <block type="checkout/onepage_progress" name="shippingmethod.progress" template="checkout/onepage/progress/shipping_method.phtml"></block>
358
+ <block type="checkout/onepage_progress" name="payment.progress" template="checkout/onepage/progress/payment.phtml"></block>
359
+ </block>
360
+ </checkout_onepage_progress>
361
+
362
+ <!-- Individual blocks for Progress steps begins -->
363
+ <checkout_onepage_progress_billing>
364
+ <!-- Mage_Checkout -->
365
+ <remove name="right"/>
366
+ <remove name="left"/>
367
+
368
+ <block type="checkout/onepage_progress" name="root" output="toHtml" template="checkout/onepage/progress/billing.phtml">
369
+ <action method="setInfoTemplate"><method></method><template></template></action>
370
+ </block>
371
+ </checkout_onepage_progress_billing>
372
+
373
+
374
+ <checkout_onepage_progress_shipping>
375
+ <!-- Mage_Checkout -->
376
+ <remove name="right"/>
377
+ <remove name="left"/>
378
+
379
+ <block type="checkout/onepage_progress" name="root" output="toHtml" template="checkout/onepage/progress/shipping.phtml">
380
+ <action method="setInfoTemplate"><method></method><template></template></action>
381
+ </block>
382
+ </checkout_onepage_progress_shipping>
383
+
384
+
385
+ <checkout_onepage_progress_shipping_method>
386
+ <!-- Mage_Checkout -->
387
+ <remove name="right"/>
388
+ <remove name="left"/>
389
+
390
+ <block type="checkout/onepage_progress" name="root" output="toHtml" template="checkout/onepage/progress/shipping_method.phtml">
391
+ <action method="setInfoTemplate"><method></method><template></template></action>
392
+ </block>
393
+ </checkout_onepage_progress_shipping_method>
394
+
395
+ <checkout_onepage_progress_payment>
396
+ <!-- Mage_Checkout -->
397
+ <remove name="right"/>
398
+ <remove name="left"/>
399
+
400
+ <block type="checkout/onepage_progress" name="root" output="toHtml" template="checkout/onepage/progress/payment.phtml">
401
+ <block type="checkout/onepage_payment_info" name="payment_info">
402
+ <action method="setInfoTemplate"><method></method><template></template></action>
403
+ </block>
404
+ <action method="setInfoTemplate"><method></method><template></template></action>
405
+ </block>
406
+ </checkout_onepage_progress_payment>
407
+
408
+ <!-- end individual progress blocks -->
409
+
410
+ <!--
411
+ One page checkout payment methods block
412
+ -->
413
+ <checkout_onepage_paymentmethod>
414
+ <remove name="right"/>
415
+ <remove name="left"/>
416
+
417
+ <block type="checkout/onepage_payment_methods" name="root" output="toHtml" template="checkout/onepage/payment/methods.phtml">
418
+ <action method="setMethodFormTemplate"><method>purchaseorder</method><template>payment/form/purchaseorder.phtml</template></action>
419
+ </block>
420
+ </checkout_onepage_paymentmethod>
421
+
422
+
423
+ <!--
424
+ One page checkout shipping methods block
425
+ -->
426
+
427
+ <checkout_onepage_shippingmethod>
428
+ <!-- Mage_Checkout -->
429
+ <remove name="right"/>
430
+ <remove name="left"/>
431
+
432
+ <block type="checkout/onepage_shipping_method_available" name="root" output="toHtml" template="checkout/onepage/shipping_method/available.phtml"/>
433
+ </checkout_onepage_shippingmethod>
434
+
435
+ <checkout_onepage_additional>
436
+ <!-- Mage_Checkout -->
437
+ <remove name="right"/>
438
+ <remove name="left"/>
439
+
440
+ <block type="checkout/onepage_shipping_method_additional" name="root" output="toHtml" template="checkout/onepage/shipping_method/additional.phtml">
441
+ <action method="setDontDisplayContainer"><param>1</param></action>
442
+ </block>
443
+ </checkout_onepage_additional>
444
+
445
+ <!--
446
+ One page checkout order review block
447
+ -->
448
+
449
+ <checkout_onepage_review translate="label">
450
+ <label>One Page Checkout Overview</label>
451
+ <!-- Mage_Checkout -->
452
+ <remove name="right"/>
453
+ <remove name="left"/>
454
+
455
+ <block type="checkout/onepage_review_info" name="root" output="toHtml" template="checkout/onepage/review/info.phtml">
456
+ <action method="addItemRender"><type>default</type><block>checkout/cart_item_renderer</block><template>checkout/onepage/review/item.phtml</template></action>
457
+ <action method="addItemRender"><type>grouped</type><block>checkout/cart_item_renderer_grouped</block><template>checkout/onepage/review/item.phtml</template></action>
458
+ <action method="addItemRender"><type>configurable</type><block>checkout/cart_item_renderer_configurable</block><template>checkout/onepage/review/item.phtml</template></action>
459
+ <block type="checkout/cart_totals" name="checkout.onepage.review.info.totals" as="totals" template="checkout/onepage/review/totals.phtml"/>
460
+ <block type="core/text_list" name="checkout.onepage.review.info.items.before" as="items_before" translate="label">
461
+ <label>Items Before</label>
462
+ </block>
463
+ <block type="core/text_list" name="checkout.onepage.review.info.items.after" as="items_after" translate="label">
464
+ <label>Items After</label>
465
+ </block>
466
+ <block type="checkout/agreements" name="checkout.onepage.agreements" as="agreements" template="checkout/onepage/agreements.phtml"/>
467
+ <block type="core/template" name="checkout.onepage.review.button" as="button" template="checkout/onepage/review/button.phtml"/>
468
+ </block>
469
+ </checkout_onepage_review>
470
+
471
+ <checkout_onepage_success translate="label">
472
+ <label>One Page Checkout Success</label>
473
+ <reference name="root">
474
+ <action method="setTemplate"><template>page/2columns-right.phtml</template></action>
475
+ </reference>
476
+ <reference name="content">
477
+ <block type="checkout/onepage_success" name="checkout.success" template="checkout/success.phtml"/>
478
+ </reference>
479
+ </checkout_onepage_success>
480
+ <checkout_onepage_failure translate="label">
481
+ <label>One Page Checkout Failure</label>
482
+ <reference name="root">
483
+ <action method="setTemplate"><template>page/2columns-right.phtml</template></action>
484
+ </reference>
485
+ <reference name="content">
486
+ <block type="checkout/onepage_failure" name="checkout.failure" template="checkout/onepage/failure.phtml"/>
487
+ </reference>
488
+ </checkout_onepage_failure>
489
+ <block type="core/list" name="additional.product.info"/>
490
+ </layout>
app/design/frontend/modulesgarden/swifty/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/swifty/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/swifty/layout/local.xml ADDED
@@ -0,0 +1,68 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ </reference>
17
+
18
+ <reference name="content">
19
+ <remove name="home.catalog.product.new"/>
20
+ <remove name="home.reports.product.viewed"/>
21
+ <remove name="home.reports.product.compared"/>
22
+ <remove name="tags_popular" />
23
+ </reference>
24
+ <reference name="newreference">
25
+ <block type="mgthemeswifty/product_bestseller" name="bestseller" template="catalog/product/bestseller.phtml" />
26
+ <block type="mgthemeswifty/product_featured" name="featured" template="catalog/product/featured.phtml" />
27
+ </reference>
28
+
29
+ <reference name="baners">
30
+ <block type="core/template" name="newBanersBlock" template="page/baners.phtml" />
31
+ </reference>
32
+ </cms_index_index>
33
+
34
+ <default>
35
+
36
+ <reference name="wishlist_link">
37
+ <action method="setAParams"><params>class="icon-wishlist"</params></action>
38
+ </reference>
39
+
40
+ <reference name="root">
41
+ <action method="setTemplate"><template>page/2columns-left.phtml</template></action>
42
+ </reference>
43
+
44
+ <reference name="right">
45
+ <remove name="paypal.partner.right.logo" />
46
+ </reference>
47
+
48
+ <reference name="brands">
49
+ <block type="core/template" name="brandsBlock" template="page/brands.phtml" />
50
+ </reference>
51
+
52
+ </default>
53
+
54
+
55
+ <catalog_category_default translate="label">
56
+ <reference name="root">
57
+ <action method="setTemplate"><template>page/2columns-left.phtml</template></action>
58
+ </reference>
59
+ </catalog_category_default>
60
+
61
+ <catalogsearch_result_index>
62
+ <reference name="root">
63
+ <action method="setTemplate"><template>page/2columns-left.phtml</template></action>
64
+ </reference>
65
+ </catalogsearch_result_index>
66
+
67
+
68
+ </layout>
app/design/frontend/modulesgarden/swifty/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/swifty/layout/page.xml ADDED
@@ -0,0 +1,209 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+
40
+ <action method="addJs"><script>prototype/prototype.js</script></action>
41
+ <action method="addJs"><script>lib/ccard.js</script></action>
42
+ <action method="addJs"><script>prototype/validation.js</script></action>
43
+ <action method="addJs"><script>scriptaculous/builder.js</script></action>
44
+ <action method="addJs"><script>scriptaculous/effects.js</script></action>
45
+ <action method="addJs"><script>scriptaculous/dragdrop.js</script></action>
46
+ <action method="addJs"><script>scriptaculous/controls.js</script></action>
47
+ <action method="addJs"><script>scriptaculous/slider.js</script></action>
48
+ <action method="addJs"><script>varien/js.js</script></action>
49
+ <action method="addJs"><script>varien/form.js</script></action>
50
+ <action method="addJs"><script>mage/translate.js</script></action>
51
+ <action method="addJs"><script>mage/cookies.js</script></action>
52
+
53
+ <block type="page/js_cookie" name="js_cookies" template="page/js/cookie.phtml"/>
54
+
55
+ <action method="addCss"><stylesheet>js/fancybox/jquery.fancybox.css</stylesheet></action>
56
+ <!-- <action method="addCss"><stylesheet>css/styles.css</stylesheet></action> -->
57
+ <action method="addItem"><type>skin_css</type><name>css/styles-ie.css</name><params/><if>lt IE 8</if></action>
58
+ <action method="addCss"><stylesheet>css/widgets.css</stylesheet></action>
59
+ <action method="addCss"><stylesheet>css/print.css</stylesheet><params>media="print"</params></action>
60
+ <action method="addCss"><stylesheet>css/responsive.css</stylesheet></action>
61
+ <action method="addCss"><stylesheet>js/layerslider/css/layerslider.css</stylesheet></action>
62
+ <action method="addCss"><stylesheet>css/font_awesome/css/font-awesome.min.css</stylesheet></action>
63
+ <action method="addCss"><stylesheet>js/owl-carousel/owl.carousel.css</stylesheet></action>
64
+ <action method="addCss"><stylesheet>js/owl-carousel/owl.theme.css</stylesheet></action>
65
+ <action method="addCss"><stylesheet>js/owl-carousel/owl.transitions.css</stylesheet></action>
66
+
67
+ <action method="addItem"><type>js</type><name>lib/ds-sleight.js</name><params/><if>lt IE 7</if></action>
68
+ <action method="addItem"><type>skin_js</type><name>js/ie6.js</name><params/><if>lt IE 7</if></action>
69
+ </block>
70
+
71
+ <block type="core/text_list" name="after_body_start" as="after_body_start" translate="label">
72
+ <label>Page Top</label>
73
+ </block>
74
+
75
+ <block type="page/html_notices" name="global_notices" as="global_notices" template="page/html/notices.phtml" />
76
+
77
+ <block type="page/html_header" name="header" as="header">
78
+ <block type="page/template_links" name="top.links" as="topLinks"/>
79
+ <block type="page/switch" name="store_language" as="store_language" template="page/switch/languages.phtml"/>
80
+ <block type="core/text_list" name="top.menu" as="topMenu" translate="label">
81
+ <label>Navigation Bar</label>
82
+ <block type="page/html_topmenu" name="catalog.topnav" template="page/html/topmenu.phtml"/>
83
+ </block>
84
+ <block type="page/html_wrapper" name="top.container" as="topContainer" translate="label">
85
+ <label>Page Header</label>
86
+ <action method="setElementClass"><value>top-container</value></action>
87
+ </block>
88
+ <block type="page/html_welcome" name="welcome" as="welcome"/>
89
+ </block>
90
+
91
+ <block type="page/html_breadcrumbs" name="breadcrumbs" as="breadcrumbs"/>
92
+
93
+ <block type="core/text_list" name="left" as="left" translate="label">
94
+ <label>Left Column</label>
95
+ </block>
96
+
97
+ <block type="core/text_list" name="baners" as="baners"/>
98
+
99
+ <block type="core/text_list" name="newreference" as="newreference"/>
100
+
101
+ <block type="core/messages" name="global_messages" as="global_messages"/>
102
+ <block type="core/messages" name="messages" as="messages"/>
103
+
104
+ <block type="core/text_list" name="content" as="content" translate="label">
105
+ <label>Main Content Area</label>
106
+ </block>
107
+
108
+ <block type="core/text_list" name="brands" as="brands"/>
109
+
110
+ <block type="core/text_list" name="right" as="right" translate="label">
111
+ <label>Right Column</label>
112
+ </block>
113
+
114
+ <block type="page/html_footer" name="footer" as="footer" template="page/html/footer.phtml">
115
+ <block type="page/html_wrapper" name="bottom.container" as="bottomContainer" translate="label">
116
+ <label>Page Footer</label>
117
+ <action method="setElementClass"><value>bottom-container</value></action>
118
+ </block>
119
+ <block type="page/switch" name="store_switcher" as="store_switcher" template="page/switch/stores.phtml"/>
120
+ <block type="page/template_links" name="footer_links" as="footer_links" template="page/template/links.phtml"/>
121
+ </block>
122
+
123
+ <block type="core/text_list" name="before_body_end" as="before_body_end" translate="label">
124
+ <label>Page Bottom</label>
125
+ <block type="page/html_cookieNotice" name="global_cookie_notice" as ="global_cookie_notice" template="page/html/cookienotice.phtml" before="-" />
126
+ </block>
127
+ </block>
128
+
129
+ <block type="core/profiler" output="toHtml" name="core_profiler"/>
130
+ </default>
131
+
132
+ <print translate="label" module="page">
133
+ <label>All Pages (Print Version)</label>
134
+ <!-- Mage_Page -->
135
+ <block type="page/html" name="root" output="toHtml" template="page/print.phtml">
136
+
137
+ <block type="page/html_head" name="head" as="head">
138
+ <action method="addJs"><script>prototype/prototype.js</script></action>
139
+ <action method="addJs"><script>mage/translate.js</script></action>
140
+ <action method="addJs"><script>lib/ccard.js</script></action>
141
+ <action method="addJs"><script>prototype/validation.js</script></action>
142
+ <action method="addJs"><script>varien/js.js</script></action>
143
+
144
+ <!-- <action method="addCss"><stylesheet>css/styles.css</stylesheet></action> -->
145
+ <action method="addItem"><type>skin_css</type><name>css/styles-ie.css</name><params/><if>lt IE 8</if></action>
146
+ <action method="addCss"><stylesheet>css/widgets.css</stylesheet></action>
147
+ <action method="addCss"><stylesheet>css/print.css</stylesheet><params>media="print"</params></action>
148
+
149
+ <action method="addItem"><type>js</type><name>lib/ds-sleight.js</name><params/><if>lt IE 7</if></action>
150
+ <action method="addItem"><type>skin_js</type><name>js/ie6.js</name><params/><if>lt IE 7</if></action>
151
+
152
+ @import url(http://fonts.googleapis.com/css?family=Open+Sans:400,300,600,700,800);
153
+
154
+ </block>
155
+
156
+ <block type="core/text_list" name="content" as="content" translate="label">
157
+ <label>Main Content Area</label>
158
+ </block>
159
+
160
+ </block>
161
+ </print>
162
+
163
+ <!-- Custom page layout handles -->
164
+ <page_empty translate="label">
165
+ <label>All Empty Layout Pages</label>
166
+ <reference name="root">
167
+ <action method="setTemplate"><template>page/empty.phtml</template></action>
168
+ <!-- Mark root page block that template is applied -->
169
+ <action method="setIsHandle"><applied>1</applied></action>
170
+ </reference>
171
+ </page_empty>
172
+
173
+ <page_one_column translate="label">
174
+ <label>All One-Column Layout Pages</label>
175
+ <reference name="root">
176
+ <action method="setTemplate"><template>page/1column.phtml</template></action>
177
+ <!-- Mark root page block that template is applied -->
178
+ <action method="setIsHandle"><applied>1</applied></action>
179
+ </reference>
180
+ </page_one_column>
181
+
182
+ <page_two_columns_left translate="label">
183
+ <label>All Two-Column Layout Pages (Left Column)</label>
184
+ <reference name="root">
185
+ <action method="setTemplate"><template>page/2columns-left.phtml</template></action>
186
+ <!-- Mark root page block that template is applied -->
187
+ <action method="setIsHandle"><applied>1</applied></action>
188
+ </reference>
189
+
190
+ </page_two_columns_left>
191
+
192
+ <page_two_columns_right translate="label">
193
+ <label>All Two-Column Layout Pages (Right Column)</label>
194
+ <reference name="root">
195
+ <action method="setTemplate"><template>page/2columns-right.phtml</template></action>
196
+ <!-- Mark root page block that template is applied -->
197
+ <action method="setIsHandle"><applied>1</applied></action>
198
+ </reference>
199
+ </page_two_columns_right>
200
+
201
+ <page_three_columns translate="label">
202
+ <label>All Three-Column Layout Pages</label>
203
+ <reference name="root">
204
+ <action method="setTemplate"><template>page/3columns.phtml</template></action>
205
+ <!-- Mark root page block that template is applied -->
206
+ <action method="setIsHandle"><applied>1</applied></action>
207
+ </reference>
208
+ </page_three_columns>
209
+ </layout>
app/design/frontend/modulesgarden/swifty/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/swifty/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/swifty/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/swifty/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/swifty/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/swifty/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/swifty/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/swifty/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/swifty/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/swifty/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/swifty/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/swifty/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/swifty/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/swifty/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/swifty/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/swifty/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/swifty/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/swifty/template/catalog/product/bestseller.phtml ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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 href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->stripTags($this->getImageLabel($_product, 'small_image'), null, true) ?>" class="product-image">
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); ?>" width="277" height="277" alt="<?php echo $this->stripTags($this->getImageLabel($_product, 'small_image'), null, true) ?>" /></a>
21
+ <a href="<?php echo $_product->getProductUrl() ?>" class="hover view-more"><?php echo $this->__('View product') ?></a>
22
+ </div>
23
+ <?php //echo $_product->getShortDescription(); //also getShortDescription ?>
24
+ </div>
25
+ <div class="gird_prod_desc">
26
+ <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>
27
+
28
+ <?php echo $this->getPriceHtml($_product, true) ?>
29
+ <div class="actions">
30
+ <?php if($_product->isSaleable()): ?>
31
+ <a class="btn-cart hover" onclick="setLocation('<?php echo $this->getAddToCartUrl($_product) ?>')"><span><?php echo $this->__('Add to Cart') ?></span></a>
32
+ <?php else: ?>
33
+ <p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
34
+ <?php endif; ?>
35
+ <?php if ($this->helper('wishlist')->isAllow()) : ?>
36
+ <a href="<?php echo $this->helper('wishlist')->getAddUrl($_product) ?>" class="wishlist-icon hover"></a>
37
+ <?php endif; ?>
38
+ <ul class="add-to-links">
39
+ <?php if($_compareUrl=$this->getAddToCompareUrl($_product)): ?>
40
+ <li><a href="<?php echo $_compareUrl ?>" class="compare-icon hover"></a></li>
41
+ <?php endif; ?>
42
+ </ul>
43
+ </div>
44
+ </div>
45
+ </div>
46
+ <?php $i++; endforeach; ?>
47
+ <?php for($i;$i%5!=0;$i++): ?>
48
+ <?php endfor ?>
49
+ </div>
50
+ </div>
51
+ <?php endif; ?>
52
+ </div>
app/design/frontend/modulesgarden/swifty/template/catalog/product/compare/list.phtml ADDED
@@ -0,0 +1,174 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you 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('mgthemeswifty/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="page-title title-buttons">
39
+ <h1><?php echo $this->__('Compare Products') ?></h1>
40
+ <a href="#" onclick="window.print(); return false;" class="link-print"><?php echo $this->__('Print This Page') ?></a>
41
+ </div>
42
+ <?php $_total=$this->getItems()->getSize() ?>
43
+ <?php if($_total): ?>
44
+ <table class="data-table compare-table" id="product_comparison">
45
+ <?php $_i=0 ?>
46
+ <?php foreach($this->getItems() as $_item): ?>
47
+ <?php if($_i++%10==0): ?>
48
+ <col width="1" />
49
+ <?php endif; ?>
50
+ <col width="<?php echo floor(100/$_total); ?>%" />
51
+ <?php endforeach; ?>
52
+ <?php if ($_total>2): ?>
53
+ <thead>
54
+ <tr>
55
+ <?php $_i=0 ?>
56
+ <?php foreach($this->getItems() as $_item): ?>
57
+ <?php if($_i++%10==0): ?>
58
+ <th>&nbsp;</th>
59
+ <?php endif; ?>
60
+ <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>
61
+ <?php endforeach; ?>
62
+ </tr>
63
+ </thead>
64
+ <?php endif ?>
65
+ <tbody>
66
+ <tr class="product-shop-row">
67
+ <?php $_i=0 ?>
68
+ <?php foreach($this->getItems() as $_item): ?>
69
+ <?php if($_i++%10==0): ?>
70
+ <th>&nbsp;</th>
71
+ <?php endif; ?>
72
+ <td>
73
+ <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>
74
+ <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>
75
+ <?php echo $this->getReviewsSummaryHtml($_item, 'short') ?>
76
+ <?php echo $this->getPriceHtml($_item, true, '-compare-list-top') ?>
77
+ <div class="compare-buttons">
78
+ <?php if($_item->isSaleable()): ?>
79
+ <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>
80
+ <?php else: ?>
81
+ <p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
82
+ <?php endif; ?>
83
+ <?php if ($this->helper('wishlist')->isAllow()) : ?>
84
+ <ul class="add-to-links">
85
+ <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>
86
+ </ul>
87
+ <?php endif; ?>
88
+ </div>
89
+ </td>
90
+ <?php endforeach; ?>
91
+ </tr>
92
+ </tbody>
93
+ <tbody>
94
+ <?php foreach ($this->getAttributes() as $_attribute): ?>
95
+ <tr>
96
+ <?php $_i=0 ?>
97
+ <?php foreach($this->getItems() as $_item): ?>
98
+ <?php if($_i++%10==0): ?>
99
+ <th><span class="nobr"><?php echo $_attribute->getStoreLabel() ?></span></th>
100
+ <?php endif; ?>
101
+ <td>
102
+ <?php switch ($_attribute->getAttributeCode()) {
103
+ case "price": ?>
104
+ <?php echo $this->getPriceHtml($_item, true, '-compare-list-' . $_attribute->getCode()) ?>
105
+ <?php break;
106
+ case "small_image": ?>
107
+ <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()) ?>" />
108
+ <?php break;
109
+ case "date":
110
+ echo substr($this->getProductAttributeValue($_item, $_attribute),0,10);
111
+ break;
112
+ default: ?>
113
+ <div class="std">
114
+ <?php echo $this->helper('catalog/output')->productAttribute($_item, $this->getProductAttributeValue($_item, $_attribute), $_attribute->getAttributeCode()) ?>
115
+ </div>
116
+ <?php break;
117
+ } ?>
118
+ </td>
119
+ <?php endforeach; ?>
120
+ </tr>
121
+ <?php endforeach; ?>
122
+ </tbody>
123
+ <tbody>
124
+ <tr class="add-to-row">
125
+ <?php $_i=0 ?>
126
+ <?php foreach($this->getItems() as $_item): ?>
127
+ <?php if($_i++%10==0): ?>
128
+ <th>&nbsp;</th>
129
+ <?php endif; ?>
130
+ <td>
131
+ <?php echo $this->getPriceHtml($_item, true, '-compare-list-bottom') ?>
132
+ <?php if($_item->isSaleable()): ?>
133
+ <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>
134
+ <?php else: ?>
135
+ <p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
136
+ <?php endif; ?>
137
+ <?php if ($this->helper('wishlist')->isAllow()) : ?>
138
+ <ul class="add-to-links">
139
+ <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>
140
+ </ul>
141
+ <?php endif; ?>
142
+ </td>
143
+ <?php endforeach; ?>
144
+ </tr>
145
+ </tbody>
146
+ </table>
147
+ <div class="buttons-set">
148
+ <button type="button" title="<?php echo $this->__('Close Window') ?>" class="button" onclick="window.close();"><span><span><?php echo $this->__('Close Window') ?></span></span></button>
149
+ <span class="please-wait" id="compare-list-please-wait" style="display:none;">
150
+ <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...') ?>
151
+ </span>
152
+ </div>
153
+ <script type="text/javascript">
154
+ decorateTable('product_comparison');
155
+
156
+ /**
157
+ * Send remove item request, after that reload windows
158
+ */
159
+ function removeItem(url)
160
+ {
161
+ new Ajax.Request(url, {
162
+ parameters: {isAjax: 1, method: 'POST'},
163
+ onLoading: function(){$('compare-list-please-wait').show();},
164
+ onSuccess: function(transport) {
165
+ $('compare-list-please-wait').hide();
166
+ window.location.reload();
167
+ window.opener.location.reload();
168
+ }
169
+ });
170
+ }
171
+ </script>
172
+ <?php else: ?>
173
+ <script type="text/javascript">window.close();</script>
174
+ <?php endif; ?>
app/design/frontend/modulesgarden/swifty/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/swifty/template/catalog/product/featured.phtml ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <div id="features-container">
2
+ <?php $featured_products = $this->getProducts(); ?>
3
+ <?php $_helper = $this->helper('catalog/output'); ?>
4
+ <?php if (($featured_products = $this->getProducts()) && $featured_products->getSize()): ?>
5
+ <?php shuffle($featured_products); ?>
6
+ <div class="box recently">
7
+ <div class="page-title catalog_title"><h2><?php echo $this->__('Featured Products') ?></h2></div>
8
+ <div class="customNavigation">
9
+ <a class="btn prev1"></a>
10
+ <a class="btn next1"></a>
11
+ </div>
12
+ <br class="clear"/>
13
+ <div class="listing-type-grid catalog-listing">
14
+ <?php $_collectionSize = count($featured_products) ?>
15
+ <div id="owl-featured" class="owl-carousel-features owl-carousel products-grid">
16
+ <?php
17
+ $i=0;
18
+ foreach ($featured_products as $_product): ?>
19
+ <?php $_columnCount = 20; ?>
20
+
21
+ <?php if ($i++%3==0): ?><?php endif ?>
22
+ <div class="item<?php if(($i-1)%$_columnCount==0): ?> first<?php elseif($i%$_columnCount==0): ?> last<?php endif; ?>">
23
+ <div>
24
+ <div class="product_img_container">
25
+ <a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->stripTags($this->getImageLabel($_product, 'small_image'), null, true) ?>" class="product-image">
26
+ <?php if($_product->getMgIsNew()) { ?>
27
+ <div class="new-product"><?php echo $this->__('NEW') ?></div>
28
+ <?php } ?>
29
+ <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>
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
+
36
+ <?php echo $this->getPriceHtml($_product, true) ?>
37
+ <div class="actions">
38
+ <?php if($_product->isSaleable()): ?>
39
+ <a class="btn-cart hover" onclick="setLocation('<?php echo $this->getAddToCartUrl($_product) ?>')"><span><?php echo $this->__('Add to Cart') ?></span></a>
40
+ <?php else: ?>
41
+ <p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
42
+ <?php endif; ?>
43
+ <?php if ($this->helper('wishlist')->isAllow()) : ?>
44
+ <a href="<?php echo $this->helper('wishlist')->getAddUrl($_product) ?>" class="wishlist-icon hover"></a>
45
+ <?php endif; ?>
46
+ <ul class="add-to-links">
47
+ <?php if($_compareUrl=$this->getAddToCompareUrl($_product)): ?>
48
+ <li><a href="<?php echo $_compareUrl ?>" class="compare-icon hover"></a></li>
49
+ <?php endif; ?>
50
+ </ul>
51
+ </div>
52
+ </div>
53
+ </div>
54
+ <?php if ($i%3==0 && $i!=$_collectionSize): ?><?php endif ?>
55
+ <?php endforeach ?>
56
+ </div>
57
+ </div>
58
+ </div>
59
+ <?php endif; ?>
60
+ </div>
61
+ <br class="clear"/>
app/design/frontend/modulesgarden/swifty/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/swifty/template/catalog/product/list.phtml ADDED
@@ -0,0 +1,167 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you 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) ?>" />
132
+ </a>
133
+ <a href="<?php echo $_product->getProductUrl() ?>" class="hover view-more"><?php echo $this->__('View product') ?></a>
134
+ </div>
135
+ <div class="gird_prod_desc">
136
+ <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>
137
+
138
+ <?php echo $this->getPriceHtml($_product, true) ?>
139
+ <div class="actions">
140
+ <?php if($_product->isSaleable()): ?>
141
+ <a class="btn-cart hover" onclick="setLocation('<?php echo $this->getAddToCartUrl($_product) ?>')"><span><?php echo $this->__('Add to Cart') ?></span></a>
142
+ <?php else: ?>
143
+ <p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
144
+ <?php endif; ?>
145
+ <?php if ($this->helper('wishlist')->isAllow()) : ?>
146
+ <a href="<?php echo $this->helper('wishlist')->getAddUrl($_product) ?>" class="wishlist-icon hover"></a>
147
+ <?php endif; ?>
148
+ <ul class="add-to-links">
149
+ <?php if($_compareUrl=$this->getAddToCompareUrl($_product)): ?>
150
+ <li><a href="<?php echo $_compareUrl ?>" class="compare-icon hover"></a></li>
151
+ <?php endif; ?>
152
+ </ul>
153
+ </div>
154
+ </div>
155
+ </li>
156
+ <?php if ($i%$_columnCount==0 || $i==$_collectionSize): ?>
157
+ </ul>
158
+ <?php endif ?>
159
+ <?php endforeach ?>
160
+ <script type="text/javascript">decorateGeneric($$('ul.products-grid'), ['odd','even','first','last'])</script>
161
+ <?php endif; ?>
162
+
163
+ <div class="toolbar-bottom">
164
+ <?php echo $this->getToolbarHtml() ?>
165
+ </div>
166
+ </div>
167
+ <?php endif; ?>
app/design/frontend/modulesgarden/swifty/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/swifty/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('mgthemeswifty/main/colorscheme');
35
+ if ( $imgStyle == 'blue'){
36
+ $img = '-blue';
37
+ }elseif ($imgStyle == 'green') {
38
+ $img = '-green';
39
+ }else {
40
+ $img = '-red';
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/swifty/template/catalog/product/list/upsell.phtml ADDED
@@ -0,0 +1,74 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design
22
+ * @package 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($_link, 'small_image'), null, true) ?>" class="product-image">
41
+ <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($_link, 'small_image'), null, true) ?>" />
42
+ </a>
43
+ <a href="<?php echo $_link->getProductUrl() ?>" class="hover view-more"><?php echo $this->__('View product') ?></a>
44
+ </div>
45
+ <div class="gird_prod_desc">
46
+ <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>
47
+
48
+ <?php echo $this->getPriceHtml($_link, true, '-upsell') ?>
49
+ <div class="actions">
50
+ <?php if($_link->isSaleable()): ?>
51
+ <a class="btn-cart hover" onclick="setLocation('<?php echo $this->getAddToCartUrl($_link) ?>')"><span><?php echo $this->__('Add to Cart') ?></span></a>
52
+ <?php else: ?>
53
+ <p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
54
+ <?php endif; ?>
55
+ <?php if ($this->helper('wishlist')->isAllow()) : ?>
56
+ <a href="<?php echo $this->helper('wishlist')->getAddUrl($_link) ?>" class="wishlist-icon hover"></a>
57
+ <?php endif; ?>
58
+ <ul class="add-to-links">
59
+ <?php if($_compareUrl=$this->getAddToCompareUrl($_link)): ?>
60
+ <li><a href="<?php echo $_compareUrl ?>" class="compare-icon hover"></a></li>
61
+ <?php endif; ?>
62
+ </ul>
63
+ </div>
64
+ </div>
65
+ </li>
66
+ <?php else: ?>
67
+ <td class="empty">&nbsp;</td>
68
+ <?php endif; ?>
69
+ <?php endfor; ?>
70
+ </ul>
71
+ <?php endfor; ?>
72
+ <script type="text/javascript">decorateTable('upsell-product-table')</script>
73
+ </div>
74
+ <?php endif ?>
app/design/frontend/modulesgarden/swifty/template/catalog/product/new.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
+ <h2 class="subtitle"><?php echo $this->__('New Products') ?></h2>
29
+ <?php $_columnCount = $this->getColumnCount(); ?>
30
+ <?php $i=0; foreach ($_products->getItems() as $_product): ?>
31
+ <?php if ($i++%$_columnCount==0): ?>
32
+ <ul class="products-grid">
33
+ <?php endif ?>
34
+ <li class="item<?php if(($i-1)%$_columnCount==0): ?> first<?php elseif($i%$_columnCount==0): ?> last<?php endif; ?>">
35
+ <div class="product_img_container">
36
+ <a href="<?php echo $_product->getProductUrl() ?>" title="<?php echo $this->escapeHtml($_product->getName()) ?>" class="product-image">
37
+ <img src="<?php echo $this->helper('catalog/image')->init($_product, 'small_image')->resize(277) ?>" width="277" height="277" alt="<?php echo $this->escapeHtml($_product->getName()) ?>" />
38
+ </a>
39
+ <a href="<?php echo $_product->getProductUrl() ?>" class="hover view-more"><?php echo $this->__('View product') ?></a>
40
+ </div>
41
+ <div class="gird_prod_desc">
42
+ <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>
43
+
44
+ <?php echo $this->getPriceHtml($_product, true, '-new') ?>
45
+ <div class="actions">
46
+ <?php if($_product->isSaleable()): ?>
47
+ <a class="btn-cart hover" onclick="setLocation('<?php echo $this->getAddToCartUrl($_product) ?>')"><span><?php echo $this->__('Add to Cart') ?></span></a>
48
+ <?php else: ?>
49
+ <p class="availability out-of-stock"><span><?php echo $this->__('Out of stock') ?></span></p>
50
+ <?php endif; ?>
51
+ <?php if ($this->helper('wishlist')->isAllow()) : ?>
52
+ <a href="<?php echo $this->helper('wishlist')->getAddUrl($_product) ?>" class="wishlist-icon hover"></a>
53
+ <?php endif; ?>
54
+ <ul class="add-to-links">
55
+ <?php if ($_compareUrl = $this->getAddToCompareUrl($_product)): ?>
56
+ <li><a href="<?php echo $_compareUrl ?>" class="compare-icon hover"></a></li>
57
+ <?php endif; ?>
58
+ </ul>
59
+ </div>
60
+ </div>
61
+ </li>
62
+ <?php if ($i%$_columnCount==0 || $i==count($_products)): ?>
63
+ </ul>
64
+ <?php endif ?>
65
+ <?php endforeach; ?>
66
+ <?php endif; ?>
app/design/frontend/modulesgarden/swifty/template/catalog/product/price.phtml ADDED
@@ -0,0 +1,472 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you 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="price-span"><?php echo $this->__('Price:') ?></span>
208
+ <span class="regular-price" id="product-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
209
+ <?php if ($_finalPrice == $_price): ?>
210
+ <?php echo $_coreHelper->formatPrice($_price, true) ?>
211
+ <?php else: ?>
212
+ <?php echo $_coreHelper->formatPrice($_finalPrice, true) ?>
213
+ <?php endif; ?>
214
+ </span>
215
+ <?php endif; ?>
216
+ <?php endif; ?>
217
+ <?php else: /* if ($_finalPrice == $_price): */ ?>
218
+ <?php $_originalWeeeTaxAmount = $_weeeHelper->getOriginalAmount($_product); ?>
219
+ <?php $_originalWeeeTaxAmount = $_store->roundPrice($_store->convertPrice($_originalWeeeTaxAmount)) ?>
220
+
221
+ <?php if ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, 0)): // including ?>
222
+ <p class="old-price">
223
+ <span class="price-label"><?php echo $this->__('Regular Price:') ?></span>
224
+ <span class="price" id="old-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
225
+ <?php echo $_coreHelper->formatPrice($_regularPrice + $_originalWeeeTaxAmount, false) ?>
226
+ </span>
227
+ </p>
228
+
229
+ <?php if ($_taxHelper->displayBothPrices()): ?>
230
+ <p class="special-price">
231
+ <span class="price-label"><?php echo $_specialPriceStoreLabel ?></span>
232
+ <span class="price-excluding-tax">
233
+ <span class="label"><?php echo $this->helper('tax')->__('Excl. Tax:') ?></span>
234
+ <span class="price"
235
+ id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
236
+ <?php echo $_coreHelper->formatPrice($_finalPrice + $_weeeTaxAmount, false) ?>
237
+ </span>
238
+ </span>
239
+ <span class="price-including-tax">
240
+ <span class="label"><?php echo $this->helper('tax')->__('Incl. Tax:') ?></span>
241
+ <span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
242
+ <?php echo $_coreHelper->formatPrice($_finalPriceInclTax + $_weeeTaxAmountInclTaxes, false) ?>
243
+ </span>
244
+ </span>
245
+ </p>
246
+ <?php else: ?>
247
+ <p class="special-price">
248
+ <span class="price-label"><?php echo $_specialPriceStoreLabel ?></span>
249
+ <span class="price" id="product-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
250
+ <?php echo $_coreHelper->formatPrice($_finalPrice + $_weeeTaxAmountInclTaxes, false) ?>
251
+ </span>
252
+ </p>
253
+ <?php endif; ?>
254
+
255
+ <?php elseif ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, 1)): // incl. + weee ?>
256
+ <p class="old-price">
257
+ <span class="price-label"><?php echo $this->__('Regular Price:') ?></span>
258
+ <span class="price" id="old-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
259
+ <?php echo $_coreHelper->formatPrice($_regularPrice + $_originalWeeeTaxAmount, false) ?>
260
+ </span>
261
+ </p>
262
+
263
+ <p class="special-price">
264
+ <?php if ($_taxHelper->displayBothPrices()): ?>
265
+ <span class="price-label"><?php echo $_specialPriceStoreLabel ?></span>
266
+ <span class="price-excluding-tax">
267
+ <span class="label"><?php echo $this->helper('tax')->__('Excl. Tax:') ?></span>
268
+ <span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
269
+ <?php echo $_coreHelper->formatPrice($_finalPrice + $_weeeTaxAmount, false) ?>
270
+ </span>
271
+ </span>
272
+ <span class="weee">(
273
+ <?php foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
274
+ <?php echo $_weeeSeparator; ?>
275
+ <?php echo $_weeeTaxAttribute->getName(); ?>
276
+ : <?php echo $_coreHelper->currency($_weeeTaxAttribute->getAmount(), true, true); ?>
277
+ <?php $_weeeSeparator = ' + '; ?>
278
+ <?php endforeach; ?>
279
+ )</span>
280
+ <span class="price-including-tax">
281
+ <span class="label"><?php echo $this->helper('tax')->__('Incl. Tax:') ?></span>
282
+ <span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
283
+ <?php echo $_coreHelper->formatPrice($_finalPriceInclTax + $_weeeTaxAmountInclTaxes, false) ?>
284
+ </span>
285
+ </span>
286
+ <?php else: ?>
287
+ <p class="special-price">
288
+ <span class="price-label"><?php echo $this->__('Special Price:') ?></span>
289
+ <span class="price" id="product-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
290
+ <?php echo $_coreHelper->formatPrice($_finalPrice + $_weeeTaxAmountInclTaxes, false) ?>
291
+ </span>
292
+ </p>
293
+ <span class="weee">(
294
+ <?php foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
295
+ <?php echo $_weeeSeparator; ?>
296
+ <?php echo $_weeeTaxAttribute->getName(); ?>
297
+ : <?php echo $_coreHelper->currency($_weeeTaxAttribute->getAmount(), true, true); ?>
298
+ <?php $_weeeSeparator = ' + '; ?>
299
+ <?php endforeach; ?>
300
+ )</span>
301
+ <?php endif; ?>
302
+ </p>
303
+ <?php elseif ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, 4)): // incl. + weee ?>
304
+ <p class="old-price">
305
+ <span class="price-label"><?php echo $this->__('Regular Price:') ?></span>
306
+ <span class="price" id="old-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
307
+ <?php echo $_coreHelper->formatPrice($_regularPrice + $_originalWeeeTaxAmount, false) ?>
308
+ </span>
309
+ </p>
310
+
311
+ <p class="special-price">
312
+ <span class="price-label"><?php echo $_specialPriceStoreLabel ?></span>
313
+ <span class="price-excluding-tax">
314
+ <span class="label"><?php echo $this->helper('tax')->__('Excl. Tax:') ?></span>
315
+ <span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
316
+ <?php echo $_coreHelper->formatPrice($_finalPrice + $_weeeTaxAmount, false) ?>
317
+ </span>
318
+ </span>
319
+ <span class="weee">(
320
+ <?php foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
321
+ <?php echo $_weeeSeparator; ?>
322
+ <?php echo $_weeeTaxAttribute->getName(); ?>: <?php echo $_coreHelper->currency($_weeeTaxAttribute->getAmount() + $_weeeTaxAttribute->getTaxAmount(), true, true); ?>
323
+ <?php $_weeeSeparator = ' + '; ?>
324
+ <?php endforeach; ?>
325
+ )</span>
326
+ <span class="price-including-tax">
327
+ <span class="label"><?php echo $this->helper('tax')->__('Incl. Tax:') ?></span>
328
+ <span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
329
+ <?php echo $_coreHelper->formatPrice($_finalPriceInclTax + $_weeeTaxAmountInclTaxes, false) ?>
330
+ </span>
331
+ </span>
332
+ </p>
333
+ <?php elseif ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, 2)): // excl. + weee + final ?>
334
+ <p class="old-price">
335
+ <span class="price-label"><?php echo $this->__('Regular Price:') ?></span>
336
+ <span class="price" id="old-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
337
+ <?php echo $_coreHelper->formatPrice($_regularPrice, false) ?>
338
+ </span>
339
+ </p>
340
+
341
+ <p class="special-price">
342
+ <span class="price-label"><?php echo $_specialPriceStoreLabel ?></span>
343
+ <span class="price-excluding-tax">
344
+ <span class="label"><?php echo $this->helper('tax')->__('Excl. Tax:') ?></span>
345
+ <span class="price" id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
346
+ <?php echo $_coreHelper->formatPrice($_finalPrice, false) ?>
347
+ </span>
348
+ </span>
349
+ <?php foreach ($_weeeTaxAttributes as $_weeeTaxAttribute): ?>
350
+ <span class="weee">
351
+ <?php echo $_weeeTaxAttribute->getName(); ?>
352
+ : <?php echo $_coreHelper->currency($_weeeTaxAttribute->getAmount(), true, true); ?>
353
+ </span>
354
+ <?php endforeach; ?>
355
+ <span class="price-including-tax">
356
+ <span class="label"><?php echo $this->helper('tax')->__('Incl. Tax:') ?></span>
357
+ <span class="price" id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
358
+ <?php echo $_coreHelper->formatPrice($_finalPriceInclTax + $_weeeTaxAmountInclTaxes, false) ?>
359
+ </span>
360
+ </span>
361
+ </p>
362
+ <?php else: // excl. ?>
363
+ <p class="old-price">
364
+ <span class="price-label"><?php echo $this->__('Regular Price:') ?></span>
365
+ <span class="price" id="old-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
366
+ <?php echo $_coreHelper->formatPrice($_regularPrice, false) ?>
367
+ </span>
368
+ </p>
369
+
370
+ <?php if ($_taxHelper->displayBothPrices()): ?>
371
+ <p class="special-price">
372
+ <span class="price-label"><?php echo $_specialPriceStoreLabel ?></span>
373
+ <span class="price-excluding-tax">
374
+ <span class="label"><?php echo $this->helper('tax')->__('Excl. Tax:') ?></span>
375
+ <span class="price"
376
+ id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
377
+ <?php echo $_coreHelper->formatPrice($_finalPrice, false) ?>
378
+ </span>
379
+ </span>
380
+ <span class="price-including-tax">
381
+ <span class="label"><?php echo $this->helper('tax')->__('Incl. Tax:') ?></span>
382
+ <span class="price"
383
+ id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
384
+ <?php echo $_coreHelper->formatPrice($_finalPriceInclTax, false) ?>
385
+ </span>
386
+ </span>
387
+ </p>
388
+ <?php else: ?>
389
+ <p class="special-price">
390
+ <span class="price-label"><?php echo $_specialPriceStoreLabel ?></span>
391
+ <span class="price" id="product-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
392
+ <?php echo $_coreHelper->formatPrice($_finalPrice, false) ?>
393
+ </span>
394
+ </p>
395
+ <?php endif; ?>
396
+ <?php endif; ?>
397
+
398
+ <?php endif; /* if ($_finalPrice == $_price): */ ?>
399
+
400
+ <?php if ($this->getDisplayMinimalPrice() && $_minimalPriceValue && $_minimalPriceValue < $_convertedFinalPrice): ?>
401
+
402
+ <?php $_minimalPriceDisplayValue = $_minimalPrice; ?>
403
+ <?php if ($_weeeTaxAmount && $_weeeHelper->typeOfDisplay($_product, array(0, 1, 4))): ?>
404
+ <?php $_minimalPriceDisplayValue = $_minimalPrice + $_weeeTaxAmount; ?>
405
+ <?php endif; ?>
406
+
407
+ <?php if ($this->getUseLinkForAsLowAs()): ?>
408
+ <a href="<?php echo $_product->getProductUrl(); ?>" class="minimal-price-link">
409
+ <?php else: ?>
410
+ <span class="minimal-price-link">
411
+ <?php endif ?>
412
+ <span class="label"><?php echo $this->__('As low as:') ?></span>
413
+ <span class="price" id="product-minimal-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
414
+ <?php echo $_coreHelper->formatPrice($_minimalPriceDisplayValue, false) ?>
415
+ </span>
416
+ <?php if ($this->getUseLinkForAsLowAs()): ?>
417
+ </a>
418
+ <?php else: ?>
419
+ </span>
420
+ <?php endif ?>
421
+ <?php endif; /* if ($this->getDisplayMinimalPrice() && $_minimalPrice && $_minimalPrice < $_finalPrice): */ ?>
422
+ </div>
423
+
424
+ <?php else: /* if (!$_product->isGrouped()): */ ?>
425
+ <?php
426
+ $showMinPrice = $this->getDisplayMinimalPrice();
427
+ if ($showMinPrice && $_minimalPriceValue) {
428
+ $_exclTax = $_taxHelper->getPrice($_product, $_minimalPriceValue);
429
+ $_inclTax = $_taxHelper->getPrice($_product, $_minimalPriceValue, true);
430
+ $price = $showMinPrice ? $_minimalPriceValue : 0;
431
+ } else {
432
+ $price = $_convertedFinalPrice;
433
+ $_exclTax = $_taxHelper->getPrice($_product, $price);
434
+ $_inclTax = $_taxHelper->getPrice($_product, $price, true);
435
+ }
436
+ ?>
437
+ <?php if ($price): ?>
438
+ <div class="price-box">
439
+ <p<?php if ($showMinPrice): ?> class="minimal-price"<?php endif ?>>
440
+ <?php if ($showMinPrice): ?>
441
+ <span class="price-label"><?php echo $this->__('Starting at:') ?></span>
442
+ <?php endif ?>
443
+ <?php if ($_taxHelper->displayBothPrices()): ?>
444
+ <span class="price-excluding-tax">
445
+ <span class="label"><?php echo $this->helper('tax')->__('Excl. Tax:') ?></span>
446
+ <span class="price"
447
+ id="price-excluding-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
448
+ <?php echo $_coreHelper->formatPrice($_exclTax, false) ?>
449
+ </span>
450
+ </span>
451
+ <span class="price-including-tax">
452
+ <span class="label"><?php echo $this->helper('tax')->__('Incl. Tax:') ?></span>
453
+ <span class="price"
454
+ id="price-including-tax-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
455
+ <?php echo $_coreHelper->formatPrice($_inclTax, false) ?>
456
+ </span>
457
+ </span>
458
+ <?php else: ?>
459
+ <?php
460
+ $_showPrice = $_inclTax;
461
+ if (!$_taxHelper->displayPriceIncludingTax()) {
462
+ $_showPrice = $_exclTax;
463
+ }
464
+ ?>
465
+ <span class="price" id="product-minimal-price-<?php echo $_id ?><?php echo $this->getIdSuffix() ?>">
466
+ <?php echo $_coreHelper->formatPrice($_showPrice, false) ?>
467
+ </span>
468
+ <?php endif; ?>
469
+ </p>
470
+ </div>
471
+ <?php endif; /* if ($this->getDisplayMinimalPrice() && $_minimalPrice): */ ?>
472
+ <?php endif; /* if (!$_product->isGrouped()): */ ?>
app/design/frontend/modulesgarden/swifty/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/swifty/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/swifty/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/swifty/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/swifty/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 class="data-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/swifty/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/swifty/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/swifty/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/swifty/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/swifty/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/swifty/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/swifty/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/swifty/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/swifty/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/swifty/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/swifty/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/swifty/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/swifty/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/swifty/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/swifty/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/swifty/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/swifty/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/swifty/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/swifty/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/swifty/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/swifty/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/swifty/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/swifty/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/swifty/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/swifty/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/swifty/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/swifty/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/swifty/template/catalogsearch/advanced/form.phtml ADDED
@@ -0,0 +1,96 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you 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
+ * Catalog advanced search form
30
+ *
31
+ * @see Mage_CatalogSearch_Block_Advanced_Form
32
+ */
33
+ ?>
34
+ <?php $maxQueryLength= $this->helper('catalogsearch')->getMaxQueryLength();?>
35
+ <div class="page-title">
36
+ <h1><?php echo $this->__('Catalog Advanced Search') ?></h1>
37
+ </div>
38
+ <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
39
+ <form action="<?php echo $this->getSearchPostUrl() ?>" method="get" id="form-validate">
40
+ <div class="fieldset advanced-search">
41
+ <h2 class="legend"><?php echo $this->__('Search Settings') ?></h2>
42
+ <ul class="form-list" id="advanced-search-list">
43
+ <?php foreach ($this->getSearchableAttributes() as $_attribute): ?>
44
+ <?php $_code = $_attribute->getAttributeCode() ?>
45
+ <li>
46
+ <label for="<?php echo $_code ?>"><?php echo $this->getAttributeLabel($_attribute) ?></label>
47
+ <?php switch($this->getAttributeInputType($_attribute)):
48
+ case 'number': ?>
49
+ <div class="input-range">
50
+ <input type="text" name="<?php echo $_code ?>[from]" value="<?php echo $this->escapeHtml($this->getAttributeValue($_attribute, 'from')) ?>" id="<?php echo $_code ?>" title="<?php echo $this->escapeHtml($this->getAttributeLabel($_attribute)) ?>" class="input-text validate-number" maxlength="<?php echo $maxQueryLength;?>" />
51
+ <span class="separator">-</span>
52
+ <input type="text" name="<?php echo $_code ?>[to]" value="<?php echo $this->escapeHtml($this->getAttributeValue($_attribute, 'to')) ?>" id="<?php echo $_code ?>_to" title="<?php echo $this->escapeHtml($this->getAttributeLabel($_attribute)) ?>" class="input-text validate-number" maxlength="<?php echo $maxQueryLength;?>" />
53
+ </div>
54
+ <?php break;
55
+ case 'price': ?>
56
+ <div class="input-range">
57
+ <input name="<?php echo $_code ?>[from]" value="<?php echo $this->escapeHtml($this->getAttributeValue($_attribute, 'from')) ?>" id="<?php echo $_code ?>" title="<?php echo $this->escapeHtml($this->getAttributeLabel($_attribute)) ?>" class="input-text validate-number" type="text" maxlength="<?php echo $maxQueryLength;?>" />
58
+ <span class="separator">-</span>
59
+ <input name="<?php echo $_code ?>[to]" value="<?php echo $this->escapeHtml($this->getAttributeValue($_attribute, 'to')) ?>" id="<?php echo $_code ?>_to" title="<?php echo $this->escapeHtml($this->getAttributeLabel($_attribute)) ?>" class="input-text validate-number" type="text" maxlength="<?php echo $maxQueryLength;?>" />
60
+ <small>(<?php echo $this->getCurrency($_attribute); ?>)</small>
61
+ </div>
62
+ <?php break;
63
+ case 'select': ?>
64
+ <div class="input-box">
65
+ <?php echo $this->getAttributeSelectElement($_attribute) ?>
66
+ </div>
67
+ <?php break;
68
+ case 'yesno': ?>
69
+ <?php echo $this->getAttributeYesNoElement($_attribute) ?>
70
+ <?php break;
71
+ case 'date': ?>
72
+ <div class="input-range">
73
+ <?php echo $this->getDateInput($_attribute, 'from') ?>
74
+ <span class="separator">-</span>
75
+ <?php echo $this->getDateInput($_attribute, 'to') ?>
76
+ </div>
77
+ <?php break;
78
+ default: ?>
79
+ <div class="input-box">
80
+ <input type="text" name="<?php echo $_code ?>" id="<?php echo $_code ?>" value="<?php echo $this->escapeHtml($this->getAttributeValue($_attribute)) ?>" title="<?php echo $this->escapeHtml($this->getAttributeLabel($_attribute)) ?>" class="input-text <?php echo $this->getAttributeValidationClass($_attribute) ?>" maxlength="<?php echo $maxQueryLength;?>" />
81
+ </div>
82
+ <?php endswitch; ?>
83
+ </li>
84
+ <?php endforeach; ?>
85
+ </ul>
86
+ <script type="text/javascript">decorateList('advanced-search-list')</script>
87
+ </div>
88
+ <div class="buttons-set">
89
+ <button type="submit" title="<?php echo $this->__('Search') ?>" class="button"><span><span><?php echo $this->__('Search') ?></span></span></button>
90
+ </div>
91
+ </form>
92
+ <script type="text/javascript">
93
+ //<![CDATA[
94
+ var dataForm = new VarienForm('form-validate', true);
95
+ //]]>
96
+ </script>
app/design/frontend/modulesgarden/swifty/template/catalogsearch/advanced/result.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->__('Catalog Advanced Search') ?></h1>
29
+ </div>
30
+ <?php echo $this->getMessagesBlock()->getGroupedHtml() ?>
31
+ <?php if($this->getResultCount()): ?>
32
+ <p class="advanced-search-amount">
33
+ <?php echo $this->helper('catalogsearch')->__('<strong>%d item(s)</strong> were found using the following search criteria', $this->getResultCount()); ?>
34
+ </p>
35
+ <?php else: ?>
36
+ <p class="error-msg"><?php echo $this->helper('catalogsearch')->__('No items were found using the following search criteria.');?> <a href="<?php echo $this->getFormUrl(); ?>"><?php echo $this->helper('catalogsearch')->__('Modify your search'); ?></a></p>
37
+ <?php endif; ?>
38
+
39
+ <div class="advanced-search-summary">
40
+ <?php $searchCriterias=$this->getSearchCriterias(); ?>
41
+ <?php foreach (array('left', 'right') as $side): ?>
42
+ <?php if(@$searchCriterias[$side]): ?>
43
+ <ul>
44
+ <?php foreach($searchCriterias[$side] as $criteria): ?>
45
+ <li><strong><?php echo $this->escapeHtml($this->helper('catalog')->__($criteria['name'])); ?>:</strong> <?php echo $this->escapeHtml($criteria['value']); ?></li>
46
+ <?php endforeach; ?>
47
+ </ul>
48
+ <?php endif; ?>
49
+ <?php endforeach; ?>
50
+ <?php if($this->getResultCount()): ?>
51
+ <p>
52
+ <?php echo $this->helper('catalogsearch')->__("Don't see what you're looking for?"); ?>
53
+ <a href="<?php echo $this->getFormUrl(); ?>"><?php echo $this->helper('catalogsearch')->__('Modify your search'); ?></a>
54
+ </p>
55
+ <?php endif; ?>
56
+ </div>
57
+ <?php if($this->getResultCount()): ?>
58
+ <?php echo $this->getProductListHtml() ?>
59
+ <?php endif; ?>
60
+ <?php $this->getSearchCriterias(); ?>
app/design/frontend/modulesgarden/swifty/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/swifty/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/swifty/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/swifty/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/swifty/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/swifty/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">
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/swifty/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/swifty/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/swifty/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/swifty/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/swifty/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/swifty/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/swifty/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/swifty/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/swifty/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/swifty/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/swifty/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/swifty/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/swifty/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/swifty/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/swifty/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/swifty/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/swifty/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"><span><span><?php echo $this->__('Place Order') ?></span></span></button>
201
+ </div>
202
+ </div>
203
+ </div>
204
+ <span class="please-wait" id="review-please-wait" style="display:none;">
205
+ <img src="<?php echo $this->getSkinUrl('images/opc-ajax-loader.gif') ?>" alt="<?php echo $this->__('Submitting order information...') ?>" title="<?php echo $this->__('Submitting order information...') ?>" class="v-middle" /> <?php echo $this->__('Submitting order information...') ?>
206
+ </span>
207
+ </div>
208
+ </div>
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/swifty/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/swifty/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/swifty/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/swifty/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/swifty/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/swifty/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/swifty/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/swifty/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/swifty/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/swifty/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/swifty/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/swifty/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/swifty/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/swifty/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/swifty/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/swifty/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/swifty/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/swifty/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/swifty/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/swifty/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/swifty/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/swifty/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/swifty/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/swifty/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/swifty/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/swifty/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/swifty/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/swifty/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/swifty/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/swifty/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/swifty/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/swifty/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/swifty/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/swifty/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/swifty/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/swifty/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/swifty/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/swifty/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/swifty/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/swifty/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/swifty/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/swifty/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/swifty/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/swifty/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/swifty/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/swifty/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/swifty/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/swifty/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/swifty/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/swifty/template/page/1column.phtml ADDED
@@ -0,0 +1,91 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design
22
+ * @package 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('mgthemeswifty/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 == 'green') {
41
+ echo '<link rel="stylesheet" type="text/css" href="'.$this->getSkinUrl('css/styles-green.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('mgthemeswifty/main/colorscheme');
48
+ if ( $version == 'blue'){
49
+ echo 'blue-theme';
50
+ }elseif ($version == 'green') {
51
+ echo 'green-theme';
52
+ }else {
53
+ echo 'red-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
+ <?php echo $this->getChildHtml('baners') ?>
64
+ <div class="main">
65
+ <?php $breadcrumbs = Mage::getStoreConfig('mgthemeswifty/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
+ <div class="containerHomeList"><?php echo $this->getChildHtml('newreference') ?></div>
76
+ <div class="col-main">
77
+ <?php echo $this->getChildHtml('global_messages') ?>
78
+ <?php echo $this->getChildHtml('content') ?>
79
+ <br class="clear" />
80
+ </div>
81
+ <div class="brands_container"><?php echo $this->getChildHtml('brands') ?></div>
82
+ </div>
83
+ </div>
84
+ <?php echo $this->getChildHtml('footer') ?>
85
+ <?php echo $this->getChildHtml('global_cookie_notice') ?>
86
+ <?php echo $this->getChildHtml('before_body_end') ?>
87
+ </div>
88
+ </div>
89
+ <?php echo $this->getAbsoluteFooter() ?>
90
+ </body>
91
+ </html>
app/design/frontend/modulesgarden/swifty/template/page/2columns-left.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
+ * 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('mgthemeswifty/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 == 'green') {
41
+ echo '<link rel="stylesheet" type="text/css" href="'.$this->getSkinUrl('css/styles-green.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('mgthemeswifty/main/colorscheme');
48
+ if ( $version == 'blue'){
49
+ echo 'blue-theme';
50
+ }elseif ($version == 'green') {
51
+ echo 'green-theme';
52
+ }else {
53
+ echo 'red-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
+ <?php echo $this->getChildHtml('baners') ?>
64
+ <div class="main">
65
+ <?php $breadcrumbs = Mage::getStoreConfig('mgthemeswifty/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
+ <div class="containerHomeList"><?php echo $this->getChildHtml('newreference') ?></div>
76
+ <div class="col-main">
77
+ <?php echo $this->getChildHtml('global_messages') ?>
78
+ <?php echo $this->getChildHtml('content') ?>
79
+ </div>
80
+ <div class="col-left sidebar"><?php echo $this->getChildHtml('left') ?></div>
81
+ <div class="clear"></div>
82
+ <div class="brands_container"><?php echo $this->getChildHtml('brands') ?></div>
83
+ </div>
84
+ </div>
85
+ <?php echo $this->getChildHtml('footer') ?>
86
+ <?php echo $this->getChildHtml('global_cookie_notice') ?>
87
+ <?php echo $this->getChildHtml('before_body_end') ?>
88
+ </div>
89
+ </div>
90
+ <?php echo $this->getAbsoluteFooter() ?>
91
+ </body>
92
+ </html>
app/design/frontend/modulesgarden/swifty/template/page/2columns-right.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('mgthemeswifty/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 == 'green') {
41
+ echo '<link rel="stylesheet" type="text/css" href="'.$this->getSkinUrl('css/styles-green.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('mgthemeswifty/main/colorscheme');
48
+ if ( $version == 'blue'){
49
+ echo 'blue-theme';
50
+ }elseif ($version == 'green') {
51
+ echo 'green-theme';
52
+ }else {
53
+ echo 'red-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
+ <?php echo $this->getChildHtml('baners') ?>
64
+ <div class="main">
65
+
66
+ <?php $breadcrumbs = Mage::getStoreConfig('mgthemeswifty/main/breadcrumbs'); ?>
67
+ <?php if ($breadcrumbs): ?>
68
+ <?php if ($breadcrumbs == "yes"): ?>
69
+ <?php echo $this->getChildHtml('breadcrumbs') ?>
70
+ <?php elseif($breadcrumbs == "no"): ?>
71
+ <!-- do nothing -->
72
+ <?php endif ?>
73
+ <?php else: ?>
74
+ <?php echo $this->getChildHtml('breadcrumbs') ?>
75
+ <?php endif ?>
76
+
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-right sidebar"><?php echo $this->getChildHtml('right') ?></div>
83
+ <br class="clear"/>
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/swifty/template/page/3columns.phtml ADDED
@@ -0,0 +1,98 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design
22
+ * @package 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('mgthemeswifty/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 == 'green') {
41
+ echo '<link rel="stylesheet" type="text/css" href="'.$this->getSkinUrl('css/styles-green.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('mgthemeswifty/main/colorscheme');
48
+ if ( $version == 'violet'){
49
+ echo 'violet-theme';
50
+ }elseif ($version == 'green') {
51
+ echo 'green-theme';
52
+ }else {
53
+ echo 'red-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
+ <?php echo $this->getChildHtml('baners') ?>
64
+ <div class="main">
65
+ <?php $breadcrumbs = Mage::getStoreConfig('mgthemeswifty/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 class="containerHomeList"><?php echo $this->getChildHtml('newreference') ?></div>
77
+ <div class="col-wrapper">
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>
84
+ <div class="col-right sidebar"><?php echo $this->getChildHtml('right') ?></div>
85
+ <div class="clear"></div>
86
+ <div class="brands_container">
87
+ <?php echo $this->getChildHtml('brands') ?>
88
+ </div>
89
+ </div>
90
+ </div>
91
+ <?php echo $this->getChildHtml('footer') ?>
92
+ <?php echo $this->getChildHtml('global_cookie_notice') ?>
93
+ <?php echo $this->getChildHtml('before_body_end') ?>
94
+ </div>
95
+ </div>
96
+ <?php echo $this->getAbsoluteFooter() ?>
97
+ </body>
98
+ </html>
app/design/frontend/modulesgarden/swifty/template/page/baners.phtml ADDED
@@ -0,0 +1,105 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ if (Mage::helper('core')->isModuleEnabled('Modulesgarden_SPSSliders')){
3
+ $slider = Mage::getModel('storepluginsetsliders/slider')->loadByCode('swifty_slider_full');
4
+ if ((!$slider->isEmpty() && $slider->getEnabled() && $slider->isEnabledForCurrentStoreView())){
5
+
6
+ $style = Mage::getStoreConfig('mgthemeswifty/main/colorscheme');
7
+ if ( $style == 'blue'){
8
+ $color = 'blue';
9
+ $fontColor = '#1ea3da';
10
+ }elseif ($style == 'green') {
11
+ $color = 'green';
12
+ $fontColor = '#43bf8a';
13
+ }else {
14
+ $color = 'red';
15
+ $fontColor = '#f83e3e';
16
+ }
17
+ ?>
18
+
19
+
20
+ <?php $sliderStyle = Mage::getStoreConfig('mgthemeswifty/main/slider');
21
+ if ( $sliderStyle == 'wrapped') { ?>
22
+ <?php if (!$slider->isEmpty() && $slider->getEnabledBanners()->getSize() > 0 && $slider->isEnabledForCurrentStoreView()) { ?>
23
+ <div id="slider-wrapper">
24
+ <div id="layerslider" style="width:100%;height:460px;">
25
+ <?php foreach ($slider->getEnabledBanners() as $banner){ ?>
26
+ <div class="ls-slide" data-ls="transition2d:1;">
27
+ <img src="<?php echo $this->getSkinUrl('images/sliderimages/'.$color.'-bg.jpg'); ?>" class="ls-bg" alt="Slide background"/>
28
+ <img class="ls-l" style="top:0;right:1000px;white-space: nowrap;" data-ls="offsetxin:1000; durationin:4000; easingin:linear;" src="<?php echo $this->getSkinUrl('images/sliderimages/'.$color.'-bg2.jpg'); ?>" alt="">
29
+ <img class="ls-l" style="top:0;left:65%;white-space: nowrap;" data-ls="offsetxin:400;durationin:2000;offsetxout:400;" src="<?php echo $banner->getFileUrl(); ?>" alt="">
30
+ <p class="ls-l" style="max-width:500px;top:150px;left:30px;font-weight:300;height:40px;padding-right:10px;padding-left:10px;font-size:30px;line-height:37px;color:#ffffff;background:<?php echo $fontColor; ?>;border-radius:3px;" data-ls="offsetxin:0;durationin:2000;delayin:1500;easingin:easeOutElastic;rotatexin:-90;transformoriginin:50% top 0;offsetxout:-200;durationout:1000;">
31
+ <?php echo $banner->getTitle(); ?>
32
+ </p>
33
+ <p class="ls-l" style="max-width:500px;top:200px;left:35px;font-family: 'Architects Daughter', cursive;font-size:26px;color:<?php echo $fontColor; ?>;text-align:left;line-height:26px;" data-ls="offsetxin:0;durationin:2000;delayin:2000;easingin:easeOutElastic;rotatexin:90;transformoriginin:50% top 0;offsetxout:-400;">
34
+ <?php $descSlide = $banner->getDescription();
35
+ if (strlen($descSlide) > 80){
36
+ $descSlide = substr($descSlide,0,80);
37
+ $descSlideWrap = $descSlide."...";
38
+ }
39
+ else {
40
+ $descSlideWrap = $descSlide;
41
+ }
42
+ echo $descSlideWrap; ?>
43
+ </p>
44
+ <?php
45
+ echo '<a class="ls-l slide-link" href="'.$banner->getUrl().'"></a>';
46
+ if ($banner->getUrlTitle()){
47
+ echo '<a class="ls-l link slide-btn" style="left:30px; top:73%;" data-ls="offsetxin: top; delayin:500;" href="'.$banner->getUrl().'">'.$banner->getUrlTitle().'</a>';
48
+ }
49
+ ?>
50
+
51
+ </div>
52
+ <?php } ?>
53
+ </div>
54
+ </div>
55
+ <?php } ?>
56
+ <br class="clear"/>
57
+ <?php }else { ?>
58
+ <?php if (!$slider->isEmpty() && $slider->getEnabledBanners()->getSize() > 0 && $slider->isEnabledForCurrentStoreView()) { ?>
59
+ <div id="full-slider-wrapper">
60
+ <div id="layerslider" style="width:100%;height:460px;">
61
+ <?php foreach ($slider->getEnabledBanners() as $banner){ ?>
62
+ <div class="ls-slide" data-ls="transition2d:1;">
63
+ <img src="<?php echo $this->getSkinUrl('images/sliderimages/'.$color.'-bg.jpg'); ?>" class="ls-bg" alt="Slide background"/>
64
+ <img class="ls-l" style="top:0;right:1000px;white-space: nowrap;" data-ls="offsetxin:1000; durationin:4000; easingin:linear;parallaxlevel:1;" src="<?php echo $this->getSkinUrl('images/sliderimages/'.$color.'-bg2.jpg'); ?>" alt="">
65
+ <div class="wrapp-slider-full">
66
+ <img class="ls-l" style="top:0;left:60%;white-space: nowrap;" data-ls="offsetxin:400;durationin:2000;offsetxout:400;" src="<?php echo $banner->getFileUrl(); ?>" alt="">
67
+ <p class="ls-l" style="max-width:900px;top:80px;left:35px;font-weight:300;height:40px;text-align:left;padding-right:10px;padding-left:10px;font-size:30px;line-height:37px;color:#ffffff;background:<?php echo $fontColor; ?>;border-radius:3px;text-transform:uppercase;" data-ls="offsetxin:0;durationin:2000;delayin:1500;easingin:easeOutElastic;rotatexin:-90;transformoriginin:50% top 0;offsetxout:-200;durationout:1000;parallaxlevel:2;">
68
+ <?php $titleSlide = $banner->getTitle();
69
+ if (strlen($titleSlide) > 50){
70
+ $titleSlide = substr($titleSlide,0,50);
71
+ $titleSlideWrap = $titleSlide."...";
72
+ }
73
+ else {
74
+ $titleSlideWrap = $titleSlide;
75
+ }
76
+ echo $titleSlideWrap; ?>
77
+ </p>
78
+ <p class="ls-l" style="max-width:500px;top:130px;left:35px;font-family: 'Architects Daughter', cursive;font-size:26px;color:<?php echo $fontColor; ?>;text-align:left;line-height:26px;" data-ls="offsetxin:0;durationin:2000;delayin:2000;easingin:easeOutElastic;rotatexin:90;transformoriginin:50% top 0;offsetxout:-400;parallaxlevel:3;">
79
+ <?php $descSlide = $banner->getDescription();
80
+ if (strlen($descSlide) > 180){
81
+ $descSlide = substr($descSlide,0,180);
82
+ $descSlideWrap = $descSlide."...";
83
+ }
84
+ else {
85
+ $descSlideWrap = $descSlide;
86
+ }
87
+ echo $descSlideWrap; ?>
88
+ </p>
89
+ <?php
90
+ echo '<a class="ls-l slide-link" href="'.$banner->getUrl().'"></a>';
91
+ if ($banner->getUrlTitle()){
92
+ echo '<a class="ls-l link slide-btn" style="left:35px; top:73%;" data-ls="offsetxin: top; delayin:500;parallaxlevel:3;" href="'.$banner->getUrl().'">'.$banner->getUrlTitle().'</a>';
93
+ }
94
+ ?>
95
+ </div>
96
+ </div>
97
+ <?php } ?>
98
+ </div>
99
+ </div>
100
+ <?php } ?>
101
+ <?php } ?>
102
+
103
+ <?php }
104
+ }
105
+ ?>
app/design/frontend/modulesgarden/swifty/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('swifty_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="prev-brands btn prev "></a>
11
+ <a class="next-brands btn next "></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/swifty/template/page/empty.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
28
+ /**
29
+ * Template for Mage_Page_Block_Html
30
+ */
31
+ ?>
32
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
33
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->getLang() ?>" lang="<?php echo $this->getLang() ?>">
34
+ <head>
35
+ <?php echo $this->getChildHtml('head') ?>
36
+ </head>
37
+ <body class="page-empty <?php echo $this->getBodyClass()?$this->getBodyClass():'' ?>">
38
+ <div>
39
+ <?php echo $this->getChildHtml('after_body_start') ?>
40
+ <?php echo $this->getChildHtml('global_messages') ?>
41
+ <?php echo $this->getChildHtml('content') ?>
42
+ <?php echo $this->getChildHtml('before_body_end') ?>
43
+ <?php echo $this->getAbsoluteFooter() ?>
44
+ </div>
45
+ </body>
46
+ </html>
app/design/frontend/modulesgarden/swifty/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/swifty/template/page/html/cookienotice.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
28
+ /**
29
+ * @see Mage_Page_Block_Html_CookieNotice
30
+ */
31
+ ?>
32
+ <?php if (Mage::helper('core/cookie')->isUserNotAllowSaveCookie()): ?>
33
+ <div class="global-site-notice notice-cookie" id="notice-cookie-block">
34
+ <div class="notice-inner">
35
+ <div class="notice-text"><?php echo $this->getCookieRestrictionBlockContent(); ?></div>
36
+ <div class="actions"><button class="button" onclick="allowSaveCookie()"><span><span><?php echo $this->__('Allow');?></span></span></button></div>
37
+ </div>
38
+ </div>
39
+ <script type="text/javascript">
40
+ /* <![CDATA[ */
41
+ function allowSaveCookie() {
42
+ Mage.Cookies.set('<?php echo Mage_Core_Helper_Cookie::IS_USER_ALLOWED_SAVE_COOKIE; ?>', '<?php echo Mage::helper('core/cookie')->getAcceptedSaveCookiesWebsiteIds()?>', new Date(new Date().getTime() + <?php echo Mage::helper('core/cookie')->getCookieRestrictionLifetime() ?> * 1000));
43
+ if (Mage.Cookies.get('<?php echo Mage_Core_Helper_Cookie::IS_USER_ALLOWED_SAVE_COOKIE; ?>')) {
44
+ window.location.reload();
45
+ } else {
46
+ window.location.href = '<?php echo Mage::getUrl('cms/index/noCookies')?>';
47
+ }
48
+ }
49
+ $('notice-cookie-block').show();
50
+ /* ]]> */
51
+ </script>
52
+ <?php endif; ?>
53
+
54
+
app/design/frontend/modulesgarden/swifty/template/page/html/footer.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
+ <div class="footer-container">
28
+ <div class="footer">
29
+ <div class="col1 col-footer">
30
+ <?php echo $this->getLayout()->createBlock('cms/block')->setBlockId('swifty-footer-col1')->toHtml() ?>
31
+ </div>
32
+ <div class="col2 col-footer">
33
+ <?php echo $this->getLayout()->createBlock('cms/block')->setBlockId('swifty-footer-col2')->toHtml() ?>
34
+ </div>
35
+ <div class="col3 col-footer">
36
+ <?php echo $this->getLayout()->createBlock('cms/block')->setBlockId('swifty-footer-col3')->toHtml() ?>
37
+ </div>
38
+ <div class="col3 col-footer">
39
+ <?php echo $this->getLayout()->createBlock('cms/block')->setBlockId('swifty-footer-col4')->toHtml() ?>
40
+ </div>
41
+ <div class="col4 col-footer">
42
+ <?php echo $this->getChildHtml('footer.newsletter'); ?>
43
+ </div>
44
+ <br class="clear"/>
45
+ </div>
46
+ </div>
47
+
48
+ <address><?php echo $this->getCopyright() ?></address>
app/design/frontend/modulesgarden/swifty/template/page/html/head.phtml ADDED
@@ -0,0 +1,104 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you 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
+ <title><?php echo $this->getTitle() ?></title>
31
+
32
+ <meta name="description" content="<?php echo htmlspecialchars($this->getDescription()) ?>" />
33
+ <meta name="keywords" content="<?php echo htmlspecialchars($this->getKeywords()) ?>" />
34
+ <meta name="robots" content="<?php echo htmlspecialchars($this->getRobots()) ?>" />
35
+ <meta name="viewport" content="width=device-width, initial-scale=1"/>
36
+ <link rel="icon" href="<?php echo $this->getFaviconFile(); ?>" type="image/x-icon" />
37
+ <link rel="shortcut icon" href="<?php echo $this->getFaviconFile(); ?>" type="image/x-icon" />
38
+ <!--[if lt IE 7]>
39
+ <script type="text/javascript">
40
+ //<![CDATA[
41
+ var BLANK_URL = '<?php echo $this->helper('core/js')->getJsUrl('blank.html') ?>';
42
+ var BLANK_IMG = '<?php echo $this->helper('core/js')->getJsUrl('spacer.gif') ?>';
43
+ //]]>
44
+ </script>
45
+ <![endif]-->
46
+
47
+ <script type="text/javascript" src="<?php echo $this->getSkinUrl('js/layerslider/js/jquery.js'); ?>"></script>
48
+ <script type="text/javascript" src="<?php echo $this->getSkinUrl('js/owl-carousel/owl.carousel.min.js'); ?>"></script>
49
+ <script type="text/javascript" src="<?php echo $this->getSkinUrl('js/fancybox/jquery.fancybox.pack.js'); ?>"></script>
50
+ <script type="text/javascript" src="<?php echo $this->getSkinUrl('js/custom.js'); ?>"></script>
51
+ <script type="text/javascript" src="<?php echo $this->getSkinUrl('js/layerslider/js/greensock.js'); ?>"></script>
52
+ <script type="text/javascript" src="<?php echo $this->getSkinUrl('js/layerslider/js/layerslider.transitions.js'); ?>"></script>
53
+ <script type="text/javascript" src="<?php echo $this->getSkinUrl('js/layerslider/js/layerslider.kreaturamedia.jquery.js'); ?>"></script>
54
+ <script type="text/javascript" src="<?php echo $this->getSkinUrl('js/jquery.selectric.min.js'); ?>"></script>
55
+
56
+ <?php echo $this->getCssJsHtml() ?>
57
+
58
+ <?php $fontFamily = Mage::getStoreConfig('mgthemeswifty/main/fontfamily'); ?>
59
+ <?php if ($fontFamily): ?>
60
+ <?php if ($fontFamily == "opensans"): ?>
61
+ <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'>
62
+ <?php echo '<link rel="stylesheet" type="text/css" href="'.$this->getSkinUrl('css/open-sans-font.css').'" media="all" />'; ?>
63
+ <?php elseif($fontFamily == "lato"): ?>
64
+ <link href='http://fonts.googleapis.com/css?family=Lato:400,300,700&subset=latin,latin-ext' rel='stylesheet' type='text/css'>
65
+ <?php echo '<link rel="stylesheet" type="text/css" href="'.$this->getSkinUrl('css/lato-font.css').'" media="all" />'; ?>
66
+ <?php elseif($fontFamily == "roboto"): ?>
67
+ <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'>
68
+ <?php echo '<link rel="stylesheet" type="text/css" href="'.$this->getSkinUrl('css/roboto-font.css').'" media="all" />'; ?>
69
+ <?php elseif($fontFamily == "raleway"): ?>
70
+ <link href='http://fonts.googleapis.com/css?family=Raleway:300,400,700' rel='stylesheet' type='text/css'>
71
+ <?php echo '<link rel="stylesheet" type="text/css" href="'.$this->getSkinUrl('css/raleway-font.css').'" media="all" />'; ?>
72
+ <?php endif ?>
73
+ <?php else: ?>
74
+ <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'>
75
+ <?php echo '<link rel="stylesheet" type="text/css" href="'.$this->getSkinUrl('css/open-sans-font.css').'" media="all" />'; ?>
76
+ <?php endif ?>
77
+
78
+ <link href='http://fonts.googleapis.com/css?family=Architects+Daughter' rel='stylesheet' type='text/css'>
79
+
80
+ <?php $colorFooter = Mage::getStoreConfig('mgthemeswifty/main/colorfooter'); ?>
81
+ <?php if ($colorFooter): ?>
82
+ <?php if ($colorFooter == "lightgray"): ?>
83
+ <?php echo '<link rel="stylesheet" type="text/css" href="'.$this->getSkinUrl('css/color-footer-lightgray.css').'" media="all" />'; ?>
84
+ <?php elseif($colorFooter == "dark"): ?>
85
+ <?php echo '<link rel="stylesheet" type="text/css" href="'.$this->getSkinUrl('css/color-footer-dark.css').'" media="all" />'; ?>
86
+ <?php elseif($colorFooter == "white"): ?>
87
+ <?php echo '<link rel="stylesheet" type="text/css" href="'.$this->getSkinUrl('css/color-footer-white.css').'" media="all" />'; ?>
88
+ <?php endif ?>
89
+ <?php else: ?>
90
+ <?php echo '<link rel="stylesheet" type="text/css" href="'.$this->getSkinUrl('css/color-footer-lightgray.css').'" media="all" />'; ?>
91
+ <?php endif ?>
92
+
93
+ <?php $modules = Mage::helper('core')->isModuleEnabled('IWD_All');
94
+
95
+ // check is install IWD One Page Checkout
96
+ if($modules == true) {
97
+ echo '<link rel="stylesheet" type="text/css" href="'.$this->getSkinUrl('css/iwd-active.css').'" media="all" />';
98
+ } else {
99
+ echo '<link rel="stylesheet" type="text/css" href="'.$this->getSkinUrl('css/iwd-disable.css').'" media="all" />';
100
+ } ?>
101
+
102
+ <?php echo $this->getChildHtml() ?>
103
+ <?php echo $this->helper('core/js')->getTranslatorScript() ?>
104
+ <?php echo $this->getIncludes() ?>
app/design/frontend/modulesgarden/swifty/template/page/html/header.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
+ * @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
43
+ <?php
44
+ $logo = Mage::getStoreConfig('mgthemeswifty/main/logo');
45
+ if ( $logo == 'left'){
46
+ echo "a-left";
47
+ }elseif ($logo == 'right') {
48
+ echo "a-right";
49
+ }else {
50
+ echo "a-center";
51
+ }
52
+ ?>
53
+ "><img src="<?php echo $this->getLogoSrc() ?>" alt="<?php echo $this->getLogoAlt() ?>" /></a></h1>
54
+ <?php else:?>
55
+ <a href="<?php echo $this->getUrl('') ?>" title="<?php echo $this->getLogoAlt() ?>" class="logo merlin
56
+ <?php
57
+ $logo = Mage::getStoreConfig('mgthemeswifty/main/logo');
58
+ if ( $logo == 'left'){
59
+ echo "a-left";
60
+ }elseif ($logo == 'right') {
61
+ echo "a-right";
62
+ }else {
63
+ echo "a-center";
64
+ }
65
+ ?>
66
+ "><strong><?php echo $this->getLogoAlt() ?></strong><img src="<?php echo $this->getLogoSrc() ?>" alt="<?php echo $this->getLogoAlt() ?>" /></a>
67
+ <?php endif?>
68
+ <?php echo $this->getChildHtml('topContainer'); ?>
69
+ <br class="clear"/>
70
+ </div>
71
+ </div>
72
+ <?php echo $this->getChildHtml('topMenu') ?>
app/design/frontend/modulesgarden/swifty/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/swifty/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('mgthemeswifty/main/colorscheme');
35
+ if ( $imgStyle == 'blue'){
36
+ $img = '-blue';
37
+ }elseif ($imgStyle == 'green') {
38
+ $img = '-green';
39
+ }else {
40
+ $img = '-red';
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/swifty/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/swifty/template/page/html/topmenu.phtml ADDED
@@ -0,0 +1,126 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design
22
+ * @package 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('mgthemeswifty/main/showhome'); ?>
42
+ <?php if ($homeLink): ?>
43
+ <?php if ($homeLink == "yes"): ?>
44
+ <li class="level0 nav-1 first home-link level-top
45
+ <?php
46
+ $is_homepage = Mage::getBlockSingleton('page/html_header')->getIsHomePage();
47
+ if($is_homepage)
48
+ {
49
+ echo "active";
50
+ } else {
51
+ echo "n-active";
52
+ }
53
+ ?>
54
+ "><a class="level-top" href="<?php echo Mage::getBaseUrl(Mage_Core_Model_Store::URL_TYPE_LINK); ?>">HOME</a></li>
55
+ <?php elseif($homeLink == "no"): ?>
56
+ <!-- do nothing -->
57
+ <?php endif ?>
58
+ <?php else: ?>
59
+ <!-- do nothing -->
60
+ <?php endif ?>
61
+
62
+ <?php echo $_menu ?>
63
+
64
+ <?php endif ?>
65
+
66
+ <?php $catalogSearchHelper = $this->helper('catalogsearch'); ?>
67
+
68
+ <?php
69
+
70
+ //if ($categoryAmount > 0) { ?>
71
+ <form id="search_mini_form" action="<?php echo $catalogSearchHelper->getResultUrl() ?>" method="get">
72
+ <div class="form-search">
73
+ <input id="search" type="text" name="<?php echo $catalogSearchHelper->getQueryParamName() ?>" value="<?php echo $catalogSearchHelper->getEscapedQueryText() ?>" class="input-text" maxlength="<?php echo $catalogSearchHelper->getMaxQueryLength();?>" />
74
+ <button type="submit" title="<?php echo $this->__('Search') ?>" class="search-button"></button>
75
+ <div id="search_autocomplete" class="search-autocomplete"></div>
76
+ <script type="text/javascript">
77
+ //<![CDATA[
78
+ var searchForm = new Varien.searchForm('search_mini_form', 'search', '');
79
+ searchForm.initAutocomplete('<?php echo $catalogSearchHelper->getSuggestUrl() ?>', 'search_autocomplete');
80
+ //]]>
81
+ </script>
82
+ </div>
83
+ </form>
84
+ <?php //} ?>
85
+ </ul>
86
+ </div>
87
+ </div>
88
+ </div>
89
+
90
+
91
+
92
+ <div id="menu_mobile_click">
93
+ <div class="menu_icon"><i class="fa fa-bars"></i></div>
94
+ <div class="search_mobile">
95
+ <?php $catalogSearchHelper = $this->helper('catalogsearch'); ?>
96
+ <form id="search_mini_form" action="<?php echo $catalogSearchHelper->getResultUrl() ?>" method="get">
97
+ <div class="form-search">
98
+ <input id="search" type="text" name="<?php echo $catalogSearchHelper->getQueryParamName() ?>" value="<?php echo $catalogSearchHelper->getEscapedQueryText() ?>" class="input-text" maxlength="<?php echo $catalogSearchHelper->getMaxQueryLength();?>" />
99
+ <button type="submit" title="<?php echo $this->__('Search') ?>" class="search-button"></button>
100
+ <div id="search_autocomplete" class="search-autocomplete"></div>
101
+ <script type="text/javascript">
102
+ //<![CDATA[
103
+ var searchForm = new Varien.searchForm('search_mini_form', 'search', '');
104
+ searchForm.initAutocomplete('<?php echo $catalogSearchHelper->getSuggestUrl() ?>', 'search_autocomplete');
105
+ //]]>
106
+ </script>
107
+ </div>
108
+ </form>
109
+ </div>
110
+ <div class="clear"></div>
111
+ </div>
112
+
113
+ <div class="menu_mobile">
114
+ <?php if($_menu): ?>
115
+ <div class="nav-container">
116
+ <div class="menu_search_wrapp">
117
+
118
+ <ul id="nav">
119
+ <?php echo $_menu; ?>
120
+
121
+ <?php endif ?>
122
+
123
+ </ul>
124
+ </div>
125
+ </div>
126
+ </div>
app/design/frontend/modulesgarden/swifty/template/page/html/viewpointmeta.phtml ADDED
@@ -0,0 +1 @@
 
1
+ <meta name="viewport" content="width=device-width, initial-scale=1">
app/design/frontend/modulesgarden/swifty/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/swifty/template/page/js/calendar.phtml ADDED
@@ -0,0 +1,94 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design
22
+ * @package 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
+ * Calendar localization script. Should be put into page header.
30
+ *
31
+ * @see Mage_Core_Block_Html_Calendar
32
+ */
33
+ ?>
34
+
35
+ <script type="text/javascript">
36
+ //<![CDATA[
37
+ enUS = <?php echo $enUS?>; // en_US locale reference
38
+ Calendar._DN = <?php echo $days['wide']?>; // full day names
39
+ Calendar._SDN = <?php echo $days['abbreviated']?>; // short day names
40
+ Calendar._FD = <?php echo $firstDay?>; // First day of the week. "0" means display Sunday first, "1" means display Monday first, etc.
41
+ Calendar._MN = <?php echo $months['wide']?>; // full month names
42
+ Calendar._SMN = <?php echo $months['abbreviated']?>; // short month names
43
+ Calendar._am = <?php echo $am ?>; // am/pm
44
+ Calendar._pm = <?php echo $pm ?>;
45
+
46
+ // tooltips
47
+ Calendar._TT = {};
48
+ Calendar._TT["INFO"] = "<?php echo $this->jsQuoteEscape( $this->__('About the calendar') );?>";
49
+
50
+ Calendar._TT["ABOUT"] =
51
+ "<?php echo $this->jsQuoteEscape( $this->__('DHTML Date/Time Selector') )?>\n" +
52
+ "(c) dynarch.com 2002-2005 / Author: Mihai Bazon\n" +
53
+ "<?php echo $this->jsQuoteEscape( $this->__('For latest version visit: %s', 'http://www.dynarch.com/projects/calendar/') )?>\n" +
54
+ "<?php echo $this->jsQuoteEscape( $this->__('Distributed under GNU LGPL. See %s for details.', 'http://gnu.org/licenses/lgpl.html') )?>" +
55
+ "\n\n" +
56
+ "<?php echo $this->jsQuoteEscape( $this->__('Date selection:') )?>\n" +
57
+ "<?php echo $this->jsQuoteEscape( $this->__('- Use the %s, %s buttons to select year', '\\xab', '\xbb') )?>\n" +
58
+ "<?php echo $this->jsQuoteEscape( $this->__('- Use the %s buttons to select month', '" + String.fromCharCode(0x2039) + ", " + String.fromCharCode(0x203a) + "') )?>\n" +
59
+ "<?php echo $this->jsQuoteEscape( $this->__('- Hold mouse button on any of the above buttons for faster selection.') )?>";
60
+ Calendar._TT["ABOUT_TIME"] = "\n\n" +
61
+ "<?php echo $this->jsQuoteEscape( $this->__('Time selection:') )?>\n" +
62
+ "<?php echo $this->jsQuoteEscape( $this->__('- Click on any of the time parts to increase it') )?>\n" +
63
+ "<?php echo $this->jsQuoteEscape( $this->__('- or Shift-click to decrease it') )?>\n" +
64
+ "<?php echo $this->jsQuoteEscape( $this->__('- or click and drag for faster selection.') )?>";
65
+
66
+ Calendar._TT["PREV_YEAR"] = "<?php echo $this->jsQuoteEscape( $this->__('Prev. year (hold for menu)') );?>";
67
+ Calendar._TT["PREV_MONTH"] = "<?php echo $this->jsQuoteEscape( $this->__('Prev. month (hold for menu)') );?>";
68
+ Calendar._TT["GO_TODAY"] = "<?php echo $this->jsQuoteEscape( $this->__('Go Today') );?>";
69
+ Calendar._TT["NEXT_MONTH"] = "<?php echo $this->jsQuoteEscape( $this->__('Next month (hold for menu)') );?>";
70
+ Calendar._TT["NEXT_YEAR"] = "<?php echo $this->jsQuoteEscape( $this->__('Next year (hold for menu)') );?>";
71
+ Calendar._TT["SEL_DATE"] = "<?php echo $this->jsQuoteEscape( $this->__('Select date') );?>";
72
+ Calendar._TT["DRAG_TO_MOVE"] = "<?php echo $this->jsQuoteEscape( $this->__('Drag to move') );?>";
73
+ Calendar._TT["PART_TODAY"] = ' (' + <?php echo $today ?> + ')';
74
+
75
+ // the following is to inform that "%s" is to be the first day of week
76
+ Calendar._TT["DAY_FIRST"] = "<?php echo $this->jsQuoteEscape( $this->__('Display %s first', '%s') );?>";
77
+
78
+ // This may be locale-dependent. It specifies the week-end days, as an array
79
+ // of comma-separated numbers. The numbers are from 0 to 6: 0 means Sunday, 1
80
+ // means Monday, etc.
81
+ Calendar._TT["WEEKEND"] = <?php echo $weekendDays?>;
82
+
83
+ Calendar._TT["CLOSE"] = "<?php echo $this->jsQuoteEscape( $this->__('Close') );?>";
84
+ Calendar._TT["TODAY"] = <?php echo $today ?>;
85
+ Calendar._TT["TIME_PART"] = "<?php echo $this->jsQuoteEscape( $this->__('(Shift-)Click or drag to change value') );?>";
86
+
87
+ // date formats
88
+ Calendar._TT["DEF_DATE_FORMAT"] = <?php echo $defaultFormat?>;
89
+ Calendar._TT["TT_DATE_FORMAT"] = <?php echo $toolTipFormat?>;
90
+
91
+ Calendar._TT["WK"] = <?php echo $week ?>;
92
+ Calendar._TT["TIME"] = "<?php echo $this->jsQuoteEscape( $this->__('Time:') );?>";
93
+ //]]>
94
+ </script>
app/design/frontend/modulesgarden/swifty/template/page/js/cookie.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
+ <?php
28
+ /**
29
+ * Cookie settings initialization script
30
+ *
31
+ * @see Mage_Page_Block_Js_Cookie
32
+ */
33
+ ?>
34
+
35
+ <script type="text/javascript">
36
+ //<![CDATA[
37
+ Mage.Cookies.path = '<?php echo $this->getPath()?>';
38
+ Mage.Cookies.domain = '<?php echo $this->getDomain()?>';
39
+ //]]>
40
+ </script>
app/design/frontend/modulesgarden/swifty/template/page/popup.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
+ * 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('mgthemeswifty/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 == 'green') {
41
+ echo '<link rel="stylesheet" type="text/css" href="'.$this->getSkinUrl('css/styles-green.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 class="page-popup<?php echo $this->getBodyClass()?$this->getBodyClass() : ''?>">
48
+ <div>
49
+ <?php echo $this->getChildHtml('after_body_start') ?>
50
+ <?php echo $this->getChildHtml('content') ?>
51
+ <?php echo $this->getChildHtml('before_body_end') ?>
52
+ </div>
53
+ <?php echo $this->getAbsoluteFooter() ?>
54
+ </body>
55
+ </html>
app/design/frontend/modulesgarden/swifty/template/page/print.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
+ <?php
28
+ /**
29
+ * Template for Mage_Page_Block_Html
30
+ */
31
+ ?>
32
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
33
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->getLang() ?>" lang="<?php echo $this->getLang() ?>">
34
+ <head>
35
+ <?php echo $this->getChildHtml('head') ?>
36
+ </head>
37
+ <body class="page-print<?php echo $this->getBodyClass()?$this->getBodyClass():'' ?>">
38
+ <div>
39
+ <div class="print-head">
40
+ <img src="<?php echo $this->getPrintLogoUrl() ? $this->getPrintLogoUrl() : $this->getSkinUrl('images/logo_print.gif') ?>" class="logo" alt="" />
41
+ <?php if ($this->getPrintLogoText()):?>
42
+ <address><?php echo nl2br($this->escapeHtml($this->getPrintLogoText())) ?></address>
43
+ <?php endif;?>
44
+ </div>
45
+ <?php echo $this->getChildHtml('content') ?>
46
+ <div class="buttons-set">
47
+ <button type="button" title="<?php echo $this->__('Close Window') ?>" class="button" onclick="window.close();"><span><span><?php echo $this->__('Close Window') ?></span></span></button>
48
+ </div>
49
+ <?php echo $this->getAbsoluteFooter() ?>
50
+ </div>
51
+ </body>
52
+ </html>
app/design/frontend/modulesgarden/swifty/template/page/redirect.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->__('Redirecting...') ?></h1>
29
+ </div>
30
+ <?php if($this->getMessage()): ?>
31
+ <p><?php echo $this->getMessage() ?></p>
32
+ <?php endif; ?>
33
+ <?php echo $this->getRedirectOutput() ?>
34
+ <?php if(!$this->isHtmlFormRedirect()): ?>
35
+ <p><?php echo $this->__('Click <a href="%s">here</a> if nothing has happened', $this->getTargetURL()) ?></p>
36
+ <?php endif; ?>
app/design/frontend/modulesgarden/swifty/template/page/switch/flags.phtml ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design
22
+ * @package 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(count($this->getStores())>1): ?>
28
+ <div class="form-language">
29
+ <label for="select-language"><?php echo $this->__('Your Language:') ?></label>
30
+ <select id="select-language" title="<?php echo $this->__('Your Language') ?>" onchange="window.location.href=this.value" class="flags">
31
+ <?php foreach ($this->getStores() as $_lang): ?>
32
+ <?php $_selected = ($_lang->getId() == $this->getCurrentStoreId()) ? ' selected="selected"' : '' ?>
33
+ <option value="<?php echo $_lang->getCurrentUrl() ?>" style="background-image:url('<?php echo $this->getSkinUrl('images/flags/flag_'.$_lang->getCode().'.gif') ?>');"<?php echo $_selected ?>><?php echo $this->escapeHtml($_lang->getName()) ?></option>
34
+ <?php endforeach; ?>
35
+ </select>
36
+ </div>
37
+ <?php endif; ?>
app/design/frontend/modulesgarden/swifty/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/swifty/template/page/switch/stores.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
+ * Store switcher template
30
+ *
31
+ * @see Mage_Core_Block_Store_Switcher
32
+ */
33
+ ?>
34
+ <?php if(count($this->getGroups())>1): ?>
35
+ <div class="store-switcher">
36
+ <label for="select-store"><?php echo $this->__('Select Store:') ?></label>
37
+ <select id="select-store" title="<?php echo $this->__('Select Store') ?>" onchange="location.href=this.value">
38
+ <?php /*foreach ($this->getStores() as $_store): ?>
39
+ <option value="<?php echo $_store->getUrl('') ?>"<?php if($_store->getId()==$this->getCurrentStoreId()): ?> selected="selected"<?php endif; ?>><?php echo $_store->getName() ?></option>
40
+ <?php endforeach;*/ ?>
41
+ <?php foreach ($this->getGroups() as $_group): ?>
42
+ <?php $_selected = ($_group->getId()==$this->getCurrentGroupId()) ? ' selected="selected"' : '' ?>
43
+ <option value="<?php echo $_group->getHomeUrl() ?>"<?php echo $_selected ?>><?php echo $this->escapeHtml($_group->getName()) ?></option>
44
+ <?php endforeach; ?>
45
+ </select>
46
+ </div>
47
+ <?php endif; ?>
app/design/frontend/modulesgarden/swifty/template/page/template/container.phtml ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Magento
4
+ *
5
+ * NOTICE OF LICENSE
6
+ *
7
+ * This source file is subject to the Academic Free License (AFL 3.0)
8
+ * that is bundled with this package in the file LICENSE_AFL.txt.
9
+ * It is also available through the world-wide-web at this URL:
10
+ * http://opensource.org/licenses/afl-3.0.php
11
+ * If you did not receive a copy of the license and are unable to
12
+ * obtain it through the world-wide-web, please send an email
13
+ * to license@magentocommerce.com so we can send you a copy immediately.
14
+ *
15
+ * DISCLAIMER
16
+ *
17
+ * Do not edit or add to this file if you wish to upgrade Magento to newer
18
+ * versions in the future. If you wish to customize Magento for your
19
+ * needs please refer to http://www.magentocommerce.com for more information.
20
+ *
21
+ * @category design
22
+ * @package 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_Container
30
+ */
31
+ ?>
32
+ <div class="page-title">
33
+ <h1><?php echo $this->getTitle() ?></h1>
34
+ </div>
35
+ <?php echo $this->getChildHtml() ?>
app/design/frontend/modulesgarden/swifty/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/swifty/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/swifty/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/swifty/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/swifty/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/swifty/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/swifty/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/swifty/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/swifty/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/swifty/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/swifty/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/swifty/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/swifty/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/swifty/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/swifty/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/swifty/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/swifty/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/swifty/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/swifty/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/swifty/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/swifty/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/swifty/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/swifty/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/swifty/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/swifty/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/swifty/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/swifty/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/swifty/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/swifty/template/review/rev/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 width="1" />
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/swifty/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/swifty/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/swifty/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/swifty/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/swifty/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_ThemeSwifty.xml ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <config>
3
+ <modules>
4
+ <Modulesgarden_ThemeSwifty>
5
+ <active>true</active>
6
+ <codePool>community</codePool>
7
+ </Modulesgarden_ThemeSwifty>
8
+ </modules>
9
+ </config>
package.xml ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <package>
3
+ <name>ModulesGarden_Swifty</name>
4
+ <version>1.0.0</version>
5
+ <stability>stable</stability>
6
+ <license>OSL</license>
7
+ <channel>community</channel>
8
+ <extends/>
9
+ <summary>ModulesGarden Swifty - Theme For Magento Is A Responsive Skin With Fresh Graphic Design And A Transparent Slider.</summary>
10
+ <description>ModulesGarden Swifty - Theme For Magento is a responsive skin for your online store created to please the senses of your customers. The centerpiece of the theme is a transparent slider which, combined with fresh graphic design, makes your eCommerce platform vivid and enjoyable.&#xD;
11
+ &#xD;
12
+ Provide your customers with unforgettable experience and achieve it without spending a penny! Swifty - Theme For Magento is entirely free and does not require any installation nor modification of Magento code. Simply download it, upload the files 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-04-16</date>
16
+ <time>13:55:44</time>
17
+ <contents><target name="magecommunity"><dir name="Modulesgarden"><dir name="ThemeSwifty"><dir name="Block"><dir name="Product"><file name="Bestseller.php" hash="70f7bab6bdb902700acbddf170df0947"/><file name="Featured.php" hash="9a683e05ff200ebf1b3409dd8033fdf4"/></dir></dir><dir name="Helper"><file name="Data.php" hash="58765b37e8db3ad57ff6a27e470b30c0"/></dir><dir name="Model"><dir name="System"><dir name="Config"><dir name="Source"><file name="Select.php" hash="5ce24a289decafaf8e064290c79fcdac"/></dir></dir></dir></dir><dir name="etc"><file name="config.xml" hash="72ba8b9437cf6400ceb3a076ceb83cf4"/><file name="system.xml" hash="d9d92a25a51e9f2434aa6f75f70634fd"/></dir><file name="moduleVersion.php" hash="850228d62b58639035c2306f0aad0139"/><dir name="sql"><dir name="mgthemeswifty_setup"><file name="install-1.0.0.php" hash="bc95b00e38b1328ddbb8844dbb23ffae"/></dir></dir></dir></dir></target><target name="magedesign"><dir name="frontend"><dir name="modulesgarden"><dir name="swifty"><dir name="layout"><file name="catalog.xml" hash="067b21f8219021f3dae0e1a2985b0a56"/><file name="catalogsearch.xml" hash="9b97d4fcb2c2d4265e5efb5e3f877be0"/><file name="checkout.xml" hash="3073bcb4ab927d933973f4feca0740e4"/><file name="cms.xml" hash="2563b8cda9e485a41aece377d5bfd878"/><file name="customer.xml" hash="d2b9b2e3f2dafd5557bbd347a8e754f1"/><file name="local.xml" hash="80c96926d01be45cfa492d204f945a00"/><file name="newsletter.xml" hash="d651d53837b9ad6cb70102b3e603179b"/><file name="page.xml" hash="0f391a8546c395bfa36c86b7aae1423e"/><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="f507945890c634c2cf3a4e077e97281f"/></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="4d5f65c785d7446eb018e6015996cf6c"/><dir name="compare"><file name="list.phtml" hash="de875c2e4dbcef23be1ea9ed7004a750"/><file name="sidebar.phtml" hash="eb95eb9b8ef892e8f097cd3b406da52e"/></dir><file name="featured.phtml" hash="b9c238f75a1c98c88dc37c9d3b6b8c99"/><file name="gallery.phtml" hash="ef28634ad6fa4f1bab2fcfeb22efbece"/><dir name="list"><file name="related.phtml" hash="09ede9b24eea2a416048610d140fff9e"/><file name="toolbar.phtml" hash="640926d716bf6f0f34374c7a7301997d"/><file name="upsell.phtml" hash="609f0aa6eb4e844d414f855dcaff86d8"/></dir><file name="list.phtml" hash="ef2e15701e72d226c43c383b072ea1a3"/><file name="new.phtml" hash="bffd564c90211337f832d9403479c305"/><file name="price.phtml" hash="4aa514c0e54e1819be6b2cec31e2a59b"/><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="8f0d6d0559372f02ff8884fe29dcab6a"/><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"><dir name="advanced"><file name="form.phtml" hash="7516f69430370cce1bfcca6206b3943e"/><file name="result.phtml" hash="c8363d5f0e3a5a226e991809959a952f"/></dir><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="ce7e2f067cd4b80457d608f4eb4aaf41"/><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="8ff1b918d1b5d0cbb401b00ee59e15bf"/><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="c9f732bf8044c309da0da60a070bae3f"/><file name="2columns-left.phtml" hash="a4eafbdd0b6bc0fcbd82ee03da22d419"/><file name="2columns-right.phtml" hash="9095777891ae24422c87bee2de5449c0"/><file name="3columns.phtml" hash="29228dfc82b767a0c8624ca7249e9bbd"/><file name="baners.phtml" hash="9b44ceb33f82f0d2fa080ff6b0836259"/><file name="brands.phtml" hash="94cea8f9a3051af39711a90b5f1de22a"/><file name="empty.phtml" hash="766c793ae739fe85b7902d7ef9c80696"/><dir name="html"><file name="breadcrumbs.phtml" hash="b2fa7f6eaf26e082e87441795165de90"/><file name="cookienotice.phtml" hash="5c5122d19c8799a2d6fbbf8773bbe55a"/><file name="footer.phtml" hash="62a54bf5f5ec8adf3753dc95c9ee4fb3"/><file name="head.phtml" hash="064a34a7c4ca590a21924342a559092e"/><file name="header.phtml" hash="442800b8d724383f292e45382c1195cf"/><file name="notices.phtml" hash="da5ebd928526806c5908e5f53533b774"/><file name="pager.phtml" hash="a4569ae9195f026fe48d852c622c1e37"/><file name="top.links.phtml" hash="5a2867d7e8e0367c7a5ccd279c6b5f9d"/><file name="topmenu.phtml" hash="8e60b075c0b38754a3a9ff16c305cb28"/><file name="viewpointmeta.phtml" hash="605fe92e7abaa2018e83f09776f18f9e"/><file name="wrapper.phtml" hash="17f11c22d69e9633c2a09f41cc28eaa9"/></dir><dir name="js"><file name="calendar.phtml" hash="8e32c4072f4adfe3ae921f7321fc7b2f"/><file name="cookie.phtml" hash="b5146fa39350acdb70ccdb807c60a1d9"/></dir><file name="popup.phtml" hash="c085beaa9a222ac22b2122a51e05d7a9"/><file name="print.phtml" hash="7aefb18efe3091a4ad8f4559b280d660"/><file name="redirect.phtml" hash="1c00ea085f3d24730d386550ab186594"/><dir name="switch"><file name="flags.phtml" hash="ffa358e4b33eae0a8ffd667c082c8579"/><file name="languages.phtml" hash="ef27ad040530bb57e8dbad00a2edbd8b"/><file name="stores.phtml" hash="e6c5a485a0472f169096226f0f5e430e"/></dir><dir name="template"><file name="container.phtml" hash="f1506fbaabfa796beaeabb9a74dc1367"/><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><dir name="rev"><file name="form.phtml" hash="9cd174c1aeb52c69d4a915696ee206e7"/></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_ThemeSwifty.xml" hash="afbe0392f5aa6da20ea8897ba27fda2c"/></dir></target><target name="mageskin"><dir name="frontend"><dir name="modulesgarden"><dir name="swifty"><dir name="css"><file name="color-footer-dark.css" hash="60aaafb908a65be8d8146cb1228b82f7"/><file name="color-footer-lightgray.css" hash="ea4cfd6da68f7a6204a06371f0b63bdf"/><file name="color-footer-white.css" hash="e72c1b009a3c7297f77f6f3e168b64ca"/><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="iwd-active.css" hash="d4bcaacba357815d4b985d4b179e897a"/><file name="iwd-disable.css" hash="d06d6e5bc4ce0444c59b506ea8dc737b"/><file name="lato-font.css" hash="9c379db05b96f1b617a482bec1168151"/><file name="oauth-simple.css" hash="3da633ac3800b0d5a9501e089202c760"/><file name="open-sans-font.css" hash="4491bb143adcc947d66c60626e4f2afa"/><file name="print.css" hash="0931bba935b423c1e1866b4e586de88e"/><file name="raleway-font.css" hash="17c6cc32ad89359046d8717b44fa2bec"/><file name="responsive.css" hash="457952de03515e9600986ee744ae07a0"/><file name="roboto-font.css" hash="e5ccdc6ff699061e49da5e768937e1eb"/><file name="styles-blue.css" hash="1463c937b51ed18700082bda1bf0e858"/><file name="styles-green.css" hash="bdf62e5bc76428c4c4c389845b1d829a"/><file name="styles-ie.css" hash="fd54c1025b9de3cea9002e1d6d8efdaf"/><file name="styles.css" hash="93a50f4625fad80eb59135f77217a029"/><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="bkg_rating-blue.png" hash="480db23df8c7d9093015ce1bd1cf2cba"/><file name="bkg_rating-green.png" hash="0d5c5d47eafabb985d90b2dc743c74da"/><file name="bkg_rating-red.png" hash="c05e2f061a0e1875b5fb2407a04770b9"/><file name="cart.png" hash="5264089f8398835f5dca1c163fc95c3d"/><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-blue.png" hash="65773c811f4c62d6667dfdf7a2dd2877"/><file name="circle-green.png" hash="698c895a69ea60fe3ef1ef93d4866948"/><file name="circle-red.png" hash="b67de6802e947790ec65fd490f02578f"/><file name="crsl-image.png" hash="8e59a2012a223eb15a1afcfe2c7d3e35"/><file name="eye.png" hash="b567c4baa4a8425776926e2abdd14ab8"/><file name="grid-blue.png" hash="739d05993cea3fd85583b36f5f2c119e"/><file name="grid-green.png" hash="82c9ab7b1a399af6f2e03cb1b8e7c807"/><file name="grid-n.png" hash="7764b9c1bf94004090cc2f8611d33050"/><file name="grid-red.png" hash="ec02f3ceb42a746bb6c38ed009d56ce4"/><file name="grid_n.png" hash="29e6511c2dc11d1c037ce4254396804b"/><file name="i_arrow-top-blue.png" hash="5441b4366fd88c1c0c3b5d2736345bf6"/><file name="i_arrow-top-green.png" hash="246caf560443a978c27fecc925c10603"/><file name="i_arrow-top-red.png" hash="379b1b38f91341b02d052a93a502b3c8"/><file name="i_asc_arrow-blue.png" hash="68467d21a9f0b13fa4d804cb0c8c8e84"/><file name="i_asc_arrow-green.png" hash="dfed1d9a748b196ddbb3b2eab31f5082"/><file name="i_asc_arrow-red.png" hash="6ccb0fb4d457c213e790ca00b7c32684"/><file name="i_desc_arrow-blue.png" hash="62556aa312de052608ee732b5843c2e5"/><file name="i_desc_arrow-green.png" hash="3644e8ff707a8bbdc38d72de3d075b9d"/><file name="i_desc_arrow-red.png" hash="215c5f24b6da79fdc4887902dc447f2c"/><file name="i_desc_arrow.png" hash="e1249e34c9e8a674cef5f1ad1da9942f"/><file name="i_desc_arrow_blue.png" hash="b7a4b20427275af7dd073b693ae3c4de"/><file name="i_desc_arrow_red.png" hash="215c5f24b6da79fdc4887902dc447f2c"/><file name="list-blue.png" hash="bc24a5e4aa7637bd9578184fa35650fd"/><file name="list-green.png" hash="a2ac891fdaace534a17269bbc373dd31"/><file name="list-n.png" hash="db6eb32375cbfdee7286844e7d79fd8e"/><file name="list-red.png" hash="444ee7d3a2c2a1193e65fc5306174f2d"/><file name="list_n.png" hash="db6eb32375cbfdee7286844e7d79fd8e"/><file name="logo.gif" hash="a5d68b996e99cb00fdb4124300e40229"/><file name="logo.png" hash="23bf05fabed0fc1ee42590c3ae794f99"/><dir name="media"><file name="logo.png" hash="d471a234abeb63aaff96ea6fb61ccf70"/></dir><file name="mgcommerce-logo.png" hash="7d81b1ccb16fe0efc1387deabea5203d"/><file name="pager_arrow_left-blue.gif" hash="6366e610644e71410554315b3fcca373"/><file name="pager_arrow_left-green.gif" hash="17c9f0070a4a3fb19120a598ede3b9b7"/><file name="pager_arrow_left-red.gif" hash="be12af073dd071ccb1303fd1b577dd58"/><file name="pager_arrow_right-blue.gif" hash="666a5bab4b321f6d1b0053a50d4f0524"/><file name="pager_arrow_right-green.gif" hash="7ce157678c4f7918a3f489149591ac04"/><file name="pager_arrow_right-red.gif" hash="cd8605d7ff3f69fb29b800a0ab234950"/><file name="plus-blue.png" hash="d3e7343e3877228315f3d4590bfdde6a"/><file name="plus-green.png" hash="04823d1d33ab7aaec84ea103e072e09f"/><file name="plus-red.png" hash="3529bb7de7aa3f8545c12ab7b5cee248"/><file name="plus.png" hash="a139600f7d032a4ccfc43ebd958b54af"/><file name="search_button.png" hash="0290f655516bc71dfa2c4f22d3f85062"/><dir name="sliderimages"><file name="Thumbs.db" hash="e6d40648c0045112d0496c7dd1f7e01a"/><file name="blue-bg.jpg" hash="f0187dda4a5b7ec45950e8e548c9960e"/><file name="blue-bg2.jpg" hash="98fa36280e983f9f26f84019c5b43983"/><file name="circles.png" hash="58a987b184bb886368fcfcae7c86ce80"/><file name="green-bg.jpg" hash="bfbadeb4e484c464c168d067edd81097"/><file name="green-bg2.jpg" hash="ae914f03228a1956f94803812115f6f5"/><file name="left.png" hash="fd70aa066331f1549915005e22d7a9d1"/><file name="red-bg.jpg" hash="403bec66472fa0e92a0db30e29816a09"/><file name="red-bg2.jpg" hash="dfa4a5756b61bd05d49a8acffea0d602"/><file name="right.png" hash="14a440a0fdd9ba41c9f3ab0baeec058e"/><file name="sample_transitions.js" hash="1f65b36db3d6ced91e21ce24fb04b3c2"/></dir><file name="wish.png" hash="cfe8dcd3f8aa6d1c9ae3bd60804fb781"/><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="5c07d6e27a7d9f383c3d447ca0b39225"/><dir name="fancybox"><file name="Thumbs.db" hash="46cb90ca1e3dd98d22dfeb9eaea914a6"/><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"/><file name="jquery.selectric.min.js" hash="30882566d7242c3140968156b5873c56"/><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="994b732780279e0c6431465beeaad782"/><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="local.xml" hash="80c96926d01be45cfa492d204f945a00"/><file name="owl.carousel.css" hash="b51416af9e8adbe3d16f5f2526aba221"/><file name="owl.carousel.js" hash="a7f535ea24c4c9cf5f01ac9322634f58"/><file name="owl.carousel.min.js" hash="ffaa3c82ad2c6e216e68aca44746e1be"/><file name="owl.theme.css" hash="f23cf727e4fcca9a5470658da5e755c9"/><file name="owl.transitions.css" hash="b1bdaeac4065bf67a7d7a06213192964"/></dir><file name="responsiveCarousel.js" hash="4f6c26ebf80ceebac90ab073770636ff"/></dir><file name="oauth-simple.css" hash="3da633ac3800b0d5a9501e089202c760"/></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/frontend/modulesgarden/swifty/css/color-footer-dark.css ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* ============ STYLES FOR FOOTER THEME - LIGHTGRAY =============== */
2
+
3
+ .footer-container { background:#000; }
4
+ .footer .store-switcher { display:inline; margin:0 5px 0 0; color:#fff; }
5
+ .footer a { color:#ececec; text-decoration:none; }
6
+ .footer a:hover { text-decoration:underline; }
7
+ .footer .bugs { margin:13px 0 0; color:#ececec; }
8
+ .footer .bugs a { color:#ececec; text-decoration:underline; }
9
+ .footer .bugs a:hover { text-decoration:none; }
10
+ .footer address { margin:0 0 20px; color:#ececec; }
11
+ .footer address a { color:#ececec; text-decoration:underline; }
12
+ .footer address a:hover { text-decoration:none; }
13
+ .footer .col2 h2, .footer .col3 h2, .footer .col4 span { color:#fff !important; }
14
+ .footer-container .col1 { background:#171717 !important; border:1px solid #27292a !important; }
15
+ .col-footer h2 { border-bottom: 1px solid #27292a !important; }
16
+ .col-footer .block-title { border-bottom: 1px solid #27292a !important; }
17
+ .footer .col1 h2 { border:none !important; color:#fff; }
18
+ .footer .col1 ul li { color:#ececec; }
19
+ .block-subscribe label { color:#ececec !important; }
skin/frontend/modulesgarden/swifty/css/color-footer-lightgray.css ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* ============ STYLES FOR FOOTER THEME - LIGHTGRAY =============== */
2
+
3
+ .footer-container { background:#f7f9fb; border-top:1px solid #e3e1e1; border-bottom:1px solid #e3e1e1; }
4
+ .footer .store-switcher { display:inline; margin:0 5px 0 0; color:#fff; }
5
+ .footer a { color:#333; text-decoration:none; }
6
+ .footer a:hover { text-decoration:underline; }
7
+ .footer .bugs { margin:13px 0 0; color:#333; }
8
+ .footer .bugs a { color:#333; text-decoration:underline; }
9
+ .footer .bugs a:hover { text-decoration:none; }
10
+ .footer address { margin:0 0 20px; color:#333; }
11
+ .footer address a { color:#333; text-decoration:underline; }
12
+ .footer address a:hover { text-decoration:none; }
skin/frontend/modulesgarden/swifty/css/color-footer-white.css ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* ============ STYLES FOR FOOTER THEME - WHITE =============== */
2
+
3
+ .footer-container { background:#fff; border-top:1px solid #e3e1e1; border-bottom:1px solid #e3e1e1; }
4
+ .footer .store-switcher { display:inline; margin:0 5px 0 0; color:#fff; }
5
+ .footer a { color:#333; text-decoration:none; }
6
+ .footer a:hover { text-decoration:underline; }
7
+ .footer .bugs { margin:13px 0 0; color:#333; }
8
+ .footer .bugs a { color:#333; text-decoration:underline; }
9
+ .footer .bugs a:hover { text-decoration:none; }
10
+ .footer address { margin:0 0 20px; color:#333; }
11
+ .footer address a { color:#333; text-decoration:underline; }
12
+ .footer address a:hover { text-decoration:none; }
skin/frontend/modulesgarden/swifty/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/swifty/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/swifty/css/font_awesome/fonts/FontAwesome.otf ADDED
Binary file
skin/frontend/modulesgarden/swifty/css/font_awesome/fonts/fontawesome-webfont.eot ADDED
Binary file
skin/frontend/modulesgarden/swifty/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-