2010-11-11 Stanislas Rolland <typo3@sjbr.ca>
* Fixed bug #16314: Incorrect use of is_dir in class.tx_rtehtmlarea_clearrtecache.php (Thanks to Juergen Deisenroth)
+ * Added feature #16345: User Tools>User settings: get csh from any specified csh file
2010-11-11 Christian Kuhn <lolli@schwarzbu.ch>
* @return string HTML output.
*/
protected function getCSH($str, $label) {
- if (!t3lib_div::inList('language,simuser', $str)) {
- $str = 'option_' . $str;
- }
- return t3lib_BEfunc::wrapInHelp('_MOD_user_setup', $str, $label);
+ $context = '_MOD_user_setup';
+ $field = $str;
+ $strParts = explode(':', $str);
+ if (count($strParts) > 1) {
+ // Setting comes from another extension
+ $context = $strParts[0];
+ $field = $strParts[1];
+ } else if (!t3lib_div::inList('language,simuser', $str)) {
+ $field = 'option_' . $str;
+ }
+ return t3lib_BEfunc::wrapInHelp($context, $field, $label);
}
-
/**
* Returns array with fields defined in $GLOBALS['TYPO3_USER_SETTINGS']['showitem']
*