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/>

Share this post


Link to post
Share on other sites

 Share

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More