Add new attachment

Only authorized users are allowed to upload new attachments.

This page (revision-8) was last changed on 06-Feb-2011 20:51 by Gerard Perreault  

This page was created on 10-Jan-2006 23:38 by Dirk Frederickx

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Difference between version and

At line 130 changed one line
* The results of calculating ''an hour ago'' had to be adjusted (don't know why), and file's time negated.
* Getting the time from the file wasn't giving the correct value, so we changed it to:
At line 132 added one line
<%-- OVERWRITE BLOCK --%>
At line 135 changed 3 lines
long anHourAgo = (now.getTime() - (60*60*1000) - 1931326442);
String lastchange = (String) pageContext.getAttribute("lastchange",PageContext.REQUEST_SCOPE);
long lastChangeTime = -Long.parseLong( lastchange );
long anHourAgo = (now.getTime() - (60*60*1000));
long lastChangeTime = 0;
Date d = context.getPage().getLastModified();
if( d != null ) lastChangeTime = d.getTime();
At line 141 changed 2 lines
<!-- anHourAgo = <%= "" + anHourAgo%><BR>
lastchange = <%= "" + lastchange%><BR>
<!-- You can use these traces to debug, and then remove them:
anHourAgo = <%= "" + anHourAgo%><BR>
At line 146 added 2 lines
now = <%= "" + now%><BR>
context.getPage().getLastModified() = <%= "" + context.getPage().getLastModified()%><BR>
At line 177 added one line
Version Date Modified Size Author Changes ... Change note
8 06-Feb-2011 20:51 7.443 kB Gerard Perreault to previous
7 06-Feb-2011 19:54 7.321 kB Gerard Perreault to previous | to last
6 17-Jul-2008 23:42 4.745 kB Mardi Rollow to previous | to last
5 14-Jan-2006 00:03 4.73 kB DirkFrederickx to previous | to last
4 10-Jan-2006 23:52 4.687 kB Dirk Frederickx to previous | to last
3 10-Jan-2006 23:42 4.627 kB Dirk Frederickx to previous | to last
2 10-Jan-2006 23:41 4.579 kB Dirk Frederickx to previous | to last
1 10-Jan-2006 23:38 4.555 kB Dirk Frederickx to last
« This page (revision-8) was last changed on 06-Feb-2011 20:51 by Gerard Perreault