<?php
if (!$ajax) {
    response_header('View Full Note');
    echo '<h1>View Note</h1>';
?>
<a href="/notes/admin/index.php<?php $status = $status ? '?status=approved' : '';  echo $status ?>" title="go back">Go back to administration</a>
<div style="width: 80%; wrap: virtual; background: #C0C0C0; border: 1px dashed black;">
<?php } ?>

<p>
 <?php
  if (PEAR::isError($noteContent)) {
      echo 'Problem retrieving the note';
  } else {
     echo $noteContent['note_text']; 
  }   
  ?>
</p>
<?php
if (!$ajax) {
?>
</div>
<?php
    response_footer();
    exit;
}
?>
