{if $subInfo || $gBitUser->hasPermission('p_newsletters_subscribe')} {strip}

{tr}Mailing Subscriptions{/tr}

{formfeedback hash=$feedback} {form enctype="multipart/form-data" id="editpageform"} {if $smarty.request.sub}
{formlabel label="In Response To"} {forminput} {tr}{$subInfo.content_description}{/tr}: {$subInfo.title|escape} {/forminput}
{/if}
{formlabel label="User Information"} {forminput} {displayname hash=$subInfo}
{$subInfo.email} {/forminput}
{formlabel label="Subscriptions"} {forminput} {foreach from=$newsletters key=nlId item=nl} {if $nl.allow_user_sub}{/if} {$nl.title|escape}
{foreachelse} {tr}No newsletters were found{/tr} {/foreach} {/forminput}
{formlabel label="Permanent Unsubscribe"} {forminput} {tr}Remove myself from all lists, and receive no further mailings from{/tr} {$gBitSystem->getConfig('siteTitle','this site')}.
{/forminput}
{/form}
{/strip} {else} {include file="bitpackage:newsletters/list_newsletters.tpl"} {/if}