Code Duplication    Length = 6-6 lines in 2 locations

Sources/Calendar.php 2 locations

@@ 673-678 (lines=6) @@
670
		$context['linktree'][] = array('url' => $scripturl . '?action=clock;bcd', 'name' => 'BCD');
671
		$context['clockicons'] = $smcFunc['json_decode'](base64_decode('eyJoMSI6WzIsMV0sImgyIjpbOCw0LDIsMV0sIm0xIjpbNCwyLDFdLCJtMiI6WzgsNCwyLDFdLCJzMSI6WzQsMiwxXSwiczIiOls4LDQsMiwxXX0='), true);
672
	}
673
	elseif (!$omfg && !isset($_REQUEST['time']))
674
	{
675
		$context['sub_template'] = 'hms';
676
		$context['linktree'][] = array('url' => $scripturl . '?action=clock', 'name' => 'Binary');
677
		$context['clockicons'] = $smcFunc['json_decode'](base64_decode('eyJoIjpbMTYsOCw0LDIsMV0sIm0iOlszMiwxNiw4LDQsMiwxXSwicyI6WzMyLDE2LDgsNCwyLDFdfQ'), true);
678
	}
679
	elseif ($omfg)
680
	{
681
		$context['sub_template'] = 'omfg';
@@ 679-684 (lines=6) @@
676
		$context['linktree'][] = array('url' => $scripturl . '?action=clock', 'name' => 'Binary');
677
		$context['clockicons'] = $smcFunc['json_decode'](base64_decode('eyJoIjpbMTYsOCw0LDIsMV0sIm0iOlszMiwxNiw4LDQsMiwxXSwicyI6WzMyLDE2LDgsNCwyLDFdfQ'), true);
678
	}
679
	elseif ($omfg)
680
	{
681
		$context['sub_template'] = 'omfg';
682
		$context['linktree'][] = array('url' => $scripturl . '?action=clock;omfg', 'name' => 'OMFG');
683
		$context['clockicons'] = $smcFunc['json_decode'](base64_decode('eyJ5ZWFyIjpbNjQsMzIsMTYsOCw0LDIsMV0sIm1vbnRoIjpbOCw0LDIsMV0sImRheSI6WzE2LDgsNCwyLDFdLCJob3VyIjpbMTYsOCw0LDIsMV0sIm1pbiI6WzMyLDE2LDgsNCwyLDFdLCJzZWMiOlszMiwxNiw4LDQsMiwxXX0='), true);
684
	}
685
	elseif (isset($_REQUEST['time']))
686
	{
687
		$context['sub_template'] = 'thetime';