{strip} {assign var=visible_photos value=0}
{if $photos_c > 1} {if $photos_c == 1}
{else if $photos_c <= 5 && $photos_c > 1}
{else}
{/if} {foreach $m_photos as $ph_id} {assign var=is_gif value={$this->is_gif($ph_id)}}
{if $visible_photos === 5}
+{$photos_c-6}
{/if} {if $is_gif}GIF{/if}
{assign $c $c++ nocache} {$visible_photos = $visible_photos+1} {/foreach}
•••{$this->lang['open_photo_album']}
{else} {foreach $m_photos as $ph_id} {assign var=is_gif value=$this->is_gif($ph_id)}
{$this->str_smilies($this->getPhotoDescription($ph_id))}
{include file="{$smarty.const.__ROOT__}{$this->feed_templates}/widget-list.html"}
{/foreach} {/if}
{/strip}