mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-03-11 16:35:38 +00:00
show number of files and size in cache
This commit is contained in:
parent
69786c4196
commit
4d3fa42716
|
@ -63,7 +63,7 @@ class SeedDMS_View_ClearCache extends SeedDMS_Theme_Style {
|
|||
$addcache = array();
|
||||
if($addcache = $this->callHook('additionalCache')) {
|
||||
foreach($addcache as $c)
|
||||
echo "<p><input type=\"checkbox\" name=\"".$c[0]."\" value=\"1\" checked> ".$c[1]."</p>";
|
||||
echo "<p><input type=\"checkbox\" name=\"".$c[0]."\" value=\"1\" checked> ".$c[1].(isset($c[2])||isset($c[3]) ? "<br/>" : '').(isset($c[2]) ? SeedDMS_Core_File::format_filesize($c[2]) : '').(isset($c[3]) ? ' in '.$c[3]." Files" : '')."</p>";
|
||||
}
|
||||
$this->contentContainerEnd();
|
||||
$this->formSubmit("<i class=\"fa fa-remove\"></i> ".getMLText('clear_cache'), '', '', 'danger');
|
||||
|
|
Loading…
Reference in New Issue
Block a user