%%context-list-editor-html%%
progmin : / (context #106)
2002-06-07 19:45:26

%%preprocess%%
$this->pageSize= 10;

$this->beryliumToHtml();
$this->getRuntimeVars();

if ($this->headline=="") $this->headline="Untitled";


$spacepos= strpos($this->body,"<br>");
if ($spacepos) $this->description= substr($this->body,0,$spacepos);
elseif (strlen($this->body)>140 AND $spacepos===false) {
  $spacepos= strpos($this->body," ",128);
  if ($spacepos===false) $this->description= $this->body;
  else $this->description= substr($this->body,0,$spacepos)." ...";
  }
else $this->description= $this->body;

$session=$GLOBALS[session];
if ($session->row=="" || $session->row==1) {
 $this->rowclass="oddrow";
 $GLOBALS[session]->row=2;
 }
else {
 $this->rowclass="evenrow";
 $GLOBALS[session]->row=1;
 }


%%header%%
<table border=0 cellpadding=5 class='documenttable'>
<tr>
<td colspan='3'> 
Items 1 to $this->pageSize of $this->listsize
</td>
</tr>

%%css%%
.documenttable { background-color: #ffffff; border: 0px; border-color: #999999; border-style: solid; color: #333333; margin: 20px; FONT-FAMILY: Tahoma, Geneva, sans-serif; FONT-SIZE: 12px; line-height: 18px;}
.documenttable IMG { margin: 8px; }
.oddrow { background-color: #ddeeff; }
.evenrow { background-color: #ddffee; }

%%template%%
<tr class='$this->rowclass'>
<td><a href='$this->baseURL'>$this->name</a></td>
<td>$this->method</td>
<td>$this->role</td>
</tr>
<tr class='$this->rowclass'>
<td colspan=3> &nbsp; <a href='$this->baseURL?method=edit'>edit</a> | <a href='/berylium$folder->name/$this->objtype-$this->name.txt?method=export$session->cgi'>export</a> | #$this->id | $this->updated 
</td>
</tr>

%%listrow%%
 
%%nullobject%%
<tr><td>nothing here</td></tr>

%%footer%%
</table>

%%postprocess%%

%%end of context%%
