summaryrefslogtreecommitdiffstats
path: root/admin/WebConsole/propiedades/propiedades_imagenes.php
diff options
context:
space:
mode:
authorIrina Gómez <irinagomez@us.es>2020-05-15 11:37:16 +0200
committerIrina Gómez <irinagomez@us.es>2020-05-15 11:37:16 +0200
commit3180500c031d095e7ec8908b7625d8622dfbc05f (patch)
treedd996bd596ce346c8cafc3500a9af891bb775073 /admin/WebConsole/propiedades/propiedades_imagenes.php
parent8c22cffe946d6be66965cacf6882d65091755b36 (diff)
#961 Images properties in console shows data size.
Diffstat (limited to 'admin/WebConsole/propiedades/propiedades_imagenes.php')
-rw-r--r--admin/WebConsole/propiedades/propiedades_imagenes.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/admin/WebConsole/propiedades/propiedades_imagenes.php b/admin/WebConsole/propiedades/propiedades_imagenes.php
index cc108c17..116d5a95 100644
--- a/admin/WebConsole/propiedades/propiedades_imagenes.php
+++ b/admin/WebConsole/propiedades/propiedades_imagenes.php
@@ -107,6 +107,7 @@ if ($opcion!=$op_alta and isset($repokey)) {
$result = json_decode($result[0]['data']);
$imgpath = (@$result->type==="dir" ? @$result->name : @$result->name.".".@$result->type);
$imgsize = humanSize(@$result->size);
+ $imgdatasize = humanSize(@$result->datasize);
$imgbackup = @$result->backedup;
$imgbksize = isset($result->backupsize) ? humanSize($result->backupsize) : 0;
$imglock = @$result->locked;
@@ -283,6 +284,11 @@ if ($opcion!=$op_alta and isset($repokey)) {
<th align="center">&nbsp;<?php echo $TbMsg['PROP_OS']?>&nbsp;</th>
<td>&nbsp;<?php echo $sistoperativo?> </td>
</tr>
+ <!-- Tamaño de los datos -->
+ <tr>
+ <th align="center">&nbsp;<?php echo $TbMsg['DATA_SIZE']?>&nbsp;</th>
+ <td>&nbsp;<?php echo $imgdatasize?> </td>
+ </tr>
<?php
// Datos de imagen en el repositorio
if (isset($imgpath)) {