Version 5.0.14
This commit is contained in:
1 parent
5efe744c5f
commit
dbd774b30c
364 files changed
+7048
-1377
No files matched your search
@@ -92,6 +92,7 @@ class Downloads extends Block
|
||||
*/
|
||||
public function edit(): string
|
||||
{
|
||||
$output = '';
|
||||
switch ( Request::i()->chart )
|
||||
{
|
||||
case 'downloads':
|
||||
@@ -138,7 +139,7 @@ class Downloads extends Block
|
||||
$output = ( Request::i()->isAjax() and isset( Request::i()->_graph ) ) ? (string) $downloadsChart : Theme::i()->getTemplate( 'stats', 'downloads' )->graphs( (string) $downloadsChart );
|
||||
break;
|
||||
|
||||
case 'bandwidth_use':
|
||||
case 'bandwidth':
|
||||
$bandwidthChart = new Database( Url::internal( "app=core&module=members&controller=members&do=editBlock&block=IPS\\downloads\\extensions\\core\\MemberACPProfileContentTab\\Downloads&id={$this->member->member_id}&chart=bandwidth_use&_graph=1" ), 'downloads_downloads', 'dtime', '', array(
|
||||
'vAxis' => array( 'title' => '(' . Member::loggedIn()->language()->addToStack( 'filesize_raw_k' ) . ')' ),
|
||||
'backgroundColor' => '#ffffff',
|
||||
|
||||
Reference in new issue
Block a user