Index: typo3/mod/tools/em/class.em_index.php =================================================================== --- typo3/mod/tools/em/class.em_index.php (revision 3555) +++ typo3/mod/tools/em/class.em_index.php (working copy) @@ -2157,11 +2157,7 @@ $this->content.=$this->doc->spacer(10); $this->content.=$this->doc->section('Configuration:','(Notice: You may need to clear the cache after configuration of the extension. This is required if the extension adds TypoScript depending on these settings.)

',0,1); - if(t3lib_extMgm::isLoaded($extKey)) { - $this->tsStyleConfigForm($extKey,$list[$extKey]); - } else { - $this->content.= 'Note This extension provides additional configuration options which become available once you install it.'; - } + $this->tsStyleConfigForm($extKey, $list[$extKey]); } // Show details: @@ -2327,11 +2323,20 @@ $uCache = $this->checkClearCache($extInfo); if ($notSilent) $updates.= $uCache; $updates.= $this->checkUploadFolder($extKey,$extInfo); - - if ($updates) { - $updates = '
'.$updates.$addFields.' -
- '; + + $absPath = $this->getExtPath($extKey,$extInfo['type']); + if ($notSilent && @is_file($absPath.'ext_conf_template.txt')) { + $configForm = $this->tsStyleConfigForm($extKey,$extInfo,1,$script,$updates.$addFields.'
'); + } + + if ($updates || $configForm) { + if ($configForm) { + $updates = '
'.$configForm.'
'; + } else { + $updates = '
'.$updates.$addFields.' +
+ '; + } } return $updates; @@ -4717,16 +4722,16 @@ $relPath = $this->typeRelPaths[$extInfo['type']].$extKey.'/'; // Look for template file for form: - if (@is_file($absPath.'ext_conf_template.txt')) { + if (t3lib_extMgm::isLoaded($extKey) && @is_file($absPath.'ext_conf_template.txt')) { // Load tsStyleConfig class and parse configuration template: $tsStyleConfig = t3lib_div::makeInstance('t3lib_tsStyleConfig'); $tsStyleConfig->doNotSortCategoriesBeforeMakingForm = TRUE; $theConstants = $tsStyleConfig->ext_initTSstyleConfig( - t3lib_div::getUrl($absPath.'ext_conf_template.txt'), - $relPath, - $absPath, - $GLOBALS['BACK_PATH'] + t3lib_div::getUrl($absPath.'ext_conf_template.txt'), + $relPath, + $absPath, + $GLOBALS['BACK_PATH'] ); // Load the list of resources. @@ -4774,12 +4779,27 @@ '.$tsStyleConfig->ext_getForm($MOD_SETTINGS['constant_editor_cat'],$theConstants,$script,$addFields).'
'; - if ($output) { - return $form; - } else { - $this->content.=$this->doc->section('',$form); - } + } else { + $form = ' + + + + +
+
'. + $addFields.' +

Note This extension provides additional configuration options which become available once you install it.


+ +
+
'; } + + if ($output) { + return $form; + } else { + $this->content.=$this->doc->section('',$form); + } + }