@@ 607-614 (lines=8) @@ | ||
604 | { |
|
605 | $l_ppde_goal = $this->user->lang['PPDE_DONATE_NO_GOAL']; |
|
606 | } |
|
607 | else if ((int) $this->config['ppde_goal'] < (int) $this->config['ppde_raised']) |
|
608 | { |
|
609 | $l_ppde_goal = $this->user->lang['PPDE_DONATE_GOAL_REACHED']; |
|
610 | } |
|
611 | else |
|
612 | { |
|
613 | $l_ppde_goal = $this->user->lang('PPDE_DONATE_GOAL_RAISE', $this->currency_on_left((int) $this->config['ppde_goal'], $currency_symbol, $on_left)); |
|
614 | } |
|
615 | ||
616 | return $l_ppde_goal; |
|
617 | } |
|
@@ 645-652 (lines=8) @@ | ||
642 | */ |
|
643 | public function get_ppde_raised_langkey($currency_symbol, $on_left = true) |
|
644 | { |
|
645 | if ((int) $this->config['ppde_raised'] <= 0) |
|
646 | { |
|
647 | $l_ppde_raised = $this->user->lang['PPDE_DONATE_NOT_RECEIVED']; |
|
648 | } |
|
649 | else |
|
650 | { |
|
651 | $l_ppde_raised = $this->user->lang('PPDE_DONATE_RECEIVED', $this->currency_on_left((int) $this->config['ppde_raised'], $currency_symbol, $on_left)); |
|
652 | } |
|
653 | ||
654 | return $l_ppde_raised; |
|
655 | } |