Code Duplication    Length = 4-6 lines in 4 locations

Themes/default/Profile.template.php 4 locations

@@ 2880-2885 (lines=6) @@
2877
									' . $txt['no_avatar'] . '
2878
								</label><br>';
2879
2880
	if (!empty($context['member']['avatar']['allow_server_stored']))
2881
		echo '
2882
								<input type="radio" onclick="swap_avatar(this); return true;" name="avatar_choice" id="avatar_choice_server_stored" value="server_stored"' . ($context['member']['avatar']['choice'] == 'server_stored' ? ' checked="checked"' : '') . '>
2883
								<label for="avatar_choice_server_stored"' . (isset($context['modify_error']['bad_avatar']) ? ' class="error"' : '') . '>
2884
									', $txt['choose_avatar_gallery'], '
2885
								</label><br>';
2886
2887
	if (!empty($context['member']['avatar']['allow_external']))
2888
		echo '
@@ 2887-2892 (lines=6) @@
2884
									', $txt['choose_avatar_gallery'], '
2885
								</label><br>';
2886
2887
	if (!empty($context['member']['avatar']['allow_external']))
2888
		echo '
2889
								<input type="radio" onclick="swap_avatar(this); return true;" name="avatar_choice" id="avatar_choice_external" value="external"' . ($context['member']['avatar']['choice'] == 'external' ? ' checked="checked"' : '') . '>
2890
								<label for="avatar_choice_external"' . (isset($context['modify_error']['bad_avatar']) ? ' class="error"' : '') . '>
2891
									', $txt['my_own_pic'], '
2892
								</label><br>';
2893
2894
	if (!empty($context['member']['avatar']['allow_upload']))
2895
		echo '
@@ 2894-2899 (lines=6) @@
2891
									', $txt['my_own_pic'], '
2892
								</label><br>';
2893
2894
	if (!empty($context['member']['avatar']['allow_upload']))
2895
		echo '
2896
								<input type="radio" onclick="swap_avatar(this); return true;" name="avatar_choice" id="avatar_choice_upload" value="upload"' . ($context['member']['avatar']['choice'] == 'upload' ? ' checked="checked"' : '') . '>
2897
								<label for="avatar_choice_upload"' . (isset($context['modify_error']['bad_avatar']) ? ' class="error"' : '') . '>
2898
									', $txt['avatar_will_upload'], '
2899
								</label><br>';
2900
2901
	if (!empty($context['member']['avatar']['allow_gravatar']))
2902
		echo '
@@ 2901-2904 (lines=4) @@
2898
									', $txt['avatar_will_upload'], '
2899
								</label><br>';
2900
2901
	if (!empty($context['member']['avatar']['allow_gravatar']))
2902
		echo '
2903
								<input type="radio" onclick="swap_avatar(this); return true;" name="avatar_choice" id="avatar_choice_gravatar" value="gravatar"' . ($context['member']['avatar']['choice'] == 'gravatar' ? ' checked="checked"' : '') . '>
2904
								<label for="avatar_choice_gravatar"' . (isset($context['modify_error']['bad_avatar']) ? ' class="error"' : '') . '>' . $txt['use_gravatar'] . '</label>';
2905
2906
	echo '
2907
							</dt>