summaryrefslogtreecommitdiff
path: root/lib/profilelist.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-06-14 22:07:27 -0700
committerEvan Prodromou <evan@controlyourself.ca>2009-06-14 22:07:27 -0700
commitee8dd62038993c184b704df08a3ab1fbcf0c04ac (patch)
treed18c6e7409112b57b1ee6185474e23fb539755bb /lib/profilelist.php
parent23fd58b74c7d37b56c7fee897a485729061196d5 (diff)
try to get the right class for profileminilist
Diffstat (limited to 'lib/profilelist.php')
-rw-r--r--lib/profilelist.php17
1 files changed, 15 insertions, 2 deletions
diff --git a/lib/profilelist.php b/lib/profilelist.php
index e2faf10af..bd866bed7 100644
--- a/lib/profilelist.php
+++ b/lib/profilelist.php
@@ -62,8 +62,23 @@ 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;
}