Code Duplication    Length = 6-6 lines in 2 locations

Sources/Recent.php 2 locations

@@ 1397-1402 (lines=6) @@
1394
			'markread' => array('text' => !empty($context['no_board_limits']) ? 'mark_as_read' : 'mark_read_short', 'image' => 'markread.png', 'custom' => 'data-confirm="'.  $txt['are_sure_mark_read'] .'"', 'class' => 'you_sure', 'url' => $scripturl . '?action=markasread;sa=' . (!empty($context['no_board_limits']) ? 'all' : 'board' . $context['querystring_board_limits']) . ';' . $context['session_var'] . '=' . $context['session_id']),
1395
		);
1396
1397
		if ($context['showCheckboxes'])
1398
			$context['recent_buttons']['markselectread'] = array(
1399
				'text' => 'quick_mod_markread',
1400
				'image' => 'markselectedread.png',
1401
				'url' => 'javascript:document.quickModForm.submit();',
1402
			);
1403
1404
		if (!empty($context['topics']) && !$context['showing_all_topics'])
1405
			$context['recent_buttons']['readall'] = array('text' => 'unread_topics_all', 'image' => 'markreadall.png', 'url' => $scripturl . '?action=unread;all' . $context['querystring_board_limits'], 'active' => true);
@@ 1413-1418 (lines=6) @@
1410
			'markread' => array('text' => 'mark_as_read', 'image' => 'markread.png', 'custom' => 'data-confirm="'. $txt['are_sure_mark_read']  .'"', 'class' => 'you_sure', 'url' => $scripturl . '?action=markasread;sa=unreadreplies;topics=' . $context['topics_to_mark'] . ';' . $context['session_var'] . '=' . $context['session_id']),
1411
		);
1412
1413
		if ($context['showCheckboxes'])
1414
			$context['recent_buttons']['markselectread'] = array(
1415
				'text' => 'quick_mod_markread',
1416
				'image' => 'markselectedread.png',
1417
				'url' => 'javascript:document.quickModForm.submit();',
1418
			);
1419
	}
1420
1421
	// Allow mods to add additional buttons here