Index: typo3/class.db_list_extra.inc
===================================================================
--- typo3/class.db_list_extra.inc (revision 3632)
+++ typo3/class.db_list_extra.inc (working copy)
@@ -616,7 +616,13 @@
foreach($this->fieldArray as $fCol) {
if ($fCol==$titleCol) {
$recTitle = t3lib_BEfunc::getRecordTitle($table,$row,FALSE,TRUE);
- $theData[$fCol] = $this->linkWrapItems($table,$row['uid'],$recTitle,$row);
+ // If the record is edit-locked by another user, we will show a little warning sign:
+ if ($lockInfo=t3lib_BEfunc::isRecordLocked($table,$row['uid'])) {
+ $warning = ''.
+ 'backPath,'gfx/recordlock_warning3.gif','width="17" height="12"').' title="'.htmlspecialchars($lockInfo['msg']).'" alt="" />'.
+ '';
+ }
+ $theData[$fCol] = $warning . $this->linkWrapItems($table,$row['uid'],$recTitle,$row);
} elseif ($fCol == 'pid') {
$theData[$fCol]=$row[$fCol];
} elseif ($fCol == '_PATH_') {
@@ -1064,13 +1070,7 @@
}
}
- // If the record is edit-locked by another user, we will show a little warning sign:
- if ($lockInfo=t3lib_BEfunc::isRecordLocked($table,$row['uid'])) {
- $cells['locked'] = ''.
- 'backPath,'gfx/recordlock_warning3.gif','width="17" height="12"').' title="'.htmlspecialchars($lockInfo['msg']).'" alt="" />'.
- '';
- }
-
+
/**
* @hook recStatInfoHooks: Allows to insert HTML before record icons on various places
* @date 2007-09-22