Skip to content
This repository
Browse code

The whirlwind swept through. 8-\

Highlights;

    - Added some of the formatting changes suggested by Keith
      Oberlin. (Thanks, Keith!)
    - File transfer stuff works.
    - Added page edit.
    - Modified page layout, still doesn't work, will soon.
    - Quicklinks size changes based on browser.
    - Added ui_download action to catalog_after.cfg
    - Changed all tallyman things to interchange.
    - order_view.html bug fixes found by Bob Jordan.
    - made rotate-file tag work for page upload backup.
    - Added RouteDatabase for high-volume vendor routes.
    - Many, many, minor changes.
  • Loading branch information...
commit efe1bb190bd9b0d73514665167beebf206d8bbf9 1 parent 483d2a2
perusionmike perusionmike authored

Showing 270 changed files with 2,118 additions and 25,335 deletions. Show diff stats Hide diff stats

  1. +33 23 MANIFEST
  2. +2 2 Makefile.PL
  3. +4 0 dist/barry/catalog.cfg
  4. +7 0 dist/barry/config/logobar
  5. +147 0 dist/barry/etc/log_entry
  6. +2 0  dist/barry/etc/log_transaction
  7. +2 2 dist/barry/etc/profiles.login
  8. BIN  dist/barry/images/admin/down.gif
  9. BIN  dist/barry/images/admin/folder.gif
  10. BIN  dist/barry/images/admin/folder.open.gif
  11. BIN  dist/barry/images/admin/index.gif
  12. BIN  dist/barry/images/admin/up.gif
  13. +1 1  dist/barry/pages/contact.us.html
  14. 0  dist/barry/pages/reconfig/.access
  15. +0 5 dist/barry/pages/reconfig/.access_gate
  16. +0 63 dist/barry/pages/reconfig/do_download.html
  17. +0 95 dist/barry/pages/reconfig/do_upload.html
  18. +0 16 dist/barry/pages/reconfig/reconfig.html
  19. +0 110 dist/barry/pages/reconfig/upload.html
  20. +7 3 dist/barry/pages/splash.html
  21. +1 0  dist/barry/products/route.txt
  22. +22 0 dist/catalog_after.cfg
  23. +10 3 dist/catalog_before.cfg
  24. +0 6 dist/lib/MiniMate/.cvsignore
  25. +0 1,232 dist/lib/MiniMate/CfgMgr.pm
  26. +0 505 dist/lib/MiniMate/LIESMICH
  27. +0 491 dist/lib/MiniMate/README
  28. +0 1,145 dist/lib/MiniMate/locales/de_DE.cfg
  29. +0 1,143 dist/lib/MiniMate/locales/fr_FR.cfg
  30. +0 1,143 dist/lib/MiniMate/locales/it_IT.cfg
  31. +0 1,003 dist/lib/MiniMate/locales/pt_BR.cfg
  32. +0 1,143 dist/lib/MiniMate/locales/ru_RU.cfg
  33. +0 58 dist/lib/MiniMate/minimate.cfg
  34. +0 1,376 dist/lib/MiniMate/mmtags.cfg
  35. +0 137 dist/lib/MiniMate/owner/config/add_field.html
  36. +0 4 dist/lib/MiniMate/owner/config/catalog.cfg.html
  37. +0 279 dist/lib/MiniMate/owner/config/db_column.html
  38. +0 199 dist/lib/MiniMate/owner/config/db_configure.html
  39. +0 140 dist/lib/MiniMate/owner/config/db_export.html
  40. +0 102 dist/lib/MiniMate/owner/config/db_journal.html
  41. +0 33 dist/lib/MiniMate/owner/config/db_limit.html
  42. +0 125 dist/lib/MiniMate/owner/config/db_upload.html
  43. +0 146 dist/lib/MiniMate/owner/config/dbedit.html
  44. +0 84 dist/lib/MiniMate/owner/config/delete_field.html
  45. +0 79 dist/lib/MiniMate/owner/config/directive.html
  46. +0 80 dist/lib/MiniMate/owner/config/do_download.html
  47. +0 70 dist/lib/MiniMate/owner/config/do_upload.html
  48. +0 44 dist/lib/MiniMate/owner/config/do_upload_page.html
  49. +0 63 dist/lib/MiniMate/owner/config/do_view.html
  50. +0 297 dist/lib/MiniMate/owner/config/edit_record.html
  51. +0 75 dist/lib/MiniMate/owner/config/edit_record_arg.html
  52. +0 90 dist/lib/MiniMate/owner/config/export.html
  53. +0 12 dist/lib/MiniMate/owner/config/fmenu.html
  54. +0 406 dist/lib/MiniMate/owner/config/format_meta.html
  55. +0 75 dist/lib/MiniMate/owner/config/fr_list.html
  56. +0 114 dist/lib/MiniMate/owner/config/fr_menu.html
  57. +0 38 dist/lib/MiniMate/owner/config/fr_select.html
  58. +0 4 dist/lib/MiniMate/owner/config/getfile.html
  59. +0 67 dist/lib/MiniMate/owner/config/key_violation.html
  60. +0 13 dist/lib/MiniMate/owner/config/last_search.html
  61. +0 79 dist/lib/MiniMate/owner/config/login.html
  62. +0 136 dist/lib/MiniMate/owner/config/menu.html
  63. +0 1  dist/lib/MiniMate/owner/config/noframe.html
  64. +0 3  dist/lib/MiniMate/owner/config/nothing.html
  65. +0 33 dist/lib/MiniMate/owner/config/reconfig.html
  66. +0 463 dist/lib/MiniMate/owner/config/report.html
  67. +0 376 dist/lib/MiniMate/owner/config/report_results.html
  68. +0 49 dist/lib/MiniMate/owner/config/save_report.html
  69. +0 18 dist/lib/MiniMate/owner/config/seefile.html
  70. +0 482 dist/lib/MiniMate/owner/config/setup_acl.html
  71. +0 179 dist/lib/MiniMate/owner/config/spread.html
  72. +0 180 dist/lib/MiniMate/owner/config/spread_results.html
  73. +0 67 dist/lib/MiniMate/owner/config/table_violation.html
  74. +0 66 dist/lib/MiniMate/owner/config/upload_config.html
  75. +0 97 dist/lib/MiniMate/owner/config/upload_other.html
  76. +0 129 dist/lib/MiniMate/owner/config/upload_pages.html
  77. +0 66 dist/lib/MiniMate/owner/config/violation.html
  78. +0 3  dist/lib/MiniMate/owner/special/naughty.html
  79. +0 137 dist/lib/MiniMate/pages/config/add_field.html
  80. +0 4 dist/lib/MiniMate/pages/config/catalog.cfg.html
  81. +0 279 dist/lib/MiniMate/pages/config/db_column.html
  82. +0 199 dist/lib/MiniMate/pages/config/db_configure.html
  83. +0 140 dist/lib/MiniMate/pages/config/db_export.html
  84. +0 102 dist/lib/MiniMate/pages/config/db_journal.html
  85. +0 33 dist/lib/MiniMate/pages/config/db_limit.html
  86. +0 125 dist/lib/MiniMate/pages/config/db_upload.html
  87. +0 146 dist/lib/MiniMate/pages/config/dbedit.html
  88. +0 84 dist/lib/MiniMate/pages/config/delete_field.html
  89. +0 79 dist/lib/MiniMate/pages/config/directive.html
  90. +0 80 dist/lib/MiniMate/pages/config/do_download.html
  91. +0 70 dist/lib/MiniMate/pages/config/do_upload.html
  92. +0 63 dist/lib/MiniMate/pages/config/do_view.html
  93. +0 297 dist/lib/MiniMate/pages/config/edit_record.html
  94. +0 75 dist/lib/MiniMate/pages/config/edit_record_arg.html
  95. +0 90 dist/lib/MiniMate/pages/config/export.html
  96. +0 12 dist/lib/MiniMate/pages/config/fmenu.html
  97. +0 406 dist/lib/MiniMate/pages/config/format_meta.html
  98. +0 75 dist/lib/MiniMate/pages/config/fr_list.html
  99. +0 114 dist/lib/MiniMate/pages/config/fr_menu.html
  100. +0 38 dist/lib/MiniMate/pages/config/fr_select.html
  101. +0 4 dist/lib/MiniMate/pages/config/getfile.html
  102. +0 67 dist/lib/MiniMate/pages/config/key_violation.html
  103. +0 13 dist/lib/MiniMate/pages/config/last_search.html
  104. +0 79 dist/lib/MiniMate/pages/config/login.html
  105. +0 139 dist/lib/MiniMate/pages/config/menu.html
  106. +0 1  dist/lib/MiniMate/pages/config/noframe.html
  107. +0 3  dist/lib/MiniMate/pages/config/nothing.html
  108. +0 33 dist/lib/MiniMate/pages/config/reconfig.html
  109. +0 463 dist/lib/MiniMate/pages/config/report.html
  110. +0 376 dist/lib/MiniMate/pages/config/report_results.html
  111. +0 49 dist/lib/MiniMate/pages/config/save_report.html
  112. +0 18 dist/lib/MiniMate/pages/config/seefile.html
  113. +0 485 dist/lib/MiniMate/pages/config/setup_acl.html
  114. +0 179 dist/lib/MiniMate/pages/config/spread.html
  115. +0 180 dist/lib/MiniMate/pages/config/spread_results.html
  116. +0 67 dist/lib/MiniMate/pages/config/table_violation.html
  117. +0 66 dist/lib/MiniMate/pages/config/upload_config.html
  118. +0 97 dist/lib/MiniMate/pages/config/upload_other.html
  119. +0 129 dist/lib/MiniMate/pages/config/upload_pages.html
  120. +0 66 dist/lib/MiniMate/pages/config/violation.html
  121. +0 3  dist/lib/MiniMate/pages/special/naughty.html
  122. +0 65 dist/lib/MiniMate/pages/tally/affiliates.html
  123. +0 70 dist/lib/MiniMate/pages/tally/dbdownload.html
  124. +0 51 dist/lib/MiniMate/pages/tally/error.html
  125. +0 212 dist/lib/MiniMate/pages/tally/error_item.html
  126. +0 37 dist/lib/MiniMate/pages/tally/footer
  127. +0 408 dist/lib/MiniMate/pages/tally/format_meta.html
  128. +0 85 dist/lib/MiniMate/pages/tally/genconfig.html
  129. +0 51 dist/lib/MiniMate/pages/tally/genstats.html
  130. +0 65 dist/lib/MiniMate/pages/tally/genxport.html
  131. +0 116 dist/lib/MiniMate/pages/tally/group.html
  132. +0 134 dist/lib/MiniMate/pages/tally/header
  133. +0 125 dist/lib/MiniMate/pages/tally/index.html
  134. +0 121 dist/lib/MiniMate/pages/tally/item.html
  135. +0 210 dist/lib/MiniMate/pages/tally/item_edit.html
  136. +0 180 dist/lib/MiniMate/pages/tally/layout.html
  137. +0 62 dist/lib/MiniMate/pages/tally/layoutdownload.html
  138. +0 65 dist/lib/MiniMate/pages/tally/layoutupload.html
  139. +0 96 dist/lib/MiniMate/pages/tally/login.html
  140. +0 58 dist/lib/MiniMate/pages/tally/matrix_create.html
  141. +0 56 dist/lib/MiniMate/pages/tally/matrix_edit.html
  142. +0 233 dist/lib/MiniMate/pages/tally/multi.html
  143. +0 234 dist/lib/MiniMate/pages/tally/order.html
  144. +0 317 dist/lib/MiniMate/pages/tally/order_view.html
  145. +0 116 dist/lib/MiniMate/pages/tally/page.html
  146. +0 203 dist/lib/MiniMate/pages/tally/payment.html
  147. +0 142 dist/lib/MiniMate/pages/tally/quicklinks.html
  148. +0 36 dist/lib/MiniMate/pages/tally/reconfig.html
  149. +0 115 dist/lib/MiniMate/pages/tally/regen.html
  150. +0 122 dist/lib/MiniMate/pages/tally/ship.html
  151. +0 99 dist/lib/MiniMate/pages/tally/ship_range.html
  152. +0 83 dist/lib/MiniMate/pages/tally/tax.html
  153. +21 4 dist/lib/UI/Primitive.pm
  154. +16 9 dist/lib/UI/pages/admin/access.html
  155. +3 3 dist/lib/UI/pages/admin/access_permissions.html
  156. +3 3 dist/lib/UI/pages/admin/advanced.html
  157. +5 7 dist/lib/UI/pages/admin/affiliates.html
  158. +27 6 dist/lib/UI/pages/admin/button_builder.html
  159. +12 0 dist/lib/UI/pages/admin/change_t.pl
  160. +6 6 dist/lib/UI/pages/admin/config.html
  161. +31 19 dist/lib/UI/pages/admin/customer.html
  162. +5 5 dist/lib/UI/pages/admin/customer_change_pass.html
  163. +23 24 dist/lib/UI/pages/admin/customer_view.html
  164. +2 4 dist/lib/UI/pages/admin/dbdownload.html
  165. +37 0 dist/lib/UI/pages/admin/do_upload.html
  166. +12 13 dist/lib/{MiniMate/pages/config → UI/pages/admin}/do_upload_page.html
  167. +37 0 dist/lib/UI/pages/admin/do_view.html
  168. +4 4 dist/lib/UI/pages/admin/entry.html
  169. +4 6 dist/lib/UI/pages/admin/entry_select.html
  170. +2 0  dist/lib/UI/pages/admin/env_vars.html
  171. +3 5 dist/lib/UI/pages/admin/error.html
  172. +3 5 dist/lib/UI/pages/admin/error_item.html
  173. +21 21 dist/lib/UI/pages/admin/export_table.html
  174. +5 7 dist/lib/UI/pages/admin/flex_select.html
  175. +0 35 dist/lib/UI/pages/admin/footer
  176. +3 3 dist/lib/UI/pages/admin/genconfig.html
  177. +5 5 dist/lib/UI/pages/admin/genreport.html
  178. +3 3 dist/lib/UI/pages/admin/genstats.html
  179. +3 3 dist/lib/UI/pages/admin/gentable.html
  180. +51 0 dist/lib/UI/pages/admin/genupload.html
  181. +3 3 dist/lib/UI/pages/admin/genxport.html
  182. +1 1  dist/lib/UI/pages/admin/group.html
  183. +1 4 dist/lib/UI/pages/admin/group_edit.html
  184. +0 136 dist/lib/UI/pages/admin/header
  185. +3 3 dist/lib/UI/pages/admin/import_table.html
  186. +113 46 dist/lib/UI/pages/admin/index.html
  187. +4 6 dist/lib/UI/pages/admin/item.html
  188. +89 46 dist/lib/UI/pages/admin/layout.html
  189. +5 5 dist/lib/UI/pages/admin/layout_create.html
  190. +1 1  dist/lib/UI/pages/admin/login.html
  191. +1 1  dist/lib/UI/pages/admin/logout.html
  192. +3 3 dist/lib/UI/pages/admin/matrix_create.html
  193. +3 3 dist/lib/UI/pages/admin/matrix_edit.html
  194. +12 16 dist/lib/UI/pages/admin/order.html
  195. +14 12 dist/lib/UI/pages/admin/order_view.html
  196. +3 3 dist/lib/UI/pages/admin/orderstats.html
  197. +64 65 dist/lib/UI/pages/admin/page.html
  198. +218 0 dist/lib/UI/pages/admin/page_edit.html
  199. +35 0 dist/lib/UI/pages/admin/page_preview.html
  200. +55 0 dist/lib/UI/pages/admin/page_save.html
  201. +3 3 dist/lib/UI/pages/admin/payment.html
  202. +54 14 dist/lib/UI/pages/admin/quicklinks.html
  203. +0 102 dist/lib/UI/pages/admin/regen.html
  204. +8 8 dist/lib/UI/pages/admin/report.html
  205. +1 1  dist/lib/UI/pages/admin/reports/order/Detail.html
  206. +1 1  dist/lib/UI/pages/admin/reports/order/Monthly.html
  207. +6 6 dist/lib/UI/pages/admin/search_builder.html
  208. +4 4 dist/lib/UI/pages/admin/ship.html
  209. +3 3 dist/lib/UI/pages/admin/ship_data.html
  210. +3 3 dist/lib/UI/pages/admin/ship_edit.html
  211. +3 3 dist/lib/UI/pages/admin/ship_range.html
  212. +1 1  dist/lib/UI/pages/admin/special/key_violation.html
  213. +12 12 dist/lib/UI/pages/admin/spread.html
  214. +3 3 dist/lib/UI/pages/admin/table_editor.html
  215. +4 4 dist/lib/UI/pages/admin/tax.html
  216. +3 3 dist/lib/UI/pages/admin/trafficstats.html
  217. +18 0 dist/lib/UI/pages/admin/upload_config.html
  218. +79 0 dist/lib/UI/pages/admin/upload_file.html
  219. +18 0 dist/lib/UI/pages/admin/upload_other.html
  220. +19 0 dist/lib/UI/pages/admin/upload_pages.html
  221. +7 7 dist/lib/UI/pages/admin/user_change_pass.html
  222. +1 4 dist/lib/UI/pages/admin/user_edit.html
  223. +3 0  dist/lib/UI/profiles/order_button_build
  224. +33 0 dist/lib/UI/usertag/backup_file
  225. +160 0 dist/lib/UI/usertag/file_navigator
  226. +1 1  dist/lib/UI/usertag/list_glob
  227. +97 0 dist/lib/UI/usertag/read_ui_template
  228. +3 3 dist/lib/UI/usertag/rotate_file
  229. +5 5 dist/lib/UI/vars/UI_STD_DBEDIT_TABLE
  230. +51 0 dist/lib/UI/vars/UI_STD_FILE_NAV
  231. +22 22 dist/lib/UI/vars/UI_STD_FOOTER
  232. +66 55 dist/lib/UI/vars/UI_STD_HEAD
  233. +4 0 dist/simple/catalog.cfg
  234. +7 0 dist/simple/config/blue1/logobar
  235. +7 0 dist/simple/config/brown1/logobar
  236. +7 0 dist/simple/config/yellow1/logobar
  237. +147 0 dist/simple/etc/log_entry
  238. +2 0  dist/simple/etc/log_transaction
  239. +2 2 dist/simple/etc/profiles.login
  240. +4 0 dist/simple/html/index.html
  241. BIN  dist/simple/images/admin/down.gif
  242. BIN  dist/simple/images/admin/folder.gif
  243. BIN  dist/simple/images/admin/folder.open.gif
  244. BIN  dist/simple/images/admin/index.gif
  245. BIN  dist/simple/images/admin/up.gif
  246. +3 2 dist/simple/pages/account.html
  247. +0 5 dist/simple/pages/config/report_def/New.html
  248. +0 32 dist/simple/pages/config/report_def/Orders%20by%20SKU%20-%20Short.html
  249. +0 49 dist/simple/pages/config/report_def/Orders%20by%20SKU.html
  250. +0 46 dist/simple/pages/config/report_def/Orders%20by%20amount.html
  251. +0 41 dist/simple/pages/config/report_def/Products%20by%20category.html
  252. +0 36 dist/simple/pages/config/report_def/Products%20to%20edit.html
  253. +0 60 dist/simple/pages/config/reports/Orders%20by%20SKU%20-%20Short.html
  254. +0 91 dist/simple/pages/config/reports/Orders%20by%20SKU.html
  255. +0 57 dist/simple/pages/config/reports/Orders%20by%20amount.html
  256. +0 98 dist/simple/pages/config/reports/Products%20by%20category.html
  257. +0 51 dist/simple/pages/config/reports/Products%20to%20edit.html
  258. +3 2 dist/simple/pages/login.html
  259. +1 1  dist/simple/pages/splash.html
  260. +0 11 dist/simple/pages/view_page.html
  261. +1 0  dist/simple/products/route.txt
  262. +1 1  dist/simple/products/variable.txt
  263. +3 3 lib/Vend/Config.pm
  264. +3 2 lib/Vend/Interpolate.pm
  265. +2 5 lib/Vend/Misc/Static.pm
  266. +3 3 lib/Vend/Server.pm
  267. +3 3 lib/Vend/Table/Common.pm
  268. +3 3 lib/Vend/Table/DBI.pm
  269. +3 3 lib/Vend/UserDB.pm
  270. +4 3 scripts/minivend.PL
