Fixes for the listbox portion of portals.

This commit is contained in:
skeeter 2001-10-19 02:11:46 +00:00
parent c7be82ea2d
commit 8a4b563143

View File

@ -67,6 +67,8 @@
it draws the table(s), placing the required data in the appropriate place. it draws the table(s), placing the required data in the appropriate place.
*/ */
function draw($extra_data='') function draw($extra_data='')
{
if(count($this->data))
{ {
$this->p->parse('row','portal_listbox_header',True); $this->p->parse('row','portal_listbox_header',True);
@ -80,6 +82,7 @@
$this->p->parse('row','portal_listbox_link',True); $this->p->parse('row','portal_listbox_link',True);
} }
$this->p->parse('row','portal_listbox_footer',True); $this->p->parse('row','portal_listbox_footer',True);
}
$this->set_internal($extra_data); $this->set_internal($extra_data);
return $this->draw_box(); return $this->draw_box();
} }