Bug #23406 » 0015502_v4.patch
typo3/class.db_list_extra.inc (working copy) | ||
---|---|---|
$lNew = '';
|
||
foreach($this->pageOverlays as $lUid_OnPage => $lsysRec) {
|
||
if (!isset($translations['translations'][$lUid_OnPage]) && $GLOBALS['BE_USER']->checkLanguageAccess($lUid_OnPage)) {
|
||
$href = $this->backPath . $GLOBALS['TBE_TEMPLATE']->issueCommand(
|
||
$href = $GLOBALS['TBE_TEMPLATE']->issueCommand(
|
||
'&cmd['.$table.']['.$row['uid'].'][localize]='.$lUid_OnPage,
|
||
$this->listURL().'&justLocalized='.rawurlencode($table.':'.$row['uid'].':'.$lUid_OnPage)
|
||
$this->makeReturnLinkforTCE().'&justLocalized='.rawurlencode($table.':'.$row['uid'].':'.$lUid_OnPage)
|
||
);
|
||
$language = t3lib_BEfunc::getRecord('sys_language', $lUid_OnPage, 'title');
|
||
$lC = ($this->languageIconTitles[$lUid_OnPage]['flagIcon'] ? '<img src="'.$this->languageIconTitles[$lUid_OnPage]['flagIcon'].'" class="absmiddle" alt="" />' : $this->languageIconTitles[$lUid_OnPage]['title']);
|
||
... | ... | |
}
|
||
/**
|
||
* Create a link to self as returnUrl for tce_db (realtiv to tce_bd location instead of db_list.php
|
||
* code mostly the same as in db_list->listURL()
|
||
*
|
||
*/
|
||
|
||
function makeReturnLinkforTCE(){
|
||
$id = strcmp($altId, '') ? $altId : $this->id;
|
||
$additionalParams = '&table=' . rawurlencode($table == -1 ? $this->table : $table) .
|
||
($this->thumbs ? '&imagemode=' . $this->thumbs : '') .
|
||
($this->returnUrl ? '&returnUrl=' . rawurlencode($this->returnUrl) : '') .
|
||
($this->searchString ? '&search_field=' . rawurlencode($this->searchString) : '') .
|
||
($this->searchLevels ? '&search_levels=' . rawurlencode($this->searchLevels) : '') .
|
||
($this->showLimit ? '&showLimit=' . rawurlencode($this->showLimit) : '') .
|
||
($this->firstElementNumber? ' &pointer=' . rawurlencode($this->firstElementNumber) : '') .
|
||
((!$exclList || !t3lib_div::inList($exclList, 'sortField')) && $this->sortField ? '&sortField=' . rawurlencode($this->sortField) : '') .
|
||
((!$exclList || !t3lib_div::inList($exclList, 'sortRev')) && $this->sortRev ? '&sortRev=' . rawurlencode($this->sortRev) : '');
|
||
return t3lib_extMgm::extRelPath('list') . 'mod1/db_list.php?id=' . $id . $additionalParams;
|
||
}
|
||
|
||
/**
|
||
* Create the selector box for selecting fields to display from a table:
|
||
*
|
||
* @param string Table name
|