|
|
@@ -197,10 +197,15 @@ function zimbraSingle_ClientArea($params) {
|
|
|
);
|
|
|
return false;
|
|
|
}
|
|
|
+ $clientInfo['basequota'] = $params['configoption2'] ? $params['configoption2'] : 1;
|
|
|
+ $clientInfo['addonquota'] = $params['configoptions']['addonQuota'] ? $params['configoptions']['addonQuota'] : 0;
|
|
|
+ $clientInfo['userquota'] = $clientInfo['basequota'] + $clientInfo['addonquota'];
|
|
|
$webmailUrl = zimbraSingleFindAll($accountInfo, 'PUBLICMAILURL');
|
|
|
$clientInfo['webmailurl'] = $webmailUrl[0]['DATA'];
|
|
|
- $clientInfo['quota'] = $params['configoption2'];
|
|
|
- return array();
|
|
|
+ return array(
|
|
|
+ 'templatefile' => 'templates/clientarea',
|
|
|
+ 'vars' => $clientInfo,
|
|
|
+ );
|
|
|
}
|
|
|
|
|
|
/**
|