Bug #20669 » 11409.diff
typo3/backend.php (working copy) | ||
---|---|---|
// add default BE javascript
|
||
$this->js = '';
|
||
$this->jsFiles = array(
|
||
'contrib/prototype/prototype.js',
|
||
'contrib/scriptaculous/scriptaculous.js?load=builder,effects,controls,dragdrop',
|
||
'contrib/extjs/adapter/ext/ext-base.js',
|
||
'contrib/extjs/ext-all.js',
|
||
'contrib/swfupload/swfupload.js',
|
||
'contrib/swfupload/plugins/swfupload.swfobject.js',
|
||
'contrib/swfupload/plugins/swfupload.cookies.js',
|
||
... | ... | |
'backend-scaffolding' => 'css/backend-scaffolding.css',
|
||
'backend-style' => 'css/backend-style.css',
|
||
'modulemenu' => 'css/modulemenu.css',
|
||
'extJS' => 'contrib/extjs/resources/css/ext-all.css',
|
||
'extJS-gray' => 'contrib/extjs/resources/css/xtheme-gray.css'
|
||
);
|
||
$this->toolbarItems = array();
|
||
... | ... | |
* now put the complete backend document together
|
||
******************************************************/
|
||
$GLOBALS['TBE_TEMPLATE']->loadScriptaculous('builder,effects,controls,dragdrop');
|
||
$GLOBALS['TBE_TEMPLATE']->loadExtJS();
|
||
|
||
// remove duplicate entries
|
||
$this->jsFiles = array_unique($this->jsFiles);
|
||