@@ -1,5 +1,6 @@
<?php
function drawBarDiv($percent, $type){
+ $percent = round($percent, 2); // Round it to two decimal places
echo '<div class="progress"><div class="progress-bar inline-block" data="' . $percent . '" type="' . $type . '" title="' . strtoupper($type) . ' Percentage Use: ' . $percent . '%"></div></div>';
}
?>
@@ -113,8 +113,7 @@ function exec_ogp_module()
drawBarDiv($hddbarusage, "HDD");
- echo "<br>
- ".get_lang('storage_free').": " . $hddfreespace . "</b>
+ echo get_lang('storage_free').": " . $hddfreespace . "</b>
</div>
</div>";