modifications to ensure that Venice can operate without certain personal
information prompted for at registration time, if certain sites should elect to omit that information
This commit is contained in:
@@ -8,9 +8,9 @@
|
||||
//
|
||||
// The Original Code is the Venice Web Communities System.
|
||||
//
|
||||
// The Initial Developer of the Original Code is Eric J. Bowersox <erbo@silcom.com>,
|
||||
// The Initial Developer of the Original Code is Eric J. Bowersox <erbo@ricochet.com>,
|
||||
// for Silverwrist Design Studios. Portions created by Eric J. Bowersox are
|
||||
// Copyright (C) 2001-02 Eric J. Bowersox/Silverwrist Design Studios. All Rights Reserved.
|
||||
// Copyright (C) 2001-2004 Eric J. Bowersox/Silverwrist Design Studios. All Rights Reserved.
|
||||
//
|
||||
// Contributor(s):
|
||||
|
||||
@@ -63,9 +63,16 @@ try
|
||||
rinput.setRequestAttribute("address.lastline",buf.toString());
|
||||
|
||||
// get the full country name and save it off
|
||||
ce = Packages.com.silverwrist.util.International.get().getCountryForCode(ci.country);
|
||||
if (ce!=null)
|
||||
rinput.setRequestAttribute("address.country",ce.name);
|
||||
scountry = "";
|
||||
if (!(ci.country.equals("XX")))
|
||||
{ // use International to get the full country name
|
||||
ce = Packages.com.silverwrist.util.International.get().getCountryForCode(ci.country);
|
||||
if (ce!=null)
|
||||
scountry = ce.name;
|
||||
|
||||
} // end if
|
||||
|
||||
rinput.setRequestAttribute("address.country",scountry);
|
||||
|
||||
// Save off the community logo tag.
|
||||
html = vlib.queryHTMLRendering(rinput);
|
||||
|
||||
Reference in New Issue
Block a user