From ee8dd62038993c184b704df08a3ab1fbcf0c04ac Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Sun, 14 Jun 2009 22:07:27 -0700 Subject: try to get the right class for profileminilist --- lib/profilelist.php | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) (limited to 'lib/profilelist.php') diff --git a/lib/profilelist.php b/lib/profilelist.php index e2faf10af..bd866bed7 100644 --- a/lib/profilelist.php +++ b/lib/profilelist.php @@ -61,9 +61,24 @@ class ProfileList extends Widget } function show() + { + $this->startList(); + $this->showProfiles(); + $this->endList(); + } + + function startList() { $this->out->elementStart('ul', 'profiles'); + } + function endList() + { + $this->out->elementEnd('ul'); + } + + function showProfiles() + { $cnt = 0; while ($this->profile->fetch()) { @@ -75,8 +90,6 @@ class ProfileList extends Widget $pli->show(); } - $this->out->elementEnd('ul'); - return $cnt; } -- cgit v1.2.3-54-g00ecf