{assign var=title value="#_TPL_NEWSLETTER_ARCHIVE#"} {include file="header.html"}
#_TPL_NEWSLETTER_DATE# | #_TPL_NEWSLETTER_SUBJECT# | #_TPL_NEWSLETTER_MESSAGE# | #_TPL_NEWSLETTER_THREADS# |
---|---|---|---|
{$a.add_date|amember_date_format} | {$a.subject} | {if !$a.is_html}{/if}{php} $message = $this->_tpl_vars['a']['message']; $message = strip_tags($message); $archive_id = $this->_tpl_vars['a']['archive_id']; if (strlen($message) > 255) { print (substr($message, 0, 255) . " ..."); } else { print ($message); } {/php}{if !$a.is_html}{/if} |
{foreach from=$a.threads item=thread_title key=thread_id name=titles} {if $thread_id} {$thread_title}{if not $smarty.foreach.titles.last}, {/if} {/if} {/foreach} |