Commit 758102cb authored by Kasper Skårhøj's avatar Kasper Skårhøj
Browse files

* Added possibility to prefix references to wizard scripts with "EXT:" for reference to wizard scripts in extension.


git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@241 709f56b5-9817-0410-a4d7-c38de5d9e867
parent 5ffab73f
2004-04-26 Kasper Skårhøj,,, <kasper@typo3.com>
* Added possibility to prefix references to wizard scripts with "EXT:" for reference to wizard scripts in extension.
2004-04-26 Kasper Skårhøj,,, <kasper@typo3.com>
* Added prefix to relative file reference in @import style sheet
......
......@@ -2286,7 +2286,16 @@ class t3lib_TCEforms {
$params['field'] = $field;
$params['md5ID'] = $md5ID;
$params['returnUrl'] = $this->thisReturnUrl();
$url = $this->backPath.$wConf['script'].(strstr($wConf['script'],'?') ? '' : '?');
if (!strcmp(substr($wConf['script'],0,4), 'EXT:')) {
$wScript = t3lib_div::getFileAbsFileName($wConf['script']);
if ($wScript) {
$wScript = '../'.substr($wScript,strlen(PATH_site));
} else break;
} else {
$wScript = $wConf['script'];
}
$url = $this->backPath.$wScript.(strstr($wConf['script'],'?') ? '' : '?');
if ((string)$wConf['type']=='colorbox' && !$wConf['script']) {
break;
......
This diff is collapsed.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment