From f0bf5e31ee14ca4bbf2b2d4e55149144acadc01f Mon Sep 17 00:00:00 2001 From: "Eric J. Bowersox" Date: Sat, 10 Jul 2004 22:54:15 +0000 Subject: [PATCH] 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 --- scripts/comm/show.js | 17 +- scripts/showuser.js | 46 ++- .../venice/core/impl/UserContextImpl.java | 7 + .../silverwrist/venice/util/BuildVCard.java | 2 +- web/format/comm/members.jsp | 134 +++++---- web/format/conf/manage_topic.jsp | 77 ++--- web/format/find.jsp | 265 ++++++++++-------- web/format/sysadmin/find_user.jsp | 131 +++++---- web/format/user_profile.jsp | 100 +++---- 9 files changed, 431 insertions(+), 348 deletions(-) diff --git a/scripts/comm/show.js b/scripts/comm/show.js index 69571a1..f9d2cc9 100644 --- a/scripts/comm/show.js +++ b/scripts/comm/show.js @@ -8,9 +8,9 @@ // // The Original Code is the Venice Web Communities System. // -// The Initial Developer of the Original Code is Eric J. Bowersox , +// The Initial Developer of the Original Code is Eric J. Bowersox , // 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); diff --git a/scripts/showuser.js b/scripts/showuser.js index 90c8e8e..e5dedb3 100644 --- a/scripts/showuser.js +++ b/scripts/showuser.js @@ -8,9 +8,9 @@ // // The Original Code is the Venice Web Communities System. // -// The Initial Developer of the Original Code is Eric J. Bowersox , +// The Initial Developer of the Original Code is Eric J. Bowersox , // for Silverwrist Design Studios. Portions created by Eric J. Bowersox are -// Copyright (C) 2001 Eric J. Bowersox/Silverwrist Design Studios. All Rights Reserved. +// Copyright (C) 2001-2004 Eric J. Bowersox/Silverwrist Design Studios. All Rights Reserved. // // Contributor(s): @@ -34,30 +34,25 @@ try buf = new java.lang.StringBuffer(prof.givenName); if (!(vlib.emptyString(prof.namePrefix))) { // insert the prefix at the beginning of the string - buf.insert(0," "); + if (buf.length()>0) + buf.insert(0," "); buf.insert(0,prof.namePrefix); } // end if tmp = String.fromCharCode(prof.middleInitial); - if (tmp!=" ") - { // append the middle initial - buf.append(" "); - buf.append(tmp); - buf.append("."); + if (tmp!=" ") // append the middle initial + buf.append(" ").append(tmp).append("."); - } // end if - - buf.append(" "); - buf.append(prof.familyName); + if (!(vlib.emptyString(prof.familyName))) + buf.append(" ").append(prof.familyName); if (!(vlib.emptyString(prof.nameSuffix))) - { // append the name suffix - buf.append(" "); - buf.append(prof.nameSuffix); + buf.append(" ").append(prof.nameSuffix); - } // end if - - rinput.setRequestAttribute("fullname",buf.toString()); + sfullname = buf.toString().trim(); + if (vlib.emptyString(sfullname)) + sfullname = username; + rinput.setRequestAttribute("fullname",sfullname); // determine the last line of the address and save it off if (vlib.emptyString(prof.locality)) @@ -73,19 +68,22 @@ try else { // tack together both locality and region buf = new java.lang.StringBuffer(prof.locality); - buf.append(", "); - buf.append(prof.region); + buf.append(", ").append(prof.region); } // end else if (!(vlib.emptyString(prof.postalCode))) { // append the postal code - buf.append(" "); - buf.append(prof.postalCode); + buf.append(" ").append(prof.postalCode); } // end if - rinput.setRequestAttribute("address.lastline",buf.toString()); + rinput.setRequestAttribute("address.lastline",buf.toString().trim()); + + scountry = prof.fullCountry(); + if (prof.country.equals("XX")) + scountry = ""; + rinput.setRequestAttribute("country",scountry); // Save off the user photo tag. html = vlib.queryHTMLRendering(rinput); @@ -105,4 +103,4 @@ catch (e) } // end catch -vlib.output(rc); // all done! \ No newline at end of file +vlib.output(rc); // all done! diff --git a/src/com/silverwrist/venice/core/impl/UserContextImpl.java b/src/com/silverwrist/venice/core/impl/UserContextImpl.java index 42f2b93..748a754 100644 --- a/src/com/silverwrist/venice/core/impl/UserContextImpl.java +++ b/src/com/silverwrist/venice/core/impl/UserContextImpl.java @@ -619,7 +619,14 @@ class UserContextImpl implements UserContext, ServiceProvider, PropertyProvider if (my_email==null) my_email = rc.getEmail(); if (full_name==null) + { // compute the full name full_name = rc.getGivenName() + " " + rc.getFamilyName(); + full_name = full_name.trim(); + if (StringUtil.isStringEmpty(full_name)) + full_name = username; + + } // end if + if (my_pseud==null) my_pseud = full_name; return rc; diff --git a/src/com/silverwrist/venice/util/BuildVCard.java b/src/com/silverwrist/venice/util/BuildVCard.java index 11fec17..be04384 100644 --- a/src/com/silverwrist/venice/util/BuildVCard.java +++ b/src/com/silverwrist/venice/util/BuildVCard.java @@ -86,7 +86,7 @@ public class BuildVCard buf.append(family_name); if (!StringUtil.isStringEmpty(suffix)) buf.append(' ').append(suffix); - String s = buf.toString(); + String s = buf.toString().trim(); if (s.length()==0) return null; return s; diff --git a/web/format/comm/members.jsp b/web/format/comm/members.jsp index 319c2d4..c1586e9 100644 --- a/web/format/comm/members.jsp +++ b/web/format/comm/members.jsp @@ -17,6 +17,7 @@ --%> <%@ page import = "java.util.Iterator" %> <%@ page import = "java.util.List" %> +<%@ page import = "com.silverwrist.util.*" %> <%@ page import = "com.silverwrist.venice.core.*" %> <%@ page import = "com.silverwrist.venice.ui.view.MembersView" %> <%@ taglib uri="/tlds/util" prefix="util" %> @@ -36,43 +37,43 @@ ]

