|
Re: Can not change any Text Messages in Template Editor [message #12237 is a reply to message #12236] |
Thu, 31 July 2003 19:00 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
There was a correction dealing with template editing in the 2.5.1 release. It specifically addressed the problem of editing text messages that have a common key name, which I believe was the cause of the problem you are seeing.
FUDforum Core Developer
|
|
|
|
|
|
Re: Can not change any Text Messages in Template Editor [message #12241 is a reply to message #12240] |
Thu, 31 July 2003 19:12 |
|
gladiator
Messages: 61 Registered: June 2002 Location: Beijing
Karma: 0
|
Member |
|
|
I tried a series messages in different tmpl files and all result the same problem.
I'm using chinese localization.
I tried select "english" in "Template Set Selection" to edit the english template, and also encounted the same problem.
please check the file msglist.php, line 95.
if (($s = strpos($data, $v . ':')) === FALSE)
I echoed the $v to the browser, there is a white space prefixed each of it, but in $data, there is no such prefixed white space, so this "if" will always return true, I think that's why I can not edit the text messages in template editor.
[Updated on: Fri, 01 August 2003 06:52] Report message to a moderator
|
|
|
|
|