if ($ERROR) { echo display_error(); $ONLOAD[] = "setTimeout('window.location=\\'" . ENTRADA_URL . "/profile/observerships\\'', 5000)"; } if ($SUCCESS) { echo display_success(); $ONLOAD[] = "setTimeout('window.location=\\'" . ENTRADA_URL . "/profile/observerships\\'', 5000)"; } break; case 1: default: $observership = Observership::get($OBSERVERSHIP_ID); $status = $observership->getStatus(); echo "<h1>" . $observership->getTitle() . " Reflection</h1>"; if ($status != "confirmed") { add_generic("<strong>Please note:</strong> Preserve the privacy and confidentiality of your preceptor."); echo display_generic(); } ?> <style type="text/css"> .confirmed tbody td {padding:10px 5px;} .reflection textarea.input-xxlarge {min-height:200px;} </style> <form class="form-horiztonal reflection" action="<?php echo ENTRADA_URL; ?> /profile/observerships?section=reflection&id=<?php echo $OBSERVERSHIP_ID; ?> " method="POST">
if ($action) { echo "<a href=\"" . ENTRADA_URL . "/profile/observerships?section=reflection&id=" . $observership->getID() . "\">" . $action . " Reflection</a>"; } } } } echo "</td>\n"; echo "</tr>\n"; } } ?> </tbody> </table> <?php if (clerkship_fetch_schedule($ENTRADA_USER->getID()) == false) { ?> <div class="row-fluid"> <input class="btn pull-right" type="submit" value="Delete" id="delete_button" /> </div> <?php } ?> </form> <?php } if ($total_observerships == 0) { add_generic("You currently have no observerships in the system. You may add an observership by using the link below."); echo display_generic(); echo "<a href=\"" . ENTRADA_URL . "/profile/observerships?section=delete\">Add</a>"; } }