Feature #16251 » patch_3687_3.diff
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();
|
- « Previous
- 1
- 2
- 3
- Next »