Bug #21099 ยป 12008.diff
t3lib/class.t3lib_extmgm.php (working copy) | ||
---|---|---|
}
|
||
/**
|
||
*
|
||
* @param string $addFields: List of fields to be added to the user settings
|
||
* @param string $insertionPosition: Insert fields before (default) or after one
|
||
* of this fields (commalist with "before:" or "after:" commands).
|
||
* Example: "before:password,after:email".
|
||
* @return void
|
||
*/
|
||
public function addFieldsToUserSettings($addFields, $insertionPosition = '') {
|
||
$GLOBALS['TYPO3_USER_SETTINGS']['showitem'] = self::executePositionedStringInsertion(
|
||
$GLOBALS['TYPO3_USER_SETTINGS']['showitem'],
|
||
$addFields,
|
||
$insertionPosition
|
||
);
|
||
}
|
||
/**
|
||
* Inserts as list of data into an existing list.
|
||
* The insertion position can be defined accordant before of after existing list items.
|
||
*
|