Fixed in 1.0.5 --
MarkusLude
Header according to parameter:
Patch
sub DoPageLock {
my ($fname, $id);
- print &GetHeader('', T('Set or Remove page edit lock'), '');
+ if (!&GetParam("set", 1)) {
+ print &GetHeader('', Ts('Removing page edit lock'), '');
+ } else {
+ print &GetHeader('', Ts('Setting page edit lock'), '');
+ }
--
JuanmaMP
Comments
For consistence this should be changed then in DoEditLock
?(), too. --
MarkusLude
- You're right. I was keeping in mind and It was only an attempt while I was thinking which code will go to the core code, and which code has only an optional interest.
- Thanks for the comment!. -- JuanmaMP