PageRenderTime 65ms CodeModel.GetById 17ms RepoModel.GetById 1ms app.codeStats 0ms

/admin/view/template/common/menu.tpl

https://gitlab.com/reclamare/mao
Smarty Template | 202 lines | 202 code | 0 blank | 0 comment | 10 complexity | 42da09261c514cc0c83aa754bc2029a5 MD5 | raw file
  1. <ul id="menu">
  2. <li id="dashboard"><a href="<?php echo $home; ?>"><i class="fa fa-dashboard fa-fw"></i> <span><?php echo $text_dashboard; ?></span></a></li>
  3. <li id="catalog"><a class="parent"><i class="fa fa-tags fa-fw"></i> <span><?php echo $text_catalog; ?></span></a>
  4. <ul>
  5. <li><a href="<?php echo $category; ?>"><?php echo $text_category; ?></a></li>
  6. <li><a href="<?php echo $product; ?>"><?php echo $text_product; ?></a></li>
  7. <li><a href="<?php echo $recurring; ?>"><?php echo $text_recurring; ?></a></li>
  8. <li><a href="<?php echo $filter; ?>"><?php echo $text_filter; ?></a></li>
  9. <li><a class="parent"><?php echo $text_attribute; ?></a>
  10. <ul>
  11. <li><a href="<?php echo $attribute; ?>"><?php echo $text_attribute; ?></a></li>
  12. <li><a href="<?php echo $attribute_group; ?>"><?php echo $text_attribute_group; ?></a></li>
  13. </ul>
  14. </li>
  15. <li><a href="<?php echo $option; ?>"><?php echo $text_option; ?></a></li>
  16. <li><a href="<?php echo $manufacturer; ?>"><?php echo $text_manufacturer; ?></a></li>
  17. <li><a href="<?php echo $download; ?>"><?php echo $text_download; ?></a></li>
  18. <li><a href="<?php echo $review; ?>"><?php echo $text_review; ?></a></li>
  19. <li><a href="<?php echo $information; ?>"><?php echo $text_information; ?></a></li>
  20. </ul>
  21. </li>
  22. <li id="extension"><a class="parent"><i class="fa fa-puzzle-piece fa-fw"></i> <span><?php echo $text_extension; ?></span></a>
  23. <ul>
  24. <li><a href="<?php echo $installer; ?>"><?php echo $text_installer; ?></a></li>
  25. <li><a href="<?php echo $modification; ?>"><?php echo $text_modification; ?></a></li>
  26. <li><a href="<?php echo $analytics; ?>"><?php echo $text_analytics; ?></a></li>
  27. <li><a href="<?php echo $captcha; ?>"><?php echo $text_captcha; ?></a></li>
  28. <li><a href="<?php echo $feed; ?>"><?php echo $text_feed; ?></a></li>
  29. <li><a href="<?php echo $fraud; ?>"><?php echo $text_fraud; ?></a></li>
  30. <li><a href="<?php echo $module; ?>"><?php echo $text_module; ?></a></li>
  31. <li><a href="<?php echo $payment; ?>"><?php echo $text_payment; ?></a></li>
  32. <li><a href="<?php echo $shipping; ?>"><?php echo $text_shipping; ?></a></li>
  33. <li><a href="<?php echo $total; ?>"><?php echo $text_total; ?></a></li>
  34. <?php if ($openbay_show_menu == 1) { ?>
  35. <li><a class="parent"><?php echo $text_openbay_extension; ?></a>
  36. <ul>
  37. <li><a href="<?php echo $openbay_link_extension; ?>"><?php echo $text_openbay_dashboard; ?></a></li>
  38. <li><a href="<?php echo $openbay_link_orders; ?>"><?php echo $text_openbay_orders; ?></a></li>
  39. <li><a href="<?php echo $openbay_link_items; ?>"><?php echo $text_openbay_items; ?></a></li>
  40. <?php if ($openbay_markets['ebay'] == 1) { ?>
  41. <li><a class="parent"><?php echo $text_openbay_ebay; ?></a>
  42. <ul>
  43. <li><a href="<?php echo $openbay_link_ebay; ?>"><?php echo $text_openbay_dashboard; ?></a></li>
  44. <li><a href="<?php echo $openbay_link_ebay_settings; ?>"><?php echo $text_openbay_settings; ?></a></li>
  45. <li><a href="<?php echo $openbay_link_ebay_links; ?>"><?php echo $text_openbay_links; ?></a></li>
  46. <li><a href="<?php echo $openbay_link_ebay_orderimport; ?>"><?php echo $text_openbay_order_import; ?></a></li>
  47. </ul>
  48. </li>
  49. <?php } ?>
  50. <?php if ($openbay_markets['amazon'] == 1) { ?>
  51. <li><a class="parent"><?php echo $text_openbay_amazon; ?></a>
  52. <ul>
  53. <li><a href="<?php echo $openbay_link_amazon; ?>"><?php echo $text_openbay_dashboard; ?></a></li>
  54. <li><a href="<?php echo $openbay_link_amazon_settings; ?>"><?php echo $text_openbay_settings; ?></a></li>
  55. <li><a href="<?php echo $openbay_link_amazon_links; ?>"><?php echo $text_openbay_links; ?></a></li>
  56. </ul>
  57. </li>
  58. <?php } ?>
  59. <?php if ($openbay_markets['amazonus'] == 1) { ?>
  60. <li><a class="parent"><?php echo $text_openbay_amazonus; ?></a>
  61. <ul>
  62. <li><a href="<?php echo $openbay_link_amazonus; ?>"><?php echo $text_openbay_dashboard; ?></a></li>
  63. <li><a href="<?php echo $openbay_link_amazonus_settings; ?>"><?php echo $text_openbay_settings; ?></a></li>
  64. <li><a href="<?php echo $openbay_link_amazonus_links; ?>"><?php echo $text_openbay_links; ?></a></li>
  65. </ul>
  66. </li>
  67. <?php } ?>
  68. <?php if ($openbay_markets['etsy'] == 1) { ?>
  69. <li><a class="parent"><?php echo $text_openbay_etsy; ?></a>
  70. <ul>
  71. <li><a href="<?php echo $openbay_link_etsy; ?>"><?php echo $text_openbay_dashboard; ?></a></li>
  72. <li><a href="<?php echo $openbay_link_etsy_settings; ?>"><?php echo $text_openbay_settings; ?></a></li>
  73. <li><a href="<?php echo $openbay_link_etsy_links; ?>"><?php echo $text_openbay_links; ?></a></li>
  74. </ul>
  75. </li>
  76. <?php } ?>
  77. </ul>
  78. </li>
  79. <?php } ?>
  80. </ul>
  81. </li>
  82. <li id="design"><a class="parent"><i class="fa fa-television fa-fw"></i> <span><?php echo $text_design; ?></span></a>
  83. <ul>
  84. <li><a href="<?php echo $layout; ?>"><?php echo $text_layout; ?></a></li>
  85. <li><a href="<?php echo $banner; ?>"><?php echo $text_banner; ?></a></li>
  86. </ul>
  87. </li>
  88. <li id="sale"><a class="parent"><i class="fa fa-shopping-cart fa-fw"></i> <span><?php echo $text_sale; ?></span></a>
  89. <ul>
  90. <li><a href="<?php echo $order; ?>"><?php echo $text_order; ?></a></li>
  91. <li><a href="<?php echo $order_recurring; ?>"><?php echo $text_order_recurring; ?></a></li>
  92. <li><a href="<?php echo $return; ?>"><?php echo $text_return; ?></a></li>
  93. <li><a class="parent"><?php echo $text_voucher; ?></a>
  94. <ul>
  95. <li><a href="<?php echo $voucher; ?>"><?php echo $text_voucher; ?></a></li>
  96. <li><a href="<?php echo $voucher_theme; ?>"><?php echo $text_voucher_theme; ?></a></li>
  97. </ul>
  98. </li>
  99. <li><a class="parent"><?php echo $text_paypal ?></a>
  100. <ul>
  101. <li><a href="<?php echo $paypal_search ?>"><?php echo $text_paypal_search ?></a></li>
  102. </ul>
  103. </li>
  104. </ul>
  105. </li>
  106. <li id="customer"><a class="parent"><i class="fa fa-user fa-fw"></i> <span><?php echo $text_customer; ?></span></a>
  107. <ul>
  108. <li><a href="<?php echo $customer; ?>"><?php echo $text_customer; ?></a></li>
  109. <li><a href="<?php echo $customer_group; ?>"><?php echo $text_customer_group; ?></a></li>
  110. <li><a href="<?php echo $custom_field; ?>"><?php echo $text_custom_field; ?></a></li>
  111. </ul>
  112. </li>
  113. <li><a class="parent"><i class="fa fa-share-alt fa-fw"></i> <span><?php echo $text_marketing; ?></span></a>
  114. <ul>
  115. <li><a href="<?php echo $marketing; ?>"><?php echo $text_marketing; ?></a></li>
  116. <li><a href="<?php echo $affiliate; ?>"><?php echo $text_affiliate; ?></a></li>
  117. <li><a href="<?php echo $coupon; ?>"><?php echo $text_coupon; ?></a></li>
  118. <li><a href="<?php echo $contact; ?>"><?php echo $text_contact; ?></a></li>
  119. </ul>
  120. </li>
  121. <li id="system"><a class="parent"><i class="fa fa-cog fa-fw"></i> <span><?php echo $text_system; ?></span></a>
  122. <ul>
  123. <li><a href="<?php echo $setting; ?>"><?php echo $text_setting; ?></a></li>
  124. <li><a class="parent"><?php echo $text_users; ?></a>
  125. <ul>
  126. <li><a href="<?php echo $user; ?>"><?php echo $text_user; ?></a></li>
  127. <li><a href="<?php echo $user_group; ?>"><?php echo $text_user_group; ?></a></li>
  128. <li><a href="<?php echo $api; ?>"><?php echo $text_api; ?></a></li>
  129. </ul>
  130. </li>
  131. <li><a class="parent"><?php echo $text_localisation; ?></a>
  132. <ul>
  133. <li><a href="<?php echo $location; ?>"><?php echo $text_location; ?></a></li>
  134. <li><a href="<?php echo $language; ?>"><?php echo $text_language; ?></a></li>
  135. <li><a href="<?php echo $currency; ?>"><?php echo $text_currency; ?></a></li>
  136. <li><a href="<?php echo $stock_status; ?>"><?php echo $text_stock_status; ?></a></li>
  137. <li><a href="<?php echo $order_status; ?>"><?php echo $text_order_status; ?></a></li>
  138. <li><a class="parent"><?php echo $text_return; ?></a>
  139. <ul>
  140. <li><a href="<?php echo $return_status; ?>"><?php echo $text_return_status; ?></a></li>
  141. <li><a href="<?php echo $return_action; ?>"><?php echo $text_return_action; ?></a></li>
  142. <li><a href="<?php echo $return_reason; ?>"><?php echo $text_return_reason; ?></a></li>
  143. </ul>
  144. </li>
  145. <li><a href="<?php echo $country; ?>"><?php echo $text_country; ?></a></li>
  146. <li><a href="<?php echo $zone; ?>"><?php echo $text_zone; ?></a></li>
  147. <li><a href="<?php echo $geo_zone; ?>"><?php echo $text_geo_zone; ?></a></li>
  148. <li><a class="parent"><?php echo $text_tax; ?></a>
  149. <ul>
  150. <li><a href="<?php echo $tax_class; ?>"><?php echo $text_tax_class; ?></a></li>
  151. <li><a href="<?php echo $tax_rate; ?>"><?php echo $text_tax_rate; ?></a></li>
  152. </ul>
  153. </li>
  154. <li><a href="<?php echo $length_class; ?>"><?php echo $text_length_class; ?></a></li>
  155. <li><a href="<?php echo $weight_class; ?>"><?php echo $text_weight_class; ?></a></li>
  156. </ul>
  157. </li>
  158. <li><a class="parent"><?php echo $text_tools; ?></a>
  159. <ul>
  160. <li><a href="<?php echo $upload; ?>"><?php echo $text_upload; ?></a></li>
  161. <li><a href="<?php echo $backup; ?>"><?php echo $text_backup; ?></a></li>
  162. <li><a href="<?php echo $error_log; ?>"><?php echo $text_error_log; ?></a></li>
  163. </ul>
  164. </li>
  165. </ul>
  166. </li>
  167. <li id="reports"><a class="parent"><i class="fa fa-bar-chart-o fa-fw"></i> <span><?php echo $text_reports; ?></span></a>
  168. <ul>
  169. <li><a class="parent"><?php echo $text_sale; ?></a>
  170. <ul>
  171. <li><a href="<?php echo $report_sale_order; ?>"><?php echo $text_report_sale_order; ?></a></li>
  172. <li><a href="<?php echo $report_sale_tax; ?>"><?php echo $text_report_sale_tax; ?></a></li>
  173. <li><a href="<?php echo $report_sale_shipping; ?>"><?php echo $text_report_sale_shipping; ?></a></li>
  174. <li><a href="<?php echo $report_sale_return; ?>"><?php echo $text_report_sale_return; ?></a></li>
  175. <li><a href="<?php echo $report_sale_coupon; ?>"><?php echo $text_report_sale_coupon; ?></a></li>
  176. </ul>
  177. </li>
  178. <li><a class="parent"><?php echo $text_product; ?></a>
  179. <ul>
  180. <li><a href="<?php echo $report_product_viewed; ?>"><?php echo $text_report_product_viewed; ?></a></li>
  181. <li><a href="<?php echo $report_product_purchased; ?>"><?php echo $text_report_product_purchased; ?></a></li>
  182. </ul>
  183. </li>
  184. <li><a class="parent"><?php echo $text_customer; ?></a>
  185. <ul>
  186. <li><a href="<?php echo $report_customer_online; ?>"><?php echo $text_report_customer_online; ?></a></li>
  187. <li><a href="<?php echo $report_customer_activity; ?>"><?php echo $text_report_customer_activity; ?></a></li>
  188. <li><a href="<?php echo $report_customer_order; ?>"><?php echo $text_report_customer_order; ?></a></li>
  189. <li><a href="<?php echo $report_customer_reward; ?>"><?php echo $text_report_customer_reward; ?></a></li>
  190. <li><a href="<?php echo $report_customer_credit; ?>"><?php echo $text_report_customer_credit; ?></a></li>
  191. </ul>
  192. </li>
  193. <li><a class="parent"><?php echo $text_marketing; ?></a>
  194. <ul>
  195. <li><a href="<?php echo $report_marketing; ?>"><?php echo $text_marketing; ?></a></li>
  196. <li><a href="<?php echo $report_affiliate; ?>"><?php echo $text_report_affiliate; ?></a></li>
  197. <li><a href="<?php echo $report_affiliate_activity; ?>"><?php echo $text_report_affiliate_activity; ?></a></li>
  198. </ul>
  199. </li>
  200. </ul>
  201. </li>
  202. </ul>