Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Changed Interchange name all over, minor exceptions being mvfaq.pod and

mvrpm.pod. Changed copyright notice to Akopia.
  • Loading branch information...
commit d6dc450966731a794271da79962270c56c9c738f 1 parent f927c90
@perusionmike perusionmike authored
Showing with 639 additions and 736 deletions.
  1. +10 −10 Makefile.PL
  2. +16 −44 README
  3. +1 −1  README.rpm
  4. +8 −10 SPECS/minivend-4.04.spec
  5. +2 −2 SPECS/minivend-docs-4.04.spec
  6. +3 −3 WHATSNEW
  7. +5 −0 dist/barry/etc/log_entry
  8. +4 −2 dist/barry/etc/log_transaction
  9. +1 −0  dist/barry/mysql/transactions.mysql
  10. +1 −1  dist/barry/pages/news.html
  11. +1 −0  dist/barry/pgsql/transactions.pgsql
  12. +1 −1  dist/barry/products/transactions.txt
  13. +4 −4 dist/lib/UI/Primitive.pm
  14. +1 −1  dist/lib/UI/pages/admin/entry.html
  15. +1 −1  dist/lib/UI/pages/admin/format_meta.html
  16. +14 −3 dist/lib/UI/pages/admin/page_edit.html
  17. +2 −2 dist/lib/UI/ui.cfg
  18. +2 −10 dist/minivend.cfg.dist
  19. +2 −2 dist/simple/catalog.cfg
  20. +4 −4 dist/simple/config/additional_help
  21. +5 −0 dist/simple/etc/log_entry
  22. +6 −4 dist/simple/etc/log_transaction
  23. +5 −5 dist/simple/html/index.html
  24. +1 −1  dist/simple/mysql/pricing.mysql
  25. +1 −1  dist/simple/mysql/products.mysql
  26. +1 −0  dist/simple/mysql/transactions.mysql
  27. +2 −2 dist/simple/pages/about.html
  28. +4 −3 dist/simple/pages/account.html
  29. +1 −1  dist/simple/pages/browse.html
  30. +1 −1  dist/simple/pages/browse1.html
  31. +2 −2 dist/simple/pages/feedback.html
  32. +1 −1  dist/simple/pages/flypage.html
  33. +1 −1  dist/simple/pages/index.html
  34. +4 −3 dist/simple/pages/multi/b_address.html
  35. +1 −1  dist/simple/pages/multi/basket.html
  36. +4 −3 dist/simple/pages/multi/checkout.html
  37. +5 −4 dist/simple/pages/multi/final.html
  38. +5 −4 dist/simple/pages/multi/shipping.html
  39. +4 −3 dist/simple/pages/new_account.html
  40. +4 −100 dist/simple/pages/news.html
  41. +1 −1  dist/simple/pages/ord/basket.html
  42. +5 −4 dist/simple/pages/ord/checkout.html
  43. +4 −3 dist/simple/pages/query/check_orders.html
  44. +4 −3 dist/simple/pages/query/order_detail.html
  45. +4 −3 dist/simple/pages/special/needfield.html
  46. +4 −4 dist/simple/pages/splash.html
  47. +1 −1  dist/simple/pgsql/pricing.pgsql
  48. +1 −1  dist/simple/pgsql/products.pgsql
  49. +1 −0  dist/simple/pgsql/transactions.pgsql
  50. +1 −1  dist/simple/products/mv_metadata.asc
  51. +3 −3 dist/simple/products/products.txt
  52. +1 −1  dist/simple/products/transactions.txt
  53. +1 −1  dist/simple/special_pages/security.html
  54. +6 −6 dist/src/mod_perl_tlink.pl
  55. +3 −3 dist/src/mvctl.c
  56. +3 −3 dist/src/tlink.c
  57. +6 −6 dist/src/tlink.pl
  58. +3 −3 dist/src/vlink.c
  59. +6 −6 dist/src/vlink.pl
  60. +1 −1  dist/usertag/xml_generator
  61. +19 −19 eg/check
  62. +2 −2 eg/checkstat.sh
  63. +3 −3 eg/globalsub/signio
  64. +3 −5 lib/Vend/Cart.pm
  65. +5 −5 lib/Vend/Config.pm
  66. +7 −7 lib/Vend/Control.pm
  67. +4 −4 lib/Vend/Data.pm
  68. +3 −3 lib/Vend/DbSearch.pm
  69. +2 −2 lib/Vend/Document.pm
  70. +7 −7 lib/Vend/ECML.pm
  71. +4 −4 lib/Vend/Error.pm
  72. +3 −3 lib/Vend/External.pm
  73. +3 −3 lib/Vend/Glimpse.pm
  74. +3 −3 lib/Vend/Imagemap.pm
  75. +10 −10 lib/Vend/Interpolate.pm
  76. +13 −14 lib/Vend/MakeCat.pm
  77. +3 −3 lib/Vend/Misc/Static.pm
  78. +5 −7 lib/Vend/Order.pm
  79. +4 −4 lib/Vend/Page.pm
  80. +7 −7 lib/Vend/Parse.pm
  81. +10 −10 lib/Vend/Parser.pm
  82. +5 −5 lib/Vend/Scan.pm
  83. +3 −3 lib/Vend/Search.pm
  84. +9 −9 lib/Vend/Server.pm
  85. +4 −4 lib/Vend/Session.pm
  86. +4 −4 lib/Vend/SessionDB.pm
  87. +4 −4 lib/Vend/SessionFile.pm
  88. +4 −4 lib/Vend/Table/Common.pm
  89. +3 −3 lib/Vend/Table/DBI.pm
  90. +4 −4 lib/Vend/Table/DB_File.pm
  91. +3 −3 lib/Vend/Table/GDBM.pm
  92. +3 −3 lib/Vend/Table/InMemory.pm
  93. +3 −3 lib/Vend/Table/LDAP.pm
  94. +88 −92 lib/Vend/Tagref.pm
  95. +3 −3 lib/Vend/Tags.pm
  96. +3 −3 lib/Vend/TextSearch.pm
  97. +3 −3 lib/Vend/Track.pm
  98. +6 −6 lib/Vend/UserDB.pm
  99. +4 −4 lib/Vend/Util.pm
  100. +1 −1  pod/mvrpm.pod
  101. +10 −10 scripts/compile_link.PL
  102. +6 −6 scripts/config_prog.PL
  103. +3 −3 scripts/configdump.PL
  104. +6 −6 scripts/dump.PL
  105. +10 −10 scripts/expire.PL
  106. +3 −3 scripts/expireall.PL
  107. +9 −9 scripts/localize.PL
  108. +43 −43 scripts/makecat.PL
  109. +52 −45 scripts/minivend.PL
  110. +5 −5 scripts/offline.PL
  111. +7 −7 scripts/restart.PL
  112. +7 −7 scripts/update.PL
  113. +1 −1  test.pl
