Project

General

Profile

Bug #20283 » 10850_v1.diff

Administrator Admin, 2009-04-06 11:29

View differences:

typo3/backend.php (Arbeitskopie)
require('classes/class.workspaceselector.php');
require('classes/class.clearcachemenu.php');
require('classes/class.shortcutmenu.php');
require('classes/class.backendsearchmenu.php');
require_once(PATH_t3lib.'class.t3lib_loadmodules.php');
require_once(PATH_t3lib.'class.t3lib_basicfilefunc.php');
......
'workspaceSelector' => 'WorkspaceSelector',
'shortcuts' => 'ShortcutMenu',
'clearCacheActions' => 'ClearCacheMenu',
'backendSearch' => 'BackendSearchMenu'
);
foreach($coreToolbarItems as $toolbarItemName => $toolbarItemClassName) {
......
*/
protected function renderToolbar() {
// move search to last position
$search = $this->toolbarItems['backendSearch'];
unset($this->toolbarItems['backendSearch']);
$this->toolbarItems['backendSearch'] = $search;
$toolbar = '<ul id="typo3-toolbar">';
$toolbar.= '<li>'.$this->getLoggedInUserLabel().'</li>
<li><div id="logout-button" class="toolbar-item no-separator">'.$this->moduleMenu->renderLogoutButton().'</div></li>';
(1-1/2)