Actions
Bug #24986
closedPagetree - Locked records are not indicated anymore
Start date:
2011-02-08
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
4.5
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
Sprint Focus:
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)
Files
Actions