/** * returns HTML table with infos for the l10nmgr config. * (needs valid configuration to be set) * * @return string HTML to display **/ function render() { global $LANG; $content = ''; if (!$this->_hasValidConfig()) { return $LANG->getLL('general.export.configuration.error.title'); } $configurationSettings = ' <table border="0" cellpadding="0" cellspacing="0" class="typo3-dblist"> <tr class="t3-row-header"> <td colspan="4"><strong>' . htmlspecialchars($this->l10ncfgObj->getData('title')) . ' [' . $this->l10ncfgObj->getData('uid') . ']</strong></td> </tr> <tr class="db_list_normal"> <td><strong>' . $LANG->getLL('general.list.headline.depth.title') . ':</strong></td> <td>' . htmlspecialchars($this->l10ncfgObj->getData('depth')) . ' </td> <td><strong>' . $LANG->getLL('general.list.headline.tables') . ':</strong></td> <td>' . htmlspecialchars($this->l10ncfgObj->getData('tablelist')) . ' </td> </tr> <tr class="db_list_normal"> <td><strong>' . $LANG->getLL('general.list.headline.exclude.title') . ':</strong></td> <td>' . htmlspecialchars($this->l10ncfgObj->getData('exclude')) . ' </td> <td><strong>' . $LANG->getLL('general.list.headline.include.title') . ':</strong></td> <td>' . htmlspecialchars($this->l10ncfgObj->getData('include')) . ' </td> </tr> </table>'; $content .= $this->doc->section($LANG->getLL('general.export.configuration.title'), $configurationSettings); return $content; }