Rev 15238 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 15238 | Rev 18565 | ||
---|---|---|---|
Line 52... | Line 52... | ||
52 | 52 | ||
53 | !exit |
53 | !exit |
54 | 54 | ||
55 | :html |
55 | :html |
56 | !readproc adm/class/classlang lang/scriptadmclass.phtml adm_class_quotafree |
56 | !readproc adm/class/classlang lang/scriptadmclass.phtml adm_class_quotafree |
57 | !set x1=$[floor($quota_used/ |
57 | !set x1=$[floor($quota_used/$quota_total*10000)/100] |
58 | !set x1_int=$[floor($x1)] |
58 | !set x1_int=$[floor($x1)] |
59 | !set x2=$[floor($quota_reserved/ |
59 | !set x2=$[floor($quota_reserved/$quota_total*10000)/100] |
60 | !set x2_int=$[floor($x2)] |
60 | !set x2_int=$[floor($x2)] |
61 | !set x3=$[floor($quota_free/ |
61 | !set x3=$[floor($quota_free/$quota_total*10000)/100] |
62 | 62 | ||
63 | <div class="wims_quotafree"> |
63 | <div class="wims_quotafree"> |
64 | <style>@import "html/themes/_css/quota_bar.css";</style> |
64 | <style>@import "html/themes/_css/quota_bar.css";</style> |
65 | <div class="wimscenter"> |
65 | <div class="wimscenter"> |
66 | $(name_availablespace[1]) ( |
66 | $(name_availablespace[1]) ($quota_total $name_mega) |
67 | </div> |
67 | </div> |
68 | <div class="quota-bar" role="progressbar" tabindex="0" |
68 | <div class="quota-bar" role="progressbar" tabindex="0" |
69 | aria-valuenow="$x1" aria-valuemin="0" aria-valuemax="100" |
69 | aria-valuenow="$x1" aria-valuemin="0" aria-valuemax="100" |
70 | aria-valuetext="$(name_availablespace[2]): $x1% of $wims_class_quota$name_mega"> |
70 | aria-valuetext="$(name_availablespace[2]): $x1% of $wims_class_quota$name_mega"> |
71 | !! used |
71 | !! used |