Fixed bug #15228: Links in TS object browser tree forget the breakkpoint
authorSteffen Kamper <info@sk-typo3.de>
Tue, 27 Jul 2010 21:33:54 +0000 (21:33 +0000)
committerSteffen Kamper <info@sk-typo3.de>
Tue, 27 Jul 2010 21:33:54 +0000 (21:33 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@8299 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
t3lib/class.t3lib_tsparser_ext.php

index 7a85b2d..6e2765b 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,6 @@
 2010-07-27  Steffen Kamper  <steffen@typo3.org>
 
+       * Fixed bug #15228: Links in TS object browser tree forget the breakkpoint
        * Fixed bug #14946: Switching workplaces causes nesting of BE (Thanks to Stefan Galinski)
        * Fixed bug #13649: Deprecated function sql_regcase in cms/tslib/class.tslib_pagegen.php (Thanks to Martin Müller)
 
index c917366..a88fa81 100644 (file)
@@ -396,7 +396,10 @@ class t3lib_tsparser_ext extends t3lib_TStemplate  {
                                if ($PM=='join')        {
                                        $HTML.=$theIcon;
                                } else {
-                                       $aHref='index.php?id='.$GLOBALS['SOBE']->id.'&tsbr['.$depth.']='.($deeper?0:1).'#'.$goto;
+                                       $aHref='index.php?id=' . $GLOBALS['SOBE']->id .
+                                               '&tsbr[' . $depth.']=' . ($deeper ? 0 : 1) .
+                                               (t3lib_div::_GP("breakPointLN") ? '&breakPointLN=' . t3lib_div::_GP("breakPointLN") : '') .
+                                               '#' .$goto;
                                        $HTML.='<a name="'.$goto.'" href="'.htmlspecialchars($aHref).'">'.$theIcon.'</a>';
                                }
 
@@ -405,7 +408,9 @@ class t3lib_tsparser_ext extends t3lib_TStemplate   {
                                        $label='<font color="#666666">'.$label.'</font>';
                                } else {
                                        if ($this->linkObjects) {
-                                               $aHref = 'index.php?id='.$GLOBALS['SOBE']->id.'&sObj='.$depth;
+                                               $aHref = 'index.php?id='.$GLOBALS['SOBE']->id .
+                                                       '&sObj=' . $depth .
+                                                       (t3lib_div::_GP("breakPointLN") ? '&breakPointLN=' . t3lib_div::_GP("breakPointLN") : '');
                                                if ($this->bType!='const')      {
                                                        $ln = is_array($arr[$key.'.ln..']) ? 'Defined in: '.$this->lineNumberToScript($arr[$key.'.ln..']) : 'N/A';
                                                } else {