module.config.php 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242
  1. <?php
  2. /**
  3. * @version 7.10 [rev.7.10.01]
  4. */
  5. return array(
  6. 'routes' => array(
  7. 'members-register' => array(
  8. 'register',
  9. array(
  10. 'controller' => 'user',
  11. 'action' => 'register',
  12. ),
  13. ),
  14. 'members-login' => array(
  15. 'login',
  16. array(
  17. 'controller' => 'user',
  18. 'action' => 'login',
  19. ),
  20. ),
  21. 'members-logout' => array(
  22. 'logout',
  23. array(
  24. 'controller' => 'user',
  25. 'action' => 'logout',
  26. ),
  27. ),
  28. 'members-forgot-username' => array(
  29. 'forgot-username',
  30. array(
  31. 'controller' => 'user',
  32. 'action' => 'forgot-username',
  33. ),
  34. ),
  35. 'members-forgot-password' => array(
  36. 'forgot-password',
  37. array(
  38. 'controller' => 'user',
  39. 'action' => 'forgot-password',
  40. ),
  41. ),
  42. 'members-index' => array(
  43. 'members-area',
  44. array(
  45. 'controller' => 'summary',
  46. 'action' => 'index',
  47. ),
  48. ),
  49. 'members-messaging-view-topic' => array(
  50. 'members/messaging/topic',
  51. array(
  52. 'controller' => 'messaging',
  53. 'action' => 'topic',
  54. ),
  55. ),
  56. 'members-messaging-create' => array(
  57. 'members/messaging/create',
  58. array(
  59. 'controller' => 'messaging',
  60. 'action' => 'create',
  61. ),
  62. ),
  63. 'members-register-confirm' => array(
  64. 'confirm-registration/:key',
  65. array(
  66. 'controller' => 'user',
  67. 'action' => 'confirm-registration',
  68. ),
  69. ),
  70. 'members-feedback-details' => array(
  71. 'display-feedback/:username',
  72. array(
  73. 'controller' => 'reputation',
  74. 'action' => 'details',
  75. ),
  76. ),
  77. 'members-feedback-details-filter' => array(
  78. 'display-feedback/:username/:filter',
  79. array(
  80. 'controller' => 'reputation',
  81. 'action' => 'details',
  82. ),
  83. ),
  84. // members area page routes (for pages that work similar for more than one action)
  85. 'members-purchases' => array(
  86. 'members/buying/purchases',
  87. array(
  88. 'controller' => 'invoices',
  89. 'action' => 'browse',
  90. 'type' => 'bought',
  91. ),
  92. ),
  93. 'members-sales' => array(
  94. 'members/selling/sales',
  95. array(
  96. 'controller' => 'invoices',
  97. 'action' => 'browse',
  98. 'type' => 'sold',
  99. ),
  100. ),
  101. 'members-buying-offers' => array(
  102. 'members/buying/offers',
  103. array(
  104. 'controller' => 'offers',
  105. 'action' => 'browse',
  106. 'type' => 'buying',
  107. ),
  108. ),
  109. 'members-selling-offers' => array(
  110. 'members/selling/offers',
  111. array(
  112. 'controller' => 'offers',
  113. 'action' => 'browse',
  114. 'type' => 'selling',
  115. ),
  116. ),
  117. 'members-selling-browse' => array(
  118. 'members/selling/browse/:filter',
  119. array(
  120. 'controller' => 'selling',
  121. 'action' => 'browse',
  122. ),
  123. ),
  124. 'members-account-history' => array(
  125. 'members/account/history',
  126. array(
  127. 'controller' => 'account',
  128. 'action' => 'history',
  129. ),
  130. ),
  131. 'members-stores' => array(
  132. 'all-stores',
  133. array(
  134. 'controller' => 'stores',
  135. 'action' => 'index',
  136. ),
  137. ),
  138. 'members-stores-browse' => array(
  139. 'stores/browse',
  140. array(
  141. 'controller' => 'stores',
  142. 'action' => 'browse',
  143. ),
  144. ),
  145. 'members-tools-favorite-stores' => array(
  146. 'members/tools/favorite-stores',
  147. array(
  148. 'controller' => 'tools',
  149. 'action' => 'favorite-stores',
  150. ),
  151. ),
  152. 'members-tools-listings-watch' => array(
  153. 'members/tools/watched-items',
  154. array(
  155. 'controller' => 'tools',
  156. 'action' => 'watched-items',
  157. ),
  158. ),
  159. 'members-tools-bulk-lister' => array(
  160. 'members/tools/bulk-lister',
  161. array(
  162. 'controller' => 'tools',
  163. 'action' => 'bulk-lister',
  164. ),
  165. ),
  166. 'members-store-manage-categories' => array(
  167. 'members/store/categories',
  168. array(
  169. 'controller' => 'store',
  170. 'action' => 'categories',
  171. ),
  172. ),
  173. 'members-digital-download-link' => array(
  174. 'download',
  175. array(
  176. 'controller' => 'buying',
  177. 'action' => 'download',
  178. ),
  179. ),
  180. 'members-newsletter-unsubscribe' => array(
  181. 'unsubscribe',
  182. array(
  183. 'controller' => 'user',
  184. 'action' => 'newsletter-unsubscribe',
  185. ),
  186. ),
  187. 'members-wishlist' => array(
  188. 'wishlist',
  189. array(
  190. 'controller' => 'tools',
  191. 'action' => 'watched-items',
  192. ),
  193. ),
  194. 'members-tools-edit-blocked-user' => array(
  195. 'members/tools/edit-blocked-user',
  196. array(
  197. 'controller' => 'tools',
  198. 'action' => 'edit-blocked-user',
  199. ),
  200. ),
  201. 'members-tools-edit-voucher' => array(
  202. 'members/tools/edit-voucher',
  203. array(
  204. 'controller' => 'tools',
  205. 'action' => 'edit-voucher',
  206. ),
  207. ),
  208. 'members-account-edit-address' => array(
  209. 'members/account/edit-address',
  210. array(
  211. 'controller' => 'account',
  212. 'action' => 'edit-address',
  213. ),
  214. ),
  215. 'members-offers-details' => array(
  216. 'members/offers/details/:type',
  217. array(
  218. 'controller' => 'offers',
  219. 'action' => 'details',
  220. ),
  221. ),
  222. 'members-offers-counter' => array(
  223. 'members/offers/counter/:type/:id',
  224. array(
  225. 'controller' => 'offers',
  226. 'action' => 'counter',
  227. ),
  228. ),
  229. ),
  230. 'view' => array(
  231. 'layouts_path' => __DIR__ . '/../view/layout',
  232. 'views_path' => __DIR__ . '/../view',
  233. 'layout_file' => 'layout.phtml',
  234. ),
  235. );