advanced-tools.php
8 years ago
export-settings.php
8 years ago
lock-admin.php
7 years ago
search-replace.php
7 years ago
site-info.php
5 years ago
tools-menu.php
6 years ago
total-size.php
7 years ago
updraftcentral.php
8 years ago
wipe-settings.php
7 years ago
total-size.php
23 lines
| 1 | <?php |
| 2 | if (!defined('UPDRAFTPLUS_DIR')) die('No direct access allowed'); |
| 3 | $backupable_entities = $updraftplus->get_backupable_file_entities(true, true); |
| 4 | ?> |
| 5 | <div class="advanced_tools total_size"> |
| 6 | <h3> <?php _e('Total (uncompressed) on-disk data:', 'updraftplus');?></h3> |
| 7 | <p class="uncompressed-data"> |
| 8 | <em> |
| 9 | <?php _e('N.B. This count is based upon what was, or was not, excluded the last time you saved the options.', 'updraftplus');?> |
| 10 | </em> |
| 11 | </p> |
| 12 | <table> |
| 13 | <?php |
| 14 | foreach ($backupable_entities as $key => $info) { |
| 15 | |
| 16 | $sdescrip = preg_replace('/ \(.*\)$/', '', $info['description']); |
| 17 | if (strlen($sdescrip) > 20 && isset($info['shortdescription'])) $sdescrip = $info['shortdescription']; |
| 18 | |
| 19 | $updraftplus_admin->settings_debugrow(ucfirst($sdescrip).':', '<span id="updraft_diskspaceused_'.$key.'"><em></em></span> <a href="'.UpdraftPlus::get_current_clean_url().'" class="count" data-type="' . $key . '" onclick="updraftplus_diskspace_entity(\''.$key.'\'); return false;">'.__('count', 'updraftplus').'</a>'); |
| 20 | } |
| 21 | ?> |
| 22 | </table> |
| 23 | </div> |