Code Duplication    Length = 10-10 lines in 4 locations

modules/birthday_list.php 1 location

@@ 163-172 (lines=10) @@
160
	/**
161
	* {@inheritdoc}
162
	*/
163
	public function get_template_acp($module_id)
164
	{
165
		return array(
166
			'title'	=> 'ACP_PORTAL_BIRTHDAYS_SETTINGS',
167
			'vars'	=> array(
168
				'legend1'					=> 'ACP_PORTAL_BIRTHDAYS_SETTINGS',
169
				'board3_birthdays_ahead_' . $module_id	=> array('lang' => 'PORTAL_BIRTHDAYS_AHEAD',	'validate' => 'int',	'type' => 'text:3:3',		'explain' => true),
170
			),
171
		);
172
	}
173
174
	/**
175
	* {@inheritdoc}

modules/friends.php 1 location

@@ 136-145 (lines=10) @@
133
	/**
134
	* {@inheritdoc}
135
	*/
136
	public function get_template_acp($module_id)
137
	{
138
		return array(
139
			'title'	=> 'ACP_PORTAL_FRIENDS_SETTINGS',
140
			'vars'	=> array(
141
				'legend1'					=> 'ACP_PORTAL_FRIENDS_SETTINGS',
142
				'board3_max_online_friends_' . $module_id	=> array('lang' => 'PORTAL_MAX_ONLINE_FRIENDS',	'validate' => 'int',	'type' => 'text:3:3', 'explain' => true),
143
			)
144
		);
145
	}
146
147
	/**
148
	* {@inheritdoc}

modules/latest_bots.php 1 location

@@ 111-120 (lines=10) @@
108
	/**
109
	* {@inheritdoc}
110
	*/
111
	public function get_template_acp($module_id)
112
	{
113
		return array(
114
			'title'	=> 'ACP_PORTAL_BOTS_SETTINGS',
115
			'vars'	=> array(
116
				'legend1'							=> 'ACP_PORTAL_BOTS_SETTINGS',
117
				'board3_last_visited_bots_number_' . $module_id	=> array('lang' => 'PORTAL_LAST_VISITED_BOTS_NUMBER' ,	'validate' => 'int',		'type' => 'text:3:3',		 'explain' => true),
118
			)
119
		);
120
	}
121
122
	/**
123
	* {@inheritdoc}

modules/latest_members.php 1 location

@@ 99-108 (lines=10) @@
96
	/**
97
	* {@inheritdoc}
98
	*/
99
	public function get_template_acp($module_id)
100
	{
101
		return array(
102
			'title'	=> 'ACP_PORTAL_MEMBERS_SETTINGS',
103
			'vars'	=> array(
104
				'legend1'							=> 'ACP_PORTAL_MEMBERS_SETTINGS',
105
				'board3_max_last_member_' . $module_id			=> array('lang' => 'PORTAL_MAX_LAST_MEMBER'			 ,	'validate' => 'int',		'type' => 'text:3:3',		 'explain' => true),
106
			)
107
		);
108
	}
109
110
	/**
111
	* {@inheritdoc}