%%document-save-member-html%%
roots.encielo.org /recipients
2002-08-16 11:10:00

%%preprocess%%
$this->title= trim($_POST['p_givenname']." ".$_POST['p_surname']);
$this->flavor= "recipient-".$_POST['p_category'];
$this->headline= $_POST['p_surname'];

%%header%%

%%css%%

%%template%%
<table width='90%' border='0' cellspacing='20' cellpadding='5' align='center'>
<tr> <td> <p><b>UPDATED! $this->objtype object id#$this->id ($this->name):</b></p>
<p>$this->propertiesList</p>
<p><a href='$session->refreshURL'>refresh</a> | <a href='$this->baseURL?method=edit$session->cgi'>edit</a> | <a href='$this->baseURL?method=create$session->cgi'>create new</a> | <a href='$this->baseURL?method=addchild$session->cgi'>add child</a> | <a href='#top'>top</a></p>
</td>
</tr>
</table>

%%listrow%%

%%nullobject%%

%%footer%%

%%postprocess%%
$this->getBaseURL();
if ($this->submit=="save") $method="edit";
else $method="view";
$redirect="Location: ".$this->baseURL."?method=$method".$session->cgi; 
if ($GLOBALS[debug]) {
 print "<b>Updated!</b><br><a href='$this->baseurl?method=view$session->cgi'>Click here to continue.</a>";
 }
else {
 header($redirect); 
 exit;
 }

%%end of context%%
