[fix] Quota menu item icon was broken
This commit is contained in:
parent
9e04ff4d81
commit
fd2852e3b7
|
@ -64,7 +64,7 @@ class m_quota {
|
||||||
$obj = array(
|
$obj = array(
|
||||||
'title' => _("Show my quotas"),
|
'title' => _("Show my quotas"),
|
||||||
'ico' => 'images/quota.png',
|
'ico' => 'images/quota.png',
|
||||||
'link' => 'quota_show.php',
|
'link' => 'toggle',
|
||||||
'pos' => 110,
|
'pos' => 110,
|
||||||
'divclass' => 'menu-quota',
|
'divclass' => 'menu-quota',
|
||||||
'links' => array(),
|
'links' => array(),
|
||||||
|
@ -78,7 +78,7 @@ class m_quota {
|
||||||
$obj['links'][] = array( 'txt'=>_("quota_".$key) . " " . sprintf(_("%s%% of %s"),$usage_percent,format_size($q[$key]["t"]*1024)), 'url'=>($key == 'bw_web' ? 'stats_show_per_month.php' : 'quota_show.php') );
|
$obj['links'][] = array( 'txt'=>_("quota_".$key) . " " . sprintf(_("%s%% of %s"),$usage_percent,format_size($q[$key]["t"]*1024)), 'url'=>($key == 'bw_web' ? 'stats_show_per_month.php' : 'quota_show.php') );
|
||||||
$obj['links'][] = array( 'txt'=>'progressbar', 'total' => $q[$key]["t"], 'used' => $q[$key]["u"]);
|
$obj['links'][] = array( 'txt'=>'progressbar', 'total' => $q[$key]["t"], 'used' => $q[$key]["u"]);
|
||||||
}
|
}
|
||||||
|
|
||||||
return $obj;
|
return $obj;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue