Update index.phtml

- Replacing HTML text output by php function 'echo' to optimize .po translation.
This commit is contained in:
farggus 2020-03-26 08:41:43 +02:00 committed by GitHub
parent b0ffc1c65d
commit a00a81db4f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -83,12 +83,12 @@
</div>
-->
<div id="uploads_disk_usage">
<div style="padding-bottom: 2px;">Storage</div>
<div style="padding-bottom: 2px;"><?php echo _("Storage")?></div>
<div class="disk_usage_progress_bar"></div>
<div class="disk_usage_percent_in_use"><?php echo sprintf("%01.1f%% ", $used/$total*100) . _("in use") ?></div>
<div class="disk_usage_used" style="width:<?php echo sprintf("%01.1f%%", min(100, $used/$total*100)) ?>;"></div>
<div style="margin-top: 17px; font-size: 12px;"><?php echo sprintf("%01.1fGB of %01.1fGB", $used/pow(2, 30), $total/pow(2, 30)); ?></div>
<div style="margin-top: 17px; font-size: 12px;"><?php echo sprintf(_("%01.1fGB of %01.1fGB"), $used/pow(2, 30), $total/pow(2, 30)); ?></div>
</div>
</div>
</div>