%%folder-index-editor-html%%
2002-07-21 14:10

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

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

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

// more tag if body exists
if ($this->body!="") $this->moreTag="<a href='$this->baseUrl'>continues</a>&raquo; |";

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



%%css%%


%%template%%
<table class='objTable' cellspacing=5 cellpadding=5>
	<tr class='$this->rowclass'>
		<td>
			<table class='objHeader'>
				<tr>
					<td width='1' valign='top'>$this->iconTag</td>
					<td>
						<span class='objTitle'><a href="$this->baseUrl">$this->title</a></span>
						<span class='objDescription'><br>$this->description</span>
					</td>
					<td width='100' valign='bottom' align='right' class='info'>
						<a href="$this->uri?method=toggleRank$session->cgi"><img src='/bicons/bulbsgif/$this->glow.gif' alt='$this->publishStatus' title='folder:$this->id is $this->publishStatus' align=absmiddle border=0></a> |
						<a href="$this->uri?method=edit$this->isLink$session->cgi"><img src='/bicons/edit.gif' alt='edit' title='edit this object' align=absmiddle border=0></a> |
						<a href="$this->uri?method=pickup$session->cgi"><img src='/bicons/pickup.gif' alt='pick up' title='pick up this object' align=absmiddle border=0></a>
					</td>
				</tr>
			</table>
		</td>
	</tr>
</table>



%%listrow%%
 



%%nullobject%%
 



%%footer%%



%%postprocess%%



%%end of context%%
