fixed up a few HTML generation issues in tag classes and JSP templates;

added the authenticatePrivileged method; added SQL date parameter method
to the XML-RPC Request object
This commit is contained in:
Eric J. Bowersox
2004-07-19 08:18:19 +00:00
parent 156511e747
commit 681ec6a8a0
15 changed files with 401 additions and 258 deletions

View File

@@ -9,9 +9,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):
--%>
@@ -31,13 +31,13 @@
<util:subtitle><util:escape><comm:name/></util:escape></util:subtitle>
</util:header>
<% if (confs.size()>0) { %>
<TABLE BORDER=0 ALIGN=LEFT>
<table border="0" align="left">
<% for (int i=0; i<confs.size(); i++) { %>
<TR VALIGN=TOP>
<TD ALIGN=CENTER WIDTH=14><util:stdbullet/></TD>
<TD ALIGN=LEFT CLASS="content"><util:font color="content.fg" size="content">
<tr valign="top">
<td align="center" width="14"><util:stdbullet/></td>
<td align="left" class="content"><util:font color="content.fg" size="content">
<% ConferenceContext conf = (ConferenceContext)(confs.get(i)); %>
<util:xlink>
<util:xlink aclass="content">
<util:href type="servlet">conf/topics.js.vs?cc=<comm:ID/>&conf=<%= conf.getConfID() %></util:href>
<util:text><util:escape><%= conf.getName() %></util:escape></util:text>
</util:xlink> -
@@ -48,32 +48,32 @@
<util:text><util:image src="tag_new.gif" fixup="true" alt="New!" width="40" height="20"/></util:text>
</util:xlink>
<% } // end if %>
<BR>
<br />
<% List hosts1 = (List)(hosts.get(i)); %>
<% if (hosts1.size()>0) { %>
<% if (hosts1.size()>1) { %>Hosts:<% } else { %>Host:<% } %>
<% for (int j=0; j<hosts1.size(); j++) { %>
<% UserFound uf = (UserFound)(hosts1.get(j)); %>
<% if (j>0) { %>, <% } %>
<util:xlink>
<util:xlink aclass="content">
<util:href type="servlet">user/<%= uf.getName() %></util:href>
<util:text><%= uf.getName() %></util:text>
</util:xlink>
<% } // end for %>
<% } else { %>
Hosts: <EM>(none)</EM>
Hosts: <i>(none)</i>
<% } // end if (hosts present in the conterence) %>
<BR>
<EM><util:escape><%= conf.getDescription() %></util:escape></EM>
</util:font></TD>
</TR>
<br />
<i><util:escape><%= conf.getDescription() %></util:escape></i>
</util:font></td>
</tr>
<% } // end for %>
</TABLE><BR CLEAR=LEFT>
</table><br clear="left" />
<% } else { %>
<util:font color="content.fg" size="content"><EM>No conferences found in this community.</EM></util:font><BR>
<util:font color="content.fg" size="content"><i>No conferences found in this community.</i></util:font><br />
<% } // end if %>
<P>
<DIV ALIGN="LEFT" CLASS="content">
<p />
<div align="left" class="content">
<util:xlink>
<util:href type="servlet">conf/find.js.vs?cc=<comm:ID/></util:href>
<util:text><util:button id="find"/></util:text>
@@ -90,4 +90,5 @@
<util:text><util:button id="createnew"/></util:text>
</util:xlink>&nbsp;
</conf:can_create>
</DIV>
</div>
<%-- EOF --%>