Index: t3lib/class.t3lib_tsparser_ext.php
===================================================================
--- t3lib/class.t3lib_tsparser_ext.php (revision 2477)
+++ t3lib/class.t3lib_tsparser_ext.php (working copy)
@@ -928,7 +928,7 @@
} else {
$m=strcspn ($type," [");
$retArr["type"]=strtolower(substr($type,0,$m));
- if (t3lib_div::inList("int,options,file,boolean,offset",$retArr["type"])) {
+ if (t3lib_div::inList('int,options,file,boolean,offset,user', $retArr['type'])) {
$p=trim(substr($type,$m));
$reg = array();
ereg("\[(.*)\]",$p,$reg);
@@ -1323,6 +1323,11 @@
$p_field.='formWidth().' onChange="uFormUrl('.$aname.')" size="50" />';
}
break;
+ case 'user':
+ $userFunction = $typeDat['paramstr'];
+ $userFunctionParams = array('fieldName' => $fN, 'fieldValue' => $fV);
+ $p_field = t3lib_div::callUserFunction($userFunction, $userFunctionParams, $this, '');
+ break;
case 'small':
default:
$fwidth= $typeDat["type"]=="small" ? 10 : 46;
Index: typo3/mod/tools/em/class.em_index.php
===================================================================
--- typo3/mod/tools/em/class.em_index.php (revision 2477)
+++ typo3/mod/tools/em/class.em_index.php (working copy)
@@ -1923,9 +1923,9 @@
} else {
$script = '';
}
- $updates = $this->updatesForm($extKey,$list[$extKey],1,$script,'');
- if ($updates) {
- $updates = 'Before the extension can be installed the database needs to be updated with new tables or fields. Please select which operations to perform:'.$updates;
+ $dbUpdates = $this->updatesForm($extKey,$list[$extKey],1,$script,'');
+ if ($dbUpdates) {
+ $updates = 'Before the extension can be installed the database needs to be updated with new tables or fields. Please select which operations to perform:'.$dbUpdates;
if($this->CMD['standAlone']) $updates .= '';
$depsolver = t3lib_div::_POST('depsolver');
if(is_array($depsolver['ignore'])) {
@@ -2078,7 +2078,12 @@
if (@is_file($absPath.'ext_conf_template.txt')) {
$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);
- $this->tsStyleConfigForm($extKey,$list[$extKey]);
+
+ if(t3lib_extMgm::isLoaded($extKey)) {
+ $this->tsStyleConfigForm($extKey,$list[$extKey]);
+ } else {
+ $this->content.= 'This extension provides additional configuration options which become available once you install it.';
+ }
}
// Show details:
@@ -2246,20 +2251,12 @@
if ($notSilent) $updates.= $uCache;
$updates.= $this->checkUploadFolder($extKey,$extInfo);
- $absPath = $this->getExtPath($extKey,$extInfo['type']);
- if ($notSilent && @is_file($absPath.'ext_conf_template.txt')) {
- $cForm = $this->tsStyleConfigForm($extKey,$extInfo,1,$script,$updates.$addFields.'
');
+ if ($updates) {
+ $updates = '