} ?> </div> <div style="clear:both;"> </div> </div> <?php // end if list action requests } else { // begin if edit action request ?> <form action='index.php' method='POST'> <ul><li>Edit Action Request</li></ul> <div id="actionrequestdetails"> <?php echo "<input type='hidden' name='formsubmit' value='saveedits' />"; $action = $aManager->getActionRequestsObj($actionrequestid); echo $aManager->getErrorMessage(); if ($action != null) { echo "<strong>Request:</strong> {$action->requesttype}</br>\n"; echo "<strong>Request applies to:</strong> " . $action->getHumanReadableTableName() . " " . $action->getLinkToRow() . "</br>\n"; echo "<input type='hidden' name='actionrequestid' value='{$action->actionrequestid}' />"; echo "<strong>Requested by:</strong> {$action->requestor}</br>\n"; echo "<strong>On:</strong> {$action->requestdate}</br>\n"; echo "<strong>Request details:</strong> {$action->requestremarks}</br>\n"; echo "<strong>Priority: (1=high,3=normal,5=low) </strong><select name=priority>"; $sp1 = $sp2 = $sp3 = $sp3 = $sp4 = $sp5 = ''; if ($action->priority == 1) { $sp1 = 'SELECTED'; } if ($action->priority == 2) { $sp2 = 'SELECTED';