Project

General

Profile

Bug #20229 ยป 10764.diff

Administrator Admin, 2009-03-23 01:21

View differences:

t3lib/class.t3lib_tceforms.php (working copy)
if ($value['section']) {
// Load script.aculo.us if flexform sections can be moved by drag'n'drop:
$this->loadJavascriptLib('contrib/scriptaculous/scriptaculous.js');
$GLOBALS['SOBE']->doc->loadScriptaculous();
// Render header of section:
$output.= '<div class="bgColor2"><strong>'.$theTitle.'</strong></div>';
......
$this->loadJavascriptLib('md5.js');
}
$this->loadJavascriptLib('contrib/prototype/prototype.js');
$GLOBALS['SOBE']->doc->loadPrototype();
$this->loadJavascriptLib('../t3lib/jsfunc.evalfield.js');
// @TODO: Change to loadJavascriptLib(), but fix "TS = new typoScript()" issue first - see bug #9494
$jsFile[] = '<script type="text/javascript" src="'.$this->backPath.'jsfunc.tbe_editor.js"></script>';
// if IRRE fields were processed, add the JavaScript functions:
if ($this->inline->inlineCount) {
$this->loadJavascriptLib('contrib/scriptaculous/scriptaculous.js');
$GLOBALS['SOBE']->doc->loadScriptaculous();
$this->loadJavascriptLib('../t3lib/jsfunc.inline.js');
$out .= '
inline.setPrependFormFieldNames("'.$this->inline->prependNaming.'");
typo3/alt_db_navframe.php (working copy)
// Adding javascript code for AJAX (prototype), drag&drop and the pagetree as well as the click menu code
$this->doc->getDragDropCode('pages');
$this->doc->getContextMenuCode();
$this->doc->loadJavascriptLib('contrib/scriptaculous/scriptaculous.js?load=effects');
$this->doc->loadScriptaculous('effects');
$this->doc->JScode .= $this->doc->wrapScriptTags(
($this->currentSubScript?'top.currentSubScript=unescape("'.rawurlencode($this->currentSubScript).'");':'').'
typo3/alt_doc.php (working copy)
$this->doc->setModuleTemplate('templates/alt_doc.html');
$this->doc->form = '<form action="'.htmlspecialchars($this->R_URI).'" method="post" enctype="'.$GLOBALS['TYPO3_CONF_VARS']['SYS']['form_enctype'].'" name="editform" onsubmit="document.editform._scrollPosition.value=(document.documentElement.scrollTop || document.body.scrollTop); return TBE_EDITOR.checkSubmit(1);">';
$this->doc->loadJavascriptLib('contrib/prototype/prototype.js');
$this->doc->loadPrototype();
$this->doc->JScode = $this->doc->wrapScriptTags('
function jumpToUrl(URL,formEl) { //
if (!TBE_EDITOR.isFormChanged()) {
typo3/class.browse_links.php (working copy)
$this->doc = t3lib_div::makeInstance('template');
$this->doc->backPath = $GLOBALS['BACK_PATH'];
// Load the Prototype library and browse_links.js
$this->doc->loadJavascriptLib('contrib/prototype/prototype.js');
$this->doc->loadPrototype();
$this->doc->loadJavascriptLib('js/browse_links.js');
// init hook objects:
typo3/mod/web/perm/index.php (working copy)
$this->doc->setModuleTemplate('templates/perm.html');
$this->doc->form = '<form action="'.$GLOBALS['BACK_PATH'].'tce_db.php" method="post" name="editform">';
$this->doc->loadJavascriptLib('../t3lib/jsfunc.updateform.js');
$this->doc->loadJavascriptLib('contrib/prototype/prototype.js');
$this->doc->loadPrototype();
$this->doc->loadJavascriptLib(TYPO3_MOD_PATH . 'perm.js');
// Setting up the context sensitive menu:
typo3/sysext/recycler/mod1/index.php (working copy)
*/
protected function loadHeaderData() {
// Load CSS Stylesheets:
$this->loadStylesheet('contrib/extjs/resources/css/ext-all.css');
$this->loadStylesheet('contrib/extjs/resources/css/xtheme-gray.css');
$this->loadStylesheet($this->relativePath . 'res/css/customExtJs.css');
// Load Ext JS:
$this->doc->loadJavascriptLib('contrib/extjs/adapter/ext/ext-base.js');
$this->doc->loadJavascriptLib('contrib/extjs/ext-all.js');
$this->doc->loadExtJS();
// Integrate dynamic JavaScript such as configuration or lables:
$this->doc->JScode.= t3lib_div::wrapJS('
Ext.namespace("Recycler");
typo3/sysext/rtehtmlarea/mod3/class.tx_rtehtmlarea_browse_links.php (working copy)
$this->doc = t3lib_div::makeInstance('template');
$this->doc->backPath = $GLOBALS['BACK_PATH'];
// Loading the Prototype library and browse_links.js
$this->doc->loadJavascriptLib('contrib/prototype/prototype.js');
$this->doc->loadPrototype();
$this->doc->loadJavascriptLib('js/browse_links.js');
// Adding context menu code
$this->doc->getContextMenuCode();
typo3/sysext/rtehtmlarea/mod4/class.tx_rtehtmlarea_select_image.php (working copy)
$this->doc->backPath = $BACK_PATH;
// Load the Prototype library and browse_links.js
$this->doc->loadJavascriptLib('contrib/prototype/prototype.js');
$this->doc->loadPrototype();
$this->doc->loadJavascriptLib('js/browse_links.js');
$this->doc->getContextMenuCode();
typo3/sysext/t3editor/class.tx_t3editor.php (working copy)
$path_t3e = t3lib_extmgm::extRelPath('t3editor');
// include needed javascript-frameworks
$doc->loadJavascriptLib('contrib/prototype/prototype.js');
$doc->loadJavascriptLib('contrib/scriptaculous/scriptaculous.js');
$doc->loadPrototype();
$doc->loadScriptaculous();
// include editor-css
$code.= '<link href="' .
typo3/sysext/taskcenter/task/index.php (working copy)
$this->doc->divClass = '';
$this->doc->form = '<form action="index.php" method="POST" name="editform">';
$this->backPath = $this->doc->backPath = $BACK_PATH;
$this->doc->loadJavascriptLib('contrib/prototype/prototype.js');
$this->doc->loadPrototype();
$this->doc->JScode = ' <script language="javascript" type="text/javascript">
script_ended = 0;
function jumpToUrl(URL) {
    (1-1/1)