56 MANIFEST
@@ -22,6 +22,7 @@ dist/barry/config/no_right
22 22 dist/barry/config/precopy_commands
23 23 dist/barry/config/rightside
24 24 dist/barry/config/standard_defs
  25 +dist/barry/etc/log_entry
25 26 dist/barry/etc/log_transaction
26 27 dist/barry/etc/mail_receipt
27 28 dist/barry/etc/profiles.login
@@ -50,6 +51,9 @@ dist/barry/images/admin/coinlogo.jpg
50 51 dist/barry/images/admin/curve_left.gif
51 52 dist/barry/images/admin/curve_right.gif
52 53 dist/barry/images/admin/delete.gif
  54 +dist/barry/images/admin/down.gif
  55 +dist/barry/images/admin/folder.gif
  56 +dist/barry/images/admin/folder.open.gif
53 57 dist/barry/images/admin/greendot.gif
54 58 dist/barry/images/admin/icon_config.gif
55 59 dist/barry/images/admin/icon_help.gif
@@ -59,11 +63,13 @@ dist/barry/images/admin/icon_pages.gif
59 63 dist/barry/images/admin/icon_regen.gif
60 64 dist/barry/images/admin/icon_regen_anim.gif
61 65 dist/barry/images/admin/icon_stats.gif
  66 +dist/barry/images/admin/index.gif
