Fixed bug #8571: Moving backend search to the right
authorIngo Renner <ingo.renner@typo3.org>
Wed, 11 Jun 2008 07:35:34 +0000 (07:35 +0000)
committerIngo Renner <ingo.renner@typo3.org>
Wed, 11 Jun 2008 07:35:34 +0000 (07:35 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@3803 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/backend.php

index 409e6dc..1b6a64a 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2008-06-11  Ingo Renner  <ingo@typo3.org>
+
+       * Fixed bug #8571: Moving backend search to the right
+
 2008-06-11  Michael Stucki  <michael@typo3.org>
 
        * (security) Fixed a low-severity Cross Site Scripting issue in fe_adminLib.inc. For details, see http://typo3.org/teams/security/security-bulletins/typo3-20080611-1/ - thanks to Christian Seifert, Jeroen van Iddekinge and Arnd Messer for discovering and reporting this issue.
index bba93d6..d2f2c3f 100644 (file)
@@ -255,6 +255,12 @@ class TYPO3backend {
         * @return      string  top toolbar elements as HTML
         */
        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>';