This commit has been accessed 886 times via Git panel.
commit 93233e52d8b3dabb731c7ec2e6fba005f859c7ae
tree 83512be2698d73df841cd546e748b186ebd9d945
parent 54e3e817c74a67b0e40c501a4c6a3219c44c5f44
author Engels Antonio <engels@kartero.org> 1387388726 +0800
committer Engels Antonio <engels@kartero.org> 1387388726 +0800
Change $quota_bar_width from pixels to percent
diff --git a/folders.php b/folders.php
index 192c023..d0c2507 100644
--- a/folders.php
+++ b/folders.php
@@ -117,7 +117,7 @@ echo "<div style=\"height: 4px;\"></div>";
if (is_array($quota) and ($quota[limit] > 0)) {
echo "<div class=\"folders\">";
- echo "<table style=\"-moz-box-shadow: inset 0 0 3px #dedede; -khtml-box-shadow: inset 0 0 3px #dedede; -webkit-box-shadow: inset 0 0 3px #dedede; box-shadow: inset 0 0 3px #dedede;\" border=\"0\" cellspacing=\"1\" cellpadding=\"2\" bgcolor=\"#cccccc\" width=\"100%\"><tr bgcolor=\"#ffffff\"><td><div class=\"bar\" style=\"width: {$quota_bar_width}px;\"></td></tr></table>";
+ echo "<table style=\"-moz-box-shadow: inset 0 0 3px #dedede; -khtml-box-shadow: inset 0 0 3px #dedede; -webkit-box-shadow: inset 0 0 3px #dedede; box-shadow: inset 0 0 3px #dedede;\" border=\"0\" cellspacing=\"1\" cellpadding=\"2\" bgcolor=\"#cccccc\" width=\"100%\"><tr bgcolor=\"#ffffff\"><td><div class=\"bar\" style=\"width: {$quota_bar_width}%;\"></td></tr></table>";
echo "<font style=\"font-size: 0.75em;\"><nobr>$quota_usage of $quota_limit ($quota_pct%)</nobr></font>";
echo "</div>";
echo "<div style=\"height: 4px;\"></div>";
tree 83512be2698d73df841cd546e748b186ebd9d945
parent 54e3e817c74a67b0e40c501a4c6a3219c44c5f44
author Engels Antonio <engels@kartero.org> 1387388726 +0800
committer Engels Antonio <engels@kartero.org> 1387388726 +0800
Change $quota_bar_width from pixels to percent
diff --git a/folders.php b/folders.php
index 192c023..d0c2507 100644
--- a/folders.php
+++ b/folders.php
@@ -117,7 +117,7 @@ echo "<div style=\"height: 4px;\"></div>";
if (is_array($quota) and ($quota[limit] > 0)) {
echo "<div class=\"folders\">";
- echo "<table style=\"-moz-box-shadow: inset 0 0 3px #dedede; -khtml-box-shadow: inset 0 0 3px #dedede; -webkit-box-shadow: inset 0 0 3px #dedede; box-shadow: inset 0 0 3px #dedede;\" border=\"0\" cellspacing=\"1\" cellpadding=\"2\" bgcolor=\"#cccccc\" width=\"100%\"><tr bgcolor=\"#ffffff\"><td><div class=\"bar\" style=\"width: {$quota_bar_width}px;\"></td></tr></table>";
+ echo "<table style=\"-moz-box-shadow: inset 0 0 3px #dedede; -khtml-box-shadow: inset 0 0 3px #dedede; -webkit-box-shadow: inset 0 0 3px #dedede; box-shadow: inset 0 0 3px #dedede;\" border=\"0\" cellspacing=\"1\" cellpadding=\"2\" bgcolor=\"#cccccc\" width=\"100%\"><tr bgcolor=\"#ffffff\"><td><div class=\"bar\" style=\"width: {$quota_bar_width}%;\"></td></tr></table>";
echo "<font style=\"font-size: 0.75em;\"><nobr>$quota_usage of $quota_limit ($quota_pct%)</nobr></font>";
echo "</div>";
echo "<div style=\"height: 4px;\"></div>";