Project

General

Profile

Bug #22466 ยป irre_feedit_rte.patch

Administrator Admin, 2010-04-22 14:01

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)
'denyFileTypes' => PHP_EXTENSIONS_DEFAULT,
'moduleMenuWidth' => $this->menuWidth - 1,
'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/class.tx_rtehtmlarea_base.php (working copy)
// Get the host URL
$this->hostURL = $this->siteURL . TYPO3_mainDir;
// Element ID + pid
$this->extHttpPath = $this->hostURL . $this->extHttpPath;
$this->elementId = $PA['itemFormElName']; // Form element name
$this->elementParts = explode('][',preg_replace('/\]$/','',preg_replace('/^(TSFE_EDIT\[data\]\[|data\[)/','',$this->elementId)));
// Find the page PIDs:
......
list($extKey,$local) = explode('/',substr($skinFilename,4),2);
$skinFilename='';
if (strcmp($extKey,'') && t3lib_extMgm::isLoaded($extKey) && strcmp($local,'')) {
$skinFilename = ($this->is_FE() ? t3lib_extMgm::siteRelPath($extKey) : t3lib_extMgm::extRelPath($extKey)) . $local;
$skinDir = ($this->is_FE() ? t3lib_extMgm::siteRelPath($extKey) : t3lib_extMgm::extRelPath($extKey)) . dirname($local);
//$skinFilename = ($this->is_FE() ? t3lib_extMgm::siteRelPath($extKey) : t3lib_extMgm::extRelPath($extKey)) . $local;
//$skinDir = ($this->is_FE() ? t3lib_extMgm::siteRelPath($extKey) : t3lib_extMgm::extRelPath($extKey)) . dirname($local);
$skinFilename = $this->hostURL . t3lib_extMgm::extRelPath($extKey) . $local;
$skinDir = $this->hostURL . t3lib_extMgm::extRelPath($extKey) . dirname($local);
}
} elseif (substr($skinFilename,0,1) != '/') {
$skinDir = dirname($skinFilename);
......
list($extKey,$local) = explode('/',substr($filename,4),2);
$newFilename = '';
if (strcmp($extKey,'') && t3lib_extMgm::isLoaded($extKey) && strcmp($local,'')) {
$newFilename = ($this->is_FE() ? t3lib_extMgm::siteRelPath($extKey) : t3lib_extMgm::extRelPath($extKey)) . $local;
//$newFilename = ($this->is_FE() ? t3lib_extMgm::siteRelPath($extKey) : t3lib_extMgm::extRelPath($extKey)) . $local;
$newFilename = $this->hostURL . t3lib_extMgm::extRelPath($extKey) . $local;
}
} elseif (substr($filename,0,1) != '/') {
$newFilename = ($this->is_FE() ? '' : '../') . $filename;
    (1-1/1)