{combine_css path=$SUBSCRIBE_TO_PATH|@cat:'template/style.css'} {* *} {if $themeconf.name == "stripped" or $themeconf.parent == "stripped"} {include file=$SUBSCRIBE_TO_ABS_PATH|@cat:'template/themes/stripped.tpl'} {assign var="clear" value="true"} {elseif $themeconf.name == "simple-grey" or $themeconf.parent == "simple"} {include file=$SUBSCRIBE_TO_ABS_PATH|@cat:'template/themes/simple.tpl'} {assign var="clear" value="true"} {else} {include file=$SUBSCRIBE_TO_ABS_PATH|@cat:'template/themes/default.tpl'} {/if} {include file='infos_errors.tpl'} {if $IN_VALIDATE or $IN_UNSUBSCRIBE}

{if !empty($element)}{'Return to item page'|@translate}
{/if} {'Manage my subscriptions'|@translate}

{/if}
{if !empty($global_subscriptions)}
{'Global subscriptions'|@translate} {foreach from=$global_subscriptions item=sub name=subs_loop} {/foreach}
{if $sub.type == 'all-images'} {assign var=str value='all pictures of the gallery'|@translate} {else $sub.type == 'all-albums'} {assign var=str value='all albums of the gallery'|@translate} {/if} {'You are currently subscribed to comments on %s.'|@translate|sprintf:$str}
{'Unsubscribe'|@translate} {if $sub.validated == 'false'}
{'Validate'|@translate}{/if}
{$sub.registration_date}
{/if} {if !empty($subscriptions)}
{'Manage my subscriptions'|@translate} {foreach from=$subscriptions item=sub name=subs_loop} {/foreach}
{'Subject'|@translate} {'Followed on'|@translate}
{$sub.infos.name}
{'Unsubscribe'|@translate} {if $sub.validated == 'false'}| {'Validate'|@translate}{/if}
{$sub.registration_date}

{'comments on a picture'|@translate}. {'comments on all pictures of an album'|@translate}. {if $COA_ACTIVATED} {'comments on an album'|@translate}.{/if}

{/if} {if !empty($global_subscriptions) or !empty($subscriptions)}

{/if}
{footer_script require="jquery"}{literal} jQuery("#check_all").change(function() { if ($(this).is(":checked")) $("input[name^='selected']").attr('checked', 'checked'); else $("input[name^='selected']").removeAttr('checked'); }); {/literal}{/footer_script} {if $clear}
{/if}