Author: jonathan
Date: Tue Jan 22 15:31:57 2008
New Revision: 12711
Log:
Eliminated anchor "tails."
Reformatted "show advanced search..."
Modified:
trunk/mashup/java/modules/www/ajax_comment.jsp
trunk/mashup/java/modules/www/css/styles.css
trunk/mashup/java/modules/www/index.jsp
trunk/mashup/java/modules/www/mashup.jsp
trunk/mashup/java/modules/www/search.jsp
Modified: trunk/mashup/java/modules/www/ajax_comment.jsp
==============================================================================
--- trunk/mashup/java/modules/www/ajax_comment.jsp (original)
+++ trunk/mashup/java/modules/www/ajax_comment.jsp Tue Jan 22 15:31:57 2008
@@ -90,8 +90,8 @@
<nobr><%=QueryParamUtils.friendlyDate(c.getTime())%></nobr>
</td>
<td><a href="user.jsp?name=<%=commenter%>"><%= RegistryUtils
- .getFullName(request, commenter) %> (<%=commenter%>)
- </a></td>
+ .getFullName(request, commenter) %></a>
(<%=commenter%>)
+ </td>
<td>
<%= c.getText() %>
<%
Modified: trunk/mashup/java/modules/www/css/styles.css
==============================================================================
--- trunk/mashup/java/modules/www/css/styles.css (original)
+++ trunk/mashup/java/modules/www/css/styles.css Tue Jan 22 15:31:57 2008
@@ -393,6 +393,7 @@
div#hideAdvancedSearch {
text-align: right;
+ padding:24px 10% 12px 10%;
}
div#searchControls div.clear {
Modified: trunk/mashup/java/modules/www/index.jsp
==============================================================================
--- trunk/mashup/java/modules/www/index.jsp (original)
+++ trunk/mashup/java/modules/www/index.jsp Tue Jan 22 15:31:57 2008
@@ -313,13 +313,11 @@
<a href="user.jsp?name=<%=result.getAuthor()%>">You</a>
<% } else { %>
<a href="user.jsp?name=<%=result.getAuthor()%>"><%=RegistryUtils
- .getFullName(request, result.getAuthor())%>
- </a> (<%=result.getAuthor()%>)
+ .getFullName(request, result.getAuthor())%></a>
(<%=result.getAuthor()%>)
<% } %>
<%= action %>
<% if (action.equals("commented")) { %>on<% } %>
- <a href="mashup.jsp?path=<%=path%>"><%=result.getName()%>
- </a>
+ <a href="mashup.jsp?path=<%=path%>"><%=result.getName()%></a>
<% if (action.equals("rated")) { %>
<%=result.getContentString() %> stars
<% } else if (action.equals("commented")) { %>
@@ -340,12 +338,10 @@
<td nowrap>
<a class="updatableName"
href="user.jsp?name=<%=result.getAuthor()%>"><%=RegistryUtils.getFullName(request,
-
result.getAuthor())%>
- </a> (<%=result.getAuthor()%>)
+
result.getAuthor())%></a> (<%=result.getAuthor()%>)
</td>
<td nowrap>
- <a href="mashup.jsp?path=<%=result.getPath()%>"><%=result.getName()%>
- </a>
+ <a
href="mashup.jsp?path=<%=result.getPath()%>"><%=result.getName()%></a>
</td>
<td class="desc" colspan="2">
<%=result.getContentString() %>
@@ -357,13 +353,11 @@
%>
<tr class="results">
<td width="1" nowrap>
- <a href="mashup.jsp?path=<%=path%>"><%=result.getName()%>
- </a>
+ <a href="mashup.jsp?path=<%=path%>"><%=result.getName()%></a>
</td>
<td nowrap>
<a
href="user.jsp?name=<%=result.getAuthor()%>"><%=RegistryUtils.getFullName(request,
-
result.getAuthor())%>
- </a> (<%=result.getAuthor()%>)
+
result.getAuthor())%></a> (<%=result.getAuthor()%>)
</td>
<td colspan="2">
<div id="<%=result.getAuthor() + "_" + result.getName()%>">
Modified: trunk/mashup/java/modules/www/mashup.jsp
==============================================================================
--- trunk/mashup/java/modules/www/mashup.jsp (original)
+++ trunk/mashup/java/modules/www/mashup.jsp Tue Jan 22 15:31:57 2008
@@ -322,8 +322,7 @@
<nobr>author:</nobr>
</td>
<td>
- <div class="mashup_author"><a
href="user.jsp?name=<%=author%>"><%=authorFullName%>
- </a></div>
+ <div class="mashup_author"><a
href="user.jsp?name=<%=author%>"><%=authorFullName%></a></div>
</td>
</tr>
<tr>
@@ -479,11 +478,6 @@
<% } %>
<br/>
- <!--
- todo: tag cloud per mashup doesn't provide any value. tagcloud for a
specific user does - but that's not what tag_cloud.jsp currently does
- <a href="tag_cloud.jsp?path=<%=path%>">Popular tags</a> <% if
(RegistryUtils
- .isLoggedIn(registry)) { %><a href="#">My tags</a> <% } %></td>
--->
</tr>
</table>
</div>
@@ -519,8 +513,8 @@
<nobr><%=QueryParamUtils.friendlyDate(c.getTime())%></nobr>
</td>
<td><a href="user.jsp?name=<%=commenter%>"><%= RegistryUtils
- .getFullName(request, commenter) %> (<%=commenter%>)
- </a></td>
+ .getFullName(request, commenter) %></a>
(<%=commenter%>)
+ </td>
<td>
<%= c.getText() %>
<%
Modified: trunk/mashup/java/modules/www/search.jsp
==============================================================================
--- trunk/mashup/java/modules/www/search.jsp (original)
+++ trunk/mashup/java/modules/www/search.jsp Tue Jan 22 15:31:57 2008
@@ -432,9 +432,9 @@
<div id="page">
<%@ include file="header.jsp" %>
-<div id="hideAdvancedSearch" <% if (showAdvanced) { %>style="display:none"<% }
%>>
- <a href="#" onclick="$('showAdvancedSearch').show();
$('hideAdvancedSearch').hide();">Show
- Advanced Search</a>
+<div id="hideAdvancedSearch" class="advanced-search-link" <% if (showAdvanced)
{ %>style="display:none"<% } %>>
+ <a href="#" onclick="$('showAdvancedSearch').show();
$('hideAdvancedSearch').hide();">show
+ advanced search...</a>
</div>
<div id="showAdvancedSearch" <% if (!showAdvanced) { %>style="display:none"<%
} %>>
@@ -795,20 +795,17 @@
<a href="user.jsp?name=<%=result.getAuthor()%>">You</a>
<% } else { %>
<a href="user.jsp?name=<%=result.getAuthor()%>"><%=RegistryUtils
- .getFullName(request, result.getAuthor())%>
- </a> (<%=result.getAuthor()%>)
+ .getFullName(request, result.getAuthor())%></a>
(<%=result.getAuthor()%>)
<% } %>
<%= action %>
<% if (action.equals("commented")) { %>on<% } %>
- <a href="mashup.jsp?path=<%=path%>"><%=result.getName()%>
- </a>
+ <a href="mashup.jsp?path=<%=path%>"><%=result.getName()%></a>
<% if (action.equals("rated")) { %>
<%=result.getContentString() %> stars
<% } else if (action.equals("tagged")) { %>
with <a
href="search.jsp?query=mashups&for=<%=result.getContentString()%>&tags=true"><%=result
- .getContentString()%>
- </a>
+ .getContentString()%></a>
<% } else if (action.equals("commented")) { %>
<span class="inline-comment">"<%=result.getContentString() %>"</span>
<% } %>
@@ -826,12 +823,10 @@
<td nowrap>
<a class="updatableName"
href="user.jsp?name=<%=result.getAuthor()%>"><%=RegistryUtils.getFullName(request,
-
result.getAuthor())%>
- </a> (<%=result.getAuthor()%>)
+
result.getAuthor())%></a> (<%=result.getAuthor()%>)
</td>
<td nowrap>
- <a href="mashup.jsp?path=<%=result.getPath()%>"><%=result.getName()%>
- </a>
+ <a
href="mashup.jsp?path=<%=result.getPath()%>"><%=result.getName()%></a>
</td>
<td class="desc" colspan="2">
<%=result.getContentString() %>
@@ -842,14 +837,12 @@
%>
<tr class="results">
<td width="12%" nowrap>
- <a href="mashup.jsp?path=<%=result.getPath()%>"><%=result.getName()%>
- </a>
+ <a
href="mashup.jsp?path=<%=result.getPath()%>"><%=result.getName()%></a>
</td>
<td nowrap>
<a class="updatableName"
href="user.jsp?name=<%=result.getAuthor()%>"><%=RegistryUtils.getFullName(request,
-
result.getAuthor())%>
- </a> (<%=result.getAuthor()%>)
+
result.getAuthor())%></a> (<%=result.getAuthor()%>)
</td>
<td class="desc">
<div id="<%=result.getAuthor() + "_" + result.getName()%>">
_______________________________________________
Mashup-dev mailing list
[email protected]
http://www.wso2.org/cgi-bin/mailman/listinfo/mashup-dev