Index: typo3/class.db_list.inc =================================================================== --- typo3/class.db_list.inc (revision 6395) +++ typo3/class.db_list.inc (working copy) @@ -626,7 +626,7 @@ // "Edit" link: ( Only if permissions to edit the page-record of the content of the parent page ($this->id) if ($permsEdit) { - $params='&edit['.$table.']['.$row['uid'].']=edit'; + $params='&edit['.$table.']['.$row['uid'].']=edit'; $code = ''. $code. ''; @@ -696,15 +696,15 @@ function listURL($altId='',$table=-1,$exclList='') { return $GLOBALS['BACK_PATH'] . $this->script. '?id='.(strcmp($altId,'')?$altId:$this->id). - '&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):'') + '&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):'') ; } @@ -815,8 +815,8 @@ if (is_array($localizedRecord)) { // Create parameters and finally run the classic page module for creating a new page translation - $params = '&edit['.$table.']['.$localizedRecord['uid'].']=edit'; - $returnUrl = '&returnUrl='.rawurlencode($this->listURL()); + $params = '&edit['.$table.']['.$localizedRecord['uid'].']=edit'; + $returnUrl = '&returnUrl='.rawurlencode($this->listURL()); $location = $GLOBALS['BACK_PATH'].'alt_doc.php?'.$params.$returnUrl; t3lib_div::redirect($location); Index: typo3/class.db_list_extra.inc =================================================================== --- typo3/class.db_list_extra.inc (revision 6395) +++ typo3/class.db_list_extra.inc (working copy) @@ -190,26 +190,26 @@ if ($localCalcPerms&2 && !empty($this->id)) { // Edit - $params = '&edit[pages][' . $this->pageRow['uid'] . ']=edit'; + $params = '&edit[pages][' . $this->pageRow['uid'] . ']=edit'; $buttons['edit'] = '' . 'backPath, 'gfx/edit2.gif') . ' title="' . $LANG->getLL('editPage', 1) . '" alt="" />' . ''; // Unhide if ($this->pageRow['hidden']) { - $params = '&data[pages][' . $this->pageRow['uid'] . '][hidden]=0'; + $params = '&data[pages][' . $this->pageRow['uid'] . '][hidden]=0'; $buttons['hide_unhide'] = '' . 'backPath, 'gfx/button_unhide.gif') . ' title="' . $LANG->getLL('unHidePage', 1) . '" alt="" />' . ''; // Hide } else { - $params = '&data[pages][' . $this->pageRow['uid'] . '][hidden]=1'; + $params = '&data[pages][' . $this->pageRow['uid'] . '][hidden]=1'; $buttons['hide_unhide'] = ''. 'backPath, 'gfx/button_hide.gif') . ' title="' . $LANG->getLL('hidePage', 1) . '" alt="" />' . ''; } // Move - $buttons['move'] = '' . + $buttons['move'] = '' . 'backPath, 'gfx/move_' . ($this->table == 'tt_content' ? 'record' : 'page') . '.gif') . ' title="' . $LANG->getLL('move_page', 1) . '" alt="" />' . ''; @@ -232,21 +232,21 @@ } // Cache - $buttons['cache'] = '' . + $buttons['cache'] = '' . 'backPath, 'gfx/clear_cache.gif') . ' title="' . $LANG->sL('LLL:EXT:lang/locallang_core.php:labels.clear_cache', 1) . '" alt="" />' . ''; if ($this->table) { // CSV - $buttons['csv'] = '' . + $buttons['csv'] = '' . 'backPath, 'gfx/csv.gif') . ' title="' . $LANG->sL('LLL:EXT:lang/locallang_core.php:labels.csv', 1) . '" alt="" />' . ''; // Export if (t3lib_extMgm::isLoaded('impexp')) { $url = $this->backPath . t3lib_extMgm::extRelPath('impexp') . 'app/index.php?tx_impexp[action]=export'; - $buttons['export'] = '' . 'backPath, t3lib_extMgm::extRelPath('impexp') . 'export.gif') . ' title="' . $LANG->sL('LLL:EXT:lang/locallang_core.php:rm.export', 1) . '" alt="" />' . + $buttons['export'] = '' . 'backPath, t3lib_extMgm::extRelPath('impexp') . 'export.gif') . ' title="' . $LANG->sL('LLL:EXT:lang/locallang_core.php:rm.export', 1) . '" alt="" />' . ''; } @@ -481,7 +481,7 @@ // Render collapse button if in multi table mode $collapseIcon = ''; if (!$this->table) { - $collapseIcon = 'backPath, 'gfx/arrow' . ($tableCollapsed ? 'right' : 'down') . '.png') . ' class="collapseIcon" alt="" title="' . ($tableCollapsed ? $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.expandTable',1) : $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.collapseTable',1)) . '" />'; + $collapseIcon = 'backPath, 'gfx/arrow' . ($tableCollapsed ? 'right' : 'down') . '.png') . ' class="collapseIcon" alt="" title="' . ($tableCollapsed ? $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.expandTable',1) : $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.collapseTable',1)) . '" />'; } $out .= $this->addelement(1, $collapseIcon, $theData, ' class="c-headLineTable"', ''); } @@ -581,7 +581,7 @@ $countOnFirstPage = $this->totalItems > $this->itemsLimitSingleTable ? $this->itemsLimitSingleTable : $this->totalItems; $hasMore = ($this->totalItems > $this->itemsLimitSingleTable); $iOut .= '