diff options
author | Minteck <nekostarfan@gmail.com> | 2021-08-08 22:31:51 +0200 |
---|---|---|
committer | Minteck <nekostarfan@gmail.com> | 2021-08-08 22:31:51 +0200 |
commit | 94c57fa247ba107fce8fc1d1fc355191229dbddc (patch) | |
tree | 865048aa574ef63ad322ed8e5057eb7629e03c29 /admin/api/getQuota.php | |
parent | e255736e3f2a95ee82cadc01b0c70749ab946226 (diff) | |
download | main-94c57fa247ba107fce8fc1d1fc355191229dbddc.tar.gz main-94c57fa247ba107fce8fc1d1fc355191229dbddc.tar.bz2 main-94c57fa247ba107fce8fc1d1fc355191229dbddc.zip |
Permissions system
Diffstat (limited to 'admin/api/getQuota.php')
-rw-r--r-- | admin/api/getQuota.php | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/admin/api/getQuota.php b/admin/api/getQuota.php index 7b4e8e9..1d64737 100644 --- a/admin/api/getQuota.php +++ b/admin/api/getQuota.php @@ -22,32 +22,32 @@ if (in_array($arg, $webs)) { if ($tier === "3") {
$perc = ($parts2[0] / 100000) * 100;
if ($perc > 75) {
- die("<span class='text-danger'>Using " . $parts[0] . "/100M (" . round($perc, 2) . "%)</span>");
+ die("<span class='text-danger'>" . l("Using", "Utilise") . " " . $parts[0] . "/100M (" . round($perc, 2) . "%)</span>");
} else if ($perc > 50) {
- die("<span class='text-warning'>Using " . $parts[0] . "/100M (" . round($perc, 2) . "%)</span>");
+ die("<span class='text-warning'>" . l("Using", "Utilise") . " " . $parts[0] . "/100M (" . round($perc, 2) . "%)</span>");
} else {
- die("<span class='text-success'>Using " . $parts[0] . "/100M (" . round($perc, 2) . "%)</span>");
+ die("<span class='text-success'>" . l("Using", "Utilise") . " " . $parts[0] . "/100M (" . round($perc, 2) . "%)</span>");
}
} else if ($tier === "5") {
$perc = ($parts2[0] / 250000) * 100;
if ($perc > 75) {
- die("<span class='text-danger'>Using " . $parts[0] . "/250M (" . round($perc, 2) . "%)</span>");
+ die("<span class='text-danger'>" . l("Using", "Utilise") . " " . $parts[0] . "/250M (" . round($perc, 2) . "%)</span>");
} else if ($perc > 50) {
- die("<span class='text-warning'>Using " . $parts[0] . "/250M (" . round($perc, 2) . "%)</span>");
+ die("<span class='text-warning'>" . l("Using", "Utilise") . " " . $parts[0] . "/250M (" . round($perc, 2) . "%)</span>");
} else {
- die("<span class='text-success'>Using " . $parts[0] . "/250M (" . round($perc, 2) . "%)</span>");
+ die("<span class='text-success'>" . l("Using", "Utilise") . " " . $parts[0] . "/250M (" . round($perc, 2) . "%)</span>");
}
} else if ($tier === "7") {
$perc = ($parts2[0] / 500000) * 100;
if ($perc > 75) {
- die("<span class='text-danger'>Using " . $parts[0] . "/500M (" . round($perc, 2) . "%)</span>");
+ die("<span class='text-danger'>" . l("Using", "Utilise") . " " . $parts[0] . "/500M (" . round($perc, 2) . "%)</span>");
} else if ($perc > 50) {
- die("<span class='text-warning'>Using " . $parts[0] . "/500M (" . round($perc, 2) . "%)</span>");
+ die("<span class='text-warning'>" . l("Using", "Utilise") . " " . $parts[0] . "/500M (" . round($perc, 2) . "%)</span>");
} else {
- die("<span class='text-success'>Using " . $parts[0] . "/500M (" . round($perc, 2) . "%)</span>");
+ die("<span class='text-success'>" . l("Using", "Utilise") . " " . $parts[0] . "/500M (" . round($perc, 2) . "%)</span>");
}
} else {
- die("<span class='text-success'>Using " . $parts[0] . "</span>");
+ die("<span class='text-success'>" . l("Using", "Utilise") . " " . $parts[0] . "</span>");
}
}
|