$days_stored_bytes = array();
// Stored files number
-$dbSql->tpl->assign('stored_files', $dbSql->getStoredFiles( FIRST_DAY, NOW ) );
+$dbSql->tpl->assign('stored_files', number_format($dbSql->getStoredFiles( FIRST_DAY, NOW ), 0, '.', "'" ) );
// Database size
$dbSql->tpl->assign('database_size', $dbSql->GetDbSize());
// Total bytes and files for last 24 hours
$dbSql->tpl->assign('bytes_last', CUtils::Get_Human_Size( $dbSql->getStoredBytes( LAST_DAY, NOW ) ) );
-$dbSql->tpl->assign('files_last', $dbSql->getStoredFiles( LAST_DAY, NOW ) );
+$dbSql->tpl->assign('files_last', number_format($dbSql->getStoredFiles( LAST_DAY, NOW ), 0, '.', "'" ) );
// Number of clients
$nb_clients = $dbSql->Get_Nb_Clients();
<td class="label">{t}Total bytes{/t}</td> <td class="info">{$stored_bytes}</td>
</tr>
<tr>
- <td class="label">{t}Total files{/t}</td> <td class="info">{$stored_files} file(s)</td>
+ <td class="label">{t}Total files{/t}</td> <td class="info">{$stored_files}</td>
</tr>
<tr>
<td class="label">{t}Database size{/t}</td> <td class="info">{$database_size}</td>