Fixed bug #12987: List module: delete confirmation has extra ")" (Thanks to Steffen...
authorBenni Mack <benni.mack@typo3.org>
Wed, 23 Dec 2009 17:12:44 +0000 (17:12 +0000)
committerBenni Mack <benni.mack@typo3.org>
Wed, 23 Dec 2009 17:12:44 +0000 (17:12 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@6692 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/class.db_list_extra.inc

index 3d6df55..d9e066b 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,6 @@
 2009-12-23  Benjamin Mack  <benni@typo3.org>
 
+       * Fixed bug #12987: List module: delete confirmation has extra ")" (Thanks to Steffen Gebert)
        * Fixed bug #13059: overriden user settings are not visible to the user (Thanks to Georg Ringer)
 
 2009-12-21  Benjamin Mack  <benni@typo3.org>
index 000ef3c..41cc39f 100644 (file)
@@ -1250,7 +1250,7 @@ class localRecordList extends recordList {
                                        $params = '&cmd['.$table.']['.$row['uid'].'][delete]=1';
 
                                        $refCountMsg = t3lib_BEfunc::referenceCount($table, $row['uid'], ' ' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:labels.referencesToRecord'), count($this->references)) .
-                                               t3lib_BEfunc::translationCount($table, $row['uid'], ' ' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:labels.translationsOfRecord')) . ")";
+                                               t3lib_BEfunc::translationCount($table, $row['uid'], ' ' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:labels.translationsOfRecord'));
                                        $cells['delete']='<a href="#" onclick="'.htmlspecialchars('if (confirm('.$LANG->JScharCode($LANG->getLL('deleteWarning').' "'. $title.'" '.$refCountMsg).')) {jumpToUrl(\''.$SOBE->doc->issueCommand($params,-1).'\');} return false;').'">'.
                                                        '<img'.t3lib_iconWorks::skinImg($this->backPath,'gfx/garbage.gif','width="11" height="12"').' title="'.$LANG->getLL('delete',1).'" alt="" />'.
                                                        '</a>';