+2009-09-01 Rupert Germann <rupi@gmx.li>
+
+ * Fixed bug #9049: Page ID is always 0 in export module for impexp (thanks to Christian Kuhn)
+
2009-09-01 Oliver Hader <oliver@typo3.org>
* Follow-up to feature #9292: Fixed wrong disposal of global variables (thanks to Christian Kuhn)
2009-09-01 Oliver Hader <oliver@typo3.org>
* Follow-up to feature #9292: Fixed wrong disposal of global variables (thanks to Christian Kuhn)
2009-09-01 Sebastian Kurfuerst <sebastian@typo3.org>
* Raised extbase and fluid versions from 844 to 1181 (and pointing to a tag now instead of a revision)
2009-09-01 Sebastian Kurfuerst <sebastian@typo3.org>
* Raised extbase and fluid versions from 844 to 1181 (and pointing to a tag now instead of a revision)
- * Changed sysext dbal to svn:externals. Thanks to Andreas Wolf for converting the Repositories!
+ * Changed sysext dbal to svn:externals. Thanks to Andreas Wolf for converting the Repositories!
2009-09-01 Christian Kuhn <lolli@schwarzbu.ch>
2009-09-01 Christian Kuhn <lolli@schwarzbu.ch>
// Export
if (t3lib_extMgm::isLoaded('impexp')) {
// Export
if (t3lib_extMgm::isLoaded('impexp')) {
- $buttons['export'] = '<a href="' . htmlspecialchars($this->backPath. 'mod.php?M=xMOD_tximpexp&tx_impexp[action]=export&tx_impexp[list][]=' . rawurlencode($this->table . ':' . $this->id)) . '">' .
+ $buttons['export'] = '<a href="' . htmlspecialchars($this->backPath. 'mod.php?M=xMOD_tximpexp&tx_impexp[action]=export&id=' . $this->id . '&tx_impexp[list][]=' . rawurlencode($this->table . ':' . $this->id)) . '">' .
'<img' . t3lib_iconWorks::skinImg($this->backPath, t3lib_extMgm::extRelPath('impexp') . 'export.gif') . ' title="' . $LANG->sL('LLL:EXT:lang/locallang_core.php:rm.export', 1) . '" alt="" />' .
'</a>';
}
'<img' . t3lib_iconWorks::skinImg($this->backPath, t3lib_extMgm::extRelPath('impexp') . 'export.gif') . ' title="' . $LANG->sL('LLL:EXT:lang/locallang_core.php:rm.export', 1) . '" alt="" />' .
'</a>';
}
$LL = $this->includeLL();
$LL = $this->includeLL();
- $url = 'mod.php?M=xMOD_tximpexp&tx_impexp[action]=export';
+ $url = 'mod.php?M=xMOD_tximpexp&tx_impexp[action]=export&id=' . ($table == 'pages' ? $uid : $backRef->rec['pid']);
if ($table=='pages') {
$url.='&tx_impexp[pagetree][id]='.$uid;
$url.='&tx_impexp[pagetree][levels]=0';
if ($table=='pages') {
$url.='&tx_impexp[pagetree][id]='.$uid;
$url.='&tx_impexp[pagetree][levels]=0';