|
|
@ -481,7 +481,7 @@ if ($config->webui->index->enabled) |
|
|
|
<?php } ?> |
|
|
|
<?php } ?> |
|
|
|
<?php if (!empty($document->size)) { ?> |
|
|
|
<?php if (!empty($document->size)) { ?> |
|
|
|
<h3><?php echo _('Size') ?></h3> |
|
|
|
<h3><?php echo _('Size') ?></h3> |
|
|
|
<div><?php echo $document->size ?></div> |
|
|
|
<div><?php echo sprintf('%d bytes', number_format($document->size)) ?></div> |
|
|
|
<?php } ?> |
|
|
|
<?php } ?> |
|
|
|
<?php if (!empty($document->time)) { ?> |
|
|
|
<?php if (!empty($document->time)) { ?> |
|
|
|
<h3><?php echo _('Time') ?></h3> |
|
|
|
<h3><?php echo _('Time') ?></h3> |
|
|
@ -497,7 +497,7 @@ if ($config->webui->index->enabled) |
|
|
|
<?php foreach ($snap as $file) { ?> |
|
|
|
<?php foreach ($snap as $file) { ?> |
|
|
|
<li> |
|
|
|
<li> |
|
|
|
<a rel="nofollow" href="api.php?action=snap&method=download&source=<?php echo $file->source ?>&id=<?php echo $file->id ?>&time=<?php echo $file->time ?>"> |
|
|
|
<a rel="nofollow" href="api.php?action=snap&method=download&source=<?php echo $file->source ?>&id=<?php echo $file->id ?>&time=<?php echo $file->time ?>"> |
|
|
|
<?php echo sprintf('%s (tar.gz / %s bytes)', date('c', $file->time), number_format($file->size)) ?> |
|
|
|
<?php echo sprintf('%s (tar.gz / %d bytes)', date('c', $file->time), number_format($file->size)) ?> |
|
|
|
</a> |
|
|
|
</a> |
|
|
|
</li> |
|
|
|
</li> |
|
|
|
<?php } ?> |
|
|
|
<?php } ?> |
|
|
|