291977
Chad, I enjoy to hack and share for multilingual. Well, I should say many thanks to you all first. You all start my engine to hack XOOPS.
In Admin->News->Modify Topic, it would decode the topic title if we try to modify it. We have to retype all again for all language title. But I found XOOPS is Good and well prepared. Lets correct this file.
Open
/modules/news/admin/index.phpgoto line 241 in function
modTopic()modify Quote:
<input type='text' name='topic_title' size='20' maxlength='40' value='".xt->topictitle().
tobe Quote:
<input type='text' name='topic_title' size='50' maxlength='50' value='".xt->topictitle('E').
This function used default format 'S' 4show (but we hacked
). The function has been well prepared to accept parameter 'E' 4Edit format which we should use in this file.
Hope XOOPS developer update this file.
PS. I changed maxlength of title to 50 as database defined, and thinking why XOOPS defined 40 in this file.