Hier mal der Code. Er ist nicht wirklich sehr dynamisch, aber egal:
Elternfenster:
<?php
include 'main.php';
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>MOD Task Management Tool</title>
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body>
<form name="task" action="task.php" method="POST">
Datum:
<input name="form[datum]" type="text" size="" maxlength="" value="<?php echo $task->getDatum(); ?>" readonly>
<a href="" onClick="window.open('calendar.php?datum=' + document.task.elements['form[datum]'].value,'_blank', 'width=350, height=300, top=200, left=400')">Kalender</a>
</form>
</body>
</html>