Code Duplication    Length = 4-6 lines in 4 locations

Themes/default/Profile.template.php 4 locations

@@ 2848-2853 (lines=6) @@
2845
									' . $txt['no_avatar'] . '
2846
								</label><br>';
2847
2848
	if (!empty($context['member']['avatar']['allow_server_stored']))
2849
		echo '
2850
								<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"' : '') . '>
2851
								<label for="avatar_choice_server_stored"' . (isset($context['modify_error']['bad_avatar']) ? ' class="error"' : '') . '>
2852
									', $txt['choose_avatar_gallery'], '
2853
								</label><br>';
2854
2855
	if (!empty($context['member']['avatar']['allow_external']))
2856
		echo '
@@ 2855-2860 (lines=6) @@
2852
									', $txt['choose_avatar_gallery'], '
2853
								</label><br>';
2854
2855
	if (!empty($context['member']['avatar']['allow_external']))
2856
		echo '
2857
								<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"' : '') . '>
2858
								<label for="avatar_choice_external"' . (isset($context['modify_error']['bad_avatar']) ? ' class="error"' : '') . '>
2859
									', $txt['my_own_pic'], '
2860
								</label><br>';
2861
2862
	if (!empty($context['member']['avatar']['allow_upload']))
2863
		echo '
@@ 2862-2867 (lines=6) @@
2859
									', $txt['my_own_pic'], '
2860
								</label><br>';
2861
2862
	if (!empty($context['member']['avatar']['allow_upload']))
2863
		echo '
2864
								<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"' : '') . '>
2865
								<label for="avatar_choice_upload"' . (isset($context['modify_error']['bad_avatar']) ? ' class="error"' : '') . '>
2866
									', $txt['avatar_will_upload'], '
2867
								</label><br>';
2868
2869
	if (!empty($context['member']['avatar']['allow_gravatar']))
2870
		echo '
@@ 2869-2872 (lines=4) @@
2866
									', $txt['avatar_will_upload'], '
2867
								</label><br>';
2868
2869
	if (!empty($context['member']['avatar']['allow_gravatar']))
2870
		echo '
2871
								<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"' : '') . '>
2872
								<label for="avatar_choice_gravatar"' . (isset($context['modify_error']['bad_avatar']) ? ' class="error"' : '') . '>' . $txt['use_gravatar'] . '</label>';
2873
2874
	echo '
2875
							</dt>