[SOLVED] Adds a "\" when saving templates?!?!
Posted: Sun Aug 10, 2008 7:04 pm
I have just installed version 1.4 and it looks great, but... I'm having trouble when trying to alter and save templates for different modules???
I was trying to alter the frontend login template, but when I hit save it inserts "\" into my template, and I get an smarty error at my frontend.
This is how my frontend login template should look like:
But after save it looks like this:
At first I thought it was the module which was the problem, but it does the same in all my modules when trying to alter the templates...
Can anybody help... It's tearing me apart
I was trying to alter the frontend login template, but when I hit save it inserts "\" into my template, and I get an smarty error at my frontend.
This is how my frontend login template should look like:
Code: Select all
<!-- Login form template -->
<font size="-2"/>
{$startform}
{if $error}
{$error}<br>
{/if}
<p>{$prompt_username} {$input_username} {$prompt_password}
{$input_password}<br/>
{if isset($captcha)}
{$captcha_title}: {$input_captcha}<br/>
{$captcha}<br/>
{/if}
{if isset($input_rememberme)}
{$input_rememberme} {$prompt_rememberme}<br/>
{/if}
<input type="submit" name="{$feuactionid}submit" value="{$mod->Lang('login')}"><br/>
<a href="{$url_forgot}" title="{$mod->Lang('info_forgotpw')}">{$mod->Lang('forgotpw')}</a><br/>
<a href="{$url_lostun}" title="{$mod->Lang('info_lostun')}">{$mod->Lang('lostusername')}</a></p>
{$endform}
</font>
<!-- Login form template -->
Code: Select all
<!-- Login form template -->
<font size=\"-2\"/>
{$startform}
{if $error}
{$error}<br>
{/if}
<p>{$prompt_username} {$input_username} {$prompt_password}
{$input_password}<br/>
{if isset($captcha)}
{$captcha_title}: {$input_captcha}<br/>
{$captcha}<br/>
{/if}
{if isset($input_rememberme)}
{$input_rememberme} {$prompt_rememberme}<br/>
{/if}
<input type=\"submit\" name=\"{$feuactionid}submit\" value=\"{$mod->Lang(\'login\')}\"><br/>
<a href=\"{$url_forgot}\" title=\"{$mod->Lang(\'info_forgotpw\')}\">{$mod->Lang(\'forgotpw\')}</a><br/>
<a href=\"{$url_lostun}\" title=\"{$mod->Lang(\'info_lostun\')}\">{$mod->Lang(\'lostusername\')}</a></p>
{$endform}
</font>
<!-- Login form template -->
Can anybody help... It's tearing me apart
