%%generic-pickup-anonymous-html%%
$Date: 2003/01/15 04:28:22 $
$Author: csnyder $

%%preprocess%%
$this->getBaseUrl();

// add classname:id to $session->p_inventory
$item= "$this->objtype:$this->id";
if ($session->p_inventory) {
	berror("generic-pickup-anonymous-html: adding $item to existing p_inventory ($session->p_inventory)",1);
	$GLOBALS[session]->p_inventory= trim($session->p_inventory)." $item";
	}
else {
	berror("generic-pickup-anonymous-html: creating p_inventory with $item.",1);
	$GLOBALS[session]->p_inventory= "$item";
	}
$GLOBALS['session']->updateObject();

if ($_GET['redirect']=="") {
	$this->redirect= $folder->baseUrl;
	}
else $this->redirect= $_GET['redirect'];

%%header%%

%%css%%

%%template%%
Picked up $this->objtype:$this->id ($this->title).<br>
<a href="$this->redirect">Continue</a>...

%%listrow%%

%%nullobject%%

%%footer%%

%%postprocess%%

if (!$GLOBALS['debug']) {
	header("Location: $this->redirect");
	exit;
	}
 
%%end of context%%
