<?php
	//connection
	include("connection.php");
	include ("frames_header.php"); 
?>


<?php
    if ( (!isset($_SESSION["login"]))or(!isset($_SESSION["pass"])) ) {
	    print "<center><strong>you need to <a href=\"login.php\">login</a> as an authorised curator to proceed.</strong>";
	    print '</center></body></html>';
		return;
	}
?>


<form action="motif-edit-comments-results.php" method="post" name="form1" target="_self">
<center>
<?php
	
    if ( (!isset($_SESSION["login"]))or(!isset($_SESSION["pass"])) ) {
	    print "<strong>you need to <a href=\"login.php\">login</a> as an authorised curator to proceed.</strong>";
	    print '</center></body></html>';
		return;
	}
	
	$comments=$_GET["comments"];
	$motif=$_GET["motif"];

	print "<input name=\"motif\" type=\"hidden\" value=\"$motif\">";
	
	print '<textarea name="text" cols="50" rows="20">'.$comments.'</textarea>';
		
	print '<br><img src="pictures/button-cur-delete.gif" title="Cancel"  onClick="javascript:self.close();">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;';
	print '<input name="submit" type="image" src="pictures/button-cur-validate.gif" onClick="submit" title="Ok">';	

?>
</center>
</form>


<?php
include ("frames_footer.php"); 
?>