oListManager.GetFileRowHtml = function( fileName, fileUrl, fileSize )
{
// Build the link to view the folder.
var sLink = '<a href="#" onclick="OpenFile(\'' + ProtectPath( fileUrl ) + '\');return false;">' ;
If (fileSize < 100) {
return '<tr><td width="16">' + sLink + '<img alt="" src="/images/upload/Image' + fileName + '" width="100" height="75" border="0"><\/a>' +
'<\/td><td> ' + sLink + fileName + '<\/a>' +
'<\/td><td align="right" nowrap> ' + fileSize + ' KB' +
'<\/td><\/tr>' ;
}
else {
// Get the file icon.
var sIcon = oIcons.GetIcon( fileName ) ;
return '<tr><td width="16">' + sLink + '<img alt="" src="images/icons/' + sIcon + '.gif" width="16" height="16" border="0"><\/a>' +
'<\/td><td> ' + sLink + fileName + '<\/a>' +
'<\/td><td align="right" nowrap> ' + fileSize + ' KB' +
'<\/td><\/tr>' ;
}
}
Sun, 03/23/2008 - 23:35
#1
