Project

General

Profile

Bug #18648 » 8169_admin_tab.diff

Administrator Admin, 2008-04-20 17:50

View differences:

typo3/sysext/setup/mod/index.php (working copy)
$code = array();
// Simulate selector box:
if ($this->simulateSelector) {
$code[1][1] = $this->setLabel('simulate');
$code[1][2] = $this->simulateSelector;
$code[1][3] = t3lib_BEfunc::cshItem('_MOD_user_setup', 'simuser', $BACK_PATH,'|');
// Admin functions
if($BE_USER->isAdmin()) {
// Simulate selector box:
if ($this->simulateSelector) {
$code[1][1] = $this->setLabel('simulate');
$code[1][2] = $this->simulateSelector;
$code[1][3] = t3lib_BEfunc::cshItem('_MOD_user_setup', 'simuser', $BACK_PATH,'|');
}
$menuItems[] = array(
'label' => $LANG->getLL('adminFunctions'),
'content' => $this->doc->spacer(20).$this->doc->table($code)
);
}
$menuItems[] = array(
'label' => $LANG->getLL('adminFunctions'),
'content' => $this->doc->spacer(20).$this->doc->table($code)
);
$this->content .= $this->doc->spacer(20);
$this->content .= $this->doc->getDynTabMenu($menuItems, 'user-setup', false, false, 100);
(2-2/2)