Project

General

Profile

Bug #24786 ยป 17284.diff

Administrator Admin, 2011-01-25 03:50

View differences:

typo3/ajax.php (working copy)
// outputting the content (and setting the X-JSON-Header)
$ajaxObj->render();
t3lib_formprotection_Factory::get('t3lib_formprotection_BackendFormProtection')->persistTokens();
?>
typo3/classes/class.ajaxlogin.php (working copy)
if ($GLOBALS['BE_USER']->user['uid']) {
$formprotection = t3lib_formprotection_Factory::get('t3lib_formprotection_BackendFormProtection');
$token = $formprotection->generateToken('extDirect');
$formprotection->persistTokens();
$json = array(
'success' => TRUE,
typo3/mod.php (working copy)
die('Value "' . htmlspecialchars($temp_M) . '" for "M" was not found as a module');
}
t3lib_formprotection_Factory::get('t3lib_formprotection_BackendFormProtection')->persistTokens();
?>
typo3/template.php (working copy)
t3lib_BEfunc::getUrlToken('tceAction') .
'&prErr=1&uPT=1';
t3lib_formprotection_Factory::get('t3lib_formprotection_BackendFormProtection')->persistTokens();
return $commandUrl;
}
......
<!-- Wrapping DIV-section for whole page END -->
</div>':'') . $this->endOfPageJsBlock ;
t3lib_formprotection_Factory::get('t3lib_formprotection_BackendFormProtection')->persistTokens();
}
......
$af_content = '<select name="cacheCmd" onchange="'.htmlspecialchars($onChange).'">'.implode('',$opt).'</select>';
if (count($opt)>1) {
t3lib_formprotection_Factory::get('t3lib_formprotection_BackendFormProtection')->persistTokens();
return $af_content;
}
}
typo3/db_new.php (working copy)
$SOBE->init();
$SOBE->main();
$SOBE->printContent();
t3lib_formprotection_Factory::get('t3lib_formprotection_BackendFormProtection')->persistTokens();
?>
typo3/wizard_rte.php (working copy)
$SOBE->init();
$SOBE->main();
$SOBE->printContent();
t3lib_formprotection_Factory::get('t3lib_formprotection_BackendFormProtection')->persistTokens();
?>
typo3/sysext/lowlevel/dbint/index.php (working copy)
$SOBE->init();
$SOBE->main();
$SOBE->printContent();
t3lib_formprotection_Factory::get('t3lib_formprotection_BackendFormProtection')->persistTokens();
?>
typo3/sysext/cms/layout/db_layout.php (working copy)
$SOBE->clearCache();
$SOBE->main();
$SOBE->printContent();
t3lib_formprotection_Factory::get('t3lib_formprotection_BackendFormProtection')->persistTokens();
?>
typo3/sysext/info/mod1/index.php (working copy)
$SOBE->main();
$SOBE->printContent();
t3lib_formprotection_Factory::get('t3lib_formprotection_BackendFormProtection')->persistTokens();
?>
typo3/sysext/taskcenter/task/index.php (working copy)
$SOBE->main();
$SOBE->printContent();
t3lib_formprotection_Factory::get('t3lib_formprotection_BackendFormProtection')->persistTokens();
?>
typo3/sysext/perm/mod1/index.php (working copy)
$SOBE->init();
$SOBE->main();
$SOBE->printContent();
t3lib_formprotection_Factory::get('t3lib_formprotection_BackendFormProtection')->persistTokens();
?>
typo3/sysext/version/cm1/index.php (working copy)
$SOBE->main();
$SOBE->printContent();
t3lib_formprotection_Factory::get('t3lib_formprotection_BackendFormProtection')->persistTokens();
?>
typo3/sysext/version/ws/index.php (working copy)
// $BE_USER->isInWebMount() to check mount points.
$mountpointList = $GLOBALS['BE_USER']->groupData['webmounts'];
// If there are DB mountpoints in the workspace record,
// then only show the ones that are allowed there (and that are in the users' webmounts)
// then only show the ones that are allowed there (and that are in the users' webmounts)
if (trim($wksp['db_mountpoints'])) {
$userMountpoints = explode(',', $mountpointList);
// now filter the users' to only keep the mountpoints
// now filter the users' to only keep the mountpoints
// that are also in the workspaces' db_mountpoints
$workspaceMountpoints = explode(',', $wksp['db_mountpoints']);
$filteredMountpoints = array_intersect($userMountpoints, $workspaceMountpoints);
......
// $BE_USER->isInWebMount() to check mount points.
$mountpointList = implode(',', $GLOBALS['BE_USER']->groupData['filemounts']);
// If there are file mountpoints in the workspace record,
// then only show the ones that are allowed there (and that are in the users' file mounts)
// then only show the ones that are allowed there (and that are in the users' file mounts)
if (trim($wksp['file_mountpoints'])) {
$userMountpoints = explode(',', $mountpointList);
// now filter the users' to only keep the mountpoints
// now filter the users' to only keep the mountpoints
// that are also in the workspaces' file_mountpoints
$workspaceMountpoints = explode(',', $wksp['file_mountpoints']);
$filteredMountpoints = array_intersect($userMountpoints, $workspaceMountpoints);
......
$SOBE->main();
$SOBE->printContent();
t3lib_formprotection_Factory::get('t3lib_formprotection_BackendFormProtection')->persistTokens();
?>
typo3/sysext/recordlist/mod1/index.php (working copy)
$SOBE->clearCache();
$SOBE->main();
$SOBE->printContent();
t3lib_formprotection_Factory::get('t3lib_formprotection_BackendFormProtection')->persistTokens();
?>
typo3/move_el.php (working copy)
$SOBE->init();
$SOBE->main();
$SOBE->printContent();
t3lib_formprotection_Factory::get('t3lib_formprotection_BackendFormProtection')->persistTokens();
?>
typo3/alt_menu.php (working copy)
$SOBE->init();
$SOBE->main();
$SOBE->printContent();
t3lib_formprotection_Factory::get('t3lib_formprotection_BackendFormProtection')->persistTokens();
?>
typo3/alt_doc.php (working copy)
$SOBE->init();
$SOBE->main();
$SOBE->printContent();
$formprotection->persistTokens();
?>
typo3/index.php (working copy)
} else {
$formprotection = t3lib_formprotection_Factory::get('t3lib_formprotection_BackendFormProtection');
$token = $formprotection->generateToken('extDirect');
$formprotection->persistTokens();
$TBE_TEMPLATE->JScode.=$TBE_TEMPLATE->wrapScriptTags('
if (parent.opener && (parent.opener.busy || parent.opener.TYPO3.loginRefresh)) {
if (parent.opener.TYPO3.loginRefresh) {
typo3/alt_clickmenu.php (working copy)
$SOBE->main();
$SOBE->printContent();
t3lib_formprotection_Factory::get('t3lib_formprotection_BackendFormProtection')->persistTokens();
?>
t3lib/class.t3lib_pagerenderer.php (working copy)
if (TYPO3_MODE === 'BE') {
$formprotection = t3lib_formprotection_Factory::get('t3lib_formprotection_BackendFormProtection');
$token = $formprotection->generateToken('extDirect');
$formprotection->persistTokens();
}
// Note: we need to iterate thru the object, because the addProvider method
    (1-1/1)