adding (required) confirmations to smarty globals

This commit is contained in:
Sebastian Grewe 2013-05-12 16:56:35 +02:00
parent 3844bbe1ab
commit b5def95435

View File

@ -16,7 +16,8 @@ $aGlobal = array(
'workers' => $settings->getValue('currentworkers'), 'workers' => $settings->getValue('currentworkers'),
'currentroundshares' => $settings->getValue('currentroundshares'), 'currentroundshares' => $settings->getValue('currentroundshares'),
'statstime' => $settings->getValue('statstime'), 'statstime' => $settings->getValue('statstime'),
'motd' => $settings->getValue('motd') 'motd' => $settings->getValue('motd'),
'confirmations' => $config['confirmations']
); );
// Append additional user information not from user table // Append additional user information not from user table
$aGlobal['userdata']['balance'] = $transaction->getBalance($_SESSION['USERDATA']['id']); $aGlobal['userdata']['balance'] = $transaction->getBalance($_SESSION['USERDATA']['id']);