Bug #22524 » 14217_take2.patch
typo3/class.browse_links.php (Arbeitskopie) | ||
---|---|---|
class localPageTree extends t3lib_browseTree {
|
||
/**
|
||
* whether the page ID should be shown next to the title, activate through userTSconfig (options.pageTree.showPageIdWithTitle)
|
||
* @boolean
|
||
*/
|
||
public $ext_showPageId = FALSE;
|
||
/**
|
||
* Constructor. Just calling init()
|
||
*
|
||
* @return void
|
||
... | ... | |
* @param array The row for the current element
|
||
* @return string The processed icon input value.
|
||
*/
|
||
function wrapIcon($icon,$row) {
|
||
return $this->addTagAttributes($icon,' title="id='.$row['uid'].'"');
|
||
function wrapIcon($icon, $row) {
|
||
$content = $this->addTagAttributes($icon, ' title="id=' . $row['uid'] . '"');
|
||
if ($this->ext_showPageId) {
|
||
$content .= '[' . $row['uid'] . '] ';
|
||
}
|
||
return $content;
|
||
}
|
||
}
|
||
... | ... | |
case 'page':
|
||
$pagetree = t3lib_div::makeInstance('rtePageTree');
|
||
$pagetree->thisScript = $this->thisScript;
|
||
$pagetree->ext_showPageId = $GLOBALS['BE_USER']->getTSConfigVal('options.pageTree.showPageIdWithTitle');
|
||
$tree=$pagetree->getBrowsableTree();
|
||
$cElements = $this->expandPage();
|
||
... | ... | |
$pagetree->thisScript=$this->thisScript;
|
||
$pagetree->ext_pArrPages = !strcmp($pArr[3],'pages')?1:0;
|
||
$pagetree->ext_showNavTitle = $GLOBALS['BE_USER']->getTSConfigVal('options.pageTree.showNavTitle');
|
||
$pagetree->ext_showPageId = $GLOBALS['BE_USER']->getTSConfigVal('options.pageTree.showPageIdWithTitle');
|
||
$pagetree->addField('nav_title');
|
||
$tree=$pagetree->getBrowsableTree();
|
||
typo3/sysext/rtehtmlarea/mod3/class.tx_rtehtmlarea_browse_links.php (Arbeitskopie) | ||
---|---|---|
$pagetree = t3lib_div::makeInstance('tx_rtehtmlarea_pageTree');
|
||
$pagetree->ext_showNavTitle = $GLOBALS['BE_USER']->getTSConfigVal('options.pageTree.showNavTitle');
|
||
$pagetree->ext_showPageId = $GLOBALS['BE_USER']->getTSConfigVal('options.pageTree.showPageIdWithTitle');
|
||
$pagetree->addField('nav_title');
|
||
$tree=$pagetree->getBrowsableTree();
|
||
$cElements = $this->expandPage();
|
- « Previous
- 1
- 2
- Next »