Index: trunk/admin/editor/cmseditor/editor/filemanager/browser/default/frmresourceslist.html =================================================================== diff -u -N -r3619 -r4860 --- trunk/admin/editor/cmseditor/editor/filemanager/browser/default/frmresourceslist.html (.../frmresourceslist.html) (revision 3619) +++ trunk/admin/editor/cmseditor/editor/filemanager/browser/default/frmresourceslist.html (.../frmresourceslist.html) (revision 4860) @@ -45,7 +45,10 @@ // Build the link to view the folder. var sLink = '' ; - + + var oCell = oRow.insertCell(-1); + oCell.width = 16; + // Add the folder icon cell. var oCell = oRow.insertCell(-1) ; oCell.width = 16 ; @@ -70,22 +73,57 @@ // Get the file icon. var sIcon = oIcons.GetIcon( fileName ) ; + // Add the checkbox cell + var oCell = oRow.insertCell(-1); + oCell.width = 16; + oCell.innerHTML = ''; + // Add the file icon cell. var oCell = oRow.insertCell(-1) ; oCell.width = 16 ; - oCell.innerHTML = sLink + '' ; + oCell.innerHTML = sLink + ' ' ; // Add the file name cell. oCell = oRow.insertCell(-1) ; oCell.innerHTML = ' ' + sLink + fileName + '' ; // Add the file size cell. oCell = oRow.insertCell(-1) ; + oCell.width = 50; oCell.noWrap = true ; oCell.align = 'right' ; oCell.innerHTML = ' ' + fileSize + ' KB' ; + + //Add the file date cell. + oCell = oRow.insertCell(-1) ; + oCell.width = 75; + oCell.noWrap = true ; + oCell.align = 'right' ; + oCell.innerHTML = '07-06-2006' ; + + oCell = oRow.insertCell(-1); + oCell.width = 10; + } +function HandleCheckboxes() { + var checked_num = 0, i; + checkboxes = document.getElementsByName('file_checkbox'); + + for (i in checkboxes) { + if (checkboxes[i].checked) { + checked_num++; + } + } + + if (checked_num > 0) { + window.parent.frames['frmUpload'].SetElementVisibility("none", ""); + } + else { + window.parent.frames['frmUpload'].SetElementVisibility("", "none"); + } +} + function OpenFolder( folderPath ) { // Load the resources list for this folder.