You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
1009 B

8 years ago
<?php
if (!defined('UPDRAFTPLUS_DIR')) die('No direct access allowed');
8 years ago
$backupable_entities = $updraftplus->get_backupable_file_entities(true, true);
?>
<div class="advanced_tools total_size">
<h3> <?php _e('Total (uncompressed) on-disk data:', 'updraftplus');?></h3>
8 years ago
<p class="uncompressed-data">
<em>
<?php _e('N.B. This count is based upon what was, or was not, excluded the last time you saved the options.', 'updraftplus');?>
8 years ago
</em>
</p>
<table>
<?php
8 years ago
foreach ($backupable_entities as $key => $info) {
$sdescrip = preg_replace('/ \(.*\)$/', '', $info['description']);
if (strlen($sdescrip) > 20 && isset($info['shortdescription'])) $sdescrip = $info['shortdescription'];
$updraftplus_admin->settings_debugrow(ucfirst($sdescrip).':', '<span id="updraft_diskspaceused_'.$key.'"><em></em></span> <a href="#" class="count" data-type="' . $key . '" onclick="updraftplus_diskspace_entity(\''.$key.'\'); return false;">'.__('count', 'updraftplus').'</a>');
8 years ago
}
?>
</table>
</div>