62 67 dist/barry/images/admin/plus.gif
63 68 dist/barry/images/admin/red_logo.gif
64 69 dist/barry/images/admin/reddot.gif
65 70 dist/barry/images/admin/tallyman_logo.gif
66 71 dist/barry/images/admin/tan_logo.gif
  72 +dist/barry/images/admin/up.gif
67 73 dist/barry/images/admin/widgets.gif
68 74 dist/barry/images/aspen.gif
69 75 dist/barry/images/avid.arch50.jpg
@@ -210,7 +216,6 @@ dist/barry/pages/special/needfield.html
210 216 dist/barry/pages/splash.html
211 217 dist/barry/pages/srchform.html
212 218 dist/barry/pages/subcat.html
213   -dist/barry/pages/view_page.html
214 219 dist/barry/pgsql/area.pgsql
215 220 dist/barry/pgsql/cat.pgsql
216 221 dist/barry/pgsql/country.pgsql
@@ -242,6 +247,7 @@ dist/barry/products/mv_metadata.asc
242 247 dist/barry/products/orderline.txt
243 248 dist/barry/products/pricing.txt
244 249 dist/barry/products/products.txt
  250 +dist/barry/products/route.txt
245 251 dist/barry/products/salestax.asc
246 252 dist/barry/products/shipping.asc
247 253 dist/barry/products/state.txt
@@ -391,27 +397,32 @@ dist/lib/UI/pages/admin/access_permissions.html
391 397 dist/lib/UI/pages/admin/advanced.html
392 398 dist/lib/UI/pages/admin/affiliates.html
393 399 dist/lib/UI/pages/admin/button_builder.html
  400 +dist/lib/UI/pages/admin/change_t.pl
394 401 dist/lib/UI/pages/admin/config.html
395 402 dist/lib/UI/pages/admin/customer.html
396 403 dist/lib/UI/pages/admin/customer_change_pass.html
397 404 dist/lib/UI/pages/admin/customer_view.html
398 405 dist/lib/UI/pages/admin/dbdownload.html
  406 +dist/lib/UI/pages/admin/do_upload.html
  407 +dist/lib/UI/pages/admin/do_upload_page.html
  408 +dist/lib/UI/pages/admin/do_view.html
  409 +dist/lib/UI/pages/admin/entry.html
  410 +dist/lib/UI/pages/admin/entry_select.html
