|
|
@@ -292,13 +292,14 @@ function cwp7_ClientArea($params) {
|
|
|
} else {
|
|
|
$clientInfo['subdomainlimit'] = 0;
|
|
|
};
|
|
|
- logModuleCall(
|
|
|
- 'cwp7',
|
|
|
- __FUNCTION__,
|
|
|
- $params,
|
|
|
- 'debug',
|
|
|
- $response
|
|
|
- );
|
|
|
+ $clientInfo['db_max'] = $response['result']['account_info']['db_max'];
|
|
|
+ $clientInfo['db_used'] = $response['result']['account_info']['db_used'];
|
|
|
+ $clientInfo['ftp_accounts'] = $response['result']['account_info']['ftp_accounts'];
|
|
|
+ $clientInfo['ftp_accounts_used'] = $response['result']['account_info']['ftp_accounts_used'];
|
|
|
+ $clientInfo['addons_domains'] = $response['result']['account_info']['addons_domains'];
|
|
|
+ $clientInfo['addons_domains_used'] = $response['result']['account_info']['addons_domains_used'];
|
|
|
+ $clientInfo['sub_domains'] = $response['result']['account_info']['sub_domains'];
|
|
|
+ $clientInfo['sub_domains_used'] = $response['result']['account_info']['sub_domains_used'];
|
|
|
$domains = $response['result']['domains'];
|
|
|
$subDomains = $response['result']['subdomins'];
|
|
|
$clientInfo['domains'] = array();
|
|
|
@@ -342,6 +343,13 @@ function cwp7_ClientArea($params) {
|
|
|
array_push($clientInfo['domains'], $domain);
|
|
|
}
|
|
|
}
|
|
|
+ logModuleCall(
|
|
|
+ 'cwp7',
|
|
|
+ __FUNCTION__,
|
|
|
+ $params,
|
|
|
+ 'debug',
|
|
|
+ $clientInfo
|
|
|
+ );
|
|
|
return array(
|
|
|
'tabOverviewReplacementTemplate' => 'clientarea',
|
|
|
'vars' => $clientInfo,
|