Code Duplication    Length = 11-11 lines in 2 locations

modules/donation.php 2 locations

@@ 102-112 (lines=11) @@
99
	/**
100
	* {@inheritdoc}
101
	*/
102
	public function get_template_center($module_id)
103
	{
104
		$this->template->assign_vars(array(
105
			'PAY_ACC_CENTER'	=> $this->config['board3_pay_acc_' . $module_id],
106
			'PAY_CUSTOM_CENTER'	=> (!empty($this->config['board3_pay_custom_' . $module_id])) ? $this->user->data['username_clean'] : false,
107
		));
108
109
		$this->build_currency_select($module_id, 'b3p_donation_currency_center');
110
111
		return 'donation_center.html';
112
	}
113
114
	/**
115
	* {@inheritdoc}
@@ 117-127 (lines=11) @@
114
	/**
115
	* {@inheritdoc}
116
	*/
117
	public function get_template_side($module_id)
118
	{
119
		$this->template->assign_vars(array(
120
			'PAY_ACC_SIDE'	=> $this->config['board3_pay_acc_' . $module_id],
121
			'PAY_CUSTOM_SIDE'	=> (!empty($this->config['board3_pay_custom_' . $module_id])) ? $this->user->data['username_clean'] : false,
122
		));
123
124
		$this->build_currency_select($module_id, 'b3p_donation_currency_side', true);
125
126
		return 'donation_side.html';
127
	}
128
129
	/**
130
	* {@inheritdoc}