<% } // end if %> -Find members of community "":

-

- - - +Find members of community "":

+

+ + + Display all community members whose   -
+
- + -
+
-
+
<% List results = view.getResults(); %> <% if (results!=null) { %> -
+
<% int dcount = results.size(); // Determine the number of results to display and whether to display a "next" button @@ -84,28 +85,28 @@ } // end if %> - - +
+ + + - -
<%-- The community members/search results header --%> - + <% if (view.getSimple()) { %>Community Members:<% } else { %>Search Results:<% } %> - + (Displaying <%= view.getOffset() + 1 %>-<%= view.getOffset() + dcount %> of <%= view.getFindCount() %>) - + <% if (go_next || (view.getOffset()>0)) { %> <%-- The navigational form that allows us to page through the results --%> Navigational Form -
- - - - - - - +
+ + + + + + + <% if (view.getOffset()>0) { %> <% } else { %> @@ -117,33 +118,50 @@ <% } else { %> <% } // end if %> -
+
<% } else { %> <% } %> -

+

<%-- Display the results of the search --%> - +
<% for (int i=0; i - - - + + - + + <% } // end for %> -
- <% UserFound uf = (UserFound)(results.get(i)); %> +
+ <% + UserFound uf = (UserFound)(results.get(i)); + String fullname = uf.getGivenName() + " " + uf.getFamilyName(); + fullname = fullname.trim(); + if (StringUtil.isStringEmpty(fullname)) + fullname = uf.getName(); + String whence = ""; + if (!(StringUtil.isStringEmpty(uf.getLocality()))) + { // figure out the right locality + if (!(StringUtil.isStringEmpty(uf.getRegion()))) + whence = uf.getLocality() + ", " + uf.getRegion(); + else + whence = uf.getLocality(); + + } // end if + else if (!(StringUtil.isStringEmpty(uf.getRegion()))) + whence = uf.getRegion(); + %> user/<%= uf.getName() %> <%= uf.getName() %> -
- <%= uf.getGivenName() %> <%= uf.getFamilyName() %>, - from <%= uf.getLocality() %>, <%= uf.getRegion() %> - <%= uf.getCountry() %> +
+ <%= fullname %>, from <%= whence %> + <% if (!(uf.getCountry().equals("XX"))) { %><%= uf.getCountry() %><% } %> <% if (view.isCommunityAdmin(uf)) { %>   <% } // end if %> <% if (uf.getDescription()!=null) { %> -
<%= uf.getDescription() %> +
<%= uf.getDescription() %> <% } // end if %> -

+
<% } // end if %> +<%-- EOF --%> diff --git a/web/format/conf/manage_topic.jsp b/web/format/conf/manage_topic.jsp index 98163d3..04703a0 100644 --- a/web/format/conf/manage_topic.jsp +++ b/web/format/conf/manage_topic.jsp @@ -9,13 +9,14 @@ The Original Code is the Venice Web Communities System. - The Initial Developer of the Original Code is Eric J. Bowersox , + The Initial Developer of the Original Code is Eric J. Bowersox , for Silverwrist Design Studios. Portions created by Eric J. Bowersox are - Copyright (C) 2001 Eric J. Bowersox/Silverwrist Design Studios. All Rights Reserved. + Copyright (C) 2001-2004 Eric J. Bowersox/Silverwrist Design Studios. All Rights Reserved. Contributor(s): --%> <%@ page import = "java.util.*" %> +<%@ page import = "com.silverwrist.util.*" %> <%@ page import = "com.silverwrist.venice.core.*" %> <%@ page import = "com.silverwrist.venice.ui.conf.CurrentConference" %> <%@ page import = "com.silverwrist.venice.ui.menus.MenuComponent" %> @@ -38,72 +39,78 @@

