Grupper

  membership_level->ID))
$current_level = ($current_user->membership_level->ID == $level->id);
else
$current_level = false;
?>

{$level->name}” : $level-

>name?> initial_payment === ”0.00”)

{ ?>


initial_payment?>
” . __(’Free’, ’pmpro’) . ””;
}
elseif($level->billing_amount != ’0.00’)
{
if($level->billing_limit > 1)
{
if($level->cycle_number == ’1’)
{
printf(__(’%s per %s for %d more %s.’, ’Recurring

payment in cost text generation. E.g. $5 every month for 2 more payments.’, ’pmpro’),

$pmpro_currency_symbol . $level->billing_amount, pmpro_translate_billing_period($level-

>cycle_period), $level->billing_limit, pmpro_translate_billing_period($level->cycle_period,

$level->billing_limit));
}
else
{
printf(__(’%s every %d %s for %d more %s.’,

’Recurring payment in cost text generation. E.g., $5 every 2 months for 2 more payments.’,

’pmpro’), $pmpro_currency_symbol . $level->billing_amount, $level->cycle_number,

pmpro_translate_billing_period($level->cycle_period, $level->cycle_number), $level-

>billing_limit, pmpro_translate_billing_period($level->cycle_period, $level->billing_limit));

}
}
elseif($level->billing_limit == 1)
{
printf(__(’%s after %d %s.’, ’Recurring payment in cost

text generation. E.g. $5 after 2 months.’, ’pmpro’), $pmpro_currency_symbol . $level-

>billing_amount, $level->cycle_number, pmpro_translate_billing_period($level->cycle_period,

$level->cycle_number));
}
else
{
if($level->cycle_number == ’1’)
{
printf(__(’%s per %s.’, ’Recurring payment in

cost text generation. E.g. $5 every month.’, ’pmpro’), $pmpro_currency_symbol . $level-

>billing_amount, pmpro_translate_billing_period($level->cycle_period));
}
else
{
printf(__(’%s every %d %s.’, ’Recurring payment

in cost text generation. E.g., $5 every 2 months.’, ’pmpro’), $pmpro_currency_symbol . $level-

>billing_amount, $level->cycle_number, pmpro_translate_billing_period($level->cycle_period,

$level->cycle_number));
}
}
}

//trial
if(pmpro_isLevelTrial($level))
{
if($level->trial_amount == ’0.00’)
{
if($level->trial_limit == ’1’)
{
echo ’ ’ . _x(’After your initial payment, your

first payment is Free.’, ’Trial payment in cost text generation.’, ’pmpro’);
}
else
{
printf(’ ’ . _x(’After your initial payment, your

first %d payments are Free.’, ’Trial payment in cost text generation.’, ’pmpro’), $level-

>trial_limit);
}
}
else
{
if($level->trial_limit == ’1’)
{
printf(’ ’ . _x(’After your initial payment, your

first payment will cost %s.’, ’Trial payment in cost text generation.’, ’pmpro’),

$pmpro_currency_symbol . $level->trial_amount);
}
else
{
printf(’ ’ . _x(’After your initial payment, your

first %d payments will cost %s.’, ’Trial payment in cost text generation. E.g. … first 2

payments will cost $5’, ’pmpro’), $level->trial_limit, $pmpro_currency_symbol . $level-

>trial_amount);
}
}
}

$expiration_text = pmpro_getLevelExpiration($level);
if($expiration_text)
{
?>


membership_level->ID)) { ?>
”>