dyla666 Posted September 3, 2014 Share Posted September 3, 2014 (edited) I have form 4 Secure errors in module *.tpl file. Variable should be escaped, modifier not found ('htmlall', 'intval', etc.). <link.rel="stylesheet".href="{$modules_dir}templateeditor/view/templatesettings.css"> <link.rel="stylesheet".href="{$modules_dir}templateeditor/view/stylechanger.css"> <input.class="bg-switch".type="text".value="{$bg_color}"> <div.id="colorSelector2".class="color-index".style="background-color:.{$bg_color};"></div> how to fix? Edited September 3, 2014 by dyla666 (see edit history) Link to comment Share on other sites More sharing options...
Ornicar Posted September 30, 2014 Share Posted September 30, 2014 Hi, I've got the same problem... Does anyone have the solution ? Link to comment Share on other sites More sharing options...
Ornicar Posted September 30, 2014 Share Posted September 30, 2014 Ho i found it ! You just need to define what is the content of your variable. In my case, it wan an int so i've done this: {$myvar|escape:'intval'} Hope it will help 1 Link to comment Share on other sites More sharing options...
Recommended Posts