{literal} {/literal} {if $current_role > $roles.viewer} {assign var="email_col_count" value="8"} {else} {assign var="email_col_count" value="7"} {/if}
{t}Associated Emails{/t} ({if $emails|@is_array}{$emails|@count}{else}0{/if}) [ {t}Back to Top{/t} ] {if $current_role > $roles.standard_user} [ {t}Mail Queue Log{/t} ] {/if} {if $browser.ie5up or $browser.ns6up or $browser.gecko or $browser.safari or $browser.opera5up or $browser.safari or $browser.opera5up} [ {get_innerhtml element_name="support_emails" total=$emails|@count} ] {/if}
{if $emails != "" and $current_role > $roles.viewer and $current_role != $roles.customer} {/if} {section name="i" loop=$emails} {cycle values=$cycle assign="row_color"} {if $current_role > $roles.viewer and $current_role != $roles.customer} {/if} {include file="expandable_cell/body.tpl.html" ec_id="email" list_id=$emails[i].composite_id colspan=$email_col_count row_color=$row_color} {sectionelse} {/section} {if $current_role > $roles.viewer} {/if}
{include file="expandable_cell/buttons.tpl.html" ec_id="email"} # {t}Reply{/t} {t}From{/t} {t}Recipients{/t} {t}Received{/t} {t}Subject{/t}
{include file="expandable_cell/buttons.tpl.html" ec_id="email" list_id=$emails[i].composite_id} {$smarty.section.i.iteration} {$emails[i].sup_from|escape:"html"} {if $emails[i].sup_to == ""} {t}sent to notification list{/t} {else} {$emails[i].sup_to|escape:"html"} {/if} {if $emails[i].sup_cc != ""}
{$emails[i].sup_cc|escape:"html"} {/if}
{$emails[i].sup_date} {$emails[i].sup_subject|default:""|escape:"html"} {if $emails[i].sup_has_attachment} {/if}
{t}No associated emails could be found.{/t}
{if $emails != "" and $current_role != $roles.customer} {/if} {if $ema_id != ""} {/if}