continuum-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eveni...@apache.org
Subject svn commit: r442992 - /maven/continuum/trunk/continuum-webapp/src/main/webapp/navigations/DefaultBottom.jsp
Date Wed, 13 Sep 2006 14:09:22 GMT
Author: evenisse
Date: Wed Sep 13 07:09:21 2006
New Revision: 442992

URL: http://svn.apache.org/viewvc?view=rev&rev=442992
Log: (empty)

Modified:
    maven/continuum/trunk/continuum-webapp/src/main/webapp/navigations/DefaultBottom.jsp

Modified: maven/continuum/trunk/continuum-webapp/src/main/webapp/navigations/DefaultBottom.jsp
URL: http://svn.apache.org/viewvc/maven/continuum/trunk/continuum-webapp/src/main/webapp/navigations/DefaultBottom.jsp?view=diff&rev=442992&r1=442991&r2=442992
==============================================================================
--- maven/continuum/trunk/continuum-webapp/src/main/webapp/navigations/DefaultBottom.jsp (original)
+++ maven/continuum/trunk/continuum-webapp/src/main/webapp/navigations/DefaultBottom.jsp Wed
Sep 13 07:09:21 2006
@@ -1,11 +1,24 @@
+<%@ taglib uri="/webwork" prefix="ww" %>
+<%@ page import="java.util.Calendar" %>
+<%
+    int inceptionYear = 2005;
+    int currentYear = Calendar.getInstance().get( Calendar.YEAR );
+    String copyrightRange = String.valueOf( inceptionYear );
+    if ( inceptionYear != currentYear )
+    {
+        copyrightRange = copyrightRange + "-" + String.valueOf( currentYear );
+    }
+%>
+<ww:i18n name="localization.Continuum">
 <div id="footer">
   <table with="100%" border="0" cellpadding="4" cellspacing="0">
     <tbody>
       <tr>
         <td>
-          Continuum &#169; 2005 Apache Software Foundation
+          Continuum &#169; <%= copyrightRange %> Apache Software Foundation
         </td>
       </tr>
     </tbody>
   </table>
 </div>
+</ww:i18n>
\ No newline at end of file



Mime
View raw message