Code Duplication    Length = 5-8 lines in 2 locations

app/Stats.php 1 location

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

app/Module/ClippingsCartModule.php 1 location

@@ 702-709 (lines=8) @@
699
				'<input type="radio" name="privatize_export" value="user"> ' . I18N::translate('Member') . '<br>' .
700
				'<input type="radio" name="privatize_export" value="visitor"> ' . I18N::translate('Visitor') .
701
				'</td></tr>';
702
		} elseif (Auth::isMember($WT_TREE)) {
703
			$out .=
704
				'<tr><td class="descriptionbox width50 wrap">' . I18N::translate('Apply privacy settings') . '</td>' .
705
				'<td class="list_value">' .
706
				'<input type="radio" name="privatize_export" value="user" checked> ' . I18N::translate('Member') . '<br>' .
707
				'<input type="radio" name="privatize_export" value="visitor"> ' . I18N::translate('Visitor') .
708
				'</td></tr>';
709
		}
710
711
		$out .= '
712
		<tr><td class="descriptionbox width50 wrap">' . I18N::translate('Convert from UTF-8 to ISO-8859-1') . '</td>