GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.

Code Duplication    Length = 20-20 lines in 2 locations

classes/display/HTMLDisplayHandler.php 2 locations

@@ 394-413 (lines=20) @@
391
		$lang_type = Context::getLangType();
392
393
		// add common JS/CSS files
394
		if(__DEBUG__ || !__XE_VERSION_STABLE__)
395
		{
396
			$oContext->loadFile(array('./common/js/jquery-1.x.js', 'head', 'lt IE 9', -111000), true);
397
			$oContext->loadFile(array('./common/js/jquery.js', 'head', 'gte IE 9', -110000), true);
398
			$oContext->loadFile(array('./common/js/modernizr.js', 'head', '', -100000), true);
399
			$oContext->loadFile(array('./common/js/x.js', 'head', '', -100000), true);
400
			$oContext->loadFile(array('./common/js/common.js', 'head', '', -100000), true);
401
			$oContext->loadFile(array('./common/js/js_app.js', 'head', '', -100000), true);
402
			$oContext->loadFile(array('./common/js/xml_handler.js', 'head', '', -100000), true);
403
			$oContext->loadFile(array('./common/js/xml_js_filter.js', 'head', '', -100000), true);
404
			$oContext->loadFile(array('./common/css/xe.css', '', '', -1000000), true);
405
		}
406
		else
407
		{
408
			$oContext->loadFile(array('./common/js/jquery-1.x.min.js', 'head', 'lt IE 9', -111000), true);
409
			$oContext->loadFile(array('./common/js/jquery.min.js', 'head', 'gte IE 9', -110000), true);
410
			$oContext->loadFile(array('./common/js/x.min.js', 'head', '', -100000), true);
411
			$oContext->loadFile(array('./common/js/xe.min.js', 'head', '', -100000), true);
412
			$oContext->loadFile(array('./common/css/xe.min.css', '', '', -1000000), true);
413
		}
414
415
		// for admin page, add admin css
416
		if(Context::get('module') == 'admin' || strpos(Context::get('act'), 'Admin') > 0)
@@ 450-469 (lines=20) @@
447
		$lang_type = Context::getLangType();
448
449
		// add common JS/CSS files
450
		if(__DEBUG__ || !__XE_VERSION_STABLE__)
451
		{
452
			$oContext->loadFile(array('./common/js/jquery.js', 'head', '', -110000), true);
453
			$oContext->loadFile(array('./common/js/modernizr.js', 'head', '', -100000), true);
454
			$oContext->loadFile(array('./common/js/x.js', 'head', '', -100000), true);
455
			$oContext->loadFile(array('./common/js/common.js', 'head', '', -100000), true);
456
			$oContext->loadFile(array('./common/js/js_app.js', 'head', '', -100000), true);
457
			$oContext->loadFile(array('./common/js/xml_handler.js', 'head', '', -100000), true);
458
			$oContext->loadFile(array('./common/js/xml_js_filter.js', 'head', '', -100000), true);
459
			$oContext->loadFile(array('./common/css/xe.css', '', '', -1000000), true);
460
			$oContext->loadFile(array('./common/css/mobile.css', '', '', -1000000), true);
461
		}
462
		else
463
		{
464
			$oContext->loadFile(array('./common/js/jquery.min.js', 'head', '', -110000), true);
465
			$oContext->loadFile(array('./common/js/x.min.js', 'head', '', -100000), true);
466
			$oContext->loadFile(array('./common/js/xe.min.js', 'head', '', -100000), true);
467
			$oContext->loadFile(array('./common/css/xe.min.css', '', '', -1000000), true);
468
			$oContext->loadFile(array('./common/css/mobile.min.css', '', '', -1000000), true);
469
		}
470
	}
471
472
}