Project

General

Profile

Bug #22157 » 0013610.patch

Administrator Admin, 2010-02-22 15:57

View differences:

t3lib/class.t3lib_befunc.php (working copy)
$viewScriptPreviewEnabled = $viewScriptPreviewDisabled = $altUrl;
}
if ($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_befunc.php']['viewOnClick']) {
$hookObj = t3lib_div::getUserObj($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_befunc.php']['viewOnClick']);
if (method_exists($hookObj, 'viewOnClick_getUrl')) {
list($viewScriptPreviewEnabled, $viewScriptPreviewDisabled) = $hookObj->viewOnClick_getUrl($id, $backPath, $rootLine, $anchor, $altUrl, $addGetVars, $viewScriptPreviewEnabled, $viewScriptPreviewDisabled);
}
}
// Look if a fixed preview language should be added:
$viewLanguageOrder = $GLOBALS['BE_USER']->getTSConfigVal('options.view.languageOrder');
if (strlen($viewLanguageOrder)) {
(1-1/3)