{combine_css path=$SUBSCRIBE_TO_PATH|cat:'template/style.css'} {if $IN_VALIDATE or $IN_UNSUBSCRIBE}

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

{else}
{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:$str} {$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} {$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"} jQuery("#check_all").change(function() { if (jQuery(this).is(":checked")) { jQuery("input[name^='selected']").attr('checked', 'checked'); } else { jQuery("input[name^='selected']").removeAttr('checked'); } }); {/footer_script} {/if}