Bug #11832 » 11832.diff
index.php Sat Jan 1 00:26:41 2011 | ||
---|---|---|
}
|
||
|
||
// If access to Web>List for user, then link to that module.
|
||
$buttons['record_list'] = t3lib_extMgm::createListViewLink(
|
||
$this->pageinfo['uid'],
|
||
'&returnUrl=' . rawurlencode(t3lib_div::getIndpEnv('REQUEST_URI')),
|
||
$GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.showList', TRUE)
|
||
);
|
||
$buttons['record_list'] = t3lib_BEfunc::getListViewLink(
|
||
array(
|
||
'id' => $this->pageinfo['uid'],
|
||
'returnUrl' => t3lib_div::getIndpEnv('REQUEST_URI'),
|
||
),
|
||
$GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.showList')
|
||
);
|
||
}
|
||
return $buttons;
|
||
}
|