[TYPO3-core] RFC: Feature #4655: FeUsers in table sys_lockedrecords

Stefan Geith typo3dev2007 at geithware.de
Sat Nov 24 13:39:11 CET 2007


Hi Ingmar,

Ingmar Schlecht schrieb:
> 
> +1 based on reading.
> 
> But please change the following (occurs at two places):
> ($row['userid']?
> $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.lockedRecord'):
> $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.php:labels.lockedRecordByFE')
> 
> to an if($row['userid'])/elseif($row['feuserid'])/else {error message}
> construct.

I have attached a new patch 'feature-004655.patch' for this feature-request.

2 Things changed:
- If no username is available in the lock-file '-unknown-' will
   be used (defined in locallang_core:labels.unknownUser)
- The text 'The user '%s' began to edit ...' is now changet
   to 'The BE-User ...', if a BE-User locked the record;
   to 'The FE-User ...', if a FE-User locked the record;
   if it can't be examined, the text remains 'The User ...'

> Stefan Geith schrieb:
>> Type: New feature
>>
>> Bugtracker references:
>> http://bugs.typo3.org/view.php?id=4655
>>
>> Branches:
>> Trunk = 4.2
>>
>> Problem:
>> Manage locked records also for Fe-User Editing
>>
>> Solution:
>> a) adds field feuserid to table sys_lockedrecords
>> b) adds text-variant for fe-users to locallang_core.xml
>> c) modifies t3lib_befunc->isRecordLocked to show different messages when
>> be or fe-users locked a record.
>> d) add Function to TSFE

New Patch 'feature-004655.patch' is attached.

-

Stefan
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: feature-004655.patch
Url: http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20071124/c6cc856d/attachment.txt 


More information about the TYPO3-team-core mailing list