|
From: <hs...@us...> - 2011-09-15 19:37:34
|
Revision: 961
http://treebase.svn.sourceforge.net/treebase/?rev=961&view=rev
Author: hshyket
Date: 2011-09-15 19:37:28 +0000 (Thu, 15 Sep 2011)
Log Message:
-----------
Updating RSS feed date so that it goes 6 months back and changing the RSS icon to add transparency
Modified Paths:
--------------
trunk/treebase-web/src/main/webapp/common/search-nav.jsp
trunk/treebase-web/src/main/webapp/images/icons/rss.gif
Modified: trunk/treebase-web/src/main/webapp/common/search-nav.jsp
===================================================================
--- trunk/treebase-web/src/main/webapp/common/search-nav.jsp 2011-09-15 18:31:04 UTC (rev 960)
+++ trunk/treebase-web/src/main/webapp/common/search-nav.jsp 2011-09-15 19:37:28 UTC (rev 961)
@@ -1,7 +1,17 @@
<%@ include file="/common/taglibs.jsp"%>
<%@page import="org.cipres.treebase.TreebaseUtil"%>
+<%@page import="java.util.Date" %>
+<%@page import="java.util.Calendar" %>
+<%@page import="java.text.SimpleDateFormat;" %>
+
<% String purlBase = TreebaseUtil.getPurlBase(); %>
+<%
+ Calendar cal = Calendar.getInstance();
+ cal.add(Calendar.MONTH, -6);
+ SimpleDateFormat isoFormat = new SimpleDateFormat("yyyy-MM-dd");
+%>
+
<ul id="s-nav">
<li id="s-navlabel">Search</li>
<li id="st-study">
@@ -52,7 +62,7 @@
</a>
</li>
<li style="background-color:transparent">
- <a href="<%=purlBase%>study/find?query=prism.modificationDate%3E%221996-01-01T05:00:00Z%22&format=rss1" style="background-color:transparent; border:none">
+ <a href="<%=purlBase%>study/find?query=prism.modificationDate%3E%22<%=isoFormat.format(cal.getTime())%>T05:00:00Z%22&format=rss1" style="background-color:transparent; border:none" target="_blank">
<img
class="iconButton"
src="<fmt:message key="icons.rss"/>"
Modified: trunk/treebase-web/src/main/webapp/images/icons/rss.gif
===================================================================
(Binary files differ)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|