Update of /cvsroot/sandweb/sandweb/templates
In directory usw-pr-cvs1:/tmp/cvs-serv6012/templates
Modified Files:
browse.html
Log Message:
Browse now instantiates a file object so it can pull the size ( in bytes )
and age ( the mtime, in "UNIX time" which is seconds since the epoch )
File needs some reworking to eliminate redundancy, I will do the
byte->kilobyte and "UNIX time"->"Standard Time" calculations when
I do this reworking.
Index: browse.html
===================================================================
RCS file: /cvsroot/sandweb/sandweb/templates/browse.html,v
retrieving revision 1.24
retrieving revision 1.25
diff -U2 -r1.24 -r1.25
--- browse.html 2001/11/21 19:48:44 1.24
+++ browse.html 2001/11/22 01:40:25 1.25
@@ -59,8 +59,8 @@
</td>
<td width="10%" align="left" bgcolor="#CCCCCC">
- <A href="<b><TMPL_VAR NAME=PROGNAME>?sortby=rev#dirlist>">Rev.</a></b>
+ <A href="<b><TMPL_VAR NAME=PROGNAME></b>">Size</a>
</td>
<td width="30%" align="left" bgcolor="#88FF88">
- <A href="<b><TMPL_VAR NAME=PROGNAME>?sortby=date#dirlist>">Age.</a></b>
+ <A href="<b><TMPL_VAR NAME=PROGNAME></b>">Age</a>
</td>
</tr>
@@ -85,8 +85,10 @@
</td>
<td width="10%" align="center">
-   <br />
+  
+ <TMPL_VAR NAME=FILESIZE>
</td>
<td>
-   <br />
+  
+ <TMPL_VAR NAME=FILEAGE>
</td>
</tr>
|