Project

General

Profile

Bug #20844 ยป 11662.diff

Administrator Admin, 2009-08-06 22:26

View differences:

typo3/alt_main.php (working copy)
$GLOBALS['TBE_TEMPLATE']->JScode= '
<script type="text/javascript" src="md5.js"></script>
<script type="text/javascript" src="../t3lib/jsfunc.evalfield.js"></script>
<script type="text/javascript">
var TYPO3 = {
configuration: {
condensedMode: ' . ($BE_USER->uc['condensedMode'] ? 1 : 0) . ',
siteUrl: "' . t3lib_div::getIndpEnv('TYPO3_SITE_URL') . '"
}
};
</script>
<script type="text/javascript" src="js/backend.js"></script>
';
$GLOBALS['TBE_TEMPLATE']->JScode.=$GLOBALS['TBE_TEMPLATE']->wrapScriptTags($this->mainJScode);
    (1-1/1)