<?php
	//connection
	include("connection.php");
	include ("frames_header.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>";
	    include ("frames_footer.php"); 
		return;
	}
?>


<form action="motif-edit-name-results.php" method="post" name="form1" target="_self">
<center>
<?php

	$motif=$_GET["motif"];
	print "<input name=\"motifid\" type=\"hidden\" value=\"$motif\">";	
	
	print 'New name:   <input name="name" type="text" value= "'.$_GET["name"].'"size="30">';
	
	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"); 
?>