Bug #23733 ยป 15995_v1.patch
t3lib/class.t3lib_tceforms.php (revision ) | ||
---|---|---|
}
|
||
// Removing doktypes with no access:
|
||
if ($table.'.'.$field == 'pages.doktype') {
|
||
if (($table == 'pages' || $table == 'pages_language_overlay') && $field == 'doktype') {
|
||
if (!($GLOBALS['BE_USER']->isAdmin() || t3lib_div::inList($GLOBALS['BE_USER']->groupData['pagetypes_select'],$p[1]))) {
|
||
unset($selItems[$tk]);
|
||
}
|
t3lib/class.t3lib_tcemain.php (revision ) | ||
---|---|---|
$recFID = $table.':'.$id.':'.$field;
|
||
// Processing special case of field pages.doktype
|
||
if ($table=='pages' && $field=='doktype') {
|
||
if (($table == 'pages' || $table == 'pages_language_overlay') && $field == 'doktype') {
|
||
// If the user may not use this specific doktype, we issue a warning
|
||
if (! ($this->admin || t3lib_div::inList($this->BE_USER->groupData['pagetypes_select'],$value))) {
|
||
$propArr = $this->getRecordProperties($table,$id);
|
t3lib/class.t3lib_tceforms_inline.php (revision ) | ||
---|---|---|
}
|
||
// Removing doktypes with no access:
|
||
if ($table.'.'.$field == 'pages.doktype') {
|
||
if (($table == 'pages' || $table == 'pages_language_overlay') && $field == 'doktype') {
|
||
if (!($GLOBALS['BE_USER']->isAdmin() || t3lib_div::inList($GLOBALS['BE_USER']->groupData['pagetypes_select'],$p[1]))) {
|
||
unset($selItems[$tk]);
|
||
}
|