399 411 dist/lib/UI/pages/admin/env_vars.html
400 412 dist/lib/UI/pages/admin/error.html
401 413 dist/lib/UI/pages/admin/error_item.html
402 414 dist/lib/UI/pages/admin/export_table.html
403 415 dist/lib/UI/pages/admin/flex_editor.html
404 416 dist/lib/UI/pages/admin/flex_select.html
405   -dist/lib/UI/pages/admin/footer
406 417 dist/lib/UI/pages/admin/format_meta.html
407 418 dist/lib/UI/pages/admin/genconfig.html
408 419 dist/lib/UI/pages/admin/genreport.html
409 420 dist/lib/UI/pages/admin/genstats.html
410 421 dist/lib/UI/pages/admin/gentable.html
  422 +dist/lib/UI/pages/admin/genupload.html
411 423 dist/lib/UI/pages/admin/genxport.html
412 424 dist/lib/UI/pages/admin/group.html
413 425 dist/lib/UI/pages/admin/group_edit.html
414   -dist/lib/UI/pages/admin/header
415 426 dist/lib/UI/pages/admin/import_table.html
416 427 dist/lib/UI/pages/admin/index.html
417 428 dist/lib/UI/pages/admin/item.html
@@ -419,8 +430,6 @@ dist/lib/UI/pages/admin/item_edit.html
419 430 dist/lib/UI/pages/admin/layout.html
420 431 dist/lib/UI/pages/admin/layout_create.html
421 432 dist/lib/UI/pages/admin/layout_subcat.html
422   -dist/lib/UI/pages/admin/layoutdownload.html
423   -dist/lib/UI/pages/admin/layoutupload.html
424 433 dist/lib/UI/pages/admin/login.html
425 434 dist/lib/UI/pages/admin/logout.html
426 435 dist/lib/UI/pages/admin/matrix_create.html
@@ -429,6 +438,9 @@ dist/lib/UI/pages/admin/order.html
429 438 dist/lib/UI/pages/admin/order_view.html
430 439 dist/lib/UI/pages/admin/orderstats.html
431 440 dist/lib/UI/pages/admin/page.html
  441 +dist/lib/UI/pages/admin/page_edit.html
  442 +dist/lib/UI/pages/admin/page_preview.html
  443 +dist/lib/UI/pages/admin/page_save.html
432 444 dist/lib/UI/pages/admin/payment.html
433 445 dist/lib/UI/pages/admin/quicklinks.html
434 446 dist/lib/UI/pages/admin/reconfig.html
@@ -451,6 +463,10 @@ dist/lib/UI/pages/admin/spread.html
451 463 dist/lib/UI/pages/admin/table_editor.html
452 464 dist/lib/UI/pages/admin/tax.html
453 465 dist/lib/UI/pages/admin/trafficstats.html
  466 +dist/lib/UI/pages/admin/upload_config.html
  467 +dist/lib/UI/pages/admin/upload_file.html
  468 +dist/lib/UI/pages/admin/upload_other.html
  469 +dist/lib/UI/pages/admin/upload_pages.html
454 470 dist/lib/UI/pages/admin/user_change_pass.html
455 471 dist/lib/UI/pages/admin/user_edit.html
456 472 dist/lib/UI/profiles/login
@@ -459,6 +475,7 @@ dist/lib/UI/ui.cfg
459 475 dist/lib/UI/usertag/available_ups_internal
460 476 dist/lib/UI/usertag/available_www_shipping
461 477 dist/lib/UI/usertag/backup-database
  478 +dist/lib/UI/usertag/backup_file
462 479 dist/lib/UI/usertag/base_url
463 480 dist/lib/UI/usertag/check_upload
464 481 dist/lib/UI/usertag/db_columns
@@ -470,6 +487,7 @@ dist/lib/UI/usertag/e
470 487 dist/lib/UI/usertag/export_database
471 488 dist/lib/UI/usertag/field_label
472 489 dist/lib/UI/usertag/file_info
  490 +dist/lib/UI/usertag/file_navigator
473 491 dist/lib/UI/usertag/global_value
474 492 dist/lib/UI/usertag/grep_mm
475 493 dist/lib/UI/usertag/if_key_exists
@@ -487,6 +505,7 @@ dist/lib/UI/usertag/newer
487 505 dist/lib/UI/usertag/quick_table
488 506 dist/lib/UI/usertag/read_serial
489 507 dist/lib/UI/usertag/read_shipping
  508 +dist/lib/UI/usertag/read_ui_template
490 509 dist/lib/UI/usertag/rotate_database
491 510 dist/lib/UI/usertag/rotate_file
492 511 dist/lib/UI/usertag/rotate_table
@@ -506,6 +525,7 @@ dist/lib/UI/usertag/write_relative_file
506 525 dist/lib/UI/usertag/write_shipping
507 526 dist/lib/UI/vars/UI_STD_DBEDIT_HEAD
508 527 dist/lib/UI/vars/UI_STD_DBEDIT_TABLE
  528 +dist/lib/UI/vars/UI_STD_FILE_NAV
509 529 dist/lib/UI/vars/UI_STD_FOOTER
510 530 dist/lib/UI/vars/UI_STD_HEAD
511 531 dist/locale.error
@@ -540,6 +560,7 @@ dist/simple/config/yellow1/menubottom
540 560 dist/simple/config/yellow1/no_right
541 561 dist/simple/config/yellow1/only_logo
542 562 dist/simple/config/yellow1/rightside
  563 +dist/simple/etc/log_entry
543 564 dist/simple/etc/log_transaction
544 565 dist/simple/etc/mail_receipt
545 566 dist/simple/etc/profiles.login
@@ -562,6 +583,9 @@ dist/simple/images/admin/coinlogo.jpg
562 583 dist/simple/images/admin/curve_left.gif
563 584 dist/simple/images/admin/curve_right.gif
564 585 dist/simple/images/admin/delete.gif
  586 +dist/simple/images/admin/down.gif
  587 +dist/simple/images/admin/folder.gif
  588 +dist/simple/images/admin/folder.open.gif
565 589 dist/simple/images/admin/greendot.gif
566 590 dist/simple/images/admin/icon_config.gif
567 591 dist/simple/images/admin/icon_help.gif
@@ -571,11 +595,13 @@ dist/simple/images/admin/icon_pages.gif
571 595 dist/simple/images/admin/icon_regen.gif
572 596 dist/simple/images/admin/icon_regen_anim.gif
573 597 dist/simple/images/admin/icon_stats.gif
  598 +dist/simple/images/admin/index.gif
574 599 dist/simple/images/admin/plus.gif
575 600 dist/simple/images/admin/red_logo.gif
576 601 dist/simple/images/admin/reddot.gif
577 602 dist/simple/images/admin/tallyman_logo.gif
578 603 dist/simple/images/admin/tan_logo.gif
  604 +dist/simple/images/admin/up.gif
