Example #1
0
    // foreach presteps
    // Return our exception lines..
    return $exceptions;
}
// order_check
// -----------------------------------------------------------------------------------------------
// MAIN CONTENT
// Must haves..
if (!isset($project_id)) {
    exit;
}
// New project object to work with..
$project = new qa_project($project_id);
$have_admin = $project->qa_process->have_admin;
// Start main table..
$s = "";
$s .= "<table width=\"100%\" class=\"data\" cellspacing=\"0\" cellpadding=\"0\">\n";
$s .= "<tr><th class=\"ph\" colspan=\"2\">Project Quality Assurance Status</th></tr>";
$s .= "<tr><td height=\"15\" colspan=\"2\">&nbsp;</td></tr>";
$s .= "<tr><td colspan=\"2\">" . ContentForm($project) . "</td></tr>";
$s .= "<tr><td height=\"15\" colspan=\"2\">&nbsp;</td></tr>";
$s .= "</table>\n";
// -----------------------------------------------------------------------------
// ASSEMBLE CONTENT
$content = $s;
// -----------------------------------------------------------------------------
// DELIVER..
require_once "top-menu-bar.php";
require_once "page-header.php";
echo $content;
include "page-footer.php";
Example #2
0
    // Start main table..
    $s .= "<table width=\"100%\" class=\"data\" cellspacing=\"0\" cellpadding=\"0\">\n";
    $s .= $ef->BreakLine("Quality Assurance Step");
    $s .= "<tr><td height=\"15\" colspan=\"2\">&nbsp;</td></tr>";
    if ($this->project_manager_fullname != "") {
        $href = "/user.php?user_no={$this->project_manager}";
        $link = "<a href=\"{$href}\">" . $this->project_manager_fullname . "</a>";
        $s .= "<tr><td colspan=\"2\"><b>Project Manager:</b> " . $link . "</td></tr>";
    }
    if ($this->qa_mentor_fullname != "") {
        $href = "/user.php?user_no={$this->qa_mentor}";
        $link = "<a href=\"{$href}\">" . $this->qa_mentor_fullname . "</a>";
        $s .= "<tr><td colspan=\"2\"><b>QA Mentor:</b> " . $link . "</td></tr>";
    }
    $s .= "<tr><td height=\"15\" colspan=\"2\">&nbsp;</td></tr>";
    $s .= "<tr><td colspan=\"2\">" . ContentForm($project, $qastep, $view_history) . "</td></tr>";
    $s .= "<tr><td height=\"15\" colspan=\"2\">&nbsp;</td></tr>";
    $s .= "</table>\n";
    if ($ef->editmode) {
        $s .= $ef->SubmitButton("submit", "Update");
        $s .= $ef->EndForm();
    }
}
// isset qastep
// -----------------------------------------------------------------------------
// ASSEMBLE CONTENT
if ($s == "") {
    $content = "<p>Nothing known about that QA step.</p>";
} else {
    $content = $s;
}
Example #3
0
    // Main content..
    $s = "";
    $ef = new EntryForm($REQUEST_URI, $project, $have_admin ? 1 : 0);
    $ef->NoHelp();
    $s .= $ef->StartForm();
    $s .= $ef->HiddenField("qa_action", "{$qa_action}");
    if ($project->request_id > 0) {
        $s .= $ef->HiddenField("project_id", $project->request_id);
        $s .= $ef->HiddenField("step_id", "{$qastep->qa_step_id}");
        $s .= $ef->HiddenField("ap_type_id", "{$ap_type_id}");
    }
    // Start main table..
    $s .= "<table width=\"100%\" class=\"data\" cellspacing=\"0\" cellpadding=\"0\">\n";
    $s .= $ef->BreakLine("Quality Assurance Approval");
    $s .= "<tr><td height=\"15\" colspan=\"2\">&nbsp;</td></tr>";
    $s .= "<tr><td colspan=\"2\">" . ContentForm($project, $qastep, $ap_type_id) . "</td></tr>";
    $s .= "<tr><td height=\"15\" colspan=\"2\">&nbsp;</td></tr>";
    $s .= "</table>\n";
    $s .= $ef->SubmitButton("submit", "Post Decision");
    $s .= $ef->EndForm();
}
// isset qastep
// -----------------------------------------------------------------------------
// ASSEMBLE CONTENT
if ($s == "") {
    $content = "<p>Nothing known about that QA step.</p>";
} else {
    $content = $s;
}
// -----------------------------------------------------------------------------
// DELIVER..