type) {
case Notifications::typePointConfirmed:
print strftime('%d %b %H:%M', $notification->date).' — Ваша точка "'.$notification->RefPoint->name.'" прошла модерацию.';
break;
case Notifications::typeNewCommentPoint:
$comment = $notification->RefComment;
$point = Point::model()->getByPK($comment->parentId);
print strftime('%d %b %H:%M', $notification->date).' — Новый комментарий к точке "'.$point->name.'".';
break;
default:
break;
}