Ejemplo n.º 1
0
 public function outputAnnotations($annotations)
 {
     foreach ($annotations as $a) {
         $user = $GLOBALS['sql']->get_link('user', $a['auser']);
         $p = str_replace("\r", '', stripslashes($a['annotation']));
         $b[] .= "<b>" . stripslashes($user['userdescrip']) . "</b>\n" . "<i>" . freemed::sql2date($a['atimestamp']) . "</i>\n" . $p;
     }
     return join("\n\n", $b);
 }