-

Topic Subscription:
+
Topic Subscription:
- You are currently subscribed to this topic, and will receive all new posts to it via E-mail.

- + You are currently subscribed to this topic, and will receive all new posts to it via E-mail.

+ conf/subscribe_topic.js.vs?cc=&conf=&top=&flag=0 Click Here to Stop Subscribing To This Topic - + You are not currently subscribed to this topic. When you subscribe to a topic, you will receive all new - posts to that topic via E-mail.

- + posts to that topic via E-mail.

+ conf/subscribe_topic.js.vs?cc=&conf=&top=&flag=1 Click Here to Start Subscribing To This Topic - + -

 

+

 

Invitation Section You may send an invitation via E-mail to outside individuals to join this community and - read this topic in the conference.

- + read this topic in the conference.

+ conf/invite_topic.js.vs?cc=&conf=&top= Click Here to send an invitation - -

 

+ +

 

Filtered Users Section <% List bozos = (List)(view.getRequestAttribute("topic.bozos.list")); %> <% if (bozos.size()>0) { %> - - <% Iterator it = bozos.iterator(); %> - <% while (it.hasNext()) { %> - <% UserProfile prof = (UserProfile)(it.next()); %> +
+ <% for (Iterator it=bozos.iterator(); it.hasNext(); ) { %> + <% + UserProfile prof = (UserProfile)(it.next()); + String fullname = prof.getGivenName() + " " + prof.getFamilyName(); + fullname = fullname.trim(); + %> - - + - - <% } // end while %> -
+ conf/remove_bozo.js.vs?cc=&conf=&top=&u=<%= prof.getUID() %> - + < user/<%= prof.getUserName() %> <%= prof.getUserName() %> > - (<%= prof.getGivenName() %> <%= prof.getFamilyName() %>) -

+ <% if (!(StringUtil.isStringEmpty(fullname))) { %> + (<%= fullname %>) + <% } // end if %> + + + <% } // end for %> +

- - - + +
+ + + - + - -
- + Click this symbol to cease filtering this user in this topic. -
+
<% } else { %> -

No users currently filtered.
+
No users currently filtered.
<% } // end if %> +<%-- EOF --%> diff --git a/web/format/find.jsp b/web/format/find.jsp index 5597087..26dc3ef 100644 --- a/web/format/find.jsp +++ b/web/format/find.jsp @@ -9,14 +9,15 @@ The Original Code is the Venice Web Communities System. - The Initial Developer of the Original Code is Eric J. Bowersox , + The Initial Developer of the Original Code is Eric J. Bowersox , 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): --%> <%@ page import = "java.util.Iterator" %> <%@ page import = "java.util.List" %> +<%@ page import = "com.silverwrist.util.*" %> <%@ page import = "com.silverwrist.venice.core.*" %> <%@ page import = "com.silverwrist.venice.ui.view.FindView" %> <%@ taglib uri="/tlds/util" prefix="util" %> @@ -77,86 +78,92 @@ <%-- Display the search form --%> Find form -
- - +
+ + <% if (data.testDisplayMode(FindView.FD_POSTS)) { %> Find Posts form - Find Posts: + Find Posts: - Keywords: -
+ Keywords: +
<% } else { %> <% if (data.testDisplayMode(FindView.FD_COMMUNITIES)) { %> Find Communities form - Find Communities: + Find Communities: Display all communities whose   -
+
<% } else if (data.testDisplayMode(FindView.FD_USERS)) { %> Find Users form - Find Users: + Find Users: Display all users whose   -
+
<% } else if (data.testDisplayMode(FindView.FD_CATEGORIES)) { %> Find Categories form - Find Categories: + Find Categories: Display all categories whose name   <%-- shouldn't get here --%> -

Display parameter invalid!

+

Display parameter invalid!

<% } else { %> <%-- shouldn't get here --%> -

Display parameter invalid!

+

Display parameter invalid!

<% } // end if %> - - <% if (data.testDisplayMode(FindView.FD_CATEGORIES)) { %>
<% } else { %>  <% } %> -
+ + <% if (data.testDisplayMode(FindView.FD_CATEGORIES)) { %>
<% } else { %>  <% } %> +
<% } // end if %> -
+
<%-- Display the current category --%> <% cat = data.getCategory(); %> <% if (cat!=null) { %> Display Category Name -
- Category: +
+ Category: <% if (cat.getCategoryID()<0) { %> Top <% } else { %> @@ -178,21 +185,20 @@ <% } // end if %> <% } // end for %> <% } // end if (displaying the subcategory tree) %> -

+

<%-- Display the subcategory list --%> <% List subcats = data.getSubCategories(); %> <% if ((subcats!=null) && (subcats.size()>0)) { %> Display Subcategory List - Subcategories:
- - <% Iterator it = subcats.iterator(); %> - <% while (it.hasNext()) { %> - - - + + <% } // end for %> +
- <% CategoryDescriptor c = (CategoryDescriptor)(it.next()); %> - + Subcategories:
+ + <% for (Iterator it = subcats.iterator(); it.hasNext(); ) { %> + <% CategoryDescriptor c = (CategoryDescriptor)(it.next()); %> + + + - - <% } // end while %> -
+ find.js.vs?disp=<%= FindView.FD_COMMUNITIES %>&cat=<%= c.getLinkedCategoryID() %> @@ -200,11 +206,11 @@ <%= c.getTitleAtLevel(c.getNumLevels()-1) %> - <% if (c.isSymbolicLink()) { %>@<% } %> -
+ <% if (c.isSymbolicLink()) { %>@<% } %> +
<% } // end if (displaying subcategory list) %> <% } // end if (category specified) %> @@ -225,29 +231,29 @@ } // end if %> -


- - +
+
+ + + - -
<%-- The initial search results --%> - <% if (cat!=null) { %>Communities in Category<% } else { %>Search Results<% } %> + <% if (cat!=null) { %>Communities in Category<% } else { %>Search Results<% } %> <% if (data.getFindCount()>0) { %> (Displaying <%= data.getOffset() + 1 %>-<%= data.getOffset() + dcount %> of <%= data.getFindCount() %>) <% } else { %>(None)<% } %> - + <% if (go_next || (data.getOffset()>0)) { %> <%-- The navigational form that allows us to page through the results --%> Navigational form -
- - <% if (cat!=null) { %><% } %> - - - - - +
+ + <% if (cat!=null) { %><% } %> + + + + + <% if (data.getOffset()>0) { %> <% } else { %> @@ -259,58 +265,58 @@ <% } else { %> <% } // end if %> -
+
<% } else { %> <% } %> -

+

<%-- Display the results of the search --%> - +
<% if (data.testDisplayMode(FindView.FD_POSTS) && (dcount>0)) { %> - - - - - - - + + + + + + + <% } // end if %> <% for (int i=0; i - + <% if (data.testDisplayMode(FindView.FD_POSTS)) { %> <% TopicMessageFound post = (TopicMessageFound)(results.get(i)); %> - - + - + - + - + + <% } else { %> - - + + <% } // end if %> - + <% } // end for %> -
- Post Link - - Author - - Post Date - - Lines -  
+ Post Link + + Author + + Post Date + + Lines +  
+ go/<%= post.getIdentifier() %> <%= post.getIdentifier() %> - + user/<%= post.getAuthor() %> <%= post.getAuthor() %> - + <%= data.formatDate(post.getPostDate()) %> - + <%= post.getLineCount() %> - + <%= post.getText() %> - + <% Object item = results.get(i); %> <% if (data.testDisplayMode(FindView.FD_COMMUNITIES)) { %> <% @@ -319,9 +325,9 @@ int members = FindView.getCommunityMemberCount(comm); %> - sig/<%= comm.getAlias() %> + comm/<%= comm.getAlias() %> <%= comm.getName() %> -
+
<% if (host_name!=null) { %> Host: @@ -333,21 +339,37 @@ <% if (host_name!=null) { %> - <% } %> <%= members %> members <% } // end if (got member count) %> - <% if ((host_name!=null) || (members>=0)) { %>
<% } %> - Latest activity: <%= data.getActivityString(comm.getLastAccessDate()) %>
- <%= comm.getSynopsis() %> + <% if ((host_name!=null) || (members>=0)) { %>
<% } %> + Latest activity: <%= data.getActivityString(comm.getLastAccessDate()) %>
+ <%= comm.getSynopsis() %> <% } else if (data.testDisplayMode(FindView.FD_USERS)) { %> - <% UserFound uf = (UserFound)item; %> + <% + UserFound uf = (UserFound)item; + String fullname = uf.getGivenName() + " " + uf.getFamilyName(); + fullname = fullname.trim(); + if (StringUtil.isStringEmpty(fullname)) + fullname = uf.getName(); + String whence = ""; + if (!(StringUtil.isStringEmpty(uf.getLocality()))) + { // combine locations + if (!(StringUtil.isStringEmpty(uf.getRegion()))) + whence = uf.getLocality() + ", " + uf.getRegion(); + else + whence = uf.getLocality(); + + } // end if + else if (!(StringUtil.isStringEmpty(uf.getRegion()))) + whence = uf.getRegion(); + %> user/<%= uf.getName() %> <%= uf.getName() %> -
- <%= uf.getGivenName() %> - <%= uf.getFamilyName() %>, - from <%= uf.getLocality() %>, - <%= uf.getRegion() %> <%= uf.getCountry() %> +

+ <%= fullname %>, + from <%= whence %> + <% if (!(uf.getCountry().equals("XX"))) { %><%= uf.getCountry() %><% } %> <% if (uf.getDescription()!=null) { %> -
<%= uf.getDescription() %> +
<%= uf.getDescription() %> <% } // end if %> <% } else if (data.testDisplayMode(FindView.FD_CATEGORIES)) { %> @@ -360,9 +382,10 @@ <% } // end if %> -

+
<% } // end if (results found) %> +<%-- EOF --%> diff --git a/web/format/sysadmin/find_user.jsp b/web/format/sysadmin/find_user.jsp index 3be69a4..b4b0fbd 100644 --- a/web/format/sysadmin/find_user.jsp +++ b/web/format/sysadmin/find_user.jsp @@ -9,9 +9,9 @@ The Original Code is the Venice Web Communities System. - The Initial Developer of the Original Code is Eric J. Bowersox , + The Initial Developer of the Original Code is Eric J. Bowersox , for Silverwrist Design Studios. Portions created by Eric J. Bowersox are - Copyright (C) 2001 Eric J. Bowersox/Silverwrist Design Studios. All Rights Reserved. + Copyright (C) 2001-2004 Eric J. Bowersox/Silverwrist Design Studios. All Rights Reserved. Contributor(s): --%> @@ -30,36 +30,36 @@ System Administration Menu

<%-- Display the search form --%> User Search Form -

- - Find Users:
+
+ + Find Users:
Display all users whose   -
- +
+    -
-
+
+
-
+
<% List results = data.getResults(); %> <% if (results!=null) { %> @@ -75,26 +75,26 @@ System Administration Menu

} // end if %> -


- - +
+
+ + - + -
<%-- The initial search results --%> - Search Results + Search Results <% if (data.getFindCount()>0) { %> (Displaying <%= data.getOffset() + 1 %>-<%= data.getOffset() + dcount %> of <%= data.getFindCount() %>) <% } else { %>(None)<% } %> - + <% if (go_next || (data.getOffset()>0)) { %> <%-- The navigational form that allows us to page through the results --%> Navigational Form -
- - - - - +
+ + + + + <% if (data.getOffset()>0) { %> <% } else { %> @@ -106,33 +106,52 @@ System Administration Menu

<% } else { %> <% } // end if %> -

+
<% } else { %> <% } %> -

+

<%-- Display the results of the search --%> - +
<% for (int i=0; i - - - + + - + + <% } // end for %> -
- <% UserFound uf = (UserFound)(results.get(i)); %> +
+ <% + UserFound uf = (UserFound)(results.get(i)); + String fullname = uf.getGivenName() + " " + uf.getFamilyName(); + fullname = fullname.trim(); + if (StringUtil.isStringEmpty(fullname)) + fullname = uf.getName(); + String whence = ""; + if (!(StringUtil.isStringEmpty(uf.getLocality()))) + { // combine locations + if (!(StringUtil.isStringEmpty(uf.getRegion()))) + whence = uf.getLocality() + ", " + uf.getRegion(); + else + whence = uf.getLocality(); + + } // end if + else if (!(StringUtil.isStringEmpty(uf.getRegion()))) + whence = uf.getRegion(); + %> user/<%= uf.getName() %> <%= uf.getName() %> -
- <%= uf.getGivenName() %> <%= uf.getFamilyName() %>, - from <%= uf.getLocality() %>, <%= uf.getRegion() %> <%= uf.getCountry() %> +
+ <%= fullname %>, + from <%= whence %> + <% if (!(uf.getCountry().equals("XX"))) { %><%= uf.getCountry() %><% } %> <% if (!StringUtil.isStringEmpty(uf.getDescription())) { %> -
<%= uf.getDescription() %> +
<%= uf.getDescription() %> <% } // end if %> -
+
sysadmin/modify_user.js.vs?uid=<%= uf.getUID() %> [Modify User] -

+
<% } // end if (results found) %> +<%-- EOF --%> diff --git a/web/format/user_profile.jsp b/web/format/user_profile.jsp index ae6ca17..758aa4c 100644 --- a/web/format/user_profile.jsp +++ b/web/format/user_profile.jsp @@ -9,9 +9,9 @@ The Original Code is the Venice Web Communities System. - The Initial Developer of the Original Code is Eric J. Bowersox , + The Initial Developer of the Original Code is Eric J. Bowersox , for Silverwrist Design Studios. Portions created by Eric J. Bowersox are - Copyright (C) 2001 Eric J. Bowersox/Silverwrist Design Studios. All Rights Reserved. + Copyright (C) 2001-2004 Eric J. Bowersox/Silverwrist Design Studios. All Rights Reserved. Contributor(s): --%> @@ -26,72 +26,76 @@ %> Profile for UID #<%= prof.getUID() %> - - +
- <%= data.getRequestAttribute("user.photo") %>

+ + + - -
+ <%= data.getRequestAttribute("user.photo") %>

<% java.util.Date tmpd = prof.getCreateDate(); %> <% if (tmpd!=null) { %> - Account created:
<%= data.formatDate(tmpd) %>
+ Account created:
<%= data.formatDate(tmpd) %>
<% } // end if %> <% tmpd = prof.getLastLoginDate(); %> <% if (tmpd!=null) { %> - Last login:
<%= data.formatDate(tmpd) %>
+ Last login:
<%= data.formatDate(tmpd) %>
<% } // end if %> <% tmpd = prof.getLastUpdate(); %> <% if (tmpd!=null) { %> - Profile last updated:
<%= data.formatDate(tmpd) %>
+ Profile last updated:
<%= data.formatDate(tmpd) %>
<% } // end if %> -