View
20 Makefile.PL
@@ -27,7 +27,7 @@ my $Prompt_sub;
my @mods_to_get;
my $Lock_troubles;
-$VERSION = '4.5.2';
+$VERSION = '4.5.3';
# See if we have the CPAN module
my $Cpan = 0;
@@ -159,11 +159,11 @@ sub copyright_prompt {
print <<EOF;
- MiniVend V$VERSION
+ Interchange V$VERSION
- Copyright 1996-2000 by Michael J. Heins <mikeh\@minivend.com>
+ Copyright (C) 1996-2000 Akopia, Inc. <info\@akopia.com>
- MiniVend is free under the terms of the GNU General Public License.
+ Interchange is free under the terms of the GNU General Public License.
EOF
}
@@ -188,7 +188,7 @@ sub cpan_get {
print <<EOF unless defined $CpanInit;
Since you have the CPAN module installed and initialized,
-we can go and get optional modules that help MiniVend work a
+we can go and get optional modules that help Interchange work a
bit better and faster. At least we can if you are connected
to the Internet and have one of the following on your machine:
@@ -205,7 +205,7 @@ If you don't know a URL to use, you can try:
ftp://ftp.funet.fi/pub/languages/perl/CPAN
If you have never used CPAN before, you may want to reply NO.
-MiniVend should work anyway -- it just won't be quite as easy
+Interchange should work anyway -- it just won't be quite as easy
to build the demo catalogs.
If you have errors during the process, don't worry. Either
@@ -288,7 +288,7 @@ of your session files.
If you reply YES and you use any GDBM or DB_File databases
they will NEED TO BE REMADE for ALL CATALOGS using this
-MiniVend server instance.
+Interchange server instance.
EOF
if($ENV{MINIVEND_STORABLE_DB} || -f "$realdir/_db_storable" || -f "_db_storable") {
@@ -389,7 +389,7 @@ sub initialize {
my $uid;
if($> == 0 and ! $MV::Default{MINIVEND_USER} and ! $Windows) {
$uid = my_prompt(
- qq{MiniVend cannot be run as root. Which user should run MiniVend? },
+ qq{Interchange cannot be run as root. Which user should run Interchange? },
'minivend',
);
open(UID, ">_uid")
@@ -431,7 +431,7 @@ sub initialize {
&copyright_prompt();
$realdir = my_prompt(
- "Where is your MiniVend to be installed? ",
+ "Where is your Interchange to be installed? ",
$MV::Default{PREFIX},
);
print "\n";
@@ -712,7 +712,7 @@ if($Windows) {
}
else {
WriteMakefile(
- NAME => "MiniVend",
+ NAME => "Interchange",
MAN3PODS => {
'pod/mvdocs.pod' => 'blib/man3/mvdocs.8',
'pod/mvtags.pod' => 'blib/man3/mvtags.8',
View
60 README
@@ -1,6 +1,6 @@
-# Minivend V4.x
+# Interchange V4.5.x
#
-# Copyright 1996-2000 by Michael J. Heins <mikeh@minivend.com>
+# Copyright (C) 1996-2000 Akopia, Inc. <info@akopia.com>
#
# Originally based on Vend 0.2
# Copyright 1995 by Andrew M. Wilcox
@@ -24,17 +24,17 @@
# Software Foundation, Inc., 59 Temple Place, Suite 330, Boston,
# MA 02111-1307 USA.
-Welcome to Minivend! This program is completely unsupported, without
+Welcome to Interchange! This program is completely unsupported, without
warranty of any kind. The author is interested in problems, suggestions,
or comments, but does not have time to offer free individual support
-in most cases. See the Minivend website at http://www.minivend.com/
+in most cases. See the Interchange website at http://www.minivend.com/
for more information.
--------------------------------------------------------------
M I N I V E N D
- Minivend is a full-featured electronic catalog system (commonly known
+ Interchange is a full-featured electronic catalog system (commonly known
as a shopping cart) with online ordering capability. It is a high-end
database access and retrieval system with SQL support via the Perl DBI.
@@ -42,14 +42,14 @@ for more information.
http://www.minivend.com/
-IMPORTANT NOTE: Minivend 4.0 requires, repeat REQUIRES, Perl 5.005 or Perl 5.6.
+IMPORTANT NOTE: Interchange 4.5.x requires, repeat REQUIRES, Perl 5.005 or Perl 5.6.
The information you need is in the following files:
README Copyright info, roadmap to installation
and pointers to support system
- Copying Your Minivend license -- please read.
+ Copying Your Interchange license -- please read.
WHATSNEW Change information for all versions in this
version family.
@@ -69,12 +69,12 @@ Major files/directories in the distribution:
application.
src/ C and Perl code for CGI links
compat/ Some Minivend-3 compatibility tags
- lib/ Minimate
+ lib/ User interface
usertag/ Some fairly-standard usertags
extra/ Some not-always-needed Perl libraries.
- lib/ The library modules needed to run Minivend.
+ lib/ The library modules needed to run Interchange.
scripts/ The executable files, relocated to bin in the run
directory.
@@ -119,12 +119,12 @@ Do not use it in a production system.
A N D
C O M P A T I B I L I T Y
-Minivend 4 has been tested on Solaris 2, Linux, FreeBSD, and Digital
+Interchange 4 has been tested on Solaris 2, Linux, FreeBSD, and Digital
UNIX/Tru64. Its predecessor Minivend 3 also reportedly runs on SCO, AIX,
and other Unix ports. It should work on any UNIX or Win32 OS with Perl
5.005 or higher.
-IMPORTANT NOTE FOR BSD USERS: Minivend has been known to segfault when
+IMPORTANT NOTE FOR BSD USERS: Interchange has been known to segfault when
reading sockets on Perl. This occurs more frequently on a busy system.
The workaround is to set in minivend.cfg:
@@ -143,7 +143,7 @@ the other is "basic". For the best instructional experience, start
with "basic" and then try "simple".
To install the demo, go to the directory where you installed
-Minivend (default is "mvend" in your home directory or /usr/local/minivend
+Interchange (default is "mvend" in your home directory or /usr/local/minivend
for root installations) and run:
bin/makecat basic
@@ -152,7 +152,7 @@ for root installations) and run:
bin/makecat simple
-Follow the prompts and after restarting the Minivend server you
+Follow the prompts and after restarting the Interchange server you
should be able to access the demo catalog.
-------------------------------------------------------------
@@ -160,7 +160,7 @@ should be able to access the demo catalog.
D O C U M E N T A T I O N
The documentation is in several man pages and HTML files in the doc/
-subdirectory of the main Minivend directory.
+subdirectory of the main Interchange directory.
There is an extended documentation package available
at www.minivend.com.
@@ -184,33 +184,5 @@ Apache with SUEXEC:
users, you must use TLINK/INET mode.
Windows:
- Many things won't work the same as UNIX. See the
- README-win.txt file for more information.
-
----------------------------------------------------------------------
-
-I, the author, am very interested in learning your problems with
-Minivend, and am interested in clarifying the documentation for
-future improvements. I am not much interested in BEING your
-documentation, though, unless you pay well and promptly. Please
-send kudos, comments, questions, and complaints to:
-
- mikeh@minivend.com
-
-Note that I receive thousands of emailed questions per year and cannot
-answer them all. The more research you do on your own the more likely
-I am to respond. Helpful suggestions and real bug reports are almost
-always acknowledged.
-
-There is an active user support mail list, minivend-users@minivend.com,
-which has traffic of about 600-900 messages per month. To subscribe,
-send "subscribe minivend-users" in the *body* of a message to
-majordomo@minivend.com, or visit the mail list page at www.minivend.com.
-
-Good luck with Minivend!
-
-
-
-
-
-
+ Interchange will not work properly with Windows. No strategy
+ has been yet developed for providing reliable operation on Windows.
View
2  README.rpm
@@ -113,7 +113,7 @@ MVRPM(1) User Contributed Perl Documentation MVRPM(1)
ID.
AUTHOR
- Mike Heins, <mikeh@minivend.com>. Questions should be
+ Mike Heins, <heins@akopia.com>. Questions should be
directed to the Minivend user list, <minivend-
users@minivend.com>.
View
18 SPECS/minivend-4.04.spec
@@ -2,10 +2,10 @@
%define minivend_user minivend
%define build_cats basic simple
-%define see_base For a description of Minivend see http://www.minivend.com
+%define see_base For a description of Interchange see http://www.minivend.com
Name: minivend
-Summary: Minivend is a powerful database access and HTML templating daemon focused on e-commerce.
+Summary: Interchange is a powerful database access and HTML templating daemon focused on e-commerce.
Group: Applications/Internet
Version: 4.04
Copyright: GNU General Public License
@@ -20,11 +20,9 @@ BuildRoot: /var/tmp/minivend
# From the manual
%description
-MiniVend is the most powerful free shopping cart system available today. Its features
+Interchange is the most powerful free shopping cart system available today. Its features
and power rival the costliest commercial systems.
-MiniMate is the companion administration application for Minivend.
-
%prep
%setup
@@ -82,7 +80,7 @@ fi
# Create a minivend user. Do not report any problems if it already
# exists. We do it first so it won't error on chmod
-useradd -M -r -d /var/lib/minivend -s /bin/bash -c "Minivend server" minivend 2> /dev/null || true
+useradd -M -r -d /var/lib/minivend -s /bin/bash -c "Interchange server" minivend 2> /dev/null || true
%files
%config(noreplace) /etc/minivend.cfg
@@ -105,10 +103,10 @@ useradd -M -r -d /var/lib/minivend -s /bin/bash -c "Minivend server" minivend 2>
/var/run/minivend
%post
-# Make Minivend start/shutdown automatically when the machine does it.
+# Make Interchange start/shutdown automatically when the machine does it.
/sbin/chkconfig --add minivend
-# Change permissions so that the user that will run the Minivend daemon
+# Change permissions so that the user that will run the Interchange daemon
# owns all database files.
chown -R minivend.minivend /var/lib/minivend
chown -R minivend.minivend /var/log/minivend
@@ -160,7 +158,7 @@ done
if test -n "$missing"
then
- echo "Minivend will work without them, but it will work much"
+ echo "Interchange will work without them, but it will work much"
echo "better if you install these Perl modules:"
echo ""
echo "$missing"
@@ -177,7 +175,7 @@ fi
# Allow minivend to start and print a message before we exit
sleep 2
echo ""
-echo You should now be able to access the Minivend demos with:
+echo You should now be able to access the Interchange demos with:
echo ""
echo " http://$HOST/basic"
echo " http://$HOST/simple"
View
4 SPECS/minivend-docs-4.04.spec
@@ -4,7 +4,7 @@
%define mvdocs_name mvdocs
Name: minivend-docs
-Summary: Extended documentation for Minivend
+Summary: Extended documentation for Interchange
Group: Applications/Internet
Version: %{minivend_version}
Copyright: GNU General Public License
@@ -19,7 +19,7 @@ BuildRoot: /var/tmp/minivend_docs
# From the manual
%description
-Provides the complete documentation for Minivend in HTML.
+Provides the complete documentation for Interchange in HTML.
Use either:
file:/usr/doc/%{minivend_package}-%{minivend_version}/index.html
View
6 WHATSNEW
@@ -1,4 +1,4 @@
-Minivend-4.5.0 changes -- the start of the Tallyman merge.
+Interchange-4.5.0 changes -- the start of the Tallyman merge.
* Many, many, changes and improvments to the user interface. So
much that Minimate is broken out again and made separate.
See the UI online help for changes.
@@ -17,8 +17,6 @@ Minivend-4.5.0 changes -- the start of the Tallyman merge.
This means you can edit your Variable settings in a database, reconfigure,
and then use the values farther down in the configuration file.
-*
-
* Order.pm: fixed multiple problems in precedence for order profiles.
Thanks to Ton Verhagen. Also added "isbn" profile check written
by Ton Verhagen.
@@ -26,6 +24,8 @@ Minivend-4.5.0 changes -- the start of the Tallyman merge.
Busarow.
* Config.pm: Fixed default declaration of "HOT" for memory databases,
now should work properly as default database.
+* Other changes much too numerous to mention. This will be the last
+ version of this changes document; there are too many.
Minivend-4.04 changes:
* Demo: Fixed COLSPAN=0 in logo bars -- it was killing Gecko rendering.
View
5 dist/barry/etc/log_entry
@@ -2,6 +2,7 @@
[seti transaction_record]
[tag flag write]transactions orderline userdb inventory[/tag]
[if cgi new_customer_id]
+[or !cgi customer_id]
Add new customer: [value name=customer_id set="[fcounter etc/customer.number]"]
Set password: [value name=password set="[value name=zip filter='word uc']"]
[/if]
@@ -113,6 +114,10 @@ order_wday: [value name=order_wday set="[tag time]%u[/tag]"]
status: pending
affiliate: ORDER_DESK
po_number: [value filter=strip po_number]
+deleted: 0
+archived: 0
+complete: 0
+comments: [value filter=mac name=gift_note]
[/import]
[perl] Log("Past transactions entry."); [/perl][item-list]Added [item-code] to orderline: [import table=orderline type=LINE continue=NOTES]
code: [value mv_order_number]-[item-increment]
View
6 dist/barry/etc/log_transaction
@@ -68,8 +68,10 @@ status: pending
affiliate: [data session source]
campaign: [value campaign]
parent: __PARENT__
-deleted:
-archived:
+deleted: 0
+archived: 0
+complete: 0
+comments: [value filter=mac name=gift_note]
po_number: [value filter=strip po_number]
[/import]
[comment][perl] Log("Past transactions entry."); [/perl][/comment][item-list]Added [item-code] to orderline: [import table=orderline type=LINE continue=NOTES]
View
1  dist/barry/mysql/transactions.mysql
@@ -51,3 +51,4 @@ Database transactions COLUMN_DEF "parent=CHAR(9)"
Database transactions COLUMN_DEF "archived=CHAR(1)"
Database transactions COLUMN_DEF "deleted=CHAR(1) DEFAULT ''"
Database transactions COLUMN_DEF "complete=CHAR(1)"
+Database transactions COLUMN_DEF "comments=text"
View
2  dist/barry/pages/news.html
@@ -115,7 +115,7 @@
$Session->{key} Direct reference to session area
$Tag->tagname(@args) Call a tag as a routine (UserTag too!)
$Values->{key} Direct reference to user form values
- $Variable->{key} Direct reference to MiniVend Variable
+ $Variable->{key} Direct reference to Interchange Variable
&Log($msg) Log to the error log
</XMP>
View
1  dist/barry/pgsql/transactions.pgsql
@@ -48,4 +48,5 @@ Database transactions COLUMN_DEF "order_date=varchar(32) NOT NULL"
Database transactions COLUMN_DEF "update_date=timestamp"
Database transactions COLUMN_DEF "status=VARCHAR(32)"
Database transactions COLUMN_DEF "parent=VARCHAR(9)"
+Database transactions COLUMN_DEF "comments=text"
Database transactions ChopBlanks 1
View
2  dist/barry/products/transactions.txt
@@ -1 +1 @@
-code store_id order_number session username shipmode nitems subtotal shipping handling salestax total_cost fname lname company address1 address2 city state zip country phone_day phone_night fax email b_fname b_lname b_company b_address1 b_address2 b_city b_state b_zip b_country b_phone order_date order_ymd order_wday payment_method po_number avs order_id update_date status affiliate campaign parent archived deleted complete
+code store_id order_number session username shipmode nitems subtotal shipping handling salestax total_cost fname lname company address1 address2 city state zip country phone_day phone_night fax email b_fname b_lname b_company b_address1 b_address2 b_city b_state b_zip b_country b_phone order_date order_ymd order_wday payment_method po_number avs order_id update_date status affiliate campaign parent archived deleted complete comments
View
8 dist/lib/UI/Primitive.pm
@@ -1,8 +1,8 @@
#!/usr/bin/perl
-# Copyright (C) 1998 Michael J. Heins <mikeh@minivend.com>
+# Copyright (C) 1998-2000 Akopia, Inc. <info@akopia.com>
-# Author: Michael J. Heins <mikeh@minivend.com>
+# Author: Michael J. Heins <heins@akopia.com>
# Maintainer: Stefan Hornburg <racke@linuxia.de>
# This file is free software; you can redistribute it and/or modify it
@@ -23,7 +23,7 @@ my($order, $label, %terms) = @_;
package UI::Primitive;
-$VERSION = substr(q$Revision: 1.12 $, 10);
+$VERSION = substr(q$Revision: 1.13 $, 10);
$DEBUG = 0;
use vars qw!
@@ -52,7 +52,7 @@ display_directive %options;
=head1 DESCRIPTION
-The Minivend UI is an interface to configure and administer Minivend catalogs.
+The Interchange UI is an interface to configure and administer Interchange catalogs.
=cut
View
2  dist/lib/UI/pages/admin/entry.html
@@ -447,7 +447,7 @@
Card Number<BR>
<INPUT TYPE=text NAME=mv_credit_card_number SIZE=19 VALUE="">
[if variable MV_PAYMENT_MODE =~ /minivend_test/]
- <BR>MiniVend test should yield:
+ <BR>Interchange test should yield:
<INPUT TYPE=radio NAME=mv_payment_test VALUE=success CHECKED>Success
<INPUT TYPE=radio NAME=mv_payment_test VALUE=success>Failure
[/if]
View
2  dist/lib/UI/pages/admin/format_meta.html
@@ -350,7 +350,7 @@
[sql => 'Escape single quotes (SQL)'],
[text2html => 'Simple text to HTML'],
[urlencode => 'URL encode (%20, etc)'],
- [pagefile => 'Safe for Minivend page name'],
+ [pagefile => 'Safe for Interchange page name'],
[entities => 'HTML entities (&amp; -> &amp;amp;)'],
);
my $out = '';
View
17 dist/lib/UI/pages/admin/page_edit.html
@@ -108,6 +108,10 @@
}
my $out = <<EOF;
<tr>
+ <td bgcolor=__UI_C_INTBLOCK__><b>Page file</b></td>
+ <td bgcolor=__UI_C_INTBLOCK__>$page<INPUT TYPE=hidden NAME=ui_page VALUE="$page"></td>
+</tr>
+<tr>
<td bgcolor=__UI_C_INTBLOCK__><b>Template name</b></td>
<td bgcolor=__UI_C_INTBLOCK__>$t_name</td>
</tr>
@@ -116,8 +120,16 @@
<td bgcolor=__UI_C_INTBLOCK__>$t_desc</td>
</tr>
<tr>
- <td bgcolor=__UI_C_INTBLOCK__><b>Page file</b></td>
- <td bgcolor=__UI_C_INTBLOCK__>$page<INPUT TYPE=hidden NAME=ui_page VALUE="$page"></td>
+ <td bgcolor=__UI_C_INTBLOCK__>
+ <b>Template sequence</b><br>
+ </td>
+ <td bgcolor=__UI_C_INTBLOCK__ VALIGN=top><INPUT NAME=ui_elements SIZE=80 VALUE="$ref->{ui_template_layout}"></td>
+</tr>
+<tr>
+ <td bgcolor=__UI_C_INTBLOCK__ colspan=2>
+ <small><i>UI_CONTENT is the content portion(s), all others refer
+ to Knar elements.</i></small>
+ </td>
</tr>
<tr>
<td colspan=2 bgcolor=__UI_C_TOPBLOCKBAR__><img src="admin/cleardot.gif" width=__UI_MAIN_WIDTH__ height=1></td>
@@ -167,7 +179,6 @@
<tr>
<td colspan=2 bgcolor=__UI_C_INTBLOCK__>
- <INPUT NAME=ui_elements type=hidden VALUE="$ref->{ui_template_layout}">
<TEXTAREA NAME=ui_content COLS=80 ROWS=20>$content</TEXTAREA>
</td>
</tr>
View
4 dist/lib/UI/ui.cfg
@@ -56,8 +56,8 @@ EOR
AddDirective MM_InitLocale deflocparse default
-# instruct MiniVend to use this directory as alternative
-# for searching MiniVend pages
+# instruct Interchange to use this directory as alternative
+# for searching Interchange pages
TemplateDir lib/UI/pages
## This tag is here to initialize the imports
View
12 dist/minivend.cfg.dist
@@ -1,7 +1,6 @@
#Catalog simple /home/mike/catalogs/simple /cgi-bin/simple /secure-bin/simple
-# Set to 1 to include MiniMate
-Variable MINIMATE 0
+# Set to 1 to include UI
Variable UI 1
# Set to "low" or "high" to get different server parameters
@@ -14,7 +13,7 @@ Variable TRAFFIC low
Environment MOD_PERL
# You can set the Variable DEBUG above then tail -f the DebugFile
-# You can also see MiniVend and catalog data structures
+# You can also see Interchange and catalog data structures
#ifdef @DEBUG
Message Sending debug to /tmp/mvdebug.
DebugFile /tmp/mvdebug
@@ -41,13 +40,6 @@ SafeUntrap ftfile sort rand
TcpMap 7786 -
-# Uses value of MINIMATE variable above
-#ifdef MINIMATE
-Message Calling MiniMate....
-Variable UI_TAG_TITLE_BAR 1
-#include lib/MiniMate/minimate.cfg
-#endif
-
# Uses value of UI variable above
#ifdef UI
Message Calling UI....
View
4 dist/simple/catalog.cfg
@@ -146,7 +146,7 @@ ValuesDefault mv_shipmode upsg
ParseVariables Yes
-# Sets Minivend to not parse <BODY MV="body 1"> and other tags within
+# Sets Interchange to not parse <BODY MV="body 1"> and other tags within
# HTML tags, use [pragma no_html_parse 0] to enable on a page
Pragma no_html_parse
@@ -227,7 +227,7 @@ CommonAdjust pricing:q2,q5,q10,q25,q100, ;:price, ;$ ==color:pricing, ==size:p
#CommonAdjust pricing:price_group,q2,q5,q10,q25,q100, ;:price, ;$ ==color:pricing, ==size:pricing
CookieLogin Yes
-# This sets up the new payment charge mode in MiniVend 4
+# This sets up the new payment charge mode in Interchange 4
# You set it to "custom name", where name is the name of a GlobalSub
# that performs the charge operation. If it is not "custom", then
# it will use the CyberCash routines.
View
8 dist/simple/config/additional_help
@@ -19,8 +19,8 @@ you can have only one. Should correspond to TAXAREA.
SOMESQL
.
-Minivend has a workable internal database, but many things will
-work better (and a few worse) if you use a SQL database. Minivend
+Interchange has a workable internal database, but many things will
+work better (and a few worse) if you use a SQL database. Interchange
can configure MySQL and Postgres in a test configuration.
MYSQL
@@ -45,7 +45,7 @@ based on their locale.)
MULTIORDER
.
-MiniVend can do order pages in any way; two examples are provided.
+Interchange can do order pages in any way; two examples are provided.
The default is single-page.
TEMPLATE
@@ -62,7 +62,7 @@ used. If you want to add a handling charge, do it here.
SUPERUSER
.
-You can use MiniVend's companion configuration interface to
+You can use Interchange's companion configuration interface to
do upload/download of files, manipulation of the database,
reconfiguration of the catalog, and much more.
.
View
5 dist/simple/etc/log_entry
@@ -2,6 +2,7 @@
[seti transaction_record]
[tag flag write]transactions orderline userdb inventory[/tag]
[if cgi new_customer_id]
+[or !cgi customer_id]
Add new customer: [value name=customer_id set="[fcounter etc/customer.number]"]
Set password: [value name=password set="[value name=zip filter='word uc']"]
[/if]
@@ -113,6 +114,10 @@ order_wday: [value name=order_wday set="[tag time]%u[/tag]"]
status: pending
affiliate: ORDER_DESK
po_number: [value filter=strip po_number]
+deleted: 0
+archived: 0
+complete: 0
+comments: [value filter=mac name=gift_note]
[/import]
[perl] Log("Past transactions entry."); [/perl][item-list]Added [item-code] to orderline: [import table=orderline type=LINE continue=NOTES]
code: [value mv_order_number]-[item-increment]
View
10 dist/simple/etc/log_transaction
@@ -53,8 +53,8 @@ phone_day: [value filter=strip name=phone_day]
phone_night: [value filter=strip name=phone_night]
b_fname: [value filter=strip name=b_fname]
b_lname: [value filter=strip name=b_lname]
-b_address1: [value filter=strip name=b_address1]
-b_address2: [value filter=strip name=b_address2]
+b_address1: [value filter="strip mac" name=b_address1]
+b_address2: [value filter="strip mac" name=b_address2]
b_city: [value filter=strip name=b_city]
b_state: [value filter=strip name=b_state]
b_zip: [value filter=strip name=b_zip]
@@ -65,8 +65,10 @@ order_date: [value name=order_date set="[tag time]%Y%m%d %H:%M:%S[/tag]"]
order_ymd: [value name=order_date set="[tag time]%Y%m%d[/tag]"]
order_wday: [value name=order_wday set="[tag time]%u[/tag]"]
status: pending
-deleted:
-archived:
+deleted: 0
+archived: 0
+complete: 0
+comments: [value filter=mac name=gift_note]
affiliate: [data session source]
campaign: [value campaign]
parent: __PARENT__
View
10 dist/simple/html/index.html
@@ -1,6 +1,6 @@
<HTML>
<HEAD>
- <TITLE>Welcome to the Art Store -- a MiniVend demonstration</TITLE>
+ <TITLE>Welcome to the Art Store -- an Interchange demonstration</TITLE>
</HEAD>
<BODY BGCOLOR=#FFFFFF LINK=#000000 BACKGROUND= ALINK= TEXT=>
<CENTER>
@@ -147,19 +147,19 @@
<P>
<B><A HREF="http://__MVC_SERVERNAME____MVC_CGIURL__/index.html">Enter</A></B>
<P>
-This version of Minivend introduces the Interchange user interface:
+This version of Interchange introduces the Interchange user interface:
<P>
<B><A HREF="[area admin/index]">Admin</A></B>
<P>
<TABLE WIDTH=70%><TR><TD>
-<I>This is the "simple" demonstration of the MiniVend 4.0 electronic
+<I>This is the "simple" demonstration of the Interchange 4.5.x electronic
catalog system. Links that will help you to use this software:</I>
<P>
<UL>
-<LI><A HREF="http://www.minivend.com/">Main MiniVend Site</A><BR>
+<LI><A HREF="http://www.minivend.com/">Main Interchange Site</A><BR>
<OL>
<LI><A HREF="http://www.minivend.com/iri/faq.html">Frequently Asked Questions</A>
- <LI><A HREF="http://www.minivend.com/iri/document.html">MiniVend Documentation</A>
+ <LI><A HREF="http://www.minivend.com/iri/document.html">Interchange Documentation</A>
<LI><A HREF="http://www.minivend.com/iri/maillist.html">User support mail lists</A>
<LI><A HREF="http://www.linuxia.net/minimate/">MiniMate</A>
</OL>
View
2  dist/simple/mysql/pricing.mysql
@@ -1,4 +1,4 @@
-# MiniVend database definition
+# Interchange database definition
Database pricing pricing.txt __SQLDSN__
#ifdef SQLUSER
Database pricing USER __SQLUSER__
View
2  dist/simple/mysql/products.mysql
@@ -1,4 +1,4 @@
-# MiniVend database definition
+# Interchange database definition
Database products products.txt __SQLDSN__
#ifdef SQLUSER
Database products USER __SQLUSER__
View
1  dist/simple/mysql/transactions.mysql
@@ -51,3 +51,4 @@ Database transactions COLUMN_DEF "parent=CHAR(9)"
Database transactions COLUMN_DEF "archived=CHAR(1)"
Database transactions COLUMN_DEF "deleted=CHAR(1) DEFAULT ''"
Database transactions COLUMN_DEF "complete=CHAR(1)"
+Database transactions COLUMN_DEF "comments=text"
View
4 dist/simple/pages/about.html
@@ -17,7 +17,7 @@
<!-- BEGIN CONTENT -->
[comment]
- More MiniVend variables used to roll the setting of the
+ More Interchange variables used to roll the setting of the
company name, address, etc.
[/comment]
@@ -40,4 +40,4 @@
__NO_RIGHT__
__MENUBOTTOM__
-__COPYRIGHT__
+__COPYRIGHT__
View
7 dist/simple/pages/account.html
@@ -3,9 +3,10 @@
ui_template_name: standalone
ui_template_layout: LOGOBAR, MENUBAR, UI_CONTENT, MENUBOTTOM, COPYRIGHT
ui_template_description: Page with top logo bar. menu bar and copyright at bottom.
-ui_control_element: page_title
-ui_control_element: members_only 0=No,1=Yes
-ui_control_description: Settable: Page title, Members only
+ui_control_element: page_title:
+ui_control_element: members_only: 0=No,1=Yes
+ui_control_description: page_title : Page title
+ui_control_description: members_only : Members only
[/comment]
[set members_only]1[/set]
[set page_title]Maintain your account[/set]
View
2  dist/simple/pages/browse.html
@@ -19,7 +19,7 @@
This page just uses an in page search (the [loop search=...])
to return all products from the database. The parameter
- "ra=yes" sets the MiniVend search variable mv_return_all to "yes",
+ "ra=yes" sets the Interchange search variable mv_return_all to "yes",
meaning just start returning records from the file.
If there are more than 50 then it will be truncated because of
View
2  dist/simple/pages/browse1.html
@@ -47,7 +47,7 @@
[comment]
-The below is an extended MiniVend in-page search.
+The below is an extended Interchange in-page search.
The [search-region] container will interpret several
things:
View
4 dist/simple/pages/feedback.html
@@ -16,12 +16,12 @@
[comment]
- The check_form area is a MiniVend scratch variable.
+ The check_form area is a Interchange scratch variable.
It simply sets an area in the user session to a particular
value.
If this is referenced in an mv_click or mv_check variable,
- though, the MiniVend tags inside will be interpreted
+ though, the Interchange tags inside will be interpreted
and other variables may be set.
mv_click sets variable values BEFORE they are put
View
2  dist/simple/pages/flypage.html
@@ -29,7 +29,7 @@
could come from another table.
[/comment]
[comment]
- This next is a MiniVend UserTag -- if you see it in the page, then
+ This next is an Interchange UserTag -- if you see it in the page, then
you don't have it defined in catalog.cfg.
[/comment]
[table-font FACE="verdana,arial, helvetica" SIZE=3]
View
2  dist/simple/pages/index.html
@@ -10,7 +10,7 @@
[/comment]
[set page_title]__COMPANY__ Catalog[/set]
[comment]
- The __VALUES__ below are MiniVend Variable settings.
+ The __VALUES__ below are Interchange Variable settings.
In this case, they come from these settings in catalog.cfg:
## Set some menubars and headers
View
7 dist/simple/pages/multi/b_address.html
@@ -3,9 +3,10 @@
ui_template_name: standalone
ui_template_layout: LOGOBAR, MENUBAR, UI_CONTENT, MENUBOTTOM, COPYRIGHT
ui_template_description: Page with top logo bar. menu bar and copyright at bottom.
-ui_control_element: page_title
-ui_control_element: members_only 0=No,1=Yes
-ui_control_description: Settable: Page title, Members only
+ui_control_element: page_title :
+ui_control_element: members_only : 0=No,1=Yes
+ui_control_description: page_title : Page title
+ui_control_description: members_only : Members only
[/comment]
[set members_only][/set]
[set page_title]Enter Billing Address[/set]
View
2  dist/simple/pages/multi/basket.html
@@ -30,7 +30,7 @@
<INPUT TYPE=hidden NAME=mv_checkout VALUE="multi/checkout">
<INPUT TYPE=hidden NAME=mv_nextpage VALUE=index>
[comment]
- This next is a MiniVend UserTag -- if you see it in the page, then
+ This next is an Interchange UserTag -- if you see it in the page, then
you don't have it defined in catalog.cfg.
[/comment]
View
7 dist/simple/pages/multi/checkout.html
@@ -3,9 +3,10 @@
ui_template_name: standalone
ui_template_layout: LOGOBAR, MENUBAR, UI_CONTENT, MENUBOTTOM, COPYRIGHT
ui_template_description: Page with top logo bar. menu bar and copyright at bottom.
-ui_control_element: page_title
-ui_control_element: members_only 0=No,1=Yes
-ui_control_description: Settable: Page title, Members only
+ui_control_element: page_title :
+ui_control_element: members_only : 0=No,1=Yes
+ui_control_description: page_title : Page title
+ui_control_description: members_only : Members only
[/comment]
[set members_only][/set]
[set name=page_title interpolate=1]Check out with [nitems] items in basket[/set]
View
9 dist/simple/pages/multi/final.html
@@ -3,9 +3,10 @@
ui_template_name: standalone
ui_template_layout: LOGOBAR, MENUBAR, UI_CONTENT, MENUBOTTOM, COPYRIGHT
ui_template_description: Page with top logo bar. menu bar and copyright at bottom.
-ui_control_element: page_title
-ui_control_element: members_only 0=No,1=Yes
-ui_control_description: Settable: Page title, Members only
+ui_control_element: page_title :
+ui_control_element: members_only : 0=No,1=Yes
+ui_control_description: page_title : Page title
+ui_control_description: members_only : Members only
[/comment]
[set members_only][/set]
[set name=page_title interpolate=1]Check out with [nitems] items in basket[/set]
@@ -103,7 +104,7 @@
Card Number <FONT SIZE=1>(test number 4111 1111 1111 1111)</FONT><BR>
<INPUT TYPE=text NAME=mv_credit_card_number SIZE=19>
[if variable MV_PAYMENT_MODE =~ /minivend_test/]
- <BR>MiniVend test should yield:
+ <BR>Interchange test should yield:
<INPUT TYPE=radio NAME=mv_payment_test VALUE=success CHECKED>Success
<INPUT TYPE=radio NAME=mv_payment_test VALUE=success>Failure
[/if]
View
9 dist/simple/pages/multi/shipping.html
@@ -1,11 +1,12 @@
-[comment]
+[comment] :
ui_template: Yes
ui_template_name: standalone
ui_template_layout: LOGOBAR, MENUBAR, UI_CONTENT, MENUBOTTOM, COPYRIGHT
ui_template_description: Page with top logo bar. menu bar and copyright at bottom.
-ui_control_element: page_title
-ui_control_element: members_only 0=No,1=Yes
-ui_control_description: Settable: Page title, Members only
+ui_control_element: page_title :
+ui_control_element: members_only : 0=No,1=Yes
+ui_control_description: page_title : Page title
+ui_control_description: members_only : Members only
[/comment]
[set members_only][/set]
[set page_title]Select Shipping mode[/set]
View
7 dist/simple/pages/new_account.html
@@ -3,9 +3,10 @@
ui_template_name: standalone
ui_template_layout: LOGOBAR, MENUBAR, UI_CONTENT, MENUBOTTOM, COPYRIGHT
ui_template_description: Page with top logo bar. menu bar and copyright at bottom.
-ui_control_element: page_title
-ui_control_element: members_only 0=No,1=Yes
-ui_control_description: Settable: Page title, Members only
+ui_control_element: page_title :
+ui_control_element: members_only : 0=No,1=Yes
+ui_control_description: page_title : Page title
+ui_control_description: members_only : Members only
[/comment]
[set members_only][/set]
[set page_title]__COMPANY__ -- [L]Create a new account[/L][/set]
View
104 dist/simple/pages/news.html
@@ -16,7 +16,7 @@
<BLOCKQUOTE>
<FONT FACE="arial,helvetica" SIZE="-1">
-You may note a new look for MiniVend's "simple" demo.
+You may note a new look for Interchange's "simple" demo.
<P>
[page reconfig/reconfig]Reconfigure the catalog[/page]
(must be user <B><TT>minivend</TT></B>)
@@ -116,7 +116,7 @@
$Session->{key} Direct reference to session area
$Tag->tagname(@args) Call a tag as a routine (UserTag too!)
$Values->{key} Direct reference to user form values
- $Variable->{key} Direct reference to MiniVend Variable
+ $Variable->{key} Direct reference to Interchange Variable
&Log($msg) Log to the error log
</XMP>
@@ -168,7 +168,7 @@
<INPUT TYPE=text NAME=phone VALUE="[value name=!phone:digits!]">
</XMP>
This guarantees that the value of "phone" will be digits only
- when sent to MiniVend. Filters include:
+ when sent to Interchange. Filters include:
<PRE>
uc UPPER CASE
lc lower case
@@ -217,7 +217,7 @@
positional parameters are used.
<LI> ECML is supported via the Vend::ECML module. To map the
- checkout form values from MiniVend UserDB names, with an [ecml ...]
+ checkout form values from Interchange UserDB names, with an [ecml ...]
tag:
<XMP>
[ecml state]
@@ -260,102 +260,6 @@
StaticDBM static
</XMP>
</UL>
-<H2>MiniVend 3.15 Features</H2>
-
-<ul>
- <li>Users maintain a &quot;shopping cart&quot; for ordered items </li>
- <li>Multiple independent or shared catalogs allow one server to run many storefronts or a
- &quot;mall&quot; </li>
- <li>Complete SQL database support, inluding ODBC, via the powerful Perl DBI/DBD interface </li>
- <li>Complete built-in database, no SQL is required to run MiniVend
- <li>SSL support means secure and practical credit card ordering </li>
- <li>PGP support for secure off-site mailing of orders </li>
- <li>Built in support for <i>CyberCash</i> </li>
- <li>Catalogs can be of almost unlimited size with <b>excellent</b> performance </li>
- <li>Multi-server mode for very high capacity on systems with sufficient memory </li>
- <li>Full-featured user database and access control</li>
- <li>Cookie support allows browsers to leave catalog and come back without losing session
- state -- browsers that don't accept cookies will still work fine</li>
- <li>Multiple shopping carts allow buy-sell operations or classified ad exchanges </li>
- <li>Built-in addressable database support with virtually unlimited rows and columns and
- field sizes -- no SQL is required to run Minivend </li>
- <li>Many, many, other features </li>
-</ul>
-
-<h3>Powerful search capability</h3>
-
-<ul>
- <li>Fast binary search </li>
- <li>One-click scan and search -- build a whole search in a single HREF </li>
- <li>Complete Glimpse interface </li>
- <li>Range searching, numeric and alphanumeric</li>
- <li>Delayed search feature for immediate response even on long searches</li>
- <li>Embed searches within searches </li>
- <li>Independent field search selection and return </li>
- <li>Search any file, build results from any database </li>
-</ul>
-
-<h3>Complete control of appearance</h3>
-
-<ul>
- <li>Over 90 predefined tag functions </li>
- <li><B>Powerful</B> user-definable tags </li>
- <li>Tags can be embedded within HTML tags to work with popular HTML editors</li>
- <li>Catalog pages automatically selected -- either built &quot;on the fly&quot; from the
- database or pre-made for popular items </li>
- <li>Embedded Perl and conditional HTML allow complex and flexible catalog pages to be
- completely built from the database </li>
- <li>ASP-style programming supported
- <li>Full frames support </li>
- <li>Full client-side imagemap support, including frame targets and form submits </li>
-</ul>
-
-<h3>Flexible Ordering Process</h3>
-
-<ul>
- <li>Single- or multi-level order screens with configurable field verification </li>
- <li>Shipping calculation, mixed modes, with UPS table lookup </li>
- <li>Sales tax calculation, with fully independent non-taxable item and taxed shipping </li>
- <li>Fully-configurable discounts with coupons or across-the-board discounts </li>
- <li>Fully-configurable quantity pricing </li>
- <li>Powerful global subroutines and user-definable tags allow communication
- with any other system interface for back end order entry</li>
- <li>Fully configurable order reports</li>
- <li>Route orders to multiple fulfillment houses with complete configurability</li>
- <li>Easy to configure for downloadable product delivery</li>
-</ul>
-
-<h3>Easy Administration</h3>
-
-<ul>
- <li>Automated installation and configuration </li>
- <li>Numerous administration utilities </li>
- <li>Runs under Perl 5.004 and almost any UNIX</li>
- <li>Runs under Perl 5.004 and 32-bit Windows</li>
- <li>Works well with <i>all</i> browsers </li>
-</ul>
-
-
-<P>
-Andrew Wilcox wrote <I>Vend,</I> the copylefted shopping cart
-software. MiniVend was originally based on Vend V0.2, but has been
-greatly enhanced, adding powerful relational database functions, user-definable
-tags, support
-for frames, powerful searching, remote administration, super<I>fast</I>
-server mode, conditional HTML, user-customizable help and displays, and
-much more. This version of MiniVend includes an automatic configuration
-and installation utility, and continues to be free under the GNU copyleft.
-
-<P>
-To learn more about <STRONG>MiniVend</STRONG>, see the
-<A HREF="http://www.minivend.com/minivend/mvtoc.html">
-HTML documentation</A>,
-<A HREF="http://www.minivend.com/minivend/faq/">FAQ</A>,
-visit the <A HREF="http://www.minivend.com/minivend/">offical <I>MiniVend</I>
-site</A>, or
-<A HREF="http://www.minivend.com/minivend/download.html">download</A> it.
-<P>
-</BODY>
</BLOCKQUOTE>
[/mvasp]
View
2  dist/simple/pages/ord/basket.html
@@ -30,7 +30,7 @@
<INPUT TYPE=hidden NAME=mv_checkout VALUE="ord/checkout">
<INPUT TYPE=hidden NAME=mv_nextpage VALUE=index>
[comment]
- This next is a MiniVend UserTag -- if you see it in the page, then
+ This next is an Interchange UserTag -- if you see it in the page, then
you don't have it defined in catalog.cfg.
[/comment]
View
9 dist/simple/pages/ord/checkout.html
@@ -3,9 +3,10 @@
ui_template_name: standalone
ui_template_layout: LOGOBAR, MENUBAR, UI_CONTENT, MENUBOTTOM, COPYRIGHT
ui_template_description: Page with top logo bar. menu bar and copyright at bottom.
-ui_control_element: page_title
-ui_control_element: members_only 0=No,1=Yes
-ui_control_description: Settable: Page title, Members only
+ui_control_element: page_title :
+ui_control_element: members_only : 0=No,1=Yes
+ui_control_description: page_title : Page title
+ui_control_description: members_only : Members only
[/comment]
[set members_only][/set]
[set page_title]Check out -- __COMPANY__[/set]
@@ -341,7 +342,7 @@
Card Number <FONT SIZE=1>(test number 4111 1111 1111 1111)</FONT><BR>
<INPUT TYPE=text NAME=mv_credit_card_number SIZE=19>
[if variable MV_PAYMENT_MODE =~ /minivend_test/]
- <BR>MiniVend test should yield:
+ <BR>Interchange test should yield:
<INPUT TYPE=radio NAME=mv_payment_test VALUE=success CHECKED>Success
<INPUT TYPE=radio NAME=mv_payment_test VALUE=success>Failure
[/if]
View
7 dist/simple/pages/query/check_orders.html
@@ -3,9 +3,10 @@
ui_template_name: standalone
ui_template_layout: LOGOBAR, MENUBAR, UI_CONTENT, MENUBOTTOM, COPYRIGHT
ui_template_description: Page with top logo bar. menu bar and copyright at bottom.
-ui_control_element: page_title
-ui_control_element: members_only 0=No,1=Yes
-ui_control_description: Settable: Page title, Members only
+ui_control_element: page_title :
+ui_control_element: members_only : 0=No,1=Yes
+ui_control_description: page_title : Page title
+ui_control_description: members_only : Members only
[/comment]
[set members_only]1[/set]
[set page_title]__COMPANY__ -- Order Status[/set]
View
7 dist/simple/pages/query/order_detail.html
@@ -3,9 +3,10 @@
ui_template_name: standalone
ui_template_layout: LOGOBAR, MENUBAR, UI_CONTENT, MENUBOTTOM, COPYRIGHT
ui_template_description: Page with top logo bar. menu bar and copyright at bottom.
-ui_control_element: page_title
-ui_control_element: members_only 0=No,1=Yes
-ui_control_description: Settable: Page title, Members only
+ui_control_element: page_title :
+ui_control_element: members_only : 0=No,1=Yes
+ui_control_description: page_title : Page title
+ui_control_description: members_only : Members only
[/comment]
[set members_only]1[/set]
[set page_title] __COMPANY__ -- Order Detail [/set]
View
7 dist/simple/pages/special/needfield.html
@@ -3,9 +3,10 @@
ui_template_name: standalone
ui_template_layout: LOGOBAR, MENUBAR, UI_CONTENT, MENUBOTTOM, COPYRIGHT
ui_template_description: Page with top logo bar. menu bar and copyright at bottom.
-ui_control_element: page_title
-ui_control_element: members_only 0=No,1=Yes
-ui_control_description: Settable: Page title, Members only
+ui_control_element: page_title :
+ui_control_element: members_only : 0=No,1=Yes
+ui_control_description: page_title : Page title
+ui_control_description: members_only : Members only
[/comment]
[set members_only][/set]
[set page_title]We need some more information![/set]
View
8 dist/simple/pages/splash.html
@@ -7,19 +7,19 @@
<P>
<B><A HREF="[area index]">Enter</A></B>
<P>
-This version of Minivend introduces the Tallyman user interface:
+This version of Interchange introduces a new user interface:
<P>
<B><A HREF="[area admin/index]">Admin</A></B>
<P>
<TABLE WIDTH=70%><TR><TD>
-<I>This is the "simple" demonstration of the MiniVend 4.0 electronic
+<I>This is the "simple" demonstration of the Interchange 4.5.x electronic
catalog system. Links that will help you to use this software:</I>
<P>
<UL>
-<LI><A HREF="http://www.minivend.com/">Main MiniVend Site</A><BR>
+<LI><A HREF="http://www.minivend.com/">Main Interchange Site</A><BR>
<OL>
<LI><A HREF="http://www.minivend.com/iri/faq.html">Frequently Asked Questions</A>
- <LI><A HREF="http://www.minivend.com/iri/document.html">MiniVend Documentation</A>
+ <LI><A HREF="http://www.minivend.com/iri/document.html">Interchange Documentation</A>
<LI><A HREF="http://www.minivend.com/iri/maillist.html">User support mail lists</A>
<LI><A HREF="http://www.linuxia.net/minimate/">MiniMate</A>
</OL>
View
2  dist/simple/pgsql/pricing.pgsql
@@ -1,4 +1,4 @@
-# MiniVend database definition
+# Interchange database definition
Database pricing pricing.txt __SQLDSN__
#ifdef SQLUSER
Database pricing USER __SQLUSER__
View
2  dist/simple/pgsql/products.pgsql
@@ -1,4 +1,4 @@
-# MiniVend database definition
+# Interchange database definition
Database products products.txt __SQLDSN__
#ifdef SQLUSER
Database products USER __SQLUSER__
View
1  dist/simple/pgsql/transactions.pgsql
@@ -48,4 +48,5 @@ Database transactions COLUMN_DEF "order_date=varchar(32) NOT NULL"
Database transactions COLUMN_DEF "update_date=timestamp"
Database transactions COLUMN_DEF "status=VARCHAR(32)"
Database transactions COLUMN_DEF "parent=VARCHAR(9)"
+Database transactions COLUMN_DEF "comments=text"
Database transactions ChopBlanks 1
View
2  dist/simple/products/mv_metadata.asc
@@ -47,7 +47,7 @@ products::related multiple 5 sku products Related items</B><BR><FONT SIZE=1
userdb::phone_night text 30 Home Phone
userdb::username text 16 Username no_white
userdb::phone_day text 30 Daytime Phone
-mv_metadata::filter multiple 5 filesafe=Safe for file name,
+mv_metadata::filter multiple 5 filesafe=Safe for file name,
uc=Upper case,
nullselect=First non-null (combo box),
null_to_space=Translate null to space,
View
6 dist/simple/products/products.txt
@@ -25,6 +25,6 @@ sku owner description title artist comment display thumb image price category no
99-102 THE ART STORE T-SHIRT The Art Store T-Shirt The Art Store Guaranteed to be of the finest cheap T-shirt material A Store Near You tshirt.jpg 10 Americana,Shirts no 1 S=Small, M=Medium, L=Large*, XL=Extra Large red=Ruby Red, blue=Sky Blue*, green=Sea Green, Black, White
99-301 Chair Car, HOPPER Chair Car HOPPER, Edward 1965, Oil on canvas, 40 x 50 inches Private collection chair_car.jpg 900000 Americana 5 Front
99-322 My Gems, HARNETT My Gems HARNETT, William 1888, Oil on wood, 18 x 14 in. (45.7 x 35.5 cm) National Gallery of Art, Washington my_gems.jpg 1000000 Americana 5
-MVFAQ1 MiniVend FAQ (downloadable) MiniVend 4 Frequently-Asked Questions HEINS, Mike This product is downloadable. You can pay me by reading this! ../mvlogo.png 1 Docs 1 0 MVDOC1 Front 1 application/octet-stream download/mvfaq.pod
-MVDOC1 MiniVend Documentation (downloadable) MiniVend 4 Documentation HEINS, Mike This product is downloadable. You can pay me by reading this! ../mvlogo.png 1 Docs 1 0 MVFAQ1 Front 1 application/octet-stream download/mvdocs.pod
-MVTAG1 MiniVend Tag Reference (downloadable) MiniVend 4 Tag Reference HEINS, Mike This product is downloadable. You can pay me by reading this! ../mvlogo.png 1 Docs 1 0 MVFAQ1 Front 1 application/octet-stream download/mvtags.pod
+MVFAQ1 Interchange FAQ (downloadable) Interchange 4 Frequently-Asked Questions HEINS, Mike This product is downloadable. You can pay me by reading this! ../mvlogo.png 1 Docs 1 0 MVDOC1 Front 1 application/octet-stream download/mvfaq.pod
+MVDOC1 Interchange Documentation (downloadable) Interchange 4 Documentation HEINS, Mike This product is downloadable. You can pay me by reading this! ../mvlogo.png 1 Docs 1 0 MVFAQ1 Front 1 application/octet-stream download/mvdocs.pod
+MVTAG1 Interchange Tag Reference (downloadable) Interchange 4 Tag Reference HEINS, Mike This product is downloadable. You can pay me by reading this! ../mvlogo.png 1 Docs 1 0 MVFAQ1 Front 1 application/octet-stream download/mvtags.pod
View
2  dist/simple/products/transactions.txt
@@ -1 +1 @@
-code store_id order_number session username shipmode nitems subtotal shipping handling salestax total_cost fname lname company address1 address2 city state zip country phone_day phone_night fax email b_fname b_lname b_company b_address1 b_address2 b_city b_state b_zip b_country b_phone order_date order_ymd order_wday payment_method po_number avs order_id update_date status affiliate campaign parent archived deleted complete
+code store_id order_number session username shipmode nitems subtotal shipping handling salestax total_cost fname lname company address1 address2 city state zip country phone_day phone_night fax email b_fname b_lname b_company b_address1 b_address2 b_city b_state b_zip b_country b_phone order_date order_ymd order_wday payment_method po_number avs order_id update_date status affiliate campaign parent archived deleted complete comments
View
2  dist/simple/special_pages/security.html
@@ -4,7 +4,7 @@
__LOGOBAR__
__MENUBAR__
[title-bar color="__CONTRAST__"][scratch page_title][/title-bar]
-MiniVend is designed to <I>securely</I> transmit your information
+Interchange is designed to <I>securely</I> transmit your information
via SSL or SHTTP. Examine the browser status indication, and if
you see an indication that this transaction is <STRONG>secure</STRONG>,
(on Netscape it is an unbroken key in the lower left-hand corner), you
View
12 dist/src/mod_perl_tlink.pl
@@ -1,9 +1,9 @@
#!/usr/bin/perl
# tlink.pl: runs as a cgi program and passes request to Vend server
#
-# $Id: mod_perl_tlink.pl,v 1.1 2000-05-26 18:50:22 heins Exp $
+# $Id: mod_perl_tlink.pl,v 1.2 2000-07-12 03:08:10 heins Exp $
#
-# Copyright 1996-1998 by Michael J. Heins <mikeh@minivend.com>
+# Copyright (C) 1996-2000 Akopia, Inc. <info@akopia.com>
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License as
@@ -64,16 +64,16 @@ sub server_not_running {
my $msg;
if($ERROR_ACTION =~ /not/i) {
- warn "ALERT: MiniVend server not running for $ENV{SCRIPT_NAME}\n";
+ warn "ALERT: Interchange server not running for $ENV{SCRIPT_NAME}\n";
}
$| = 1;
$r->content_type ("text/html");
$r->send_http_header("text/html");
$r->print (<<EOF);
-<HTML><HEAD><TITLE>MiniVend server not running</TITLE></HEAD>
+<HTML><HEAD><TITLE>Interchange server not running</TITLE></HEAD>
<BODY BGCOLOR="#FFFFFF">
-<H3>We're sorry, the MiniVend server was not running...</H3>
+<H3>We're sorry, the Interchange server was not running...</H3>
<P>
We are out of service or may be experiencing high system demand,
please try again soon.
@@ -98,7 +98,7 @@ sub die_page {
$r->print("system error.\r\n\r\n");
$r->print(sprintf "%s: %s (%d)\r\n", $_[0], $!, $?);
if($ERROR_ACTION =~ /not/i) {
- warn "ALERT: MiniVend $ENV{SCRIPT_NAME} $_[0]: $! ($?)\n";
+ warn "ALERT: Interchange $ENV{SCRIPT_NAME} $_[0]: $! ($?)\n";
}
Apache::exit(1);
}
View
6 dist/src/mvctl.c
@@ -1,9 +1,9 @@
/* minivend.c: runs as a command line or cgi program and starts up
- MiniVend in various modes
+ Interchange in various modes
- $Id: mvctl.c,v 1.1 2000-05-26 18:50:22 heins Exp $
+ $Id: mvctl.c,v 1.2 2000-07-12 03:08:10 heins Exp $
- Copyright 1997 by Mike Heins <mikeh@minivend.com>
+ Copyright (C) 1997-2000 Akopia, Inc. <info@akopia.com>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
View
6 dist/src/tlink.c
@@ -1,11 +1,11 @@
/* tlink.c: runs as a cgi program and passes request to Vend server
via TCP/IP
- $Id: tlink.c,v 1.1 2000-05-26 18:50:22 heins Exp $
+ $Id: tlink.c,v 1.2 2000-07-12 03:08:10 heins Exp $
Copyright 1995 by Andrew M. Wilcox <awilcox@world.std.com>
- Copyright 1996-1998 by Michael J. Heins <mikeh@minivend.com>
+ Copyright (C) 1996-2000 Akopia, Inc. <info@akopia.com>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -73,7 +73,7 @@ void server_not_running()
{
printf("Content-type: text/html\r\n\r\n");
printf("<HTML><TITLE>No response</TITLE></HEAD><BODY BGCOLOR=\"#FFFFFF\">");
- printf("<H3>We're sorry, the MiniVend server is unavailable...</H3>\r\n");
+ printf("<H3>We're sorry, the Interchange server is unavailable...</H3>\r\n");
printf("We are out of service or may be experiencing high system\r\n");
printf("demand, please try again soon.</BODY></HTML>\r\n");
exit(1);
View
12 dist/src/tlink.pl
@@ -1,9 +1,9 @@
#!/usr/bin/perl -wT
# tlink.pl: runs as a cgi program and passes request to Vend server
#
-# $Id: tlink.pl,v 1.1 2000-05-26 18:50:22 heins Exp $
+# $Id: tlink.pl,v 1.2 2000-07-12 03:08:10 heins Exp $
#
-# Copyright 1996-1998 by Michael J. Heins <mikeh@minivend.com>
+# Copyright (C) 1996-2000 Akopia, Inc. <info@akopia.com>
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License as
@@ -42,16 +42,16 @@ sub server_not_running {
my $msg;
if($ERROR_ACTION =~ /not/i) {
- warn "ALERT: MiniVend server not running for $ENV{SCRIPT_NAME}\n";
+ warn "ALERT: Interchange server not running for $ENV{SCRIPT_NAME}\n";
}
$| = 1;
print <<EOF;
Content-type: text/html
-<HTML><HEAD><TITLE>MiniVend server not running</TITLE></HEAD>
+<HTML><HEAD><TITLE>Interchange server not running</TITLE></HEAD>
<BODY BGCOLOR="#FFFFFF">
-<H3>We're sorry, the MiniVend server was not running...</H3>
+<H3>We're sorry, the Interchange server was not running...</H3>
<P>
We are out of service or may be experiencing high system demand,
please try again soon.
@@ -69,7 +69,7 @@ sub die_page {
printf("system error.\r\n\r\n");
printf("%s: %s (%d)\r\n", $_[0], $!, $?);
if($ERROR_ACTION =~ /not/i) {
- warn "ALERT: MiniVend $ENV{SCRIPT_NAME} $_[0]: $! ($?)\n";
+ warn "ALERT: Interchange $ENV{SCRIPT_NAME} $_[0]: $! ($?)\n";
}
exit(1);
}
View
6 dist/src/vlink.c
@@ -1,10 +1,10 @@
/* vlink.c: runs as a cgi program and passes request to Vend server
- $Id: vlink.c,v 1.1 2000-05-26 18:50:22 heins Exp $
+ $Id: vlink.c,v 1.2 2000-07-12 03:08:10 heins Exp $
Copyright 1995 by Andrew M. Wilcox <awilcox@world.std.com>
- Modified by Mike Heins <mikeh@minivend.com>
+ Modified by Mike Heins <heins@akopia.com>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -59,7 +59,7 @@ void server_not_running()
{
printf("Content-type: text/html\r\n\r\n");
printf("<HTML><TITLE>No response</TITLE></HEAD><BODY BGCOLOR=\"#FFFFFF\">");
- printf("<H3>We're sorry, the MiniVend server is unavailable...</H3>\r\n");
+ printf("<H3>We're sorry, the Interchange server is unavailable...</H3>\r\n");
printf("We are out of service or may be experiencing high system\r\n");
printf("demand, please try again soon.</BODY></HTML>\r\n");
exit(1);
View
12 dist/src/vlink.pl
@@ -1,9 +1,9 @@
#!/usr/bin/perl -wT
# vlink.pl: runs as a cgi program and passes request to Vend server
# via TCP UNIX-domain socket
-# $Id: vlink.pl,v 1.1 2000-05-26 18:50:22 heins Exp $
+# $Id: vlink.pl,v 1.2 2000-07-12 03:08:10 heins Exp $
#
-# Copyright 1996,1997 by Michael J. Heins <mikeh@minivend.com>
+# Copyright (C) 1996-2000 Akopia, Inc. <info@akopia.com>
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License as
@@ -39,16 +39,16 @@ sub server_not_running {
my $msg;
if($ERROR_ACTION =~ /not/i) {
- warn "ALERT: MiniVend server not running for $ENV{SCRIPT_NAME}\n";
+ warn "ALERT: Interchange server not running for $ENV{SCRIPT_NAME}\n";
}
$| = 1;
print <<EOF;
Content-type: text/html
-<HTML><HEAD><TITLE>MiniVend server not running</TITLE></HEAD>
+<HTML><HEAD><TITLE>Interchange server not running</TITLE></HEAD>
<BODY BGCOLOR="#FFFFFF">
-<H3>We're sorry, the MiniVend server is unavailable...</H3>
+<H3>We're sorry, the Interchange server is unavailable...</H3>
<P>
We are out of service or may be experiencing high system demand,
please try again soon.
@@ -66,7 +66,7 @@ sub die_page {
printf("system error.\r\n\r\n");
printf("%s: %s (%d)\r\n", $_[0], $!, $?);
if($ERROR_ACTION =~ /not/i) {
- warn "ALERT: MiniVend $ENV{SCRIPT_NAME} $_[0]: $! ($?)\n";
+ warn "ALERT: Interchange $ENV{SCRIPT_NAME} $_[0]: $! ($?)\n";
}
exit(1);
}
View
2  dist/usertag/xml_generator
@@ -19,7 +19,7 @@ or C<[loop search=""]> MML tag.
=item session
When the type is not delimited, it can contain any hash reference into
-the Minivend session. Examples are:
+the Interchange session. Examples are:
values The form values
scratch Scratch values
View
38 eg/check
@@ -1,10 +1,10 @@
#!/usr/bin/perl
#
-# check - MiniVend support program
+# check - Interchange support program
#
-# $Id: check,v 1.1 2000-05-26 18:50:31 heins Exp $
+# $Id: check,v 1.2 2000-07-12 03:08:10 heins Exp $
#
-# Copyright 1996-1999 by Michael J. Heins <mikeh@minivend.com>
+# Copyright (C) 1996-2000 Akopia, Inc. <info@akopia.com>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -17,7 +17,7 @@
# GNU General Public License for more details.
#
-# Set the MiniVend root directory
+# Set the Interchange root directory
BEGIN {
$VendRoot = '/home/minivend';
($VendRoot = $ENV{MINIVEND_ROOT})
@@ -47,7 +47,7 @@ $RESTART_HARD = "kill -9 `cat $VendRoot/etc/minivend.pid`; rm -f $VendRoot/etc/s
=head1 NAME
-check -- URL checker for MiniVend
+check -- URL checker for Interchange
=head1 SYNOPSIS
@@ -56,10 +56,10 @@ check -- URL checker for MiniVend
=head1 DESCRIPTION
-This URL checker will test the health of MiniVend and restart it
+This URL checker will test the health of Interchange and restart it
if appropriate. In its simplest form, you can just run it and it will
stay in the background, executing the link program every 60 seconds
-to see if it gets a page back from MiniVend. It relies on the default
+to see if it gets a page back from Interchange. It relies on the default
page (normally I<catalog.html>) being of greater than a certain watermark
(default is 500 bytes).
@@ -69,14 +69,14 @@ actual web server itself with the LWP libraries and a Perl script like:
use LWP::Simple;
getprint "http://localhost/cgi-bin/simple";
-If MiniVend is not responding, its link program will time out and
+If Interchange is not responding, its link program will time out and
respond with a short error message that should be less than the watermark.
At that time, the restart script will be run once. If the restart fails,
then the RESTART_HARD setting will be run. If you define a custom restart
script passed with the C<-r> option, then a C<-f> will be appended to
it as a parameter to indicate a hard restart.
-Counts of good and bad runs are kept in the MiniVend root directory
+Counts of good and bad runs are kept in the Interchange root directory
in the files F<.bad.count> and F<.ok.count> -- PID is in F<.check.pid>, and
is locked to prevent two programs running at the same time.
@@ -129,7 +129,7 @@ If you have a very small default (F<catalog.html>) page:
If your catalog.html page is less than 250 bytes (or whatever you have
hacked the error message to) then you can specify a different page
-in the MiniVend PageDir:
+in the Interchange PageDir:
check -a prettybig.html
@@ -138,7 +138,7 @@ in the MiniVend PageDir:
Can't check for health of web server. A good indication just indicates
that the link program can communicate through the TCP or UNIX-domain socket.
-Must be run as the same user ID which runs MiniVend unless a custom
+Must be run as the same user ID which runs Interchange unless a custom
restart script is provided.
Link timeout must be waited for. To correct this, you can compile
@@ -146,7 +146,7 @@ a custom link with LINK_TIMEOUT set to a small value.
=head1 AUTHOR
-Mike Heins, <mikeh@minivend.com>.
+Mike Heins, <heins@akopia.com>.
=cut
@@ -291,7 +291,7 @@ sub mail_message {
if($opt_d || $opt_d) {
print <<EOF;
-MiniVend check program $0 parameters:
+Interchange check program $0 parameters:
ERRORS_TO =$ERRORS_TO
GOOD_SIZE =$GOOD_SIZE
@@ -333,10 +333,10 @@ for (;;) {
if($restarted > 1) {
mail_message <<EOF;
To: $ERRORS_TO
-Subject: MiniVend down HARD
-X-From: MiniVend Check Program ($0)
+Subject: Interchange down HARD
+X-From: Interchange Check Program ($0)
-MiniVend would not restart. PROBABLY MUST DO MANUAL RESTART.
+Interchange would not restart. PROBABLY MUST DO MANUAL RESTART.
We tried:
$RESTART_HARD
@@ -350,10 +350,10 @@ EOF
else {
mail_message <<EOF;
To: $ERRORS_TO
-Subject: MiniVend restarted
-X-From: MiniVend Check Program ($0)
+Subject: Interchange restarted
+X-From: Interchange Check Program ($0)
-MiniVend not responding, restarted. OK: $good BAD: $not
+Interchange not responding, restarted. OK: $good BAD: $not
Script: $LINK_PROG
Restart: $RESTART
View
4 eg/checkstat.sh
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# checkstat.sh -- check minivend daemon status, and restart if not there
+# checkstat.sh -- check Interchange daemon status, and restart if not there
#
#### EDIT THIS! ########
@@ -36,7 +36,7 @@ else
cat <<EOF
ALERT: MINIVEND SERVER IS DOWN!
-The latest check of the MiniVend server indicates it is not
+The latest check of the Interchange server indicates it is not
running.
We will try to restart the server now, but if there are
View
6 eg/globalsub/signio
@@ -1,5 +1,5 @@
# This is how you can use Signio PayPro with
-# Minivend.
+# Interchange.
#
Variable SIGNIO_HELP <<EOV
@@ -22,7 +22,7 @@ Variable SIGNIO_HELP <<EOV
4. Make sure CreditCardAuto is off (default in MV4)
- 5. Restart Minivend.
+ 5. Restart Interchange.
EOV
@@ -101,7 +101,7 @@ sub signio {
my($orderID);
my($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = gmtime(time());
- # We'll make an order ID based on date, time, and MiniVend session
+ # We'll make an order ID based on date, time, and Interchange session
# $mon is the month index where Jan=0 and Dec=11, so we use
# $mon+1 to get the more familiar Jan=1 and Dec=12
View
8 lib/Vend/Cart.pm
@@ -1,10 +1,8 @@
#!/usr/bin/perl
#
-# MiniVend version 3.12
+# $Id: Cart.pm,v 1.2 2000-07-12 03:08:10 heins Exp $
#
-# $Id: Cart.pm,v 1.1 2000-05-26 18:50:37 heins Exp $
-#
-# Copyright 1996-2000 by Michael J. Heins <mikeh@minivend.com>
+# Copyright (C) 1996-2000 Akopia, Inc. <info@akopia.com>
#
# This program was originally based on Vend 0.2
# Copyright 1995 by Andrew M. Wilcox <awilcox@world.std.com>
@@ -29,7 +27,7 @@
package Vend::Cart;
-$VERSION = substr(q$Revision: 1.1 $, 10);
+$VERSION = substr(q$Revision: 1.2 $, 10);
use strict;
View
10 lib/Vend/Config.pm
@@ -1,8 +1,8 @@
-# Config.pm - Configure Minivend
+# Config.pm - Configure Interchange
#
-# $Id: Config.pm,v 1.10 2000-07-11 20:05:23 heins Exp $
+# $Id: Config.pm,v 1.11 2000-07-12 03:08:10 heins Exp $
#
-# Copyright 1996-2000 by Michael J. Heins <mikeh@minivend.com>
+# Copyright (C) 1996-2000 Akopia, Inc. <info@akopia.com>
#
# This program was originally based on Vend 0.2
# Copyright 1995 by Andrew M. Wilcox <awilcox@world.std.com>
@@ -101,7 +101,7 @@ BEGIN {
};
}
-$VERSION = substr(q$Revision: 1.10 $, 10);
+$VERSION = substr(q$Revision: 1.11 $, 10);
my %CDname;
@@ -1809,7 +1809,7 @@ sub parse_valid_group {
config_error("$var: Group name '$value' is not a valid group\n")
unless defined $gid;
$name = getpwuid($<);
- config_error("$var: MiniVend user '$name' not in group '$value'\n")
+ config_error("$var: Interchange user '$name' not in group '$value'\n")
unless $members =~ /\b$name\b/;
$gid;
}
View
14 lib/Vend/Control.pm
@@ -1,8 +1,8 @@
-# Rare.pm - MiniVend routines rarely used or not requiring much performance
+# Rare.pm - Interchange routines rarely used or not requiring much performance
#
-# $Id: Control.pm,v 1.1 2000-05-26 18:50:37 heins Exp $
+# $Id: Control.pm,v 1.2 2000-07-12 03:08:10 heins Exp $
#
-# Copyright 1996-2000 by Michael J. Heins <mikeh@minivend.com>
+# Copyright (C) 1996-2000 Akopia, Inc. <info@akopia.com>
#
# This program was originally based on Vend 0.2
# Copyright 1995 by Andrew M. Wilcox <awilcox@world.std.com>
@@ -73,7 +73,7 @@ sub control_minivend {
unless(-f $Global::PIDfile) {
warn errmsg(
- "The Minivend server was not running (%s).\n",
+ "The Interchange server was not running (%s).\n",
$Global::PIDfile,
) unless $Vend::Quiet;
exit 1 unless $restart;
@@ -89,7 +89,7 @@ sub control_minivend {
Vend::Server::unlink_pid();
if(! $pid) {
warn errmsg(<<EOF);
-The previous Minivend server was not running and probably
+The previous Interchange server was not running and probably
terminated with an error.
EOF
return if $restart;
@@ -97,10 +97,10 @@ EOF
if(! $sig) {
$sig = $mode ne 'kill' ? 'TERM' : 'KILL';
}
- print "Killing Minivend server $pid with $sig.\n"
+ print "Killing Interchange server $pid with $sig.\n"
unless $Vend::Quiet;
kill $sig, $pid
- or die errmsg("MiniVend server would not stop.\n");
+ or die errmsg("Interchange server would not stop.\n");
exit 0 unless $restart;
}
View
8 lib/Vend/Data.pm
@@ -1,8 +1,8 @@
-# Data.pm - Minivend databases
+# Data.pm - Interchange databases
#
-# $Id: Data.pm,v 1.3 2000-06-18 08:42:46 heins Exp $
+# $Id: Data.pm,v 1.4 2000-07-12 03:08:10 heins Exp $
#
-# Copyright 1996-2000 by Michael J. Heins <mikeh@minivend.com>
+# Copyright (C) 1996-2000 Akopia, Inc. <info@akopia.com>
#
# This program was originally based on Vend 0.2
# Copyright 1995 by Andrew M. Wilcox <awilcox@world.std.com>
@@ -12,7 +12,7 @@
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation and modified by the MiniVend license;
+# the Free Software Foundation and modified by the Interchange license;
# either version 2 of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
View
6 lib/Vend/DbSearch.pm
@@ -1,10 +1,10 @@
# Vend/DbSearch.pm: Search indexes with Perl
#
-# $Id: DbSearch.pm,v 1.4 2000-06-28 07:18:55 heins Exp $
+# $Id: DbSearch.pm,v 1.5 2000-07-12 03:08:10 heins Exp $
#
# ADAPTED FOR USE WITH MINIVEND from Search::TextSearch
#
-# Copyright 1996-2000 by Michael J. Heins <mikeh@minivend.com>
+# Copyright (C) 1996-2000 Akopia, Inc. <info@akopia.com>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -26,7 +26,7 @@ require Vend::Search;
@ISA = qw(Vend::Search);
-$VERSION = substr(q$Revision: 1.4 $, 10);
+$VERSION = substr(q$Revision: 1.5 $, 10);
use Search::Dict;
use strict;
View
4 lib/Vend/Document.pm
@@ -1,9 +1,9 @@
#!/usr/bin/perl
# Document.pm - Document object for embedded Perl/ASP
#
-# $Id: Document.pm,v 1.1 2000-05-26 18:50:37 heins Exp $
+# $Id: Document.pm,v 1.2 2000-07-12 03:08:10 heins Exp $
#
-# Copyright 1996-2000 by Michael J. Heins <mikeh@minivend.com>
+# Copyright (C) 1996-2000 Akopia, Inc. <info@akopia.com>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
View
14 lib/Vend/ECML.pm
@@ -2,7 +2,7 @@
=head1 NAME
-Vend::ECML -- map MiniVend forms/userdb to ECML checkout
+Vend::ECML -- map Interchange forms/userdb to ECML checkout
=head1 VERSION
@@ -19,7 +19,7 @@ Magic database entry from country database:
[ecml country]
-Map values back to MiniVend variables for saving in UserDB:
+Map values back to Interchange variables for saving in UserDB:
<INPUT TYPE=hidden NAME=mv_click CHECKED VALUE="ECML_map">
[set ECML_map]
@@ -28,13 +28,13 @@ Map values back to MiniVend variables for saving in UserDB:
=head1 DESCRIPTION
-This package implements the ECML standard for the MiniVend demo.
+This package implements the ECML standard for the Interchange demo.
ECML stands for "Electronic Commerce Modeling Language", but at this
writing it is a simple standard for naming variables so that "electronic
wallets" can pre-fill-in your checkout form based on users past purchase
from other companies.
-It translates into ECML from the following MiniVend variables:
+It translates into ECML from the following Interchange variables:
Ecom_BillTo_Online_Email b_email
Ecom_BillTo_Postal_City b_city
@@ -91,9 +91,9 @@ It translates into ECML from the following MiniVend variables:
Ecom_ShipTo_Telecom_Phone_Number phone
Ecom_TransactionComplete end_transaction_flag
-Once the form variables are input and sent to MiniVend, the [ecml function=mapback]
+Once the form variables are input and sent to Interchange, the [ecml function=mapback]
tag will cause the input results to be mapped back from the ECML names to the
-MiniVend names.
+Interchange names.
If you only have a C<name> variable in your UserDB, the module will attempt to
split it into first name and last name for ECML purposes and map the results
@@ -159,7 +159,7 @@ local($^W) = 0;