|
|
|
@ -27,7 +27,7 @@ FileList={
|
|
|
|
lastModifiedTime=Math.round(lastModified.getTime() / 1000);
|
|
|
|
lastModifiedTime=Math.round(lastModified.getTime() / 1000);
|
|
|
|
modifiedColor=Math.round((Math.round((new Date()).getTime() / 1000)-lastModifiedTime)/60/60/24*14);
|
|
|
|
modifiedColor=Math.round((Math.round((new Date()).getTime() / 1000)-lastModifiedTime)/60/60/24*14);
|
|
|
|
html+='<td class="filesize" title="'+humanFileSize(size)+'" style="color:rgb('+sizeColor+','+sizeColor+','+sizeColor+')">'+simpleSize+'</td>';
|
|
|
|
html+='<td class="filesize" title="'+humanFileSize(size)+'" style="color:rgb('+sizeColor+','+sizeColor+','+sizeColor+')">'+simpleSize+'</td>';
|
|
|
|
html+='<td class="date"><span class="" title="'+formatDate(lastModified)+'" style="color:rgb('+modifiedColor+','+modifiedColor+','+modifiedColor+')">'+relative_modified_date(lastModified.getTime() / 1000)+'</td>';
|
|
|
|
html+='<td class="date"><span class="modified" title="'+formatDate(lastModified)+'" style="color:rgb('+modifiedColor+','+modifiedColor+','+modifiedColor+')">'+relative_modified_date(lastModified.getTime() / 1000)+'</span></td>';
|
|
|
|
html+='</tr>';
|
|
|
|
html+='</tr>';
|
|
|
|
FileList.insertElement(name,'file',$(html));
|
|
|
|
FileList.insertElement(name,'file',$(html));
|
|
|
|
if(loading){
|
|
|
|
if(loading){
|
|
|
|
|