svn commit: r484937 - /incubator/ofbiz/trunk/framework/common/webcommon/includes/ccyears.ftl

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r484937 - /incubator/ofbiz/trunk/framework/common/webcommon/includes/ccyears.ftl

jleroux@apache.org
Author: jleroux
Date: Fri Dec  8 22:35:28 2006
New Revision: 484937

URL: http://svn.apache.org/viewvc?view=rev&rev=484937
Log:
Enhancement from a Si's suggestion on dev ML

Modified:
    incubator/ofbiz/trunk/framework/common/webcommon/includes/ccyears.ftl

Modified: incubator/ofbiz/trunk/framework/common/webcommon/includes/ccyears.ftl
URL: http://svn.apache.org/viewvc/incubator/ofbiz/trunk/framework/common/webcommon/includes/ccyears.ftl?view=diff&rev=484937&r1=484936&r2=484937
==============================================================================
--- incubator/ofbiz/trunk/framework/common/webcommon/includes/ccyears.ftl (original)
+++ incubator/ofbiz/trunk/framework/common/webcommon/includes/ccyears.ftl Fri Dec  8 22:35:28 2006
@@ -18,11 +18,7 @@
 <#assign thisYear = stringYear?number>
 
 <option></option>
-<option value="${thisYear}">${thisYear}</option>
-<option value="${thisYear + 1}">${thisYear + 1}</option>
-<option value="${thisYear + 2}">${thisYear + 2}</option>
-<option value="${thisYear + 3}">${thisYear + 3}</option>
-<option value="${thisYear + 4}">${thisYear + 4}</option>
-<option value="${thisYear + 5}">${thisYear + 5}</option>
-<option value="${thisYear + 6}">${thisYear + 6}</option>
-<option value="${thisYear + 7}">${thisYear + 7}</option>
+<#list 0..10 as i>
+    <#assign expireYear = thisYear + i>
+    <option value="${expireYear}">${expireYear}</option>
+</#list>
\ No newline at end of file