Project

General

Profile

Bug #23020 ยป feedit_rte_bp.patch

Administrator Admin, 2010-07-14 16:13

View differences:

typo3/jsfunc.tbe_editor.js (working copy)
alert(document[TBE_EDITOR.formname][theField].value);
},
fieldChanged_fName: function(fName,el) {
var idx=2+TBE_EDITOR.prependFormFieldNamesCnt;
if (TYPO3.configuration && TYPO3.configuration.TYPO3_Mode=='BE') {
var offset=2;
}
else {
var offset=1;
}
var idx=offset+TBE_EDITOR.prependFormFieldNamesCnt;
var table = TBE_EDITOR.split(fName, "[", idx);
var uid = TBE_EDITOR.split(fName, "[", idx+1);
var field = TBE_EDITOR.split(fName, "[", idx+2);
typo3/backend.php (working copy)
'moduleMenuWidth' => $this->menuWidth - 1,
'topBarHeight' => (isset($GLOBALS['TBE_STYLES']['dims']['topFrameH']) ? intval($GLOBALS['TBE_STYLES']['dims']['topFrameH']) : 30),
'showRefreshLoginPopup' => isset($GLOBALS['TYPO3_CONF_VARS']['BE']['showRefreshLoginPopup']) ? intval($GLOBALS['TYPO3_CONF_VARS']['BE']['showRefreshLoginPopup']) : FALSE,
'TYPO3_Mode'=>TYPO3_MODE,
);
$t3LLLcore = array(
'waitTitle' => $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:mess.refresh_login_logging_in') ,
typo3/sysext/rtehtmlarea/htmlarea/htmlarea.js (working copy)
// custom tags (these have to be a regexp, or null if this functionality is not desired)
this.customTags = null;
// BaseURL included in the iframe document
this.baseURL = document.baseURI || document.URL;
if (this.baseURL && this.baseURL.match(/(.*)\/([^\/]+)/)) {
this.baseURL = RegExp.$1 + "/";
}
// URL-s
this.baseURL=HTMLArea.hostURL;
// URL-s
this.popupURL = "popups/";
// DocumentType
this.documentType = '<!DOCTYPE html\r'
typo3/sysext/rtehtmlarea/class.tx_rtehtmlarea_base.php (working copy)
* =======================================
*/
// Set backPath
$this->backPath = $this->TCEform->backPath;
// Get the path to this extension:
$this->extHttpPath = $this->backPath . t3lib_extMgm::extRelPath($this->ID);
$this->backPath = $this->TCEform->backPath;
// Get the site URL
$this->siteURL = t3lib_div::getIndpEnv('TYPO3_SITE_URL');
// Get the path to this extension:
$this->extHttpPath = $this->siteURL . t3lib_extMgm::siteRelPath($this->ID);
// Get the host URL
$this->hostURL = $this->siteURL . TYPO3_mainDir;
// Element ID + pid
......
if (defined('TYPO3_MODE') && $TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['ext/rtehtmlarea/class.tx_rtehtmlarea_base.php']) {
include_once($TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['ext/rtehtmlarea/class.tx_rtehtmlarea_base.php']);
}
?>
?>
    (1-1/1)