Code Duplication    Length = 5-8 lines in 2 locations

app/Stats.php 1 location

@@ 3926-3930 (lines=5) @@
3923
			$countsa = substr($countsa, 0, -1);
3924
			$chmf    = substr($chmf, 0, -1);
3925
			$chd     = 't2:' . $countsm . '|' . $countsf . '|' . $countsa;
3926
			if ($max <= 50) {
3927
				$chxl .= '1:||' . I18N::translate('century') . '|2:|0|10|20|30|40|50|3:||' . I18N::translate('Age') . '|';
3928
			} else {
3929
				$chxl .= '1:||' . I18N::translate('century') . '|2:|0|10|20|30|40|50|60|70|80|90|100|3:||' . I18N::translate('Age') . '|';
3930
			}
3931
			if (count($rows) > 4 || mb_strlen(I18N::translate('Average age in century of marriage')) < 30) {
3932
				$chtt = I18N::translate('Average age in century of marriage');
3933
			} else {

app/Module/ClippingsCartModule.php 1 location

@@ 739-746 (lines=8) @@
736
				'<input type="radio" name="privatize_export" value="user"> ' . I18N::translate('Member') . '<br>' .
737
				'<input type="radio" name="privatize_export" value="visitor"> ' . I18N::translate('Visitor') .
738
				'</td></tr>';
739
		} elseif (Auth::isMember($WT_TREE)) {
740
			$out .=
741
				'<tr><td class="descriptionbox width50 wrap">' . I18N::translate('Apply privacy settings') . '</td>' .
742
				'<td class="list_value">' .
743
				'<input type="radio" name="privatize_export" value="user" checked> ' . I18N::translate('Member') . '<br>' .
744
				'<input type="radio" name="privatize_export" value="visitor"> ' . I18N::translate('Visitor') .
745
				'</td></tr>';
746
		}
747
748
		$out .= '
749
		<tr><td class="descriptionbox width50 wrap">' . I18N::translate('Convert from UTF-8 to ISO-8859-1') . '</td>