Index: t3lib/class.t3lib_tceforms.php =================================================================== --- t3lib/class.t3lib_tceforms.php (revision 4675) +++ t3lib/class.t3lib_tceforms.php (working copy) @@ -2607,22 +2607,29 @@ // Kasper's comment (kept for history): Maybe there is a better way to do this than store the HTML for the new element in rawurlencoded format - maybe it even breaks with certain charsets? But for now this works... $this->additionalJS_post = $additionalJS_post_saved; $this->additionalJS_submit = $additionalJS_submit_saved; - $newElementsLinks[]= 'backPath,'gfx/new_el.gif','width="11" height="12"').' alt="New" title="New" align="absmiddle" />'.htmlspecialchars(t3lib_div::fixed_lgd_cs($this->sL($nCfg['tx_templavoila']['title']),30)).''; + $new = $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:cm.new', 1); + $newElementsLinks[]= ' + backPath,'gfx/new_el.gif','width="11" height="12"').' alt="' . $new . '" title="' . $new . '" align="absmiddle" />' . + htmlspecialchars(t3lib_div::fixed_lgd_cs($this->sL($nCfg['tx_templavoila']['title']),30)) . ''; } // Reverting internal variables we don't want to change: $this->requiredElements = $TEMP_requiredElements; // Adding the sections: + $toggleAll = $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.toggleall', 1); $output.= ' -
+
- backPath,'gfx/pil2right.gif','width="7" height="12"').' align="absmiddle" alt="Toggle All" title="Toggle All" />backPath,'gfx/pil2right.gif','width="7" height="12"').' align="absmiddle" alt="Toggle All" title="Toggle All" />Toggle All + backPath,'gfx/pil2right.gif','width="7" height="12"').' align="absmiddle" alt="' . + $toggleAll . '" title="' . $toggleAll . '" /> + backPath,'gfx/pil2right.gif','width="7" height="12"').' align="absmiddle" alt="' . + $toggleAll . '" title="' . $toggleAll . '" />' . $toggleAll . '
'.implode('',$tRows).'
'; - $output.= $mayRestructureFlexforms ? '
Add new: '.implode(' | ',$newElementsLinks).'
' : ''; + $output.= $mayRestructureFlexforms ? '
' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.toggleall', 1) . ': '.implode(' | ',$newElementsLinks).'
' : ''; } else { // It is a container Index: typo3/sysext/lang/locallang_core.xml =================================================================== --- typo3/sysext/lang/locallang_core.xml (revision 4675) +++ typo3/sysext/lang/locallang_core.xml (working copy) @@ -66,6 +66,8 @@ + +