Bug in mmod.php [message #5815] |
Tue, 24 September 2002 10:25 |
|
This is a small bug which hopefully should be easy to fix.
In our 'header' template we have some Javascript which displays our ads/images, works fine for most pages, however when trying to delete a thread we get the following error message:
Parse error: parse error in /home/vhosts/toymods.org.au/html/msgboard/theme/default/mmod.php on line 2135
which I believe has something to do with the use of apostrophe's in our Javascript, since the mmod.php.t file returns the whole page text as a parameter to the exit() subroutine (line 63):
63: exit('{TEMPLATE: delete_confirm_pg}');
I got around this problem temporarily by changing the 'header' template in our theme's mmod.tmpl file to use the 'header_plain' one instead, which doesnt have the javacode script.
rgrds
sam
|
|
|
Re: Bug in mmod.php [message #5817 is a reply to message #5815] |
Tue, 24 September 2002 12:08 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Thanks for the report, the bug has been fixed in the CVS.
If you download RC2 that will be released later on today, you will have a fix for this bug.
FUDforum Core Developer
|
|
|
|
Re: Bug in mmod.php [message #5931 is a reply to message #5930] |
Fri, 27 September 2002 16:38 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Hrmm works fine here on RC3.
Try that and see if that'll fix the problem.
FUDforum Core Developer
|
|
|