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:
@@ -147,13 +147,13 @@
|
||||
<td nowrap="nowrap" align="right" class="content"><util:font color="content.fg" size="content">
|
||||
<util:comment>Upper navigation linkset</util:comment>
|
||||
<a name="top">[</a>
|
||||
<util:xlink>
|
||||
<util:xlink aclass="content">
|
||||
<util:href type="servlet">conf/posts.js.vs?<%= topic_locator %>&p1=0&p2=-1</util:href>
|
||||
<util:text>View All</util:text>
|
||||
</util:xlink>
|
||||
<% if (my_first>0) { %>
|
||||
|
|
||||
<util:xlink>
|
||||
<util:xlink aclass="content">
|
||||
<util:href type="servlet">
|
||||
conf/posts.js.vs?<%= topic_locator %>&p1=<%= Math.max(my_first - my_pagesize,0) %>&p2=<%= my_first - 1 - Math.min(my_first - my_pagesize,0) %>
|
||||
</util:href>
|
||||
@@ -164,14 +164,14 @@ conf/posts.js.vs?<%= topic_locator %>&p1=<%= Math.max(my_first - my_pagesize,0)
|
||||
if ((my_total_msg - (my_last + 1))>0) {
|
||||
%>
|
||||
|
|
||||
<util:xlink>
|
||||
<util:xlink aclass="content">
|
||||
<util:href type="servlet">
|
||||
conf/posts.js.vs?<%= topic_locator %>&p1=<%= my_last + 1 %>&p2=<%= Math.min(my_last + my_pagesize,my_total_msg - 1) %>
|
||||
</util:href>
|
||||
<util:text>Scroll Down <%= my_pagesize %></util:text>
|
||||
</util:xlink>
|
||||
|
|
||||
<util:xlink>
|
||||
<util:xlink aclass="content">
|
||||
<util:href type="servlet">
|
||||
conf/posts.js.vs?<%= topic_locator %>&p1=<%= my_total_msg - my_pagesize %>&p2=<%= my_total_msg - 1 %>
|
||||
</util:href>
|
||||
@@ -179,18 +179,18 @@ conf/posts.js.vs?<%= topic_locator %>&p1=<%= my_last + 1 %>&p2=<%= Math.min(my_l
|
||||
</util:xlink>
|
||||
<% } // end if %>
|
||||
|
|
||||
<a href="#bottom">Bottom</a>
|
||||
<a class="content" href="#bottom">Bottom</a>
|
||||
]
|
||||
</util:font></td>
|
||||
</tr>
|
||||
<tr valign="middle">
|
||||
<td align="center" colspan="2"><util:font color="content.fg" size="post-reference">
|
||||
<util:xlink>
|
||||
<util:xlink aclass="content">
|
||||
<util:href type="servlet"><%= view.getPageQID() %></util:href>
|
||||
<util:text>[Permalink to this topic]</util:text>
|
||||
</util:xlink>
|
||||
|
||||
<util:xlink>
|
||||
<util:xlink aclass="content">
|
||||
<util:href type="servlet"><%= view.getPageQID() %>.<%= my_first %>-<%= my_last %></util:href>
|
||||
<util:text>[Permalink to these posts]</util:text>
|
||||
</util:xlink>
|
||||
@@ -222,20 +222,20 @@ conf/posts.js.vs?<%= topic_locator %>&p1=<%= my_last + 1 %>&p2=<%= Math.min(my_l
|
||||
out.write(view.getUserPhotoTag(JSPView.getRequestOutput(request),msg.getCreatorUID()));
|
||||
} // end if
|
||||
%>
|
||||
<util:xlink>
|
||||
<util:xlink aclass="content">
|
||||
<util:href type="servlet">
|
||||
conf/posts.js.vs?<%= topic_locator %>&shac=1&p1=<%= msg.getPostNumber() %>
|
||||
</util:href>
|
||||
<util:text><%= msg.getPostNumber() %></util:text>
|
||||
</util:xlink> of
|
||||
<util:xlink>
|
||||
<util:xlink aclass="content">
|
||||
<util:href type="servlet">conf/posts.js.vs?<%= topic_locator %>&<%= last_post %></util:href>
|
||||
<util:text><%= my_total_msg - 1 %></util:text>
|
||||
</util:xlink>
|
||||
<util:font color="content.fg" size="post-reference">
|
||||
<<%= view.getTopicStem() %><%= msg.getPostNumber() %>>
|
||||
|
||||
<util:xlink>
|
||||
<util:xlink aclass="content">
|
||||
<util:href type="servlet"><%= view.getPageQID() %>.<%= msg.getPostNumber() %></util:href>
|
||||
<util:text>[Permalink]</util:text>
|
||||
</util:xlink>
|
||||
@@ -249,7 +249,7 @@ conf/posts.js.vs?<%= topic_locator %>&p1=<%= my_last + 1 %>&p2=<%= Math.min(my_l
|
||||
if (view.showBozoFilteredIndicator(msg.getCreatorUID())) {
|
||||
%>
|
||||
<b><i>(User filtered;
|
||||
<util:xlink>
|
||||
<util:xlink aclass="content">
|
||||
<util:href type="servlet">
|
||||
conf/message_bozo.js.vs?<%= topic_locator %>&msg=<%= msg.getPostNumber() %>&flag=0
|
||||
</util:href>
|
||||
@@ -264,7 +264,7 @@ conf/posts.js.vs?<%= topic_locator %>&p1=<%= my_last + 1 %>&p2=<%= Math.min(my_l
|
||||
<br />
|
||||
<b><%= msg.getPseud() %></b>
|
||||
(<i>
|
||||
<util:xlink target="_blank">
|
||||
<util:xlink aclass="content" target="_blank">
|
||||
<util:href type="servlet">user/<%= poster %></util:href>
|
||||
<util:text><%= poster %></util:text>
|
||||
</util:xlink>,
|
||||
@@ -418,12 +418,12 @@ conf/posts.js.vs?<%= topic_locator %>&p1=<%= my_last + 1 %>&p2=<%= Math.min(my_l
|
||||
<table border="0" width="100%" cellpadding="0" cellspacing="0">
|
||||
<tr valign="middle">
|
||||
<td align="center" colspan="2"><util:font color="content.fg" size="post-reference">
|
||||
<util:xlink>
|
||||
<util:xlink aclass="content">
|
||||
<util:href type="servlet"><%= view.getPageQID() %></util:href>
|
||||
<util:text>[Permalink to this topic]</util:text>
|
||||
</util:xlink>
|
||||
|
||||
<util:xlink>
|
||||
<util:xlink aclass="content">
|
||||
<util:href type="servlet"><%= view.getPageQID() %>.<%= my_first %>-<%= my_last %></util:href>
|
||||
<util:text>[Permalink to these posts]</util:text>
|
||||
</util:xlink>
|
||||
@@ -434,13 +434,13 @@ conf/posts.js.vs?<%= topic_locator %>&p1=<%= my_last + 1 %>&p2=<%= Math.min(my_l
|
||||
<td nowrap="nowrap" align="right" class="content"><util:font color="content.fg" size="content">
|
||||
<util:comment>Lower navigation linkset</util:comment>
|
||||
<a name="bottom">[</a>
|
||||
<util:xlink>
|
||||
<util:xlink aclass="content">
|
||||
<util:href type="servlet">conf/posts.js.vs?<%= topic_locator %>&p1=0&p2=-1</util:href>
|
||||
<util:text>View All</util:text>
|
||||
</util:xlink>
|
||||
<% if (my_first>0) { %>
|
||||
|
|
||||
<util:xlink>
|
||||
<util:xlink aclass="content">
|
||||
<util:href type="servlet">
|
||||
conf/posts.js.vs?<%= topic_locator %>&p1=<%= Math.max(my_first - my_pagesize,0) %>&p2=<%= my_first - 1 - Math.min(my_first - my_pagesize,0) %>
|
||||
</util:href>
|
||||
@@ -449,14 +449,14 @@ conf/posts.js.vs?<%= topic_locator %>&p1=<%= Math.max(my_first - my_pagesize,0)
|
||||
<% } // end if %>
|
||||
<% if ((my_total_msg - (my_last + 1))>0) { %>
|
||||
|
|
||||
<util:xlink>
|
||||
<util:xlink aclass="content">
|
||||
<util:href type="servlet">
|
||||
conf/posts.js.vs?<%= topic_locator %>&p1=<%= my_last + 1 %>&p2=<%= Math.min(my_last + my_pagesize,my_total_msg - 1) %>
|
||||
</util:href>
|
||||
<util:text>Scroll Down <%= my_pagesize %></util:text>
|
||||
</util:xlink>
|
||||
|
|
||||
<util:xlink>
|
||||
<util:xlink aclass="content">
|
||||
<util:href type="servlet">
|
||||
conf/posts.js.vs?<%= topic_locator %>&p1=<%= my_total_msg - my_pagesize %>&p2=<%= my_total_msg - 1 %>
|
||||
</util:href>
|
||||
@@ -464,7 +464,7 @@ conf/posts.js.vs?<%= topic_locator %>&p1=<%= my_last + 1 %>&p2=<%= Math.min(my_l
|
||||
</util:xlink>
|
||||
<% } // end if %>
|
||||
|
|
||||
<a href="#top">Top</a>
|
||||
<a class="content" href="#top">Top</a>
|
||||
]
|
||||
</util:font></td>
|
||||
</tr>
|
||||
|
||||
Reference in New Issue
Block a user