Bug #23304 » 15290.diff
t3lib/class.t3lib_befunc.php 2010-07-29 16:29:59.000000000 +0200 | ||
---|---|---|
*/
|
||
public static function viewOnClick($id, $backPath = '', $rootLine = '', $anchor = '', $altUrl = '', $addGetVars = '', $switchFocus = TRUE) {
|
||
$viewScriptPreviewEnabled = '/' . TYPO3_mainDir . 'mod/user/ws/wsol_preview.php?id=';
|
||
$viewScriptPreviewDisabled = '/index.php?id=';
|
||
$viewScriptPreviewDisabled = '/' . TYPO3_mainDir . 'mod/user/ws/wsol_preview.php?id=';
|
||
$viewScriptPreviewEnabled = '/index.php?id=';
|
||
if ($altUrl) {
|
||
$viewScriptPreviewEnabled = $viewScriptPreviewDisabled = $altUrl;
|
||
}
|