FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Bug Reports » bug in Template Editor
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: bug in Template Editor [message #14034 is a reply to message #14001] Tue, 04 November 2003 07:21 Go to previous messageGo to previous message
gladiator is currently offline  gladiator   China
Messages: 61
Registered: June 2002
Location: Beijing
Karma:
Member
Ilia wrote on Mon, 03 November 2003 22:35

This sounds like a bug in the older releases. In 2.6.0 snapshot it works fine. The other possibility that in the language you are using the text is infact the same.

With english localization in latest CVS I cannot replicate the bug.


I use 2.60rc2, upgraded from 2.5.x, and I use chinese localization.

sections in pre_reg.tmpl is:
... ...
{SECTION: forum_rules_13}
{MSG: forum_rules_13}
{SECTION: END}
 
{SECTION: forum_rules}
{MSG: forum_rules}
{SECTION: END}
... ...


I noticed that in tmpllist.php, function fetch_section(),
you use
$p = strpos($data, '{SECTION: '.$section);

to match the sections.
in the above example, seems it doesn't matter the value of $section is 'forum_rules' or 'forum_rules_13', it will always match the first section(which in this case is section forum_rules_13).
could this be a bug?

[Updated on: Tue, 04 November 2003 07:21]

Report message to a moderator

[Message index]
 
Read Message icon4.gif
Read Message
Read Message
Read Message
Read Message
Previous Topic: One extra jump in history
Next Topic: undefined function in RC3
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sun Dec 01 03:17:58 GMT 2024

Total time taken to generate the page: 0.04740 seconds