Edit File: account_update.pre.tpl
{if $page_mailing_lists} {capture name="mailing_lists"} {assign var="show_newsletters_content" value=false} <p>{__("text_signup_for_subscriptions")}</p> {foreach from=$page_mailing_lists item=list} {if $list.show_on_registration} {assign var="show_newsletters_content" value=true} {/if} <div class="select-field {if !$list.show_on_registration}hidden{/if}"> <input id="profile_mailing_list_{$list.list_id}" type="checkbox" name="mailing_lists[]" value="{$list.list_id}" {if $user_mailing_lists[$list.list_id]}checked="checked"{/if} class="checkbox" /><label for="profile_mailing_list_{$list.list_id}">{$list.object}</label> </div> {/foreach} {/capture} {if $show_newsletters_content} {include file="common/subheader.tpl" title=__("mailing_lists")} {$smarty.capture.mailing_lists nofilter} {/if} {/if}
Back to File Manager