diff options
author | ivan <ivan> | 2000-06-27 12:15:50 +0000 |
---|---|---|
committer | ivan <ivan> | 2000-06-27 12:15:50 +0000 |
commit | 2ba21fef7cc361ccd58045d490d36dab8f25a892 (patch) | |
tree | 1d41fdfa2efc0ba3d762cd5c77c6d65da3e39e22 /htdocs | |
parent | b84f789033eba9a0fc74bca5a071cfefd87f3c69 (diff) |
i18n
Diffstat (limited to 'htdocs')
-rw-r--r-- | htdocs/docs/config.html | 1 | ||||
-rwxr-xr-x | htdocs/edit/cust_main.cgi | 10 |
2 files changed, 8 insertions, 3 deletions
diff --git a/htdocs/docs/config.html b/htdocs/docs/config.html index fe1cce23d..730a1c9f8 100644 --- a/htdocs/docs/config.html +++ b/htdocs/docs/config.html @@ -28,6 +28,7 @@ All further configuration files and directories are located in <li>bindprimary - Your BIND primary nameserver. This enables export of /var/named/named.conf and zone files into /var/named <li>bindsecondaries - Your BIND secondary nameservers, one per line. This enables export of /var/named/named.conf <li>bsdshellmachines - Your BSD flavored shell (and mail) machines, one per line. This enables export of `/etc/passwd' and `/etc/master.passwd'. + <li>countrydefault - Default two-letter country code (if not supplied, the default is `US') <li>cybercash2 - <a href="http://www.cybercash.com/cybercash/services/cashreg214.html">CyberCash v2</a> support, four lines: paymentserverhost, paymentserverport, paymentserversecret, and transaction type (`mauthonly' or `mauthcapture'). CCLib.pm is required. <li>cybercash3.2 - <a href="http://www.cybercash.com/cybercash/services/technology.html">CyberCash v3.2</a> support. Two lines: the full path and name of your merchant_conf file, and the transaction type (`mauthonly' or `mauthcapture'). CCMckLib3_2.pm, CCMckDirectLib3_2.pm and CCMckErrno3_2 are required. <li>deletecustomers - The existance of this file will enable customer deletions. Be very careful! Deleting a customer will remove all traces that this customer ever existed! It should probably only be used when auditing a legacy database. Normally, you cancel all of a customers' packages if they cancel service. diff --git a/htdocs/edit/cust_main.cgi b/htdocs/edit/cust_main.cgi index 6356a4d74..0cde76b06 100755 --- a/htdocs/edit/cust_main.cgi +++ b/htdocs/edit/cust_main.cgi @@ -1,6 +1,6 @@ #!/usr/bin/perl -Tw # -# $Id: cust_main.cgi,v 1.25 2000-03-02 08:09:38 ivan Exp $ +# $Id: cust_main.cgi,v 1.26 2000-06-27 12:15:50 ivan Exp $ # # Usage: cust_main.cgi custnum # http://server.name/path/cust_main.cgi?custnum @@ -38,7 +38,10 @@ # fixed one missed day->daytime ivan@sisd.com 98-jul-13 # # $Log: cust_main.cgi,v $ -# Revision 1.25 2000-03-02 08:09:38 ivan +# Revision 1.26 2000-06-27 12:15:50 ivan +# i18n +# +# Revision 1.25 2000/03/02 08:09:38 ivan # still need to allow blank expiration dates # # Revision 1.24 2000/01/30 06:54:50 ivan @@ -260,7 +263,8 @@ print "<BR><BR>Contact information", &itable("#c0c0c0"), <<END; <TR><TH ALIGN="right">${r}City</TH><TD><INPUT TYPE="text" NAME="city" VALUE="$city"></TD><TH ALIGN="right">${r}State/Country</TH><TD><SELECT NAME="state" SIZE="1"> END -$cust_main->country('US') unless $cust_main->country; #eww +$cust_main->country( $conf->config('countrydefault') || 'US' ) + unless $cust_main->country; foreach ( qsearch('cust_main_county',{}) ) { print "<OPTION"; print " SELECTED" if ( $cust_main->state eq $_->state |