Index: typo3/alt_doc_nodoc.php =================================================================== --- typo3/alt_doc_nodoc.php (Revision 8042) +++ typo3/alt_doc_nodoc.php (Arbeitskopie) @@ -53,14 +53,9 @@ require('template.php'); $LANG->includeLLFile('EXT:lang/locallang_alt_doc.xml'); +require_once(t3lib_extMgm::extPath('opendocs') . 'class.tx_opendocs.php'); -if (t3lib_extMgm::isLoaded('taskcenter') && t3lib_extMgm::isLoaded('taskcenter_recent')) { - require_once(t3lib_extMgm::extPath('taskcenter').'task/class.mod_user_task.php'); - require_once(t3lib_extMgm::extPath('taskcenter_recent').'class.tx_taskcenterrecent.php'); -} - - /** * Script Class for the "No-doc" display; This shows most recently edited records. * @@ -156,16 +151,10 @@ $msg[]='

'.sprintf($LANG->getLL('noDocuments_msg2',1),implode(' ',$msg_2)).'


'; } - // If the task center is loaded and the module of recent documents is, then display the list of the most recently edited documents: - if ($BE_USER->check('modules','user_task') && t3lib_extMgm::isLoaded('taskcenter_recent')) { - $modObj = t3lib_div::makeInstance('tx_taskcenterrecent'); - $modObj->backPath = $BACK_PATH; - $modObj->BE_USER = $BE_USER; - $modObj->perms_clause = $BE_USER->getPagePermsClause(1); + // Display the list of the most recently edited documents: + $modObj = t3lib_div::makeInstance('tx_opendocs'); + $msg[] = '

' . $GLOBALS['LANG']->getLL('noDocuments_msg3', TRUE) . '


' . $modObj->renderMenu(); - $msg[]='

'.$LANG->getLL('noDocuments_msg3',1).'


'.$modObj->_renderRecent(); - } - // Adding the content: $this->content.=$this->doc->section($LANG->getLL('noDocuments'),implode(' ',$msg),0,1); }