| Addslashes problems
Thanks for the answer but I encountered the same problem when updating templates. I update some templates via the admin section and all the updated templates code are automatically "addslashed" resulting in code execution error. Here an example of a part of the menubar.tmpl after the update :
<?php
echo <<<PPPRINT
$ppopen
<tr>
<td class=\"{$Style[\'menubar\']}\" width=\"100%\" colspan=\"2\">
<table width=\"100%\" cellpadding=\"0\" cellspacing=\"0\">
<tr>
<!-- modif knapy inversion des menu et menu 2 --->
<td class=\"{$Style[\'menubarnb\']}\" width=\"50%\" align=\"left\" valign=\"middle\">
$menu
</td>
<td class=\"{$Style[\'menubarnb\']}\" width=\"50%\" align=\"right\"valign=\"middle\">
$menu2
</td>
</tr>
</table>
</td>
As you can see all the code has been "addslashed".
Greetings
|