Bug #23406 » 15502_v9.diff
typo3/class.db_list.inc (working copy) | ||
---|---|---|
if (is_array($localizedRecord)) {
|
||
// Create parameters and finally run the classic page module for creating a new page translation
|
||
$url = substr($this->listURL(), strlen($this->backPath));
|
||
$params = '&edit['.$table.']['.$localizedRecord['uid'].']=edit';
|
||
$returnUrl = '&returnUrl='.rawurlencode($this->listURL());
|
||
$returnUrl = '&returnUrl='.rawurlencode($url);
|
||
$location = $GLOBALS['BACK_PATH'].'alt_doc.php?'.$params.$returnUrl;
|
||
t3lib_utility_Http::redirect($location);
|
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(
|
||
'&cmd['.$table.']['.$row['uid'].'][localize]='.$lUid_OnPage,
|
||
$this->listURL().'&justLocalized='.rawurlencode($table.':'.$row['uid'].':'.$lUid_OnPage)
|
||
$url = substr($this->listURL(), strlen($this->backPath));
|
||
$href = $GLOBALS['SOBE']->doc->issueCommand(
|
||
'&cmd[' . $table . '][' . $row['uid'] . '][localize]=' . $lUid_OnPage,
|
||
$url . '&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']);
|
- « Previous
- 1
- 2
- 3
- 4
- Next »