- <%= data.getRequestAttribute("fullname").toString() %>
- <% tmp = prof.getEmail(); %> +
+ fullname<% tmp = data.getRequestAttribute("fullname").toString(); %> <% if (!(StringUtil.isStringEmpty(tmp))) { %> - E-mail: <%= tmp %>
+ <%= tmp %>
<% } // end if %> - <% tmp = prof.getURL(); %> + e-mail<% tmp = prof.getEmail(); %> <% if (!(StringUtil.isStringEmpty(tmp))) { %> - URL: <%= tmp %>
- <% } // end if %>
- <% tmp = prof.getCompany(); %> - <% if (!(StringUtil.isStringEmpty(tmp))) { %><%= tmp %>
<% } %> - <% tmp = prof.getAddressLine1(); %> - <% if (!(StringUtil.isStringEmpty(tmp))) { %><%= tmp %>
<% } %> - <% tmp = prof.getAddressLine2(); %> - <% if (!(StringUtil.isStringEmpty(tmp))) { %><%= tmp %>
<% } %> - <% tmp = data.getRequestAttribute("address.lastline").toString(); %> - <% if (!(StringUtil.isStringEmpty(tmp))) { %><%= tmp %>
<% } %> - <% tmp = prof.getFullCountry(); %> - <% if (!(StringUtil.isStringEmpty(tmp))) { %><%= tmp %>
<% } %> - <% tmp = prof.getPhone(); %> - <% if (!(StringUtil.isStringEmpty(tmp))) { %>Phone: <%= tmp %>
<% } %> - <% tmp = prof.getFax(); %> - <% if (!(StringUtil.isStringEmpty(tmp))) { %>Fax: <%= tmp %>
<% } %> - <% tmp = prof.getMobile(); %> - <% if (!(StringUtil.isStringEmpty(tmp))) { %>Mobile: <%= tmp %>
<% } %> -

