X-Git-Url: https://git.p6c8.net/jirafeau_project.git/blobdiff_plain/5d7c0d3ce08074fff55e7731490fe786cd6101e6..e91b93baaaa5e4bb1baa2e565c2db4776c211039:/admin.php?ds=sidebyside diff --git a/admin.php b/admin.php index 44a0134..54fcde1 100644 --- a/admin.php +++ b/admin.php @@ -160,6 +160,19 @@ if (php_sapi_name() == "cli") { +
+ + + + + + + + + + + +
@@ -228,6 +241,12 @@ if (php_sapi_name() == "cli") { echo '

'; echo t('CLEANED_FILES_CNT') . ' : ' . $total; echo '

'; + } elseif (strcmp($_POST['action'], 'size') == 0) { + $size = jirafeau_dir_size($cfg['var_root']); + $human_size = jirafeau_human_size($size); + echo '
' . NL; + echo '

' . t('SIZE_DATA') . ': ' . $human_size .'

'; + echo '
'; } elseif (strcmp($_POST['action'], 'list') == 0) { jirafeau_admin_list("", "", ""); } elseif (strcmp($_POST['action'], 'search_by_name') == 0) {