예제 #1
0
 function EMail_AddFields(&$comment)
 {
     $comment['title'] = $this->email_title;
     $comment['article_type'] = $this->email_article_type;
     $itemid = $comment['itemid'];
     $item = $this->GetItem($itemid);
     $comment['article'] = $item[$this->field_title];
     $link = FSS_Helper::GetBaseURL() . FSSRoute::_(str_replace("{id}", $itemid, $this->article_link));
     $comment['linkart'] = $link;
 }