11662.diff

Administrator Admin, 2009-08-06 22:26

Download (783 Bytes)

View differences:

typo3/alt_main.php (working copy)
499 499
		$GLOBALS['TBE_TEMPLATE']->JScode= '
500 500
			<script type="text/javascript" src="md5.js"></script>
501 501
			<script type="text/javascript" src="../t3lib/jsfunc.evalfield.js"></script>
502
			<script type="text/javascript">
503
			var TYPO3 = {
504
				configuration: {
505
					condensedMode: ' . ($BE_USER->uc['condensedMode'] ? 1 : 0) . ',
506
					siteUrl: "' . t3lib_div::getIndpEnv('TYPO3_SITE_URL') . '"
507
				}
508
			};
509
			</script>
502 510
			<script type="text/javascript" src="js/backend.js"></script>
503 511
			';
504 512
		$GLOBALS['TBE_TEMPLATE']->JScode.=$GLOBALS['TBE_TEMPLATE']->wrapScriptTags($this->mainJScode);