Jump to content

Zapisanie do newslettera


Recommended Posts

nie wiem czy to zgodne z prawem ale jeżeli koniecznie chcesz mieć to zaznaczone, to w authentication.tpl jest kod:

<p class="checkbox">
<input type="checkbox" name="newsletter" id="newsletter" value="1" {if isset($smarty.post.newsletter) && $smarty.post.newsletter == '1'}checked="checked"{/if} autocomplete="off"/>
<label for="newsletter">{l s='Sign up for our newsletter!'}</label>
</p>

dodajemy checked do: <input type="checkbox" name="newsletter" id="newsletter" value="1" {if isset($smarty.post.newsletter) && $smarty.post.newsletter == '1'}checked="checked"{/if} autocomplete="off" checked/>

Link to comment
Share on other sites

×
×
  • Create New...