printChooser_brief();
}
?>
rs = new qlDatabase();
$form->dbTable = "planner";
$form->action = "editPlanner.php";
$form->method = "post";
$form->itemType = "Item";
$form->idField = "planner_id";
$form->hideTitle = true;
$form->hideLinks = true;
$form->viewField = array("shortterm"=>"shortterm");
$form->add_element(array("type"=>"showtext",
"name"=>"title1",
"headerRow"=>true,
"description"=>"Etc"));
$form->add_element(array("type"=>"textarea",
"name"=>"shortterm",
"description"=>"To do",
"tableBreak"=>"",
"rows"=>"12",
"cols"=>"60"));
$form->add_element(array("type"=>"submit",
"name"=>"submit",
"value"=>"Save Changes"));
$form->add_element(array("type"=>"textarea",
"name"=>"longterm",
"description"=>"Ongoing",
"tableBreak"=>"",
"rows"=>"20",
"cols"=>"60"));
/*$form->add_element(array("type"=>"textarea",
"name"=>"prayer",
"description"=>"Prayer",
"tableBreak"=>"",
"rows"=>"10",
"cols"=>"70"));
$form->add_element(array("type"=>"textarea",
"name"=>"etc",
"description"=>"Wishlist",
"tableBreak"=>"",
"rows"=>"4",
"cols"=>"70"));*/
$form->add_element(array("type"=>"submit",
"name"=>"submit2",
"value"=>"Save Changes"));
$form->start();
if ($form->ql_formSubmit == 2)
echo "";
?>