+ E-mail: <%= tmp %>
+ <% } // end if %> + url<% tmp = prof.getURL(); %> + <% if (!(StringUtil.isStringEmpty(tmp))) { %> + URL: <%= tmp %>
+ <% } // end if %>
+ company<% tmp = prof.getCompany(); %> + <% if (!(StringUtil.isStringEmpty(tmp))) { %><%= tmp %>
<% } %> + address 1<% tmp = prof.getAddressLine1(); %> + <% if (!(StringUtil.isStringEmpty(tmp))) { %><%= tmp %>
<% } %> + address 2<% tmp = prof.getAddressLine2(); %> + <% if (!(StringUtil.isStringEmpty(tmp))) { %><%= tmp %>
<% } %> + address lastline<% tmp = data.getRequestAttribute("address.lastline").toString(); %> + <% if (!(StringUtil.isStringEmpty(tmp))) { %><%= tmp %>
<% } %> + country<% tmp = data.getRequestAttribute("country").toString(); %> + <% if (!(StringUtil.isStringEmpty(tmp))) { %><%= tmp %>
<% } %> + phone<% tmp = prof.getPhone(); %> + <% if (!(StringUtil.isStringEmpty(tmp))) { %>Phone: <%= tmp %>
<% } %> + fax<% tmp = prof.getFax(); %> + <% if (!(StringUtil.isStringEmpty(tmp))) { %>Fax: <%= tmp %>
<% } %> + mobile<% tmp = prof.getMobile(); %> + <% if (!(StringUtil.isStringEmpty(tmp))) { %>Mobile: <%= tmp %>
<% } %> +


<% tmp = prof.getDescription(); %> <% if (!(StringUtil.isStringEmpty(tmp))) { %> - <%= tmp %>
+ <%= tmp %>
<% } // end if %> <% if (prof.canSendQuickEmail()) { %> -
Send Quick E-Mail To - <%= prof.getUserName() %>:
+
Send Quick E-Mail To + <%= prof.getUserName() %>:
- - - + + +
+ + + - - -
Subject: - -
- -
+ +
+ +
<% } // end if %> +<%-- EOF --%>