Fixed bug: #11209: BACK_PATH is not handled right in class.tx_version_gui.php
authorTolleiv Nietsch <info@tolleiv.de>
Wed, 1 Dec 2010 13:42:03 +0000 (13:42 +0000)
committerTolleiv Nietsch <info@tolleiv.de>
Wed, 1 Dec 2010 13:42:03 +0000 (13:42 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/CoreProjects/workspaces/version/trunk@3203 743128fe-103e-dd11-99c4-001b210b3e58

typo3/sysext/version/ChangeLog
typo3/sysext/version/class.tx_version_gui.php

index 007867a..f140e2a 100644 (file)
@@ -1,4 +1,8 @@
-2010-01-01  Oliver Hader  <oliver@typo3.org>
+2010-12-01  Tolleiv Nietsch <typo3@tolleiv.de>
+
+       * Fixed bug: #11209: BACK_PATH is not handled right in class.tx_version_gui.php
+
+2010-12-01  Oliver Hader  <oliver@typo3.org>
 
        * Cleanup: Fixed ext_emconf.php
        * Raised version to 4.5.0beta2
index 8bc1a20..ab2e8f4 100644 (file)
@@ -4,7 +4,7 @@
 *
 *  (c) 1999-2010 Kasper Skårhøj (kasperYYYY@typo3.com)
 *  (c) 2010 Benjamin Mack (benni@typo3.org)
-* 
+*
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is
@@ -77,13 +77,13 @@ class tx_version_gui {
 
                                        // Add management link:
                                $management = '<input type="button" value="' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:ver.mgm', TRUE) . '" onclick="window.location.href=\'' .
-                                               htmlspecialchars($GLOBALS['TBE_TEMPLATE']->backPath . t3lib_extMgm::extRelPath('version') . 'cm1/index.php?table=pages&uid=' . $onlineId) . '\';" />';
+                                               htmlspecialchars($GLOBALS['BACK_PATH'] . t3lib_extMgm::extRelPath('version') . 'cm1/index.php?table=pages&uid=' . $onlineId) . '\';" />';
                                        // Create onchange handler:
                                $onChange = "window.location.href=this.options[this.selectedIndex].value;";
 
                                        // Controls:
                                if ($id == $onlineId) {
-                                       $controls .= '<img' . t3lib_iconWorks::skinImg($GLOBALS['TBE_TEMPLATE']->backPath, 'gfx/blinkarrow_left.gif','width="5" height="9"') .
+                                       $controls .= '<img' . t3lib_iconWorks::skinImg($GLOBALS['BACK_PATH'], 'gfx/blinkarrow_left.gif','width="5" height="9"') .
                                                ' class="absmiddle" alt="" /> <strong>' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:ver.online', TRUE) .
                                                '</strong>';
                                } elseif (!$noAction) {
@@ -221,7 +221,7 @@ class tx_version_gui {
                        }
                }
        }
-       
+
 }
 
 ?>
\ No newline at end of file