579 605 dist/simple/images/admin/widgets.gif
580 606 dist/simple/images/blue1/cart.png
581 607 dist/simple/images/blue1/go.png
@@ -646,17 +672,6 @@ dist/simple/pages/action/get_password.html
646 672 dist/simple/pages/browse.html
647 673 dist/simple/pages/browse1.html
648 674 dist/simple/pages/canceled.html
649   -dist/simple/pages/config/report_def/New.html
650   -dist/simple/pages/config/report_def/Orders%20by%20SKU%20-%20Short.html
651   -dist/simple/pages/config/report_def/Orders%20by%20SKU.html
652   -dist/simple/pages/config/report_def/Orders%20by%20amount.html
653   -dist/simple/pages/config/report_def/Products%20by%20category.html
654   -dist/simple/pages/config/report_def/Products%20to%20edit.html
655   -dist/simple/pages/config/reports/Orders%20by%20SKU%20-%20Short.html
656   -dist/simple/pages/config/reports/Orders%20by%20SKU.html
657   -dist/simple/pages/config/reports/Orders%20by%20amount.html
658   -dist/simple/pages/config/reports/Products%20by%20category.html
659   -dist/simple/pages/config/reports/Products%20to%20edit.html
660 675 dist/simple/pages/deliver.html
661 676 dist/simple/pages/examples/test_banner.html
662 677 dist/simple/pages/feedback.html
@@ -682,18 +697,11 @@ dist/simple/pages/privacy.html
682 697 dist/simple/pages/quantity.html
683 698 dist/simple/pages/query/check_orders.html
684 699 dist/simple/pages/query/order_detail.html
685   -dist/simple/pages/reconfig/.access
686   -dist/simple/pages/reconfig/.access_gate
687   -dist/simple/pages/reconfig/do_download.html
688   -dist/simple/pages/reconfig/do_upload.html
689   -dist/simple/pages/reconfig/reconfig.html
690   -dist/simple/pages/reconfig/upload.html
691 700 dist/simple/pages/results.html
692 701 dist/simple/pages/special/feedback.html
693 702 dist/simple/pages/special/needfield.html
694 703 dist/simple/pages/splash.html
695 704 dist/simple/pages/srchform.html
696   -dist/simple/pages/view_page.html
697 705 dist/simple/pgsql/area.pgsql
698 706 dist/simple/pgsql/cat.pgsql
699 707 dist/simple/pgsql/country.pgsql
@@ -725,6 +733,7 @@ dist/simple/products/mv_metadata.asc
725 733 dist/simple/products/orderline.txt
726 734 dist/simple/products/pricing.txt
727 735 dist/simple/products/products.txt
  736 +dist/simple/products/route.txt
728 737 dist/simple/products/salestax.asc
729 738 dist/simple/products/shipping.asc
730 739 dist/simple/products/state.txt
@@ -766,6 +775,7 @@ dist/usertag/bar_button
766 775 dist/usertag/db_date
767 776 dist/usertag/email
768 777 dist/usertag/email_raw
  778 +dist/usertag/fcounter
769 779 dist/usertag/loc
770 780 dist/usertag/rand
771 781 dist/usertag/reconfig
4 Makefile.PL
@@ -27,7 +27,7 @@ my $Prompt_sub;
27 27 my @mods_to_get;
28 28 my $Lock_troubles;
29 29
30   -$VERSION = '4.5.1';
  30 +$VERSION = '4.5.2';
31 31
32 32 # See if we have the CPAN module
33 33 my $Cpan = 0;
@@ -718,7 +718,7 @@ else {
718 718 'pod/mvtags.pod' => 'blib/man3/mvtags.8',
719 719 'pod/mvfaq.pod' => 'blib/man3/mvfaq.8',
720 720 },
721   - DISTNAME => "minivend",
  721 + DISTNAME => "interchange",
722 722 clean => {
723 723 FILES=> "lib/IniConf.pm _uid _db_storable _session_storable lib/File/CounterFile.pm scripts/initp.pl scripts/compile_link scripts/config_prog scripts/configdump scripts/dump scripts/expire scripts/localize scripts/expireall scripts/makecat scripts/minivend scripts/offline scripts/restart scripts/update dist/simple/download/mvdocs.pod dist/simple/download/mvtags.pod dist/simple/download/mvfaq.pod pod/mvtags.pod",
724 724 },
4 dist/barry/catalog.cfg
@@ -361,6 +361,10 @@ Route main supplant 1
361 361 Route main individual_track orders
362 362 Route main track logs/tracking.asc
363 363
  364 +# Order routes can be maintained in a database, empty in demo
  365 +# CHANGES TO THIS WILL OVERRIDE THE ROUTES ABOVE
  366 +RouteDatabase route
  367 +
364 368 SalesTax state
365 369 SeparateItems Yes
366 370 SpecialPage flypage flypage
7 dist/barry/config/logobar
... ... @@ -1,3 +1,10 @@
  1 +[if scratch members_only]
  2 + [set members_only][/set]
  3 + [if !session logged_in]
  4 + [set mv_successpage]@@MV_PAGE@@[/set]
  5 + [bounce page=login]
  6 + [/if]
  7 +[/if]
1 8 <html>
2 9 <head>
3 10 <title>[scratch page_title]</title>
147 dist/barry/etc/log_entry
... ... @@ -0,0 +1,147 @@
  1 +#### begin [value mv_order_number] #####
  2 +[seti transaction_record]
  3 +[tag flag write]transactions orderline userdb inventory[/tag]
  4 +[if cgi new_customer_id]
  5 +Add new customer: [value name=customer_id set="[fcounter etc/customer.number]"]
  6 +Set password: [value name=password set="[value name=zip filter='word uc']"]
  7 +[/if]
  8 +Update userdb: [perl table=userdb]
  9 + my $id = $Values->{username} = $Values->{customer_id};
  10 + @always = qw/
  11 + company
  12 + fname
  13 + lname
  14 + address1
  15 + address2
  16 + city
  17 + state
  18 + zip
  19 + country
  20 + phone_day
  21 + mv_shipmode
  22 + mv_credit_card_type
  23 + mv_credit_card_exp_month
  24 + mv_credit_card_exp_year
  25 + email
  26 + phone_night
  27 + fax_order
  28 + email_copy
  29 + mail_list
  30 + /;
  31 + @sometimes = qw/
  32 + password
  33 + b_fname
  34 + b_lname
  35 + b_address1
  36 + b_address2
  37 + b_city
  38 + b_state
  39 + b_zip
  40 + b_country
  41 + b_phone
  42 + fax
  43 + credit_limit
  44 + /;
  45 +
  46 + my $db = $Db{userdb};
  47 +
  48 + if(! $db->record_exists($id)) {
  49 + $db->set_row($id);
  50 + $db->set_field($id, 'password', $Values->{password});
  51 + }
  52 +
  53 + for(@always) {
  54 + $db->set_field($id, $_, $Values->{$_});
  55 + }
  56 +
  57 + for (@sometimes) {
  58 + next unless $Values->{$_} =~ /\S/;
  59 + $db->set_field($id, $_, $Values->{$_});
  60 + }
  61 +
  62 + return "Updated customer record.";
  63 +[/perl]
  64 +
  65 +
  66 +[perl] Log("Starting entry."); [/perl]
  67 +
  68 +[try]
  69 +[perl] Log("Past ACL update user."); [/perl]
  70 +Add main order [data
  71 + table=userdb
  72 + column=order_numbers
  73 + key="[value customer_id]"
  74 + value=" [value mv_order_number]"
  75 + append="1"
  76 + ] to transactions: [import table=transactions type=LINE continue=NOTES]
  77 +code: [value mv_order_number]
  78 +store_id: __STORE_ID__
  79 +order_number: [value mv_order_number]
  80 +session: [data session id]
  81 +username: [value username]
  82 +shipmode: [value mv_shipmode] ([shipping-desc])
  83 +shipping: [shipping noformat=1]
  84 +nitems: [nitems]
  85 +subtotal: [subtotal noformat=1]
  86 +handling: [handling noformat=1]
  87 +salestax: [salestax noformat=1]
  88 +total_cost: [total-cost noformat=1]
  89 +fname: [value filter=strip name=fname]
  90 +lname: [value filter=strip name=lname]
  91 +company: [value filter=strip name=company]
  92 +address1: [value filter=strip name=address1]
  93 +address2: [value filter=strip name=address2]
  94 +city: [value filter=strip name=city]
  95 +state: [value name=state filter="strip uc"]
  96 +zip: [value name=zip filter="word uc"]
  97 +country: [value country]
  98 +phone_day: [value filter=strip name=phone_day]
  99 +phone_night: [value filter=strip name=phone_night]
  100 +b_fname: [value filter=strip name=b_fname]
  101 +b_lname: [value filter=strip name=b_lname]
  102 +b_address1: [value filter=strip name=b_address1]
  103 +b_address2: [value filter=strip name=b_address2]
  104 +b_city: [value filter=strip name=b_city]
  105 +b_state: [value filter=strip name=b_state]
  106 +b_zip: [value filter=strip name=b_zip]
  107 +b_country: [value filter=strip name=b_country]
  108 +b_phone: [value filter=strip name=b_phone]
  109 +payment_method: [value mv_payment]
  110 +order_date: [value name=order_date set="[tag time]%Y%m%d %H:%M:%S[/tag]"]
  111 +order_ymd: [value name=order_date set="[tag time]%Y%m%d[/tag]"]
  112 +order_wday: [value name=order_wday set="[tag time]%u[/tag]"]
  113 +status: pending
  114 +affiliate: ORDER_DESK
  115 +po_number: [value filter=strip po_number]
  116 +[/import]
  117 +[perl] Log("Past transactions entry."); [/perl][item-list]Added [item-code] to orderline: [import table=orderline type=LINE continue=NOTES]
  118 +code: [value mv_order_number]-[item-increment]
  119 +store_id: __STORE_ID__
  120 +order_number: [value mv_order_number]
  121 +session: [data session id]
  122 +username: [value username]
  123 +shipmode: [item-modifier mv_shipmode]
  124 +sku: [item-code]
  125 +quantity: [item-quantity]
  126 +price: [item-price noformat]
  127 +subtotal: [item-subtotal noformat]
  128 +size: [item-modifier size]
  129 +color: [item-modifier color]
  130 +order_date: [value order_date]
  131 +affiliate: ORDER_DESK
  132 +campaign: [value campaign]
  133 +status: pending
  134 +[/import]
  135 +Inventory now: [data table=inventory col=quantity key="[item-code]" increment=1 value="-[item-quantity]"]
  136 +[/item-list][/try]
  137 +[catch] There was an error adding to the transaction log. [/catch]
  138 +[perl] Log("Past add data entry."); [/perl]
  139 +
  140 +[perl] Log("Past all transaction log."); [/perl]
  141 +[/seti][perl]
  142 + my $out = $Scratch->{transaction_record};
  143 + $out =~ s/^\s+//;
  144 + $out =~ s/\s+$//;
  145 + return $out;
  146 +[/perl]
  147 +#### end [value mv_order_number] #####
2  dist/barry/etc/log_transaction
@@ -68,6 +68,8 @@ status: pending
68 68 affiliate: [data session source]
69 69 campaign: [value campaign]
70 70 parent: __PARENT__
  71 +deleted:
  72 +archived:
71 73 po_number: [value filter=strip po_number]
72 74 [/import]
73 75 [comment][perl] Log("Past transactions entry."); [/perl][/comment][item-list]Added [item-code] to orderline: [import table=orderline type=LINE continue=NOTES]
4 dist/barry/etc/profiles.login
@@ -2,9 +2,9 @@
2 2 __NAME__ Logout
3 3
4 4 [if type=explicit compare="[userdb logout]"]
5   -mv_nextpage=[cgi mv_successpage]
  5 +mv_nextpage=[either][cgi mv_successpage][or][cgi mv_nextpage][/either]
6 6 [else]
7   -mv_nextpage=[cgi mv_failpage]
  7 +mv_nextpage=[either][cgi mv_failpage][or][cgi mv_nextpage][/either]
8 8 [/else]
9 9 [/if]
10 10
BIN  dist/barry/images/admin/down.gif
BIN  dist/barry/images/admin/folder.gif
BIN  dist/barry/images/admin/folder.open.gif
BIN  dist/barry/images/admin/index.gif
BIN  dist/barry/images/admin/up.gif
2  dist/barry/pages/contact.us.html
@@ -4,7 +4,7 @@
4 4 __LEFTSIDE__
5 5
6 6 <br><br>
7   -Since we aren't a real store, we'll provide a totally fake address and phone number. However, our email address is real. Email here if you'd like to ask any questions about Tallyman.
  7 +Since we aren't a real store, we'll provide a totally fake address and phone number. However, our email address is real. Email here if you'd like to ask any questions about Interchange.
8 8 <p>
9 9 Barry's Books, Bikes, and Birkenstocks
10 10 <p>
0  dist/barry/pages/reconfig/.access
No changes.
5 dist/barry/pages/reconfig/.access_gate
... ... @@ -1,5 +0,0 @@
1   -upload: [if session username eq 'minivend']Yes[else]No[/else][/if]
2   -do_upload: [if session username eq 'minivend']Yes[else]No[/else][/if]
3   -do_download: [if session username eq 'minivend']Yes[else]No[/else][/if]
4   -reconfig: [if session username eq 'minivend']Yes[else]No[/else][/if]
5   -*: 0
63 dist/barry/pages/reconfig/do_download.html
... ... @@ -1,63 +0,0 @@
1   -[set name=total_junk interpolate=1]
2   -[if type=explicit compare="[perl arg=values]
3   - my $v = $Safe{'values'};
4   - for ( qw/ page_to_upload
5   - db_to_upload
6   - arbitrary_to_upload /
7   - )
8   - {
9   - return 1 if $v->{$_} =~ m{\.\./};
10   - return 1 if $v->{$_} =~ m{^\s*[a-zA-Z]:/};
11   - $v->{$_} =~ s{^/}{};
12   - }
13   - return '';[/perl]"]
14   -[tag op=log file=">tmp/naughty"]
15   -That was very naughty!
16   -[/tag]
17   -[tag op=log file="tmp/naughty"]
18   -Hmm, were you reported? Time will tell.
19   -[/tag]
20   -[tag op=log file="tmp/naughty"]
21   -[data session id] - [calc]localtime[/calc] SECURITY VIOLATION
22   --- attempt to download one of:
23   - [value arbitrary_to_upload]
24   - [value page_to_upload]
25   - [value db_to_upload]
26   -by:
27   - [data session username]
28   - [data session host]
29   -[/tag]
30   -[loop arg="arbitrary_to_upload page_to_upload db_to_upload "]
31   -[value name="[loop-code]" set=""]
32   -[/loop]
33   -[value name="arbitrary_to_upload" set="tmp/naughty"]
34   -
35   -[/if]
36   -
37   -[if value page_to_upload]
38   - [value name=file_to_download set="pages/[value page_to_upload]"]
39   -
40   -[elsif value db_to_upload]
41   - [perl arg="config values"]
42   - my $db = $Safe{'values'}{db_to_upload};
43   - $db =~ s/[\0\s].*//s;
44   - $fn = $Safe{config}{Database}{$db}{'file'};
45   - $Safe{'values'}{file_to_download} = "products/$fn";
46   - [/perl]
47   -[/elsif]
48   -
49   -[elsif value arbitrary_to_upload]
50   - [value name=file_to_download set="[value arbitrary_to_upload]"]
51   -[/elsif]
52   -
53   -[else]
54   - [bounce special/missing]
55   -[/else]
56   -
57   -[/if]
58   -
59   -[loop arg="arbitrary_to_upload page_to_upload db_to_upload "]
60   -[value name="[loop-code] set=""]
61   -[/loop]
62   -[/set][tag op=header]Content-Type: application/octet-stream[/tag][file name="[value file_to_download]" type="[value download_conversion]"
63   -][value name=file_to_download set=""][goto end=1 abort=1]
95 dist/barry/pages/reconfig/do_upload.html
... ... @@ -1,95 +0,0 @@
1   -[set page_title] __COMPANY__ -- Database Upload Results [/set]
2   -__LOGOBAR__
3   -__MENUBAR__
4   -__LEFTSIDE__
5   -
6   -<BLOCKQUOTE>
7   -<TABLE>
8   -<CAPTION> <H2> Upload </H2></CAPTION>
9   -[if value page_to_upload]
10   -<TR>
11   -<TD>
12   -Page upload of <B>[value page_to_upload]</B> -->
13   -</TD>
14   -<TD>
15   -[if type=explicit compare="[value-extended
16   - name='page_upload'
17   - test=isfile
18   - ]"]
19   -[value-extended
20   - Yes=Success
21   - No=FAILED
22   - ascii="[value page_ascii]"
23   - name="page_upload"
24   - outfile="pages/[value page_to_upload]"
25   - ]
26   -[else]
27   -[value page_to_upload]: No file was uploaded.
28   -[/else][/if]
29   -</TD>
30   -</TR>
31   -[/if]
32   -[loop arg="[value-extended db_to_upload]"]
33   -[if type=explicit compare="[value-extended
34   - name='upload_[loop-code]'
35   - test=isfile
36   - ]"]
37   -
38   -<TD>
39   -Database upload of <B>[loop-code]</B> -->
40   -</TD>
41   -<TD>
42   -[value-extended
43   - Yes=Success
44   - No=FAILED
45   - ascii="1"
46   - name="upload_[loop-code]"
47   - outfile="products/[scratch outfile_[loop-code]]"
48   - ]
49   -</TD>
50   -[else]
51   -<TD COLSPAN=2>
52   -[loop-code]: No file was uploaded.
53   -</TD>
54   -[/else][/if]
55   -[set upload_[loop-code]][/set]
56   -</TR>
57   -[/loop]
58   -[if value arbitrary_to_upload]
59   -<TR>
60   -<TD>
61   -Arbitrary upload of <B>[value arbitrary_to_upload]</B> -->
62   -</TD>
63   -<TD>
64   -[if type=explicit compare="[value-extended
65   - name='arbitrary_upload'
66   - test=isfile
67   - ]"]
68   -[value-extended
69   - Yes=Success
70   - No=FAILED
71   - ascii="[value arbitrary_ascii]"
72   - name="arbitrary_upload"
73   - outfile="[value arbitrary_to_upload]"
74   - ]
75   -[else]
76   -[value arbitrary_to_upload]: No file was uploaded.
77   -[/else][/if]
78   -</TD>
79   -</TR>
80   -[/if]
81   -</TABLE>
82   -</BLOCKQUOTE>
83   -
84   -[value name=db_to_upload set=""]
85   -[value name=page_to_upload set=""]
86   -[value name=arbirtrary_to_upload set=""]
87   -<CENTER>
88   -[page reconfig/upload]Upload Menu[/page]<BR>
89   -[page reconfig/reconfig]Reconfigure catalog[/page]
90   -</CENTER>
91   -
92   -__NO_RIGHT__
93   -__MENUBOTTOM__
94   -__COPYRIGHT__
95   -<!-- current page: @@MV_PAGE@@ -->
16 dist/barry/pages/reconfig/reconfig.html
... ... @@ -1,16 +0,0 @@
1   -[set page_title]Catalog reconfiguration...[/set]
2   -<IMG SRC="mvlogo.png" ALT="MV Logo" ALIGN=CENTER>
3   -
4   -[if type=explicit compare="[reconfig]"]
5   -<h1>Catalog Reconfigured!</h1>
6   -[reconfig-wait]
7   -The catalog <B>[calc]$Config->{CatalogName}[/calc]</B> should be successfully reconfigured.
8   -[else]
9   -RECONFIGURATION FAILED.
10   -[/else]
11   -[/if]
12   -<P>
13   -
14   -__MENUBOTTOM__
15   -__COPYRIGHT__
16   -<!-- current page: @@MV_PAGE@@ -->
110 dist/barry/pages/reconfig/upload.html
... ... @@ -1,110 +0,0 @@
1   -[set page_title] __COMPANY__ -- Upload [/set]
2   -__LOGOBAR__
3   -__MENUBAR__
4   -__LEFTSIDE__
5   -&nbsp;
6   -<P>
7   -To upload, check the box and select a file on your local
8   -computer.
9   -<P>
10   -</BLOCKQUOTE>
11   -<FORM ACTION="[process-target]" METHOD=POST ENCTYPE="multipart/form-data">
12   -<INPUT TYPE=hidden NAME=mv_todo VALUE="return">
13   -<INPUT TYPE=hidden NAME=mv_nextpage VALUE="reconfig/do_upload">
14   -<TABLE BORDER=1>
15   -<TR>
16   -<TH COLSPAN=2> Page to upload (relative to pages, include .html)</TH>
17   -<TH>ASCII</TH>
18   -<TH> File </TH>
19   -</TR>
20   -<TR>
21   -<TD COLSPAN=2>
22   -<INPUT NAME=page_to_upload SIZE=40>
23   -</TD>
24   -<TD>
25   -<INPUT NAME=page_ascii TYPE=radio VALUE=1 CHECKED>&nbsp;Yes<BR>
26   -<INPUT NAME=page_ascii TYPE=radio VALUE=0>&nbsp;No
27   -</TD>
28   -<TD>
29   - <INPUT TYPE=file NAME="page_upload">
30   -</TD>
31   -</TR>
32   -<TR>
33   -<TH> Database </TH>
34   -<TH> File name </TH>
35   -<TH> Type </TH>
36   -<TH> File to upload </TH>
37   -</TR>
38   -[loop arg="[perl arg='scratch config']
39   - my @out;
40   - my %type = ( qw/
41   - 1 DEFAULT
42   - 2 LINE
43   - 3 %%
44   - 4 CSV
45   - 5 PIPE
46   - 6 TAB
47   - /);
48   - my $ref = $Safe{config}{Database};
49   - for(sort keys %$ref) {
50   - next if /^(transactions|userdb)$/;
51   - push @out, $_;
52   - $filename{$_} = $ref->{$_}{'file'};
53   - $Safe{scratch}{qq|filetype_$_|} = $type{$ref->{$_}{'type'}};
54   - $Safe{scratch}{qq|outfile_$_|} = $ref->{$_}{'file'};
55   - }
56   - $filetype{products} = 'whatever';
57   - return join ' ', @out;
58   - [/perl]"]
59   -<TR>
60   -<TD VALIGN=BOTTOM>
61   - <INPUT TYPE=checkbox NAME=db_to_upload VALUE="[loop-code]"> [loop-code]
62   -</TD>
63   -<TD VALIGN=BOTTOM>
64   - [scratch outfile_[loop-code]]
65   -</TD>
66   -<TD VALIGN=BOTTOM>
67   - [scratch filetype_[loop-code]]
68   -</TD>
69   -<TD>
70   - <INPUT TYPE=file NAME="upload_[loop-code]">
71   -</TD>
72   -</TR>
73   -[/loop]
74   -<TR>
75   -<TH COLSPAN=2> Arbitrary file to upload (like catalog.cfg)</TH>
76   -<TH>ASCII</TH>
77   -<TH>File</TH>
78   -</TR>
79   -<TR>
80   -<TD COLSPAN=2>
81   -<INPUT NAME=arbitrary_to_upload SIZE=40>
82   -</TD>
83   -<TD>
84   -<INPUT NAME=arbitrary_ascii TYPE=radio VALUE=1 CHECKED>&nbsp;Yes<BR>
85   -<INPUT NAME=arbitrary_ascii TYPE=radio VALUE=0>&nbsp;No
86   -</TD>
87   -<TD>
88   - <INPUT TYPE=file NAME="arbitrary_upload">
89   -</TD>
90   -</TR>
91   -<TR>
92   -<TD COLSPAN=2 ALIGN=CENTER VALIGN=TOP>
93   - <INPUT TYPE=submit VALUE="Upload file(s)">
94   - </TD>
95   - <TD COLSPAN=2 ALIGN=CENTER VALIGN=TOP>
96   - [set Download first selected file]
97   - mv_nextpage=reconfig/do_download
98   - [/set]
99   - <INPUT TYPE=submit NAME=mv_click VALUE="Download first selected file"><BR>
100   - <INPUT TYPE=radio NAME=download_conversion VALUE="" CHECKED>&nbsp;no&nbsp;convert
101   - <INPUT TYPE=radio NAME=download_conversion VALUE="dos">&nbsp;DOS/Win
102   - <INPUT TYPE=radio NAME=download_conversion VALUE="mac">&nbsp;Mac
103   - <INPUT TYPE=radio NAME=download_conversion VALUE="unix">&nbsp;Unix
104   - </TD></TR>
105   -</TABLE>
106   -</FORM>
107   -__NO_RIGHT__
108   -__MENUBOTTOM__
109   -__COPYRIGHT__
110   -<!-- current page: @@MV_PAGE@@ -->
10 dist/barry/pages/splash.html
@@ -9,15 +9,19 @@
9 9 <P>
10 10 <B><A HREF="[area index]">Enter</A></B>
11 11 <P>
  12 +This version introduces the Interchange user interface:
  13 +<P>
  14 +<B><A HREF="[area admin/index]">Admin</A></B>
  15 +<P>
12 16 <TABLE WIDTH=70%><TR><TD>
13   -<I>This is the "simple" demonstration of the MiniVend 4.0 electronic
  17 +<I>This is the "barry" demonstration of the Akopia Interchange 4.0 electronic
14 18 catalog system. Links that will help you to use this software:</I>
15 19 <P>
16 20 <UL>
17   -<LI><A HREF="http://www.minivend.com/">Main MiniVend Site</A><BR>
  21 +<LI><A HREF="http://www.minivend.com/">Main Interchange Site</A><BR>
18 22 <OL>
19 23 <LI><A HREF="http://www.minivend.com/iri/faq.html">Frequently Asked Questions</A>
20   - <LI><A HREF="http://www.minivend.com/iri/document.html">MiniVend Documentation</A>
  24 + <LI><A HREF="http://www.minivend.com/iri/document.html">Interchange Documentation</A>
21 25 <LI><A HREF="http://www.minivend.com/iri/maillist.html">User support mail lists</A>
22 26 <LI><A HREF="http://www.linuxia.net/minimate/">MiniMate</A>
23 27 </OL>
1  dist/barry/products/route.txt
... ... @@ -0,0 +1 @@
  1 +code report receipt encrypt_program encrypt pgp_key pgp_cc_key cyber_mode credit_card profile inline_profile email attach counter increment continue partial supplant track errors_to
22 dist/catalog_after.cfg
@@ -3,3 +3,25 @@ UserDB ui crypt 1
3 3 UserDB ui time_field last_login
4 4 UserDB ui admin 1
5 5 UserDB default admin 0
  6 +ParseVariables Yes
  7 +
  8 +ActionMap ui_download <<EOR
  9 +sub {
  10 + my $deliverable = shift;
  11 + my $status;
  12 + $CGI->{mv_nextpage} =~ s:^ui_download/::;
  13 + $CGI->{mv_nextpage} .= $Session->{extension};
  14 + if($Tag->if_mm('files', $CGI->{mv_nextpage}) ) {
  15 + $Document->header("Content-type: application/octet-stream");
  16 + $Document->hot(1);
  17 + HTML ( $Tag->file($CGI->{mv_nextpage}) );
  18 + $status = 0;
  19 + }
  20 + else {
  21 + $Scratch->{ui_error} = "Not authorized for file $CGI->{mv_nextpage}";
  22 + $CGI->{mv_nextpage} = '__UI_BASE__/error';
  23 + $status = 1;
  24 + }
  25 + return $status;
  26 +}
  27 +EOR
13 dist/catalog_before.cfg
@@ -9,21 +9,28 @@ Variable UI_BASE admin
9 9
10 10 Variable UI_ACCESS_TABLE access
11 11 Variable UI_META_TABLE mv_metadata
12   -Variable UI_OVERALL_WIDTH 600
  12 +Variable UI_OVERALL_WIDTH 750
  13 +Variable UI_MAIN_WIDTH 600
13 14 Variable UI_LEFT_WIDTH 150
14 15 Variable UI_RIGHT_WIDTH 450
15 16 Variable UI_BOTTOMIMG tan_logo.gif
16   -Variable UI_C_BG #FFFFCC
  17 +Variable UI_T_BG beige
  18 +Variable UI_C_BG #FFFFFF
17 19 Variable UI_C_LINK #000000
18 20 Variable UI_C_ALINK #000000
19 21 Variable UI_C_VLINK #000000
  22 +Variable UI_P_BG #FFFFFF
  23 +Variable UI_P_LINK #0000EE
  24 +Variable UI_P_ALINK #EE0000
  25 +Variable UI_P_VLINK #0000FF
20 26 Variable UI_C_TITLEBARBG #336699
21 27 Variable UI_C_TITLEBARTXT #CCCCCC
22 28 Variable UI_C_HEADERTXT #333333
23 29 Variable UI_C_TOPBLOCKBAR #336699
24 30 Variable UI_C_INTBLOCK #CCCC99
25   -Variable UI_C_INTBLOCKBAR #666633
  31 +Variable UI_C_INTBLOCKBAR #999966
26 32 Variable UI_HELP_BASE_URL http://www.akopia.com/help/4.5.0
  33 +Variable UI_T_PROPERTIES cellpadding=3 cellspacing=0 width=90% border=0
27 34
28 35 Variable UI_SZ_LIST_CUSTOMER 50
29 36 Variable UI_SZ_LIST_ORDER 50
6 dist/lib/MiniMate/.cvsignore
... ... @@ -1,6 +0,0 @@
1   -MANIFEST
2   -Makefile
3   -blib
4   -pm_to_blib
5   -*.tar
6   -*.tar.gz
1,232 dist/lib/MiniMate/CfgMgr.pm
... ... @@ -1,1232 +0,0 @@
1   -#!/usr/bin/perl
2   -
3   -# Copyright (C) 1998 Michael J. Heins <mikeh@minivend.com>
4   -
5   -# Author: Michael J. Heins <mikeh@minivend.com>
6   -# Maintainer: Stefan Hornburg <racke@linuxia.de>
7   -
8   -# This file is free software; you can redistribute it and/or modify it
9   -# under the terms of the GNU General Public License as published by the
10   -# Free Software Foundation; either version 2, or (at your option) any
11   -# later version.
12   -
13   -# This file is distributed in the hope that it will be
14   -# useful, but WITHOUT ANY WARRANTY; without even the implied warranty
15   -# of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16   -# General Public License for more details.
17   -
18   -# You should have received a copy of the GNU General Public License
19   -# along with this file; see the file COPYING. If not, write to the Free
20   -# Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
21   -
22   -my($order, $label, %terms) = @_;
23   -
24   -package MiniMate::CfgMgr;
25   -
26   -$VERSION = substr(q$Revision: 1.2 $, 10);
27   -$DEBUG = 0;
28   -
29   -use vars qw!
30   - @EXPORT @EXPORT_OK
31   - $VERSION $DEBUG
32   - $DECODE_CHARS
33   - *hash_value *array_value
34   - *boolean_value *page_value
35   - !;
36   -
37   -use Carp;
38   -use File::Find;
39   -use File::CounterFile;
40   -use Exporter;
41   -use strict;
42   -use Vend::Util qw/errmsg/;
43   -$DECODE_CHARS = qq{&[<"\000-\037\177-\377};
44   -
45   -@EXPORT = qw( combo_select mm_check_acl mm_acl_enabled ) ;
46   -
47   -=head1 NAME
48   -
49   -CfgMgr.pm -- MiniMate Configuration Manager
50   -
51   -=head1 SYNOPSIS
52   -
53   -display_directive %options;
54   -
55   -=head1 DESCRIPTION
56   -
57   -The MiniMate Configuration Manager is a proprietary interface to configure
58   -various configuration file parameters.
59   -
60   -=cut
61   -
62   -use vars qw($Directive_prefix $Configfile $Writing);
63   -$Directive_prefix = 'mvc_value';
64   -$Writing = 0;
65   -$Configfile = 'catalog.cfg';
66   -my $Counterfile = ".$Configfile.serial";
67   -$Counterfile =~ tr/./_/ if $^O =~ /win32/i;
68   -my $mm_safe = new Safe;
69   -$mm_safe->untrap(@{$Global::SafeUntrap});
70   -
71   -my @Out;
72   -my @Mark;
73   -
74   -my %Cfg = (
75   -
76   - actionmap => { Complex => 1 },
77   - admindatabase => { },
78   - adminpage => { },
79   - alwayssecure => { },
80   - asciibackend => { },
81   - asciitrack => { },
82   - autoload => { },
83   - backendorder => { },
84   - buttonbars => { 'Unparse' => 'page', 'Source' => 1 },
85   - checkoutframe => { },
86   - checkoutpage => { 'Default' => 'basket', },
87   - clearcache => { },
88   - collectdata => { },
89   - commonadjust => { },
90   - configdatabase => { },
91   - configdir => { },
92   - cookiedomain => { },
93   - cookies => { },
94   - creditcardauto => { },
95   - customshipping => { 'Unparse' => 'yesno' },
96   - cybercash => { },
97   - database => { },
98   - datadir => { },
99   - dbdatabase => { },
100   - debugmode => { },