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)
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>';
}
$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 {