diff --git a/e107_admin/cache.php b/e107_admin/cache.php index 8bc5ec723..47e40e569 100644 --- a/e107_admin/cache.php +++ b/e107_admin/cache.php @@ -112,10 +112,10 @@ $cache_files_num = count($cache_files); $imgcache_files_num = count($imgcache_files); $dbcache_files_num = count($dbcache_files); -$syscache_label = CACLAN_17.' '.$syscache_files_num.' '.($syscache_files_num != 1 ? CACLAN_19 : CACLAN_18).''; -$contentcache_label = CACLAN_17.' '.$cache_files_num.' '.($cache_files_num != 1 ? CACLAN_19 : CACLAN_18).''; -$imgcache_label = CACLAN_17.' '.$imgcache_files_num.' '.($imgcache_files_num != 1 ? CACLAN_19 : CACLAN_18).''; -$dbcache_label = CACLAN_17.' '.$dbcache_files_num.' '.($dbcache_files_num != 1 ? CACLAN_19 : CACLAN_18).''; +$syscache_label = $syscache_files_num.' '.($syscache_files_num != 1 ? CACLAN_19 : CACLAN_18); +$contentcache_label = $cache_files_num.' '.($cache_files_num != 1 ? CACLAN_19 : CACLAN_18); +$imgcache_label = $imgcache_files_num.' '.($imgcache_files_num != 1 ? CACLAN_19 : CACLAN_18); +$dbcache_label = $dbcache_files_num.' '.($dbcache_files_num != 1 ? CACLAN_19 : CACLAN_18); $text = "
@@ -123,48 +123,54 @@ $text = " ".CACLAN_3." - + + + + + + +
".CACLAN_17." ".CACLAN_1."
- ".CACLAN_11.": {$contentcache_label} + ".CACLAN_11."
".CACLAN_13."
{$contentcache_label} ".$frm->radio_switch('cachestatus', e107::getPref('cachestatus'))."
- ".CACLAN_12.": {$syscache_label} + ".CACLAN_12."
".CACLAN_14."
{$syscache_label} ".$frm->radio_switch('syscachestatus', e107::getPref('syscachestatus'))."
- ".CACLAN_20.": {$dbcache_label} + ".CACLAN_20."
".CACLAN_21."
{$dbcache_label} ".LAN_ENABLED."
- ".CACLAN_22.": {$imgcache_label} + ".CACLAN_22."
".CACLAN_23."
{$imgcache_label} ".LAN_ENABLED."