function printFieldValue($name, $value = NULL) { if (is_null($value)) { $value = $this->values[$name]; } if ($name == 'familyid') { if (!empty($value)) { $family =& $GLOBALS['system']->getDBObject('family', $value); ?> <a href="?view=families&familyid=<?php echo $value; ?> "><?php echo $family->toString(); ?> </a> (#<?php echo $value; ?> ) <?php return; } } return parent::printFieldValue($name, $value); }
echo ents($notee_name); ?> </td> <td><?php echo ents($note['subject']); ?> </td> <td class="nowrap"> <?php if ($reassigning) { $fake_note->populate($id, $note); if ($fake_note->haveLock() || $fake_note->canAcquireLock()) { $fake_note->acquireLock(); $fake_note->printFieldInterface('assignee', 'note_' . $id . '_'); } else { $fake_note->printFieldValue('assignee'); echo '<p class="alert alert-error">This note is locked by another user and cannot be edited at this time.</p>'; } } else { echo ents($note['assignee_fn'] . ' ' . $note['assignee_ln']); } ?> </td> <td class="nowrap"><?php echo format_date($note['action_date']); ?> </td> <td class="nowrap action-cell"> <a href="<?php echo $view_url; ?>