Bug #17034 ยป 5061.patch
typo3/class.db_list_extra.inc (working copy) | ||
---|---|---|
$titleOrig = t3lib_BEfunc::getRecordTitle($table,$row,FALSE,TRUE);
|
||
$title = t3lib_div::slashJS(t3lib_div::fixed_lgd_cs($titleOrig, $this->fixedL), 1);
|
||
$params = '&cmd['.$table.']['.$row['uid'].'][delete]=1';
|
||
$cells['delete']='<a href="#" onclick="'.htmlspecialchars('if (confirm('.$LANG->JScharCode($LANG->getLL('deleteWarning').' "'. $title.'" '.t3lib_BEfunc::referenceCount($table,$row['uid'],' (There are %s reference(s) to this record!)')).')) {jumpToUrl(\''.$SOBE->doc->issueCommand($params,-1).'\');} return false;').'">'.
|
||
$cells['delete']='<a href="#" onclick="'.htmlspecialchars('if (confirm('.$LANG->JScharCode($LANG->getLL('deleteWarning').' "'. $title.'" '.t3lib_BEfunc::referenceCount($table,$row['uid'],' ' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:labels.referencesToRecord'))).')) {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>';
|
||
} elseif(!$this->table) {
|
typo3/sysext/lang/locallang_core.xml (working copy) | ||
---|---|---|
<label index="ver.swap">Swap/Publish</label>
|
||
<label index="ver.swapPage">Publish this version of the page including content</label>
|
||
<label index="TYPO3_Element_Browser">TYPO3 Element Browser</label>
|
||
<label index="labels.referencesToRecord">(There are %s reference(s) to this record!)</label>
|
||
<label index="show_item.php.viewItem">View Item</label>
|
||
<label index="show_item.php.referencesToThisItem">References to this item:</label>
|
||
<label index="show_item.php.referencesFromThisItem">References from this item:</label>
|