]> git.agnieray.net Git - galette.git/blobdiff - galette/templates/default/member.tpl
Add a preference to send emails to member by default
[galette.git] / galette / templates / default / member.tpl
index e4abcbf34fa8d67259e101e224eaffd0f10d4a68..862287d647bc49f1ab021f5a5758834aa9b14be7 100644 (file)
@@ -77,7 +77,7 @@
                             {_T string="Notify member his account has been created"}
         {/if}
                         </label>
-                        <input type="checkbox" name="mail_confirm" id="mail_confirm" value="1" {if isset($smarty.post.mail_confirm) and $smarty.post.mail_confirm != ""}checked="checked"{/if}/>
+                        <input type="checkbox" name="mail_confirm" id="mail_confirm" value="1" {if $preferences->pref_bool_mailowner || isset($smarty.post.mail_confirm) and $smarty.post.mail_confirm != ""}checked="checked"{/if}/>
                         <br/><span class="exemple">
         {if $member->id}
                             {_T string="Member will be notified by email his account has been modified."}