Code Duplication    Length = 5-8 lines in 2 locations

Themes/default/Profile.template.php 1 location

@@ 1406-1413 (lines=8) @@
1403
				<hr>
1404
				<dl class="settings">';
1405
		}
1406
		elseif ($field['type'] == 'callback')
1407
		{
1408
			if (isset($field['callback_func']) && function_exists('template_profile_' . $field['callback_func']))
1409
			{
1410
				$callback_func = 'template_profile_' . $field['callback_func'];
1411
				$callback_func();
1412
			}
1413
		}
1414
		else
1415
		{
1416
			echo '

Themes/default/Register.template.php 1 location

@@ 182-186 (lines=5) @@
179
		{
180
			if ($field['type'] == 'callback')
181
			{
182
				if (isset($field['callback_func']) && function_exists('template_profile_' . $field['callback_func']))
183
				{
184
					$callback_func = 'template_profile_' . $field['callback_func'];
185
					$callback_func();
186
				}
187
			}
188
			else
189
			{