Location: PHPKode > scripts > Prioritexter > pages/confirmdelete.php
<td valign=top><? 

$task_id = Http::getCgiVar("task_id");
if ($task_id !== FALSE) {
  $task = new Task($task_id);
}
$params["task_id"]=$task_id;
$params["action"]="deleteTask";
$params["page"] = Http::getCgiVar(OLD_PAGE_CGI_VAR_NAME);

$s .= Http::openForm($params);
$s .= "<p>Are you sure you want to delete the task \"$task->name\"?";
$s .= "<p>";
$s .= Http::submitButton("Delete");
$s .= "</form";
$params = array();
$params["page"] = Http::getCgiVar(OLD_PAGE_CGI_VAR_NAME);
$s .= Http::selfContainedSubmit("Cancel", $params);

$task_box = new TextBox("Confirm delete:",$s, 598);
$task_box->box();
$task_box->display();


?></td>



Return current item: Prioritexter