[fix] Quota menu item icon was broken

This commit is contained in:
Alan Garcia 2013-10-18 08:03:40 +00:00
parent 9e04ff4d81
commit fd2852e3b7
1 changed files with 2 additions and 2 deletions

View File

@ -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;
} }