t3lib_tceforms: now using "labels.new" from locallang instead of hard-coded "NEW"
authorDmitry Dulepov <dmitry.dulepov@gmail.com>
Mon, 17 Jul 2006 16:48:38 +0000 (16:48 +0000)
committerDmitry Dulepov <dmitry.dulepov@gmail.com>
Mon, 17 Jul 2006 16:48:38 +0000 (16:48 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@1649 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
t3lib/class.t3lib_tceforms.php

index 3c53f72..b9ba6db 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2006-07-17 Dmitry Dulepov <typo3@accio.lv>
+
+       * t3lib_tceforms: now using "labels.new" from locallang instead of hard-coded "NEW"
+
 2006-07-17  Michael Stucki  <michael@typo3.org>
 
        * Fix bug #3308: Check for deleted records when displaying language overlays
index abf3c28..a78287b 100755 (executable)
@@ -2240,7 +2240,7 @@ class t3lib_TCEforms      {
                                                                $opt=array();
                                                                $opt[]='<option value=""></option>';
                                                                foreach($value['el'] as $kk => $vv)     {
-                                                                       $opt[]='<option value="'.$kk.'">'.htmlspecialchars('NEW "'.$this->sL($value['el'][$kk]['tx_templavoila']['title']).'"').'</option>';
+                                                                       $opt[]='<option value="'.$kk.'">'.htmlspecialchars($this->getLL('l_new') . ' "'.$this->sL($value['el'][$kk]['tx_templavoila']['title']).'"').'</option>';
                                                                }
                                                                $rowCells['formEl']='<select name="flexFormsCmdData'.$formPrefix.'['.$key.'][value]">'.implode('',$opt).'</select>';
                                                        }