'; $pploadCollection.find('table[data-ppload-files] tbody').append(tableString); if (isExternLink) { //$("#data-link" + this.id).attr('href', decodeURIComponent(link)); $("#data-link" + this.id).attr('target','_blank'); $("#data-link" + this.id).html($("#data-link" + this.id).html() + externalIcon ); } $md5sum = $('#md5sum-'+this.id); $md5sum.hover( function() { var $this = $(this); // caching $(this) $this.data('defaultText', $this.text()); $longText = $this.attr('data-defaultTextLong'); $this.text($longText); }, function() { var $this = $(this); // caching $(this) $this.text($this.data('defaultText')); } ); //fileSizeSum += parseInt(this.size); if(parseInt(this.size)>0) { fileSizeSum += roundFileSizeInMB(parseInt(this.size)); } //if (!isExternLink) //{ //fileSizeSum += roundFileSizeInMB(parseInt(this.size)); //} if (this.type == 'audio/mpeg' || this.type == 'application/ogg') { isPlayable = true; } //} }); //add old download counter downloaded_count_total += parseInt(0); downloaded_count_total_live += parseInt(0); downloaded_count_total_uk += parseInt(0); //add old download counter to oldest file var fileCount = $('#download_counter_'+ oldestFileId).html(); var oldNewCounter = parseInt(fileCount) + parseInt(0); $('#download_counter_'+ oldestFileId).html(oldNewCounter); var fileCountLive = $('#download_counter_live_'+ oldestFileId).html(); var oldNewCounterLive = parseInt(fileCountLive) + parseInt(0); $('#download_counter_live_'+ oldestFileId).html(oldNewCounterLive); var fileCountUk = $('#download_counter_uk_'+ oldestFileId).html(); var oldNewCounterUk = parseInt(fileCountUk) + parseInt(0); $('#download_counter_uk_'+ oldestFileId).html(oldNewCounterUk); //$('#downloadscnt').html(downloaded_count_total); var colsStart = 3; if($pploadCollection.find('table[data-ppload-files] tfoot')) { $pploadCollection.find('table[data-ppload-files] tfoot').append( '