Project

General

Profile

Feature #16251 » patch_3687_3.diff

Administrator Admin, 2008-09-14 21:54

View differences:

typo3/sysext/extra_page_cm_options/class.tx_extrapagecmoptions.php (working copy)
$subname = t3lib_div::_GP('subname');
// Detecting menu level
if (!$backRef->cmLevel) { // LEVEL: Primary menu.
// LEVEL: Primary menu.
if (!in_array('moreoptions', $backRef->disabledItems) && !$backRef->cmLevel) {
// Creating menu items here:
if ($backRef->editOK) {
$LL = $this->includeLL();
typo3/sysext/version/class.tx_version_cm1.php (working copy)
if (!$backRef->cmLevel && $uid>0 && $BE_USER->check('modules','web_txversionM1')) {
// Returns directly, because the clicked item was not from the pages table
if (!$TCA[$table] || !$TCA[$table]['ctrl']['versioningWS']) return $menuItems;
if (in_array('versioning', $backRef->disabledItems) || !$TCA[$table] || !$TCA[$table]['ctrl']['versioningWS']) {
return $menuItems;
}
// Adds the regular item
$LL = $this->includeLL();
(3-3/3)