2010-07-08, 08:39 AM
ok, whenever i save a template it escapes every " and ' with \" and \'...
Example:
It means I cant edit any templates, and are forced to revert the templates, meaning I have to reinstall every plugin.
Example:
<html>
<head>
<title>{$mybb->settings[\'bbname\']}</title>
{$headerinclude}</br>{$myannouncements}
<script type=\"text/javascript\">
<!--
lang.no_new_posts = \"{$lang->no_new_posts}\";
lang.click_mark_read = \"{$lang->click_mark_read}\";
// -->
</script>
</head>
<body>
{$header}{$tabmenu}
{$ps_header_index}
{$forums}
<script type=\"text/javascript\">
<!--//
var myflowers=new ddtabcontent(\"menutabs\")
myflowers.setpersist(true)
myflowers.init()
-->
</script>
{$ps_footer_index}
{$boardstats}
<dl class=\"forum_legend smalltext\">
<dt><img src=\"{$theme[\'imgdir\']}/on.gif\" alt=\"{$lang->new_posts}\" title=\"{$lang->new_posts}\" style=\"vertical-align: middle; padding-bottom: 4px;\" /></dt>
<dd>{$lang->new_posts}</dd>
<dt><img src=\"{$theme[\'imgdir\']}/off.gif\" alt=\"{$lang->no_new_posts}\" title=\"{$lang->no_new_posts}\" style=\"vertical-align: middle; padding-bottom: 4px;\" /></dt>
<dd>{$lang->no_new_posts}</dd>
<dt><img src=\"{$theme[\'imgdir\']}/offlock.gif\" alt=\"{$lang->forum_locked}\" title=\"{$lang->forum_locked}\" style=\"vertical-align: middle;\" /></dt>
<dd>{$lang->forum_locked}</dd>
</dl>
<br style=\"clear: both\" />
{$footer}
</body>
</html>
It means I cant edit any templates, and are forced to revert the templates, meaning I have to reinstall every plugin.