%%document-index-anonymous-html%%
roots.encielo.org : /faq
2002-08-28 16:35:00

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


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

	
// compile publishStatus ( like: public-posted-100 ) and glow
switch (true) {
	case ($this->rank < 100) : 
		$lightrank= 50;
		break;	
	case ($this->rank < 500) :
		$lightrank= 100;
		break;
	case ($this->rank < 1000) :
		$lightrank= 500;
		break;
	case ($this->rank >= 1000) :
		$lightrank= 1000;
		break;
	}
if ($this->public) {
	$this->publishStatus= "public-$this->status-$this->rank";
	$this->glow= "public-$this->status-$lightrank";
	}
else {
	$this->publishStatus= "private-$this->status-$this->rank";
	$this->glow= "private-$this->status-$lightrank";
	$this->iconpvt= "-pvt";
	}
if ($this->status=="deleted") $this->glow= "deleted";



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

if ($session->index=="") $GLOBALS[session]->index= 1;


%%header%%
There are $session->currentListSize questions here:
<br>
<br>
<ol>

%%css%%


%%template%%
<li> <a href="#question$this->id"><b>$this->title</b></a>
<br>
<br></li>


%%listrow%%
 

%%nullobject%%
 

%%footer%%
</ol>

%%postprocess%%


%%end of context%%

 
