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

Home » FUDforum Development » Bug Reports » {admin_control_row_all} <-- this section cannot be edited
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
{admin_control_row_all} <-- this section cannot be edited [message #7516] Fri, 29 November 2002 11:42 Go to previous message
xiouxin is currently offline  xiouxin   Taiwan
Messages: 11
Registered: August 2002
Location: Taipei
Karma:
Junior Member
Dear Prottoss

In `thread.tmpl`, there's a section named {admin_control_row_all}. I use template editor to edit it, then the generated `thread.php` got parse error. The error is caused by some backslashes been stripped as follows:

[ORIGINAL]
$admin_control_row = '<td align=center class="RowStyleA"><a h
ref="javascript://" onClick="javascript: window_open(\'http://www.heygo.com/forum/ind
ex.php?t=mvthread&amp;'._rsid.'&amp;th='.$obj->id.'\', \'th_move\', 300, 400);">...

[MODIFIED]
$admin_control_row = '<td align=center class="RowStyleA"><a h
ref="javascript://" onClick="javascript: window_open('http://www.heygo.com/forum/ind
ex.php?t=mvthread&amp;'._rsid.'&amp;th='.$obj->id.'', 'th_move', 300, 400);">...

I restored `thread.tmpl` to the original version, edited it again with template editor, the generated `thread.php` still got stripslashed and parse error.

At last, I edited `thread.php` by hand, leave {admin_control_row_all} untouched. This surely work, but I have to bear in mind never edit this section in template editor again.

I wonder if this is unique for me? My php engine was modified with Big5 Chinese (for Taiwan/Hong Kong) encoding compiled in. The modified fuctions are addslash & stripslash.

Can you verify this for me? Thanks! ~~XiouXin

p.s. Other templates & sections within have no such problem.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: clear_old_session bug ?
Next Topic: upgrade to 2.3.6RC4...failed next day
Goto Forum:
  

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

Current Time: Sat Nov 30 07:50:13 GMT 2024

Total time taken to generate the page: 0.04911 seconds