/**
  * Render log details
  * 
  * @param ProjectObject $object
  * @param boolean $in_project
  * @return string
  */
 function renderBody($object = null, $in_project = false)
 {
     require_once SMARTY_PATH . '/plugins/modifier.html_excerpt.php';
     if ($object === null) {
         $object = $this->getObject();
     }
     // if
     $excerpt_body = trim(str_excerpt(smarty_modifier_html_excerpt($object->getFormattedBody(true, true)), 200));
     if ($excerpt_body) {
         $result = '<div class="comment_body">' . $excerpt_body . '</div>';
     }
     // if
     return $result;
 }
 /**
  * Render log details
  * 
  * @param ProjectObject $object
  * @param boolean $in_project
  * @return string
  */
 function renderBody($object = null, $in_project = false)
 {
     require_once SMARTY_PATH . '/plugins/modifier.html_excerpt.php';
     if ($object === null) {
         $object = $this->getObject();
     }
     // if
     $result = '';
     if (instance_of($object, 'ProjectObject')) {
         $excerpt_body = trim(str_excerpt(smarty_modifier_html_excerpt($object->getFormattedBody(true, true)), 200));
         if ($excerpt_body) {
             $result .= '<div class="new_object_body"><strong>"</strong>' . $excerpt_body . '<strong>"</strong></div>';
         }
         // if
     }
     // if
     return $result;
 }