Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Moving MoP directories into moptools directory/repository for integra…

…ted distribution.
  • Loading branch information...
commit fc2806e6f9492489bac8e4643bb6db3ff89fb311 1 parent 4375a2d
@deepwinter deepwinter authored
Showing with 0 additions and 1,570 deletions.
  1. +0 −10 modules/payment/i18n/en_US/payment.php
  2. +0 −83 modules/payment/i18n/en_US/payment_Trident.php
  3. +0 −36 modules/payment/i18n/en_US/payment_Trustcommerce.php
  4. +0 −123 modules/payment/libraries/Payment.php
  5. +0 −28 modules/payment/libraries/drivers/Payment.php
  6. +0 −150 modules/payment/libraries/drivers/Payment/Authorize.php
  7. +0 −464 modules/payment/libraries/drivers/Payment/Paypal.php
  8. +0 −229 modules/payment/libraries/drivers/Payment/Paypalpro.php
  9. +0 −134 modules/payment/libraries/drivers/Payment/Trident.php
  10. +0 −137 modules/payment/libraries/drivers/Payment/Trustcommerce.php
  11. +0 −176 modules/payment/libraries/drivers/Payment/Yourpay.php
  12. 0  {modules → moptools}/mopcms/classes/controller/associator.php
  13. 0  {modules → moptools}/mopcms/classes/controller/cms.php
  14. 0  {modules → moptools}/mopcms/classes/controller/cms_file.php
  15. 0  {modules → moptools}/mopcms/classes/controller/list.php
  16. 0  {modules → moptools}/mopcms/classes/model/association.php
  17. 0  {modules → moptools}/mopcms/classes/model/content.php
  18. 0  {modules → moptools}/mopcms/classes/model/file.php
  19. 0  {modules → moptools}/mopcms/classes/model/fileimage.php
  20. 0  {modules → moptools}/mopcms/classes/model/list.php
  21. 0  {modules → moptools}/mopcms/classes/model/objectmap.php
  22. 0  {modules → moptools}/mopcms/classes/model/page.php
  23. 0  {modules → moptools}/mopcms/classes/model/template.php
  24. 0  {modules → moptools}/mopcms/classes/mop/.cms.php.swp
  25. 0  {modules → moptools}/mopcms/classes/mop/cms.php
  26. 0  {modules → moptools}/mopcms/classes/mop/cmsinterface.php
  27. 0  {modules → moptools}/mopcms/classes/mopcms.php
  28. 0  {modules/mopui → moptools/mopcms}/config/clusters.xml
  29. 0  {modules → moptools}/mopcms/config/cms.php
  30. 0  {modules → moptools}/mopcms/config/cmsModules.dtd
  31. 0  {modules → moptools}/mopcms/config/cmsModules.xml
  32. 0  {modules → moptools}/mopcms/config/cms_templates.php
  33. 0  {modules → moptools}/mopcms/config/list.php
  34. 0  {modules → moptools}/mopcms/config/mop_cms.php
  35. 0  {modules → moptools}/mopcms/init.php
  36. 0  {modules → moptools}/mopcms/views/css/mop_cms.css
  37. 0  {modules/mopui/views/images → moptools/mopcms/views}/icon_doc.gif
  38. 0  {modules/mopcms/views/images → moptools/mopcms/views/images/admin}/bg_row.gif
  39. 0  {modules/mopcms/views/images → moptools/mopcms/views/images/admin}/bg_row_alt.gif
  40. 0  {modules/mopcms/views/images → moptools/mopcms/views/images/admin}/bg_white60.png
  41. 0  {modules/mopcms/views/images → moptools/mopcms/views/images/admin}/bg_white80.png
  42. 0  {modules/mopcms/views/images → moptools/mopcms/views/images/admin}/bgk80.png
  43. 0  {modules/mopcms/views/images → moptools/mopcms/views/images/admin}/bgk88.png
  44. 0  {modules/mopcms/views/images → moptools/mopcms/views/images/admin}/bgk90.png
  45. 0  {modules/mopcms/views/images → moptools/mopcms/views/images/admin}/bgk94.png
  46. 0  {modules/mopcms/views/images → moptools/mopcms/views/images/admin}/icon_add_category.gif
  47. 0  {modules/mopcms/views/images → moptools/mopcms/views/images/admin}/icon_addpage.gif
  48. 0  {modules/mopcms/views/images → moptools/mopcms/views/images/admin}/icon_addpage.jpg
  49. 0  {modules/mopcms/views/images → moptools/mopcms/views/images/admin}/icon_cancel.gif
  50. 0  {modules/mopcms/views/images → moptools/mopcms/views/images/admin}/icon_cancel.png
  51. 0  {modules/mopcms/views/images → moptools/mopcms/views/images/admin}/icon_cancel_hover.png
  52. 0  {modules/mopcms/views/images → moptools/mopcms/views/images/admin}/icon_confirm.gif
  53. 0  {modules/mopcms/views/images → moptools/mopcms/views/images/admin}/icon_confirm.png
  54. 0  {modules/mopcms/views/images → moptools/mopcms/views/images/admin}/icon_confirm_hover.png
  55. 0  {modules/mopcms/views/images → moptools/mopcms/views/images/admin}/icon_delete.gif
  56. 0  {modules/mopcms/views/images → moptools/mopcms/views/images/admin}/icon_delete.png
  57. 0  {modules/mopcms/views/images → moptools/mopcms/views/images/admin}/icon_delete_hover.png
  58. 0  {modules/mopcms/views/images → moptools/mopcms/views/images/admin}/icon_download.png
  59. 0  {modules/mopcms/views/images → moptools/mopcms/views/images/admin}/icon_folder.gif
  60. 0  {modules/mopcms/views/images → moptools/mopcms/views/images/admin}/icon_folder_hover.gif
  61. 0  {modules/mopcms/views/images → moptools/mopcms/views/images/admin}/icon_folderadd.gif
  62. 0  {modules/mopcms/views/images → moptools/mopcms/views/images/admin}/icon_folderadd_hover.gif
  63. 0  {modules/mopcms/views/images → moptools/mopcms/views/images/admin}/icon_folderopen.gif
  64. 0  {modules/mopcms/views/images → moptools/mopcms/views/images/admin}/icon_folderopen_hover.gif
  65. 0  {modules/mopcms/views/images → moptools/mopcms/views/images/admin}/icon_gif.gif
  66. 0  {modules/mopcms/views/images → moptools/mopcms/views/images/admin}/icon_jpg.gif
  67. 0  {modules/mopcms/views/images → moptools/mopcms/views/images/admin}/icon_none.gif
  68. 0  {modules/mopcms/views/images → moptools/mopcms/views/images/admin}/icon_pdf.gif
  69. 0  {modules/mopcms/views/images → moptools/mopcms/views/images/admin}/icon_png.gif
  70. 0  {modules/mopcms/views/images → moptools/mopcms/views/images/admin}/icon_published.gif
  71. 0  {modules/mopcms/views/images → moptools/mopcms/views/images/admin}/icon_published_hover.gif
  72. 0  {modules/mopcms/views/images → moptools/mopcms/views/images/admin}/icon_sort.png
  73. 0  {modules/mopcms/views/images → moptools/mopcms/views/images/admin}/icon_sort_hover.png
  74. 0  {modules/mopcms/views/images → moptools/mopcms/views/images/admin}/icon_trash.gif
  75. 0  {modules/mopcms/views/images → moptools/mopcms/views/images/admin}/icon_unpublished.gif
  76. 0  {modules/mopcms/views/images → moptools/mopcms/views/images/admin}/icon_unpublished_hover.gif
  77. 0  {modules/mopcms/views/images → moptools/mopcms/views/images/admin}/icon_upload.png
  78. 0  {modules/mopcms/views/images → moptools/mopcms/views/images/admin}/icon_view.png
  79. 0  {modules/mopcms/views/images → moptools/mopcms/views/images/admin}/navbg.gif
  80. 0  {modules/mopui/views/images → moptools/mopcms/views/images/admin}/spinner.gif
  81. 0  {modules/mopcms/views/images → moptools/mopcms/views/images/admin}/switch_handle.png
  82. 0  {modules/mopcms/views/images → moptools/mopcms/views/images/admin}/switch_track.png
  83. 0  {modules → moptools}/mopcms/views/images/bar.gif
  84. 0  {modules/mopcms/views/images/admin → moptools/mopcms/views/images}/bg_row.gif
  85. 0  {modules/mopcms/views/images/admin → moptools/mopcms/views/images}/bg_row_alt.gif
  86. 0  {modules/mopcms/views/images/admin → moptools/mopcms/views/images}/bg_white60.png
  87. 0  {modules/mopcms/views/images/admin → moptools/mopcms/views/images}/bg_white80.png
  88. 0  {modules/mopcms/views/images/admin → moptools/mopcms/views/images}/bgk80.png
  89. 0  {modules/mopcms/views/images/admin → moptools/mopcms/views/images}/bgk88.png
  90. 0  {modules/mopcms/views/images/admin → moptools/mopcms/views/images}/bgk90.png
  91. 0  {modules/mopcms/views/images/admin → moptools/mopcms/views/images}/bgk94.png
  92. 0  {modules → moptools}/mopcms/views/images/failed.png
  93. 0  {modules → moptools}/mopcms/views/images/file.png
  94. 0  {modules → moptools}/mopcms/views/images/guideBg.gif
  95. 0  {modules/mopcms/views/images/admin → moptools/mopcms/views/images}/icon_add_category.gif
  96. 0  {modules/mopcms/views/images/admin → moptools/mopcms/views/images}/icon_addpage.gif
  97. 0  {modules/mopcms/views/images/admin → moptools/mopcms/views/images}/icon_addpage.jpg
  98. 0  {modules/mopcms/views/images/admin → moptools/mopcms/views/images}/icon_cancel.gif
  99. 0  {modules/mopcms/views/images/admin → moptools/mopcms/views/images}/icon_cancel.png
  100. 0  {modules/mopcms/views/images/admin → moptools/mopcms/views/images}/icon_cancel_hover.png
  101. 0  {modules/mopcms/views/images/admin → moptools/mopcms/views/images}/icon_confirm.gif
  102. 0  {modules/mopcms/views/images/admin → moptools/mopcms/views/images}/icon_confirm.png
  103. 0  {modules/mopcms/views/images/admin → moptools/mopcms/views/images}/icon_confirm_hover.png
  104. 0  {modules/mopcms/views/images/admin → moptools/mopcms/views/images}/icon_delete.gif
  105. 0  {modules/mopcms/views/images/admin → moptools/mopcms/views/images}/icon_delete.png
  106. 0  {modules/mopcms/views/images/admin → moptools/mopcms/views/images}/icon_delete_hover.png
  107. 0  {modules → moptools}/mopcms/views/images/icon_doc.gif
  108. 0  {modules/mopcms/views/images/admin → moptools/mopcms/views/images}/icon_download.png
  109. 0  {modules/mopcms/views/images/admin → moptools/mopcms/views/images}/icon_folder.gif
  110. 0  {modules/mopcms/views/images/admin → moptools/mopcms/views/images}/icon_folder_hover.gif
  111. 0  {modules/mopcms/views/images/admin → moptools/mopcms/views/images}/icon_folderadd.gif
  112. 0  {modules/mopcms/views/images/admin → moptools/mopcms/views/images}/icon_folderadd_hover.gif
  113. 0  {modules/mopcms/views/images/admin → moptools/mopcms/views/images}/icon_folderopen.gif
  114. 0  {modules/mopcms/views/images/admin → moptools/mopcms/views/images}/icon_folderopen_hover.gif
  115. 0  {modules/mopcms/views/images/admin → moptools/mopcms/views/images}/icon_gif.gif
  116. 0  {modules/mopcms/views/images/admin → moptools/mopcms/views/images}/icon_jpg.gif
  117. 0  {modules/mopcms/views/images/admin → moptools/mopcms/views/images}/icon_none.gif
  118. 0  {modules/mopcms/views/images/admin → moptools/mopcms/views/images}/icon_pdf.gif
  119. 0  {modules/mopcms/views/images/admin → moptools/mopcms/views/images}/icon_png.gif
  120. 0  {modules/mopcms/views/images/admin → moptools/mopcms/views/images}/icon_published.gif
  121. 0  {modules/mopcms/views/images/admin → moptools/mopcms/views/images}/icon_published_hover.gif
  122. 0  {modules/mopcms/views/images/admin → moptools/mopcms/views/images}/icon_sort.png
  123. 0  {modules/mopcms/views/images/admin → moptools/mopcms/views/images}/icon_sort_hover.png
  124. 0  {modules/mopcms/views/images/admin → moptools/mopcms/views/images}/icon_trash.gif
  125. 0  {modules/mopcms/views/images/admin → moptools/mopcms/views/images}/icon_unpublished.gif
  126. 0  {modules/mopcms/views/images/admin → moptools/mopcms/views/images}/icon_unpublished_hover.gif
  127. 0  {modules/mopcms/views/images/admin → moptools/mopcms/views/images}/icon_upload.png
  128. 0  {modules/mopcms/views/images/admin → moptools/mopcms/views/images}/icon_view.png
  129. 0  {modules/mopcms/views/images/admin → moptools/mopcms/views/images}/navbg.gif
  130. 0  {modules → moptools}/mopcms/views/images/progress.gif
  131. 0  {modules → moptools}/mopcms/views/images/spinner.gif
  132. 0  {modules → moptools}/mopcms/views/images/success.png
  133. 0  {modules/mopcms/views/images/admin → moptools/mopcms/views/images}/switch_handle.png
  134. 0  {modules/mopcms/views/images/admin → moptools/mopcms/views/images}/switch_track.png
  135. 0  {modules → moptools}/mopcms/views/images/uploading.png
  136. 0  {modules → moptools}/mopcms/views/js/list.js
  137. 0  {modules → moptools}/mopcms/views/js/mop_associator.js
  138. 0  {modules → moptools}/mopcms/views/js/mop_cms.js
  139. 0  {modules → moptools}/mopcms/views/list.php
  140. 0  {modules → moptools}/mopcms/views/list_item.php
  141. 0  {modules → moptools}/mopcms/views/mop_associator.php
  142. 0  {modules → moptools}/mopcms/views/mop_cms.php
  143. 0  {modules → moptools}/mopcms/views/mop_cms_nodetitle.php
  144. 0  {modules → moptools}/mopcms/views/mop_cms_undelete.php
  145. 0  {modules → moptools}/mopcore/classes/controller/ajax.php
  146. 0  {modules → moptools}/mopcore/classes/controller/footer.php
  147. 0  {modules → moptools}/mopcore/classes/controller/header.php
  148. 0  {modules → moptools}/mopcore/classes/controller/headerfooter.php
  149. 0  {modules → moptools}/mopcore/classes/controller/html.php
  150. 0  {modules → moptools}/mopcore/classes/controller/layout.php
  151. 0  {modules → moptools}/mopcore/classes/controller/mop.php
  152. 0  {modules → moptools}/mopcore/classes/controller/test.php
  153. 0  {modules → moptools}/mopcore/classes/frontend.php
  154. 0  {modules → moptools}/mopcore/classes/helper/mop.php
  155. 0  {modules → moptools}/mopcore/classes/mop.php
  156. 0  {modules → moptools}/mopcore/classes/moputil.php
  157. 0  {modules → moptools}/mopcore/classes/response.php
  158. 0  {modules → moptools}/mopcore/config/LayoutAdmin.php
  159. 0  {modules → moptools}/mopcore/config/data.dtd
  160. 0  {modules → moptools}/mopcore/config/frontend.dtd
  161. 0  {modules → moptools}/mopcore/config/homepagesample.txt
  162. 0  {modules → moptools}/mopcore/config/mop.php
  163. 0  {modules → moptools}/mopcore/config/objects.dtd
  164. 0  {modules → moptools}/mopcore/config/test.php
  165. 0  {modules → moptools}/mopcore/init.php
  166. 0  {modules → moptools}/mopcore/views/LayoutAdmin.php
  167. 0  {modules → moptools}/mopcore/views/LayoutPublic.php
  168. 0  {modules → moptools}/mopcore/views/adminpage.php
  169. 0  {modules → moptools}/mopcore/views/css/test.css
  170. 0  {modules → moptools}/mopcore/views/footer_admin.php
  171. 0  {modules → moptools}/mopcore/views/footer_public.php
  172. 0  {modules → moptools}/mopcore/views/header_admin.php
  173. 0  {modules → moptools}/mopcore/views/header_public.php
  174. 0  {modules → moptools}/mopcore/views/js/test.js
  175. 0  {modules → moptools}/mopextras/classes/controller/keepalive.php
  176. 0  {modules → moptools}/mopextras/classes/controller/mopauth.php
  177. 0  {modules → moptools}/mopextras/views/auth/forgot.php
  178. 0  {modules → moptools}/mopextras/views/auth/install.php
  179. 0  {modules → moptools}/mopextras/views/auth/template.php
  180. 0  {modules → moptools}/mopextras/views/logged_in_as.php
  181. 0  {modules → moptools}/mopextras/views/noaccess.php
  182. 0  {modules → moptools}/mopfrontend/classes/controller/mopfrontend.php
  183. 0  {modules → moptools}/mopfrontend/classes/controller/publicmenu.php
  184. 0  {modules → moptools}/mopfrontend/config/mopfrontend.php
  185. 0  {modules → moptools}/mopfrontend/init.php
  186. 0  {modules → moptools}/mopfrontend/views/publicnav.php
  187. 0  {modules/mop → moptools/mopjs}/MoPCore.js
  188. 0  {modules/mop → moptools/mopjs}/MoPModules.js
  189. 0  {modules/mop → moptools/mopjs}/MoPUI.js
  190. 0  {modules/mop → moptools/mopjs}/thirdparty/960Grid/960.css
  191. 0  {modules/mop → moptools/mopjs}/thirdparty/960Grid/reset.css
  192. 0  {modules/mop → moptools/mopjs}/thirdparty/960Grid/text.css
  193. 0  {modules/mop → moptools/mopjs}/thirdparty/digitarald/fancyupload/Swiff.Uploader.js
  194. 0  {modules/mop → moptools/mopjs}/thirdparty/digitarald/fancyupload/Swiff.Uploader.swf
  195. 0  {modules/mop → moptools/mopjs}/thirdparty/digitarald/fancyupload/Swiff.Uploader3.swf
  196. 0  {modules/mop → moptools/mopjs}/thirdparty/digitarald/fancyupload/source/Swiff.Uploader.fla
  197. 0  {modules/mop → moptools/mopjs}/thirdparty/monkeyphysics/datepicker.js
  198. 0  {modules/mop → moptools/mopjs}/thirdparty/mootools/mootools-more.js
  199. 0  {modules/mop → moptools/mopjs}/thirdparty/mootools/mootools.js
  200. 0  {modules → moptools}/mopui/classes/mopui.php
  201. 0  {modules/mopcms → moptools/mopui}/config/clusters.xml
  202. 0  {modules → moptools}/mopui/helpers/listModulePagination.php
  203. 0  {modules → moptools}/mopui/helpers/mopui.php
  204. 0  {modules → moptools}/mopui/helpers/pagination.php
  205. 0  {modules → moptools}/mopui/helpers/pagination_base.php
  206. 0  {modules → moptools}/mopui/views/clusters_wrapper.php
  207. 0  {modules → moptools}/mopui/views/images/iconDatePicker.gif
  208. 0  {modules → moptools}/mopui/views/images/iconDuplicate.gif
  209. 0  {modules → moptools}/mopui/views/images/iconEdit.gif
  210. 0  {modules → moptools}/mopui/views/images/iconExternalLink.gif
  211. 0  {modules → moptools}/mopui/views/images/iconMultiSelect.gif
  212. 0  {modules → moptools}/mopui/views/images/iconPayment.gif
  213. 0  {modules → moptools}/mopui/views/images/iconRenew.gif
  214. 0  {modules → moptools}/mopui/views/images/iconTrash.gif
  215. 0  {modules/mopcms/views → moptools/mopui/views/images}/icon_doc.gif
  216. 0  {modules → moptools}/mopui/views/images/optionBg.png
  217. 0  {modules/mopcms/views/images/admin → moptools/mopui/views/images}/spinner.gif
  218. 0  {modules → moptools}/mopui/views/images/stickyBg.png
  219. 0  {modules → moptools}/mopui/views/images/stickyBottom.png
  220. 0  {modules → moptools}/mopui/views/images/stickyClose.gif
  221. 0  {modules → moptools}/mopui/views/images/stickyTop.png
  222. 0  {modules → moptools}/mopui/views/pagination/paginationControls.php
  223. 0  {modules → moptools}/mopui/views/ui_checkbox.php
  224. 0  {modules → moptools}/mopui/views/ui_date.php
  225. 0  {modules → moptools}/mopui/views/ui_dateRange.php
  226. 0  {modules → moptools}/mopui/views/ui_fieldmap.php
  227. 0  {modules → moptools}/mopui/views/ui_file.php
  228. 0  {modules → moptools}/mopui/views/ui_image.php
  229. 0  {modules → moptools}/mopui/views/ui_input.php
  230. 0  {modules → moptools}/mopui/views/ui_multiSelect.php
  231. 0  {modules → moptools}/mopui/views/ui_pulldown.php
  232. 0  {modules → moptools}/mopui/views/ui_pulldownNav.php
  233. 0  {modules → moptools}/mopui/views/ui_radioGroup.php
  234. 0  {modules → moptools}/mopui/views/ui_text.php
  235. 0  {modules → moptools}/mopui/views/ui_time.php
View
10 modules/payment/i18n/en_US/payment.php
@@ -1,10 +0,0 @@
-<?php defined('SYSPATH') or die('No direct access allowed.');
-
-$lang = array
-(
- 'required' => 'Some required fields were not supplied: %s',
- 'gateway_connection_error' => 'An error occured connecting to the payment gateway. Please contact the webmaster if this problem persists.',
- 'invalid_certificate' => 'The certificate file is invalid: %s',
- 'no_dlib' => 'Could not load the dynamic library: %s',
- 'error' => 'There was an error processing the transaction: %s',
-);
View
83 modules/payment/i18n/en_US/payment_Trident.php
@@ -1,83 +0,0 @@
-<?php defined('SYSPATH') or die('No direct access allowed.');
-
-$lang = array
-(
- '000' => 'No errors - Transaction Approved.',
- '001' => 'Call',
- '002' => 'Call',
- '003' => 'Merch Id Error',
- '004' => 'Hold-call or Pick Up Card',
- '005' => 'Decline. Do not honor.',
- '006' => 'General Transaction Error.',
- '007' => 'Hold-call or Pick Up Card',
- '012' => 'Invalid Trans',
- '013' => 'Amount Error',
- '014' => 'Card No. Error',
- '015' => 'No Such Issuer',
- '019' => 'Communication error with Visa. Customer should retry.',
- '021' => 'No Action Taken',
- '041' => 'Hold-call or Pick Up Card',
- '043' => 'Hold-call or Pick Up Card',
- '051' => 'Decline. Insufficient funds.',
- '054' => 'Expired Card',
- '055' => 'Serv Not Allowed',
- '058' => 'Serv Not Allowed',
- '062' => 'Decline. Invalid service code, restricted.',
- '063' => 'Sec Violation',
- '065' => 'Decline. Activity limit exceeded.',
- '076' => 'Unsolic Reversal',
- '077' => 'No Action Taken. Reversal amount larger then original amount.',
- '078' => 'No Account',
- '079' => 'Already Reversed',
- '080' => 'Date Error',
- '082' => 'Incorrect CVV',
- '085' => 'Card OK. No reason to decline.',
- '091' => 'No Reply',
- '092' => 'Invalid Routing',
- '093' => 'Decline. Violation, cannot complete.',
- '094' => 'Duplicate Trans',
- '096' => 'System Error. System malfunction. A bug in Trident. Escalate issue to developers.',
- '0N7' => 'CVV2 Mismatch',
- '101' => 'Invalid Profile ID or Profile Key.',
- '102' => 'Incomplete Request.',
- '103' => 'Invoice Number Length Error.',
- '104' => 'Reference Number Length Error.',
- '105' => 'AVS Address Length Error.',
- '106' => 'AVS Zip Length Error.',
- '107' => 'Merchant Name Length Error.',
- '108' => 'Merchant City Length Error.',
- '109' => 'Merchant State Length Error.',
- '110' => 'Merchant Zip Length Error.',
- '111' => 'Merchant Category Code Length Error.',
- '112' => 'Merchant Phone Length Error.',
- '113' => 'Reference Number Must Be Numeric.',
- '114' => 'Missing Card Holder Account Data.',
- '115' => 'Invalid Card Number.',
- '116' => 'Credits Not Allowed.',
- '117' => 'Card Type Not Accepted.',
- '118' => 'Currency Type Not Accepted.',
- '201' => 'Invalid Transaction ID.',
- '202' => 'Invalid Transaction Amount.',
- '203' => 'Void Failed.',
- '204' => 'Transaction Already Settled.',
- '205' => 'Transaction Already Voided.',
- '206' => 'Transaction Already refunded.',
- '207' => 'Refund failed.',
- '208' => 'Failed to receive a response from auth host.',
- '209' => 'Invalid tax amount.',
- '210' => 'AVS result is declined by user.',
- '211' => 'CVV2 result is declined by user.',
- '212' => 'Refund amount must be between zero and the original amount.',
- '213' => 'Only sale transactions can be refunded.',
- '214' => 'Only one type of card data allowed per request.',
- '215' => 'Invalid Card ID.',
- '216' => 'Failed to load card data, retry request.',
- '217' => 'Failed to store card data, retry request.',
- '218' => 'Card ID parameter cannot be included in this type of transaction.',
- '300' => 'Failed to capture PayVision transaction.',
- '301' => 'Failed to void PayVision transaction.',
- '302' => 'Failed to refund PayVision transaction.',
- '303' => 'Card Verify not supported.',
- '304' => 'Failed to reverse PayVision authorization.',
- '305' => 'Internal Error.'
-);
View
36 modules/payment/i18n/en_US/payment_Trustcommerce.php
@@ -1,36 +0,0 @@
-<?php defined('SYSPATH') or die('No direct access allowed.');
-
-$lang = array
-(
- 'decline' => array
- (
- 'avs' => 'AVS failed; the address entered does not match the billing address on file at the bank.',
- 'cvv' => 'CVV failed; the number provided is not the correct verification number for the card.',
- 'call' => 'The card must be authorized manually over the phone. You may choose to call the customer service number listed on the card and ask for an offline authcode, which can be passed in the offlineauthcode field.',
- 'expiredcard' => 'The card has expired. Get updated expiration date from cardholder.',
- 'carderror' => 'Card number is invalid, which could be a typo, or sometimes a card reported stolen.',
- 'authexpired' => 'Attempt to postauth an expired (more than 14 days old) preauth.',
- 'fraud' => 'CrediGuard fraud score was below requested threshold.',
- 'blacklist' => 'CrediGuard blacklist value was triggered.',
- 'velocity' => 'CrediGuard velocity control was triggered.',
- 'dailylimit' => 'Daily limit in transaction count or amount as been reached.',
- 'weeklylimit' => 'Weekly limit in transaction count or amount as been reached.',
- 'monthlylimit' => 'Monthly limit in transaction count or amount as been reached.',
- ),
- 'baddata' => array
- (
- 'missingfields' => 'One or more parameters required for this transaction type were not sent.',
- 'extrafields' => 'Parameters not allowed for this transaction type were sent.',
- 'badformat' => 'A field was improperly formatted, such as non-digit characters in a number field.',
- 'badlength' => 'A field was longer or shorter than the server allows.',
- 'merchantcantaccept' => 'The merchant can\'t accept data passed in this field.',
- 'mismatch' => 'Data in one of the offending fields did not cross-check with the other offending field.',
- ),
- 'error' => array
- (
- 'cantconnect' => 'Couldn\'t connect to the TrustCommerce gateway. Check your Internet connection to make sure it is up.',
- 'dnsfailure' => 'The TCLink software was unable to resolve DNS hostnames. Make sure you have name resolving ability on the machine.',
- 'linkfailure' => 'The connection was established, but was severed before the transaction could complete.',
- 'failtoprocess' => 'The bank servers are offline and unable to authorize transactions. Try again in a few minutes, or try a card from a different issuing bank.',
- )
-);
View
123 modules/payment/libraries/Payment.php
@@ -1,123 +0,0 @@
-<?php defined('SYSPATH') or die('No direct script access.');
-/**
- * Provides payment support for credit cards and other providers like PayPal.
- *
- * $Id: Payment.php 3163 2008-07-20 16:15:31Z Shadowhand $
- *
- * @package Payment
- * @author Kohana Team
- * @copyright (c) 2007-2008 Kohana Team
- * @license http://kohanaphp.com/license.html
- */
-class Payment_Core {
-
- // Configuration
- protected $config = array
- (
- // The driver string
- 'driver' => NULL,
- // Test mode is set to true by default
- 'test_mode' => TRUE,
- );
-
- protected $driver = NULL;
-
- /**
- * Sets the payment processing fields.
- * The driver will translate these into the specific format for the provider.
- * Standard fields are (Providers may have additional or different fields):
- *
- * card_num
- * exp_date
- * cvv
- * description
- * amount
- * tax
- * shipping
- * first_name
- * last_name
- * company
- * address
- * city
- * state
- * zip
- * email
- * phone
- * fax
- * ship_to_first_name
- * ship_to_last_name
- * ship_to_company
- * ship_to_address
- * ship_to_city
- * ship_to_state
- * ship_to_zip
- *
- * @param array the driver string
- */
- public function __construct($config = array())
- {
- if (empty($config))
- {
- // Load the default group
- $config = Kohana::config('payment.default');
- }
- elseif (is_string($config))
- {
- $this->config['driver'] = $config;
- }
-
- // Merge the default config with the passed config
- is_array($config) AND $this->config = array_merge($this->config, $config);
-
- // Set driver name
- $driver = 'Payment_'.ucfirst($this->config['driver']).'_Driver';
-
- // Load the driver
- if ( ! Kohana::auto_load($driver))
- throw new Kohana_Exception('core.driver_not_found', $this->config['driver'], get_class($this));
-
- // Get the driver specific settings
- $this->config = array_merge($this->config, Kohana::config('payment.'.$this->config['driver']));
-
- // Initialize the driver
- $this->driver = new $driver($this->config);
-
- // Validate the driver
- if ( ! ($this->driver instanceof Payment_Driver))
- throw new Kohana_Exception('core.driver_implements', $this->config['driver'], get_class($this), 'Payment_Driver');
- }
-
- /**
- * Sets the credit card processing fields
- *
- * @param string field name
- * @param string value
- */
- public function __set($name, $val)
- {
- $this->driver->set_fields(array($name => $val));
- }
-
- /**
- * Bulk setting of payment processing fields.
- *
- * @param array array of values to set
- * @return object this object
- */
- public function set_fields($fields)
- {
- $this->driver->set_fields((array) $fields);
-
- return $this;
- }
-
- /**
- * Runs the transaction
- *
- * @return TRUE|string TRUE on successful payment, an error string on failure
- */
- public function process()
- {
- return $this->driver->process();
- }
-}
View
28 modules/payment/libraries/drivers/Payment.php
@@ -1,28 +0,0 @@
-<?php defined('SYSPATH') or die('No direct script access.');
-/**
- * Payment driver interface
- *
- * $Id: Payment.php 3108 2008-07-14 00:01:27Z Shadowhand $
- *
- * @package Payment
- * @author Kohana Team
- * @copyright (c) 2007-2008 Kohana Team
- * @license http://kohanaphp.com/license.html
- */
-interface Payment_Driver {
-
- /**
- * Sets driver fields and marks reqired fields as TRUE.
- *
- * @param array array of key => value pairs to set
- */
- public function set_fields($fields);
-
- /**
- * Runs the transaction.
- *
- * @return boolean
- */
- public function process();
-
-} // End Payment Driver Interface
View
150 modules/payment/libraries/drivers/Payment/Authorize.php
@@ -1,150 +0,0 @@
-<?php defined('SYSPATH') or die('No direct script access.');
-/**
- * Authorize.net Payment Driver
- *
- * $Id: Authorize.php 3163 2008-07-20 16:15:31Z Shadowhand $
- *
- * @package Payment
- * @author Kohana Team
- * @copyright (c) 2007-2008 Kohana Team
- * @license http://kohanaphp.com/license.html
- */
-class Payment_Authorize_Driver implements Payment_Driver
-{
- // Fields required to do a transaction
- private $required_fields = array
- (
- 'x_login' => FALSE,
- 'x_version' => TRUE,
- 'x_delim_char' => TRUE,
- 'x_url' => TRUE,
- 'x_type' => TRUE,
- 'x_method' => TRUE,
- 'x_tran_key' => FALSE,
- 'x_relay_response' => TRUE,
- 'x_card_num' => FALSE,
- 'x_expiration_date' => FALSE,
- 'x_amount' => FALSE,
- );
-
- // Default required values
- private $authnet_values = array
- (
- 'x_version' => '3.1',
- 'x_delim_char' => '|',
- 'x_delim_data' => 'TRUE',
- 'x_url' => 'FALSE',
- 'x_type' => 'AUTH_CAPTURE',
- 'x_method' => 'CC',
- 'x_relay_response' => 'FALSE',
- );
-
- private $test_mode = TRUE;
-
- /**
- * Sets the config for the class.
- *
- * @param array config passed from the library
- */
- public function __construct($config)
- {
- $this->authnet_values['x_login'] = $config['auth_net_login_id'];
- $this->authnet_values['x_tran_key'] = $config['auth_net_tran_key'];
- $this->required_fields['x_login'] = !empty($config['auth_net_login_id']);
- $this->required_fields['x_tran_key'] = !empty($config['auth_net_tran_key']);
-
- $this->curl_config = $config['curl_config'];
- $this->test_mode = $config['test_mode'];
-
- Kohana::log('debug', 'Authorize.net Payment Driver Initialized');
- }
-
- public function set_fields($fields)
- {
- foreach ((array) $fields as $key => $value)
- {
- // Do variable translation
- switch ($key)
- {
- case 'exp_date':
- $key = 'expiration_date';
- break;
- default:
- break;
- }
-
- $this->authnet_values['x_'.$key] = $value;
- if (array_key_exists('x_'.$key, $this->required_fields) and !empty($value)) $this->required_fields['x_'.$key] = TRUE;
- }
- }
-
- public function process()
- {
- // Check for required fields
- if (in_array(FALSE, $this->required_fields))
- {
- $fields = array();
- foreach ($this->required_fields as $key => $field)
- {
- if (!$field) $fields[] = $key;
- }
- throw new Kohana_Exception('payment.required', implode(', ', $fields));
- }
-
- $fields = '';
- foreach ( $this->authnet_values as $key => $value )
- {
- $fields .= $key.'='.urlencode($value).'&';
- }
-
- $post_url = ($this->test_mode) ?
- 'https://certification.authorize.net/gateway/transact.dll' : // Test mode URL
- 'https://secure.authorize.net/gateway/transact.dll'; // Live URL
-
- $ch = curl_init($post_url);
-
- // Set custom curl options
- curl_setopt_array($ch, $this->curl_config);
-
- // Set the curl POST fields
- curl_setopt($ch, CURLOPT_POSTFIELDS, rtrim($fields, '& '));
-
- //execute post and get results
- $resp = curl_exec($ch);
- curl_close ($ch);
- if (!$resp)
- throw new Kohana_Exception('payment.gateway_connection_error');
-
- // This could probably be done better, but it's taken right from the Authorize.net manual
- // Need testing to opimize probably
- $h = substr_count($resp, '|');
-
- for ($j=1; $j <= $h; $j++)
- {
- $p = strpos($resp, '|');
-
- if ($p !== FALSE)
- {
- $pstr = substr($text, 0, $p);
-
- $pstr_trimmed = substr($pstr, 0, -1); // removes "|" at the end
-
- if ($pstr_trimmed=='')
- {
- throw new Kohana_Exception('payment.gateway_connection_error');
- }
-
- switch ($j)
- {
- case 1:
- if ($pstr_trimmed=='1') // Approved
- return TRUE;
- else
- return FALSE;
- default:
- return FALSE;
- }
- }
- }
- }
-} // End Payment_Authorize_Driver Class
View
464 modules/payment/libraries/drivers/Payment/Paypal.php
@@ -1,464 +0,0 @@
-<?php defined('SYSPATH') or die('No direct script access.');
-/**
- * Paypal Payment Driver. Express Checkout transactions consist of 3 stages with
- * a separate API call for each: SetExpressCheckout, GetExpressCheckout (optional)
- * and DoExpressCheckout. This class has a corresponding array of fields for each
- * call these are used to construct the required name value pairs for the request
- * to each API call.
- *
- * $Id: Paypal.php 1978 2008-03-25 12:05:32GMT by atomless -
- *
- *
- * @package Payment
- * @author Kohana Team
- * @copyright (c) 2007-2008 Kohana Team
- * @license http://kohanaphp.com/license.html
-*/
-class Payment_Paypal_Driver implements Payment_Driver {
-
- // this array details the required fields within the arrays $set_express_checkout_fields,
- // $get_express_checkout_fields, $do_express_checkout_fields as well as the
- // fields wihtin api_connection and api_authorization
- private $required_fields = array
- (
- 'USER' => FALSE,
- 'PWD' => FALSE,
- 'SIGNATURE' => FALSE,
-
- 'RETURNURL' => FALSE,
- 'CANCELURL' => FALSE,
-
- 'AMT' => FALSE, // payment amount
- );
-
-
- //-- RESPONSE to setExpressCheckout calls will take the form:
- //-- https://www.paypal.com/cgi-bin/webscr?cmd=_express-checkout&token={20 single byte character timestamped token}
- //-- this token is passed back and forth throughout the stages of the express checkout process
-
- private $set_express_checkout_fields = array
- (
- //-- REQUIRED --//
- 'METHOD' => 'SetExpressCheckout',
-
- 'RETURNURL' => '',
- 'CANCELURL' => '',
-
- 'AMT' => '', // payment amount - MUST include decimal point followed by two further digits
-
- //-- OPTIONAL --//
- 'CURRENCYCODE' => '', // default is USD - only required if other currency needed
- 'MAXAMT' => '',
-
- // USERACTION defaults to 'continue'
- // if set to 'commit' the submit button on the paypal site transaction page is labelled 'Pay'
- // instead of 'continue' - meaning that you can just go ahead and call DoExpressCheckout
- // right away on the RETURNURL page on your site without needing a further order review page
- // with a 'pay now' button.
- 'USERACTION' => 'continue',
-
- 'INVNUM' => '', // Your own unique invoice / tracking number
-
-
- //-- set ADDROVERRIDE to '1' if you want to collect the shipping address on your site
- //-- and have that over-ride the user's stored details on paypal
- //-- if set to '1' you will of course also need to pass the shipping details!
- 'ADDROVERRIDE' => '0',
-
- 'SHIPTONAME' => '',
- 'SHIPTOSTREET' => '',
- 'SHIPTOSTREET2' => '',
- 'SHIPTOCITY' => '',
- 'SHIPTOSTATE' => '',
- 'SHIPTOZIP' => '',
- 'SHIPTOCOUNTRYCODE' => '', // list of country codes here: https://www.paypal.com/en_US/ebook/PP_NVPAPI_DeveloperGuide/countrycodes_new.html#1006794
-
- 'LOCALECODE' => 'US', // Defaults to 'US' - list of country codes here: https://www.paypal.com/en_US/ebook/PP_NVPAPI_DeveloperGuide/countrycodes_new.html#1006794
-
- //-- If YOU WANT TO APPLY CUSTOM STYLING TO PAYAPAL PAGES - see under SetExpressCheckout Request for descriptions here: https://www.paypal.com/en_US/ebook/PP_NVPAPI_DeveloperGuide/Appx_fieldreference.html#2557853
- 'PAGESTYLE' => '', //set this to match the name of any page style you set up in the profile subtab of your paypal account
-
- 'HDRIMG' => '', //header image displayed top left, size: 750px x 90px. defaults to business name in text
-
- // there are several other optional settings supported
- // see under SetExpressCheckout Request here : https://www.paypal.com/en_US/ebook/PP_NVPAPI_DeveloperGuide/Appx_fieldreference.html#2557853
- );
-
- private $get_express_checkout_fields = array
- (
- 'METHOD' => 'GetExpressCheckoutDetails',
- 'TOKEN' => '' // this token is retrieved from the response to the SetExpressCheckout call
- );
-
- //-- associative array filled by the paypal api response to a call to the GetExpressCheckout method
- private $get_express_checkout_response = array();
- // responses contain these fields:
- // TOKEN
- // EMAIL
- // PAYERID - paypal customer id - 13 single byte alpha numeric
- // PAYERSTATUS - verified or unverified
- // SALUTATION - 20 single byte characters
- // FIRSTNAME - 25 single byte characters
- // LASTNAME - 25 single byte characters
- // MIDDLENAME - 25 single byte characters
- // SUFFIX - payer's suffix - 12 single byte character
- // COUNTRYCODE - list of country codes here: https://www.paypal.com/en_US/ebook/PP_NVPAPI_DeveloperGuide/countrycodes_new.html#1006794
- // BUSINESS - payer's business name
- // SHIPTONAME
- // SHIPTOSTREET
- // SHIPTOSTREET2
- // SHIPTOCITY
- // SHIPTOSTATE
- // SHIPTOZIP
- // SHIPTOCOUNTRYCODE
- // ADDRESSSTATUS - status of the street address on file with paypal
- // CUSTOM - freeform field as optionally set by you in the setExpressCheckout call
- // INVNUM - invoice tracking number as optionally set by you in the setExpressCheckout call
- // PHONENUM - Note: PayPal returns a contact telephone number only if your Merchant account profile settings require that the buyer enter one.
- // REDIRECTREQUIRED - flag to indicate whether you need to redirect the customer to back to PayPal after completing the transaction.
-
- private $do_express_checkout_fields = array
- (
- //-- REQUIRED --
- 'METHOD' => 'DoExpressCheckoutPayment',
- 'TOKEN' => '', // this token is retrieved from the response to the setExpressCheckout call
- 'PAYERID' => '',
- 'AMT' => '', // payment amount - MUST include decimal point followed by two further digits
-
- //-- OPTIONAL --
- 'CURRENCYCODE' => '', // default is USD - only required if other currency needed
- 'INVNUM' => '',
- 'ITEMAMT' => '', // sum cost of all items in order not including shipping or handling
- 'SHIPPINGAMT' => '',
- 'HANDLINGAMT' => '',
- 'TAXAMT' => '',
-
- //-- OPTIONAL ORDER CONTENTS INFO
- /* these fileds would obviously need setting dynamically but shown here as an example
-
- 'L_NAME0' => '', // max 127 single-byte characters product/item name
- 'L_NUMBER0' => '', // max 127 single-byte characters product/item number
- 'L_QTY0' => '', // positive integer
- 'L_TAXAMT0' => '', // item sales tax amount
- 'L_AMT0' => '', // cost of item
-
- 'L_NAME1'...
-
- 'L_NAME2'...
-
- */
- );
-
- private $api_authroization_fields = array
- (
- 'USER' => '',
- 'PWD' => '',
- 'SIGNATURE' => '',
- 'VERSION' => '3.2',
- );
-
-
- private $api_connection_fields = array
- (
- 'ENDPOINT' => 'https://api-3t.paypal.com/nvp',
- 'PAYPALURL' => 'https://www.paypal.com/webscr&cmd=_express-checkout&token=',
- 'ERRORURL' => '',
- 'GETDETAILS' => TRUE
- );
-
- private $array_of_arrays;
-
- private $test_mode = TRUE;
-
- private $nvp_response_array = array();
- // after successful transaction $nvp_response_array will contain
- // TOKEN - The timestamped token value that was returned by SetExpressCheckout
- // TRANSACTIONID - Unique transaction ID of the payment. 19 single-byte characters
- // TRANSACTIONTYPE - possible values: 'cart' or 'express-checkout'
- // PAYMENTTYPE - Indicates whether the payment is instant or delayed. possible values: 'non', 'echeck', 'instant'
- // ORDERTIME - Time/date stamp of payment
- // AMT - The final amount charged, including any generic shipping and taxes set in your Merchant Profile.
- // CURRENCYCODE - 3 char currency code: https://www.paypal.com/en_US/ebook/PP_NVPAPI_DeveloperGuide/Appx_fieldreference.html#2557565
- // FEEAMT - PayPal fee amount charged for the transaction
- // SETTLEAMT - Amount deposited in your PayPal account after a currency conversion.
- // TAXAMT - Tax charged on the transaction.
- // EXCHANGERATE - Exchange rate if a currency conversion occurred.
- // PAYMENTSTATUS - possible values: 'Completed' or 'Pending'
- // PENDINGREASON - possible values: 'none', 'address', 'echeck', 'int1', 'multi-currency', 'verify', 'other'
- // REASONCODE - The reason for a reversal if TransactionType is reversal. possible values: 'none', 'chargeback', 'guarantee', 'buyer-complaint', 'refund', 'other'
- // for more info see : https://www.paypal.com/en_US/ebook/PP_NVPAPI_DeveloperGuide/Appx_fieldreference.html#2557853
-
- /**
- * Sets the config for the class.
- *
- * @param array config passed from the library
- */
- public function __construct($config)
- {
- $this->array_of_arrays = array
- (
- &$this->set_express_checkout_fields,
- &$this->get_express_checkout_fields,
- &$this->do_express_checkout_fields,
- &$this->api_authroization_fields,
- &$this->api_connection_fields
- );
-
- $this->set_fields($config);
-
- $this->test_mode = $config['test_mode'];
-
- if ($this->test_mode)
- {
- $this->api_authroization_fields['USER'] = $config['SANDBOX_USER'];
- $this->api_authroization_fields['PWD'] = $config['SANDBOX_PWD'];
- $this->api_authroization_fields['SIGNATURE'] = $config['SANDBOX_SIGNATURE'];
-
- $this->api_connection_fields['ENDPOINT'] = $config['SANDBOX_ENDPOINT'];
- $this->api_connection_fields['PAYPALURL'] = 'https://www.sandbox.paypal.com/cgi-bin/webscr?cmd=_express-checkout&token=';
- $this->api_connection_fields['ENDPOINT'] = 'https://api-3t.sandbox.paypal.com/nvp';
- }
-
- $this->curl_config = $config['curl_config'];
-
- $this->session = Session::instance();
-
- Kohana::log('debug', 'PayPal Payment Driver Initialized');
- }
-
- /**
- *@desc set fields for nvp string
- */
- public function set_fields($config)
- {
-
- foreach ($config as $key => $val)
- {
- // Handle any necessary field name translation
- switch ($key)
- {
- case 'amount':
- $key = 'AMT';
- break;
- default:
- }
-
- if (array_key_exists($key, $this->required_fields) AND !empty($val))
- {
- $this->required_fields[$key] = TRUE;
- }
-
- foreach ($this->array_of_arrays as &$arr)
- {
- if (array_key_exists($key, $arr))
- {
- $arr[$key] = $val;
- }
- }
- }
- }
-
- public function process()
- {
- // Check for required fields
- if (in_array(FALSE, $this->required_fields))
- {
- $fields = array();
- foreach ($this->required_fields as $key => $field)
- {
- if ( ! $field)
- {
- $fields[] = $key;
- }
- }
-
- throw new Kohana_Exception('payment.required', implode(', ', $fields));
- }
-
- // stage 1 - if no token yet set then we know we just need to run set_express_checkout
- $paypal_token = $this->session->get('paypal_token', FALSE);
- if ( ! $paypal_token)
- {
- $this->set_express_checkout();
- return FALSE;
- }
- else
- {
- $this->set_fields(array('TOKEN' => $paypal_token));
- }
-
- // stage 2 (optional) retrieve the user info from paypal and store it in the get_express_checkout_response array
- // --------------------------------------------------------------------------------
- // *note: if you don't wish to record the user info (shipping address etc)
- // then you can skip this stage by setting GETDETAILS to FALSE
- // like so:
- // $this->payment = new Payment('Paypal');
- // $this->payment->GETDETAILS = FALSE;
- // IMPORTANT - if you do choose to skip this step you will need to extract
- // the PayerID from the $_GET array in the method targeted by RETURNURL
- // and use the value to set the PAYERID value of your payment object
- // eg:
- // $this->payment = new Payment('Paypal');
- // $this->payment->PAYERID = $this->input->get('PayerID');
- // --------------------------------------------------------------------------------
- if ($this->api_connection_fields['GETDETAILS'])
- {
- $this->get_express_checkout();
- }
-
- // stage 3
- if (empty($this->do_express_checkout_fields['PAYERID']))
- {
- throw new Kohana_Exception('payment.required', 'PAYERID');
- }
-
- $this->do_express_checkout_payment();
-
- return (strtoupper($this->nvp_response_array['ACK']) == 'Success') ? TRUE : array_merge($this->nvp_response_array, $this->get_express_checkout_response);
- }
-
- /**
- * (stage 1)
- * Runs paypal authentication and sets up express checkout options (stage 1)
- */
- protected function set_express_checkout()
- {
- $nvp_str = http_build_query($this->remove_empty_optional_fields($this->set_express_checkout_fields));
-
- $response = $this->make_paypal_api_request($nvp_str);
-
- parse_str(urldecode($response),$response_array);
-
- if (strtoupper($response_array['ACK']) == 'SUCCESS')
- {
- $paypal_token = $response_array['TOKEN'];
-
- // Redirect to paypal.com here
- $this->session->set('paypal_token', urldecode($paypal_token));
-
- // We are off to paypal to login!
- if ($this->set_express_checkout_fields['USERACTION']=='commit')
- {
- url::redirect($this->api_connection_fields['PAYPALURL'].$paypal_token.'&useraction=commit');
- }
- else
- {
- url::redirect($this->api_connection_fields['PAYPALURL'].$paypal_token);
- }
- }
- else // Something went terribly wrong...
- {
- throw new Kohana_User_Exception('SetExpressCheckout ERROR', Kohana::debug($response_array));
-
- Kohana::log('error', Kohana::debug('SetExpressCheckout response:'.$response_array));
- //url::redirect($this->api_connection_fields['ERRORURL']);
- }
- }
-
- /**
- * (stage 2)
- * Retrieves all the user info from paypal and stores it in the get_express_checkout_response array
- *
- */
- protected function get_express_checkout()
- {
- $nvp_str = http_build_query($this->get_express_checkout_fields);
-
- $response = $this->make_paypal_api_request($nvp_str);
-
- parse_str(urldecode($response),$this->get_express_checkout_response);
-
- if (strtoupper($this->get_express_checkout_response['ACK']) == 'SUCCESS')
- {
- $this->set_fields(array('PAYERID' => $this->get_express_checkout_response['PAYERID']));
- }
- else // Something went terribly wrong...
- {
- throw new Kohana_User_Exception('GetExpressCheckout ERROR', Kohana::debug($this->get_express_checkout_response));
-
- Kohana::log('error', Kohana::debug('GetExpressCheckout response:'.$response));
- url::redirect($this->api_connection_fields['ERRORURL']);
- }
- }
-
- /**
- * (stage 3)
- * complete paypal transaction - store response in nvp_response_array
- *
- */
- protected function do_express_checkout_payment()
- {
- $nvp_qstr = http_build_query($this->remove_empty_optional_fields($this->do_express_checkout_fields));
-
- $response = $this->make_paypal_api_request($nvp_qstr);
-
- parse_str(urldecode($response),$this->nvp_response_array);
-
- if (strtoupper($this->nvp_response_array['ACK']) != 'SUCCESS')
- {
- throw new Kohana_User_Exception('DoExpressCheckoutPayment ERROR', Kohana::debug($this->nvp_response_array));
-
- Kohana::log('error', Kohana::debug('GetExpressCheckout response:'.$response));
- url::redirect($this->api_connection_fields['ERRORURL']);
- }
- }
-
- /**
- * Runs the CURL methods to communicate with paypal.
- *
- * @param string paypal API method to run
- * @param string any additional name-value-pair query string data to send to paypal
- * @return mixed
- */
- protected function make_paypal_api_request($nvp_str)
- {
- $postdata = http_build_query($this->api_authroization_fields).'&'.$nvp_str;
-
- parse_str(urldecode($postdata),$nvpstr);
-
- Kohana::log('debug', 'Connecting to '.$this->api_connection_fields['ENDPOINT']);
-
- $ch = curl_init($this->api_connection_fields['ENDPOINT']);
-
- // Set custom curl options
- curl_setopt_array($ch, $this->curl_config);
-
- // Setting the nvpreq as POST FIELD to curl
- curl_setopt($ch, CURLOPT_POSTFIELDS, $postdata);
-
- // Getting response from server
- $response = curl_exec($ch);
-
- if (curl_errno($ch))
- {
- throw new Kohana_User_Exception('CURL ERROR', Kohana::debug(array('curl_error_no' => curl_errno($ch), 'curl_error_msg' => curl_error($ch))));
-
- // Moving to error page to display curl errors
- $this->session->set_flash(array('curl_error_no' => curl_errno($ch), 'curl_error_msg' => curl_error($ch)));
- url::redirect($this->api_connection_fields['ERRORURL']);
- }
- else
- {
- curl_close($ch);
- }
-
- return $response;
- }
-
- /**
- * What is says on the tin
- * @param array
- * @return edited array
- *
- */
- protected function remove_empty_optional_fields($arr)
- {
- foreach ($arr as $key => $val)
- {
- // don't include unset optional fields in the name-value pair request string
- if ($val==='') unset($arr[$key]);
- }
- return $arr;
- }
-
-} // End Payment_Paypal_Driver Class
View
229 modules/payment/libraries/drivers/Payment/Paypalpro.php
@@ -1,229 +0,0 @@
-<?php defined('SYSPATH') or die('No direct script access.');
-
-/**
- * Paypay (website payments pro) Payment Driver
- *
- *
- * @package Payment
- * @author Kohana Team
- * @copyright (c) 2007-2008 Kohana Team
- * @license http://kohanaphp.com/license.html
- */
-class Payment_Paypalpro_Driver implements Payment_Driver
-{
- // Fields required to do a transaction
-
- /**
- * these are the required fields for the API method DoDirectPayment
- * other API methods and the associated fields required are listed here: http://tinyurl.com/2cffgr
- *
- * *note - paypalpro API field names are not case sensitive
- */
-
- private $required_fields = array
- (
-
- 'ENDPOINT' => FALSE,
- 'USER' => FALSE,
- 'PWD' => FALSE,
- 'SIGNATURE' => FALSE,
- 'VERSION' => FALSE,
-
- 'METHOD' => FALSE,
-
- 'PAYMENTACTION' => FALSE,
-
- 'CURRENCYCODE' => FALSE, // default is USD - only required if other currency needed
- 'AMT' => FALSE, // payment amount
-
- 'IPADDRESS' => FALSE,
-
- 'FIRSTNAME' => FALSE,
- 'LASTNAME' => FALSE,
-
- 'CREDITCARDTYPE' => FALSE,
- 'ACCT' => FALSE, // card number
- 'EXPDATE' => FALSE,
- 'CVV2' => FALSE
-
- );
-
- private $fields = array
- (
-
- 'ENDPOINT' => '',
- 'USER' => '',
- 'PWD' => '',
- 'SIGNATURE' => '',
- 'VERSION' => '',
-
- 'METHOD' => '',
- /* some possible values for METHOD :
- 'DoDirectPayment',
- 'RefundTransaction',
- 'DoAuthorization',
- 'DoReauthorization',
- 'DoCapture',
- 'DoVoid'
- */
-
- 'PAYMENTACTION' => '',
-
- 'CURRENCYCODE' => '',
- 'AMT' => 0, // payment amount
-
- 'IPADDRESS' => '',
-
- 'FIRSTNAME' => '',
- 'LASTNAME' => '',
-
- 'CREDITCARDTYPE' => '',
- 'ACCT' => '', // card number
- 'EXPDATE' => '', // Format: MMYYYY
- 'CVV2' => '', // security code
-
- // -- OPTIONAL FIELDS --
-
- 'STREET' => '',
- 'STREET2' => '',
- 'CITY' => '',
- 'STATE' => '',
- 'ZIP' => '',
- 'COUNTRYCODE' => '',
-
- 'SHIPTONAME' => '',
- 'SHIPTOSTREET' => '',
- 'SHIPTOSTREET2' => '',
- 'SHIPTOCITY' => '',
- 'SHIPTOSTATE' => '',
- 'SHIPTOZIP' => '',
- 'SHIPTOCOUNTRYCODE' => '',
-
- 'INVNUM' => '' // your internal order id / transaction id
-
- // other optional fields listed here:
- // https://www.paypal.com/en_US/ebook/PP_NVPAPI_DeveloperGuide/Appx_fieldreference.html#2145100
- );
-
- private $test_mode = TRUE;
-
- /**
- * Sets the config for the class.
- *
- * @param : array - config passed from the payment library constructor
- */
-
- public function __construct($config)
- {
- $this->test_mode = $config['test_mode'];
-
- if ($this->test_mode)
- {
- $this->fields['USER'] = $config['SANDBOX_USER'];
- $this->fields['PWD'] = $config['SANDBOX_PWD'];
- $this->fields['SIGNATURE'] = $config['SANDBOX_SIGNATURE'];
- $this->fields['ENDPOINT'] = $config['SANDBOX_ENDPOINT'];
- }
- else
- {
- $this->fields['USER'] = $config['USER'];
- $this->fields['PWD'] = $config['PWD'];
- $this->fields['SIGNATURE'] = $config['SIGNATURE'];
- $this->fields['ENDPOINT'] = $config['ENDPOINT'];
- }
-
- $this->fields['VERSION'] = $config['VERSION'];
- $this->fields['CURRENCYCODE'] = $config['CURRENCYCODE'];
-
- $this->required_fields['USER'] = !empty($config['USER']);
- $this->required_fields['PWD'] = !empty($config['PWD']);
- $this->required_fields['SIGNATURE'] = !empty($config['SIGNATURE']);
- $this->required_fields['ENDPOINT'] = !empty($config['ENDPOINT']);
- $this->required_fields['VERSION'] = !empty($config['VERSION']);
- $this->required_fields['CURRENCYCODE'] = !empty($config['CURRENCYCODE']);
-
- $this->curl_config = $config['curl_config'];
-
- Kohana::log('debug', 'Paypalpro Payment Driver Initialized');
- }
-
- /**
- *@desc set fields for nvp string
- */
-
- public function set_fields($fields)
- {
- foreach ((array) $fields as $key => $value)
- {
- $this->fields[$key] = $value;
-
- if (array_key_exists($key, $this->required_fields) and !empty($value))
- {
- $this->required_fields[$key] = TRUE;
- }
-
- }
- }
-
- /**
- *@desc process PayPal Website Payments Pro transaction
- */
-
- public function process()
- {
- // Check for required fields
- if (in_array(FALSE, $this->required_fields))
- {
- $fields = array();
-
- foreach ($this->required_fields as $key => $field)
- {
- if (!$field) $fields[] = $key;
- }
-
- throw new Kohana_Exception('payment.required', implode(', ', $fields));
- }
-
-
- // Instantiate curl and pass the API post url
- $ch = curl_init($this->fields['ENDPOINT']);
-
- foreach ($this->fields as $key => $val)
- {
- // don't include unset optional fields in the name-value pair request string
- if ($val==='' OR $key=='ENDPOINT') unset($this->fields[$key]);
- }
-
-
- $nvp_qstr = http_build_query($this->fields);
-
- // Set custom curl options
- curl_setopt_array($ch, $this->curl_config);
-
- // Set the curl POST fields
- curl_setopt($ch, CURLOPT_POSTFIELDS, $nvp_qstr);
-
- // Execute post and get results
- $response = curl_exec($ch);
-
- if (curl_errno($ch))
- {
- $curl_error_no = curl_errno($ch);
- $curl_error_msg = curl_error($ch);
- throw new Kohana_Exception('curl.error:'.$curl_error_no.' - '.$curl_error_msg);
- }
-
- curl_close ($ch);
-
- if (!$response)
- throw new Kohana_Exception('payment.gateway_connection_error');
-
-
- $nvp_res_array = array();
-
- parse_str(urldecode($response),$nvp_res_array);
-
- return ($nvp_res_array['ACK'] == TRUE);
-
- }
-} // End Payment_Paypalpro_Driver Class
View
134 modules/payment/libraries/drivers/Payment/Trident.php
@@ -1,134 +0,0 @@
-<?php defined('SYSPATH') or die('No direct script access.');
-/**
- * Trident Payment Driver
- *
- * $Id: Trident.php 3163 2008-07-20 16:15:31Z Shadowhand $
- *
- * @package Payment
- * @author Kohana Team
- * @copyright (c) 2007-2008 Kohana Team
- * @license http://kohanaphp.com/license.html
- */
-class Payment_Trident_Driver implements Payment_Driver
-{
- // Fields required to do a transaction
- private $required_fields = array
- (
- 'profile_id' => FALSE,
- 'profile_key' => FALSE,
- 'card_number' => FALSE,
- 'card_exp_date' => FALSE,
- 'transaction_amount' => FALSE,
- 'transaction_type' => FALSE
- );
-
- private $fields = array
- (
- 'profile_id' => '',
- 'profile_key' => '',
- 'card_number' => '',
- 'card_exp_date' => '',
- 'transaction_amount' => '',
- 'transaction_type' => ''
- );
-
- private $test_mode = TRUE;
-
- /**
- * Sets the config for the class.
- *
- * @param array config passed from the library
- */
- public function __construct($config)
- {
- $this->fields['profile_id'] = $config['profile_id'];
- $this->fields['profile_key'] = $config['profile_key'];
- $this->fields['transaction_type'] = $config['transaction_type'];
- $this->required_fields['profile_id'] = !empty($config['profile_id']);
- $this->required_fields['profile_key'] = !empty($config['profile_key']);
- $this->required_fields['transaction_type'] = !empty($config['transaction_type']);
-
- $this->curl_config = $config['curl_config'];
- $this->test_mode = $config['test_mode'];
-
- Kohana::log('debug', 'Trident Payment Driver Initialized');
- }
-
- public function set_fields($fields)
- {
- foreach ((array) $fields as $key => $value)
- {
- // Do variable translation
- switch ($key)
- {
- case 'card_num':
- $key = 'card_number';
- break;
- case 'exp_date':
- $key = 'card_exp_date';
- break;
- case 'amount':
- $key = 'transaction_amount';
- break;
- case 'tax':
- $key = 'tax_amount';
- break;
- case 'cvv':
- $key = 'cvv2';
- break;
- default:
- break;
- }
-
- $this->fields[$key] = $value;
- if (array_key_exists($key, $this->required_fields) and !empty($value)) $this->required_fields[$key] = TRUE;
- }
- }
-
- public function process()
- {
- // Check for required fields
- if (in_array(FALSE, $this->required_fields))
- {
- $fields = array();
- foreach ($this->required_fields as $key => $field)
- {
- if (!$field) $fields[] = $key;
- }
- throw new Kohana_Exception('payment.required', implode(', ', $fields));
- }
-
- $fields = '';
- foreach ( $this->fields as $key => $value )
- {
- $fields .= $key.'='.urlencode($value).'&';
- }
-
- $post_url = ($this->test_mode)
- ? 'https://test.merchante-solutions.com/mes-api/tridentApi' // Test mode URL
- : 'https://api.merchante-solutions.com/mes-api/tridentApi'; // Live URL
-
- $ch = curl_init($post_url);
-
- // Set custom curl options
- curl_setopt_array($ch, $this->curl_config);
-
- // Set the curl POST fields
- curl_setopt($ch, CURLOPT_POSTFIELDS, rtrim( $fields, "& " ));
-
- // Execute post and get results
- $response = curl_exec($ch);
- curl_close ($ch);
- if (!$response)
- throw new Kohana_Exception('payment.gateway_connection_error');
-
- $response = explode('&', $response);
- foreach ($response as $code)
- {
- $temp = explode('=', $code);
- $response[$temp[0]] = $temp[1];
- }
-
- return ($response['error_code'] == '000') ? TRUE : Kohana::lang('payment.error', Kohana::lang('payment_Trident.'.$response['error_code']));
- }
-} // End Payment_Trident_Driver Class
View
137 modules/payment/libraries/drivers/Payment/Trustcommerce.php
@@ -1,137 +0,0 @@
-<?php defined('SYSPATH') or die('No direct script access.');
-/**
- * Trustcommerce Payment Driver
- *
- * $Id: Trustcommerce.php 3163 2008-07-20 16:15:31Z Shadowhand $
- *
- * @package Payment
- * @author Kohana Team
- * @copyright (c) 2007-2008 Kohana Team
- * @license http://kohanaphp.com/license.html
- */
-class Payment_Trustcommerce_Driver implements Payment_Driver
-{
- // Fields required to do a transaction
- private $required_fields = array
- (
- 'custid' => TRUE,
- 'password' => TRUE,
- 'action' => TRUE,
- 'media' => TRUE,
- 'cc' => FALSE,
- 'exp' => FALSE,
- 'amount' => FALSE
- );
-
- private $tclink_library = './path/to/library';
- private $test_mode = TRUE;
-
- private $fields = array('demo' => 'n');
-
- /**
- * Sets the config for the class.
- *
- * @param array config passed from the library
- */
- public function __construct($config)
- {
-
- $this->test_mode = $config['test_mode'];
- $this->tclink_library = $config['tclink_library'];
- $this->fields['ip'] = $_SERVER['REMOTE_ADDR'];
- $this->fields['custid'] = $config['custid'];
- $this->fields['password'] = $config['password'];
- $this->fields['action'] = 'sale';
- $this->fields['media'] = $config['media'];
-
- if (!extension_loaded('tclink'))
- {
- if (!dl($this->tclink_library))
- {
- throw new Kohana_Exception('payment.no_dlib', $this->tclink_library);
- }
- }
- Kohana::log('debug', 'TrustCommerce Payment Driver Initialized');
- }
-
- public function set_fields($fields)
- {
- foreach ((array) $fields as $key => $value)
- {
- // Do variable translation
- switch ($key)
- {
- case 'card_num':
- $key = 'cc';
- break;
- case 'exp_date':
- $key = 'exp';
- if (strlen($value) == 3) $value = '0'.$value;
- break;
- case 'amount':
- $value = $value * 100;
- break;
- case 'address':
- $key = 'address1';
- break;
- case 'ship_to_address':
- $key = 'shipto_address1';
- break;
- case 'ship_to_city':
- $key = 'shipto_city';
- break;
- case 'ship_to_state':
- $key = 'shipto_state';
- break;
- case 'ship_to_zip':
- $key = 'shipto_zip';
- break;
- case 'cvv':
- $value = (int) $value;
- break;
- default:
- break;
- }
-
- $this->fields[$key] = $value;
- if (array_key_exists($key, $this->required_fields) and !empty($value))
- {
- $this->required_fields[$key] = TRUE;
- }
- }
- }
-
- public function process()
- {
- if ($this->test_mode)
- $this->fields['demo'] = 'y';
-
- $this->fields['name'] = $this->fields['first_name'].' '.$this->fields['last_name'];
- $this->fields['shipto_name'] = $this->fields['ship_to_first_name'].' '.$this->fields['ship_to_last_name'];
- unset($this->fields['first_name'], $this->fields['last_name'],$this->fields['ship_to_first_name'],$this->fields['ship_to_last_name']);
-
- // Check for required fields
- if (in_array(FALSE, $this->required_fields))
- {
- $fields = array();
- foreach ($this->required_fields as $key => $field)
- {
- if ( ! $field)
- {
- $fields[] = $key;
- }
- }
- throw new Kohana_Exception('payment.required', implode(', ', $fields));
- }
-
- $result = tclink_send($this->fields);
-
- // Report status
- if ($result['status'] == 'approved')
- return TRUE;
- elseif ($result['status'] == 'decline')
- return Kohana::lang('payment.error', 'payment_Trustcommerce.decline.'.$result[$result['status'].'type']);
- else
- return Kohana::lang('payment.error', Kohana::lang('payment_Trustcommerce.'.$result['status'].'.'.$result['error']));
- }
-} // End Payment_Trustcommerce_Driver Class
View
176 modules/payment/libraries/drivers/Payment/Yourpay.php
@@ -1,176 +0,0 @@
-<?php defined('SYSPATH') or die('No direct script access.');
-/**
- * Yourpay Payment Driver
- *
- * $Id: Yourpay.php 3168 2008-07-21 01:34:36Z Shadowhand $
- *
- * @package Payment
- * @author Kohana Team
- * @copyright (c) 2007-2008 Kohana Team
- * @license http://kohanaphp.com/license.html
- */
-class Payment_Yourpay_Driver implements Payment_Driver
-{
- // Fields required to do a transaction
- private $required_fields = array
- (
- 'card_num' => FALSE,
- 'expiration_date' => FALSE,
- 'amount' => FALSE,
- 'tax' => FALSE,
- 'shipping' => FALSE,
- 'cvm_value' => FALSE
- );
-
- // Default required values
- private $fields = array
- (
- 'card_num' => '',
- 'expiration_date' => '',
- 'cvm_value' => '',
- 'amount' => 0,
- 'tax' => 0,
- 'shipping' => 0,
- 'billing_name' => '',
- 'billing_address' => '',
- 'billing_city' => '',
- 'billing_state' => '',
- 'billing_zip' => '',
- 'shipping_name' => '',
- 'shipping_address' => '',
- 'shipping_city' => '',
- 'shipping_state' => '',
- 'shipping_zip' => ''
- );
-
- // The location of the certficate file. Set from the config
- private $certificate = './path/to/certificate';
- private $test_mode = TRUE;
-
- /**
- * Sets the config for the class.
- *
- * @param array config passed from the library
- */
- public function __construct($config)
- {
- // Check to make sure the certificate is valid
- $this->certificate = is_file($config['certificate']) ? $config['certificate'] : FALSE;
-
- if (!$this->certificate)
- throw new Kohana_Exception('payment.invalid_certificate', $config['certificate']);
-
- $this->curl_config = $config['curl_config'];
- $this->test_mode = $config['test_mode'];
-
- Kohana::log('debug', 'YourPay.net Payment Driver Initialized');
- }
-
- public function set_fields($fields)
- {
- foreach ((array) $fields as $key => $value)
- {
- // Do variable translation
- switch ($key)
- {
- case 'exp_date':
- $key = 'expiration_date';
- break;
- default:
- break;
- }
-
- $this->fields[$key] = $value;
- if (array_key_exists($key, $this->required_fields) and !empty($value)) $this->required_fields[$key] = TRUE;
- }
- }
-
- public function process()
- {
- // Check for required fields
- if (in_array(FALSE, $this->required_fields))
- {
- $fields = array();
- foreach ($this->required_fields as $key => $field)
- {
- if (!$field) $fields[] = $key;
- }
- throw new Kohana_Exception('payment.required', implode(', ', $fields));
- }
-
- $xml ='<order>
- <orderoptions>
- <ordertype>SALE</ordertype>
- <result>'.($this->test_mode) ? 'GOOD' : 'LIVE'.'</result>
- </orderoptions>
- <merchantinfo>
- <configfile>'.$this->config['merchant_id'].'</configfile>
- </merchantinfo>
- <creditcard>
- <cardnumber>'.$this->fields['card_num'].'</cardnumber>
- <cardexpmonth>'.substr($this->fields['expiration_date'], 0, 2).'</cardexpmonth>
- <cardexpyear>'.substr($this->fields['expiration_date'], 2, 2).'</cardexpyear>
- <cvmvalue>'.$this->fields['cvm_value'].'</cvmvalue>
- </creditcard>
- <payment>
- <subtotal>'.$this->fields['amount'].'</subtotal>
- <tax>'.$this->fields['tax'].'</tax>
- <shipping>'.$this->fields['shipping'].'</shipping>
- <chargetotal>'.($this->fields['amount'] + $this->fields['tax'] + $this->fields['shipping']).'</chargetotal>
- </payment>
- <billing>
- <name>'.$this->fields['billing_name'].'</name>
- <address1>'.$this->fields['billing_address'].'</address1>
- <city>'.$this->fields['billing_city'].'</city>
- <state>'.$this->fields['billing_state'].'</state>
- <zip>'.$this->fields['billing_zip'].'</zip>
- <email>'.$this->fields['email'].'</email>
- </billing>
- <shipping>
- <name>'.$this->fields['shipping_name'].'</name>
- <address1>'.$this->fields['shipping_address'].'</address1>
- <city>'.$this->fields['shipping_city'].'</city>
- <state>'.$this->fields['shipping_state'].'</state>
- <zip>'.$this->fields['shipping_zip'].'</zip>
- </shipping>
- </order>';
-
- $post_url = 'https://secure.linkpt.net:1129/LSGSXML';
-
- $ch = curl_init($post_url);
-
- // Set custom curl options
- curl_setopt_array($ch, $this->curl_config);
- curl_setopt ($ch, CURLOPT_SSLCERT, $this->certificate);
-
- // Set the curl POST fields
- curl_setopt($ch, CURLOPT_POSTFIELDS, $xml);
-
- if ($result = curl_exec ($ch))
- {
- if (strlen($result) < 2) # no response
- throw new Kohana_Exception('payment.gateway_connection_error');
-
- // Convert the XML response to an array
- preg_match_all ("/<(.*?)>(.*?)\</", $result, $outarr, PREG_SET_ORDER);
- $n = 0;
- while (isset($outarr[$n]))
- {
- $retarr[$outarr[$n][1]] = strip_tags($outarr[$n][0]);
- $n++;
- }
-
- if ($retarr['r_approved'] == "APPROVED") // SUCCESS
- {
- return true;
- }
- else // FAILURE... =(
- {
- $error = explode(":", $retarr['r_error']);
- return $error[1];
- }
- }
- else
- throw new Kohana_Exception('payment.gateway_connection_error');
- }
-} // End Payment_Yourpay_Driver Class
View
0  .../mopcms/classes/controller/associator.php → .../mopcms/classes/controller/associator.php
File renamed without changes
View
0  modules/mopcms/classes/controller/cms.php → moptools/mopcms/classes/controller/cms.php
File renamed without changes
View
0  ...es/mopcms/classes/controller/cms_file.php → ...ls/mopcms/classes/controller/cms_file.php
File renamed without changes
View
0  modules/mopcms/classes/controller/list.php → moptools/mopcms/classes/controller/list.php
File renamed without changes
View
0  modules/mopcms/classes/model/association.php → ...ools/mopcms/classes/model/association.php
File renamed without changes
View
0  modules/mopcms/classes/model/content.php → moptools/mopcms/classes/model/content.php
File renamed without changes
View
0  modules/mopcms/classes/model/file.php → moptools/mopcms/classes/model/file.php
File renamed without changes
View
0  modules/mopcms/classes/model/fileimage.php → moptools/mopcms/classes/model/fileimage.php
File renamed without changes
View
0  modules/mopcms/classes/model/list.php → moptools/mopcms/classes/model/list.php
File renamed without changes
View
0  modules/mopcms/classes/model/objectmap.php → moptools/mopcms/classes/model/objectmap.php
File renamed without changes
View
0  modules/mopcms/classes/model/page.php → moptools/mopcms/classes/model/page.php
File renamed without changes
View
0  modules/mopcms/classes/model/template.php → moptools/mopcms/classes/model/template.php
File renamed without changes
View
0  modules/mopcms/classes/mop/.cms.php.swp → moptools/mopcms/classes/mop/.cms.php.swp
File renamed without changes
View
0  modules/mopcms/classes/mop/cms.php → moptools/mopcms/classes/mop/cms.php
File renamed without changes
View
0  modules/mopcms/classes/mop/cmsinterface.php → moptools/mopcms/classes/mop/cmsinterface.php
File renamed without changes
View
0  modules/mopcms/classes/mopcms.php → moptools/mopcms/classes/mopcms.php
File renamed without changes
View
0  modules/mopui/config/clusters.xml → moptools/mopcms/config/clusters.xml
File renamed without changes
View
0  modules/mopcms/config/cms.php → moptools/mopcms/config/cms.php
File renamed without changes
View
0  modules/mopcms/config/cmsModules.dtd → moptools/mopcms/config/cmsModules.dtd
File renamed without changes
View
0  modules/mopcms/config/cmsModules.xml → moptools/mopcms/config/cmsModules.xml
File renamed without changes
View
0  modules/mopcms/config/cms_templates.php → moptools/mopcms/config/cms_templates.php
File renamed without changes
View
0  modules/mopcms/config/list.php → moptools/mopcms/config/list.php
File renamed without changes
View
0  modules/mopcms/config/mop_cms.php → moptools/mopcms/config/mop_cms.php
File renamed without changes
View
0  modules/mopcms/init.php → moptools/mopcms/init.php
File renamed without changes
View
0  modules/mopcms/views/css/mop_cms.css → moptools/mopcms/views/css/mop_cms.css
File renamed without changes
View
0  modules/mopui/views/images/icon_doc.gif → moptools/mopcms/views/icon_doc.gif
File renamed without changes
View
0  modules/mopcms/views/images/bg_row.gif → ...ools/mopcms/views/images/admin/bg_row.gif
File renamed without changes
View
0  modules/mopcms/views/images/bg_row_alt.gif → .../mopcms/views/images/admin/bg_row_alt.gif
File renamed without changes
View
0  modules/mopcms/views/images/bg_white60.png → .../mopcms/views/images/admin/bg_white60.png
File renamed without changes
View
0  modules/mopcms/views/images/bg_white80.png → .../mopcms/views/images/admin/bg_white80.png
File renamed without changes
View
0  modules/mopcms/views/images/bgk80.png → moptools/mopcms/views/images/admin/bgk80.png
File renamed without changes
View
0  modules/mopcms/views/images/bgk88.png → moptools/mopcms/views/images/admin/bgk88.png
File renamed without changes
View
0  modules/mopcms/views/images/bgk90.png → moptools/mopcms/views/images/admin/bgk90.png
File renamed without changes
View
0  modules/mopcms/views/images/bgk94.png → moptools/mopcms/views/images/admin/bgk94.png
File renamed without changes
View
0  ...mopcms/views/images/icon_add_category.gif → .../views/images/admin/icon_add_category.gif
File renamed without changes
View
0  modules/mopcms/views/images/icon_addpage.gif → ...opcms/views/images/admin/icon_addpage.gif
File renamed without changes
View
0  modules/mopcms/views/images/icon_addpage.jpg → ...opcms/views/images/admin/icon_addpage.jpg
File renamed without changes
View
0  modules/mopcms/views/images/icon_cancel.gif → ...mopcms/views/images/admin/icon_cancel.gif
File renamed without changes
View
0  modules/mopcms/views/images/icon_cancel.png → ...mopcms/views/images/admin/icon_cancel.png
File renamed without changes
View
0  ...mopcms/views/images/icon_cancel_hover.png → .../views/images/admin/icon_cancel_hover.png
File renamed without changes
View
0  modules/mopcms/views/images/icon_confirm.gif → ...opcms/views/images/admin/icon_confirm.gif
File renamed without changes
View
0  modules/mopcms/views/images/icon_confirm.png → ...opcms/views/images/admin/icon_confirm.png
File renamed without changes
View
0  ...opcms/views/images/icon_confirm_hover.png → ...views/images/admin/icon_confirm_hover.png
File renamed without changes
View
0  modules/mopcms/views/images/icon_delete.gif → ...mopcms/views/images/admin/icon_delete.gif
File renamed without changes
View
0  modules/mopcms/views/images/icon_delete.png → ...mopcms/views/images/admin/icon_delete.png
File renamed without changes
View
0  ...mopcms/views/images/icon_delete_hover.png → .../views/images/admin/icon_delete_hover.png
File renamed without changes
View
0  ...les/mopcms/views/images/icon_download.png → ...pcms/views/images/admin/icon_download.png
File renamed without changes
View
0  modules/mopcms/views/images/icon_folder.gif → ...mopcms/views/images/admin/icon_folder.gif
File renamed without changes
View
0  ...mopcms/views/images/icon_folder_hover.gif → .../views/images/admin/icon_folder_hover.gif
File renamed without changes
View
0  ...es/mopcms/views/images/icon_folderadd.gif → ...cms/views/images/admin/icon_folderadd.gif
File renamed without changes
View
0  ...cms/views/images/icon_folderadd_hover.gif → ...ews/images/admin/icon_folderadd_hover.gif
Diff not rendered
View
0  ...s/mopcms/views/images/icon_folderopen.gif → ...ms/views/images/admin/icon_folderopen.gif
Diff not rendered
View
0  ...ms/views/images/icon_folderopen_hover.gif → ...ws/images/admin/icon_folderopen_hover.gif
Diff not rendered
View
0  modules/mopcms/views/images/icon_gif.gif → ...ls/mopcms/views/images/admin/icon_gif.gif
Diff not rendered
View
0  modules/mopcms/views/images/icon_jpg.gif → ...ls/mopcms/views/images/admin/icon_jpg.gif
Diff not rendered
View
0  modules/mopcms/views/images/icon_none.gif → ...s/mopcms/views/images/admin/icon_none.gif
Diff not rendered
View
0  modules/mopcms/views/images/icon_pdf.gif → ...ls/mopcms/views/images/admin/icon_pdf.gif
Diff not rendered
View
0  modules/mopcms/views/images/icon_png.gif → ...ls/mopcms/views/images/admin/icon_png.gif
Diff not rendered
View
0  ...es/mopcms/views/images/icon_published.gif → ...cms/views/images/admin/icon_published.gif
Diff not rendered
View
0  ...cms/views/images/icon_published_hover.gif → ...ews/images/admin/icon_published_hover.gif
Diff not rendered
View
0  modules/mopcms/views/images/icon_sort.png → ...s/mopcms/views/images/admin/icon_sort.png
Diff not rendered
View
0  ...s/mopcms/views/images/icon_sort_hover.png → ...ms/views/images/admin/icon_sort_hover.png
Diff not rendered
View
0  modules/mopcms/views/images/icon_trash.gif → .../mopcms/views/images/admin/icon_trash.gif
Diff not rendered
View
0  .../mopcms/views/images/icon_unpublished.gif → ...s/views/images/admin/icon_unpublished.gif
Diff not rendered
View
0  ...s/views/images/icon_unpublished_hover.gif → ...s/images/admin/icon_unpublished_hover.gif
Diff not rendered
View
0  modules/mopcms/views/images/icon_upload.png → ...mopcms/views/images/admin/icon_upload.png
Diff not rendered
View
0  modules/mopcms/views/images/icon_view.png → ...s/mopcms/views/images/admin/icon_view.png
Diff not rendered
View
0  modules/mopcms/views/images/navbg.gif → moptools/mopcms/views/images/admin/navbg.gif
Diff not rendered
View
0  modules/mopui/views/images/spinner.gif → ...ols/mopcms/views/images/admin/spinner.gif
Diff not rendered
View
0  ...les/mopcms/views/images/switch_handle.png → ...pcms/views/images/admin/switch_handle.png
Diff not rendered
View
0  modules/mopcms/views/images/switch_track.png → ...opcms/views/images/admin/switch_track.png
Diff not rendered
View
0  modules/mopcms/views/images/bar.gif → moptools/mopcms/views/images/bar.gif
Diff not rendered
View
0  modules/mopcms/views/images/admin/bg_row.gif → moptools/mopcms/views/images/bg_row.gif
Diff not rendered
View
0  .../mopcms/views/images/admin/bg_row_alt.gif → moptools/mopcms/views/images/bg_row_alt.gif
Diff not rendered