mirror of
https://github.com/slawkens/myaac.git
synced 2025-04-26 17:29:21 +02:00
Refactor some line
This commit is contained in:
parent
1ada2317fd
commit
98b1d854f9
@ -64,12 +64,12 @@ $errors = array();
|
|||||||
/**
|
/**
|
||||||
* @var OTS_Account $account_logged
|
* @var OTS_Account $account_logged
|
||||||
*/
|
*/
|
||||||
$recovery_key = $account_logged->getCustomField('key');
|
|
||||||
if(!$account_logged->isPremium())
|
if(!$account_logged->isPremium())
|
||||||
$account_status = '<b><span style="color: red">Free Account</span></b>';
|
$account_status = '<b><span style="color: red">Free Account</span></b>';
|
||||||
else
|
else
|
||||||
$account_status = '<b><span style="color: green">Premium Account, ' . ($freePremium ? 'Unlimited' : $account_logged->getPremDays() . ' days left') . '</span></b>';
|
$account_status = '<b><span style="color: green">Premium Account, ' . ($freePremium ? 'Unlimited' : $account_logged->getPremDays() . ' days left') . '</span></b>';
|
||||||
|
|
||||||
|
$recovery_key = $account_logged->getCustomField('key');
|
||||||
if(empty($recovery_key))
|
if(empty($recovery_key))
|
||||||
$account_registered = '<b><span style="color: red">No</span></b>';
|
$account_registered = '<b><span style="color: red">No</span></b>';
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user