%%document-list-editor-html%%
2002-07-22 23:47

%%preprocess%%
// format the object for display
$this->beryliumToHtml(); 
$this->getRuntimeVars();

// convert generic flavor to objtype:
if ($this->flavor=="Generic") $this->flavor= "Document";

// headline fix if only title
if ($this->title=="" && $this->headline=="") $this->title= "Untitled ($this->name)";
elseif ($this->title=="") $this->title= $this->headline;

// folder tag
$this->folderTag= bparsebml("in [folder:$this->folderid;icon] ");

// alternating rows
$session=$GLOBALS[session];
if ($session->row=="" || $session->row=="odd") {
	$this->rowclass="oddrow";
	}
else {
	$this->rowclass="evenrow";
	}
 
%%header%%



%%css%%



%%template%%
<table class='objTable' cellspacing=5 cellpadding=5>
	<tr class='$this->rowclass'>
		<td>
			<table class="objHeader">
				<tr>
					<td width='1' valign='middle'>$this->iconTag</td>
					<td>
						<span class='objFlavor'>$this->flavor:<br></span>
						<span class='objTitle'><a href="$this->baseUrl">$this->title</a>
						<span class='objByline'> <br> 
							By $this->authorTag on $this->dateTag. $this->updateTag <img src='/bicons/event.png' alt='updated $this->updated' title='created $this->created - updated $this->updated' align=absmiddle border=0></a></span>
					</td>
				</tr>
			</table>
			<blockquote class='objDescription'>$this->description</blockquote>
			<p align="right" class='info'>
				$this->folderTag | 
				$this->bulbTag |
				<a href="$this->baseUrl?method=edit$session->cgi"><img src='/bicons/edit.png' alt='edit' title='edit this object' align=absmiddle border=0></a> |
				<a href="$this->baseUrl?method=pickup$session->cgi"><img src='/bicons/pickup.png' alt='pick up' title='pick up this object' align=absmiddle border=0></a>
			</p>
		</td>
	</tr>
</table>



%%listrow%%




%%nullobject%%
<p align="center">Sorry, no documents match that criteria.</p>
<p>&nbsp;</p>

%%footer%%



%%postprocess%%



%%end of context%%
