{strip}
{foreach $query as $res}
{assign var=stories value=$this->im_stories()} {assign var=m_story_obj value=$stories->getMyStoryObject($res.story_id)}
{if $res.gender == 'male'} {assign var=g value=$this->lang['his']} {else} {assign var=g value=$this->lang['her']} {/if} {$res.fullname}{if $res.json == 'added_new_story'} {str_replace('%s', $g, $this->lang['notif_added_to_story'])} {$this->lang['notif_story']}. {else} {str_replace('%s',$g,$this->lang['notif_updated_story'])} {$this->lang['notif_story']}.{/if}
{/foreach}
{/strip}