Issue Bug Closed

#24986Pagetree - Locked records are not indicated anymore

Stefan Galinski 02/08/11, 21:52 updated 02/26/11, 01:11

Description

Problem:
The locked page indicator isn’t shown anymore in the pagetree if someone else currently edits the data of the specific page.

Solution:
Reimplement the feature…

Solution from the list module (not shown correctly due some strange filtering; look into the edit view if you have the rights):

if (($lockInfo = t3lib_BEfunc::isRecordLocked($table, $row[‘uid’]))) {
$warning = ‘<a href=”#” onclick=”’ . htmlspecialchars(‘alert(’ . $GLOBALS[‘LANG’]->JScharCode($lockInfo[‘msg’]) . ‘); return false;’) . ‘” title=”’ . htmlspecialchars($lockInfo[‘msg’]) . ‘”>’ .
t3lib_iconWorks::getSpriteIcon(‘status-warning-in-use’) .
‘</a>’;
}
(issue imported from #M17520)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.