diff options
author | sarven <csarven@plantard.controlezvous.ca> | 2009-01-23 02:43:55 +0000 |
---|---|---|
committer | sarven <csarven@plantard.controlezvous.ca> | 2009-01-23 02:43:55 +0000 |
commit | 8ba19b0686bc4f616e506ab387eb287ae95226df (patch) | |
tree | 06160115a9e52ced2d15bf97a54bebddf2c20d8d /lib/grouplist.php | |
parent | 0daf242100925396aad4cc9fea5de0de2ec98ce8 (diff) | |
parent | ba3b82c5638ba01fa0da6c9025ba2a4b852e66af (diff) |
Merge branch 'master' of ../trunk
Diffstat (limited to 'lib/grouplist.php')
-rw-r--r-- | lib/grouplist.php | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/lib/grouplist.php b/lib/grouplist.php index 869e44897..629bdd05d 100644 --- a/lib/grouplist.php +++ b/lib/grouplist.php @@ -34,7 +34,7 @@ if (!defined('LACONICA')) { require_once INSTALLDIR.'/lib/widget.php'; -define('groupS_PER_PAGE', 20); +define('GROUPS_PER_PAGE', 20); /** * Widget to show a list of groups @@ -72,7 +72,7 @@ class GroupList extends Widget while ($this->group->fetch()) { $cnt++; - if($cnt > groupS_PER_PAGE) { + if($cnt > GROUPS_PER_PAGE) { break; } $this->showgroup(); @@ -99,12 +99,12 @@ class GroupList extends Widget 'class' => 'url', 'rel' => 'group')); $this->out->element('img', array('src' => $logo, - 'class' => 'photo avatar', - 'width' => AVATAR_STREAM_SIZE, - 'height' => AVATAR_STREAM_SIZE, - 'alt' => - ($this->group->fullname) ? $this->group->fullname : - $this->group->nickname)); + 'class' => 'photo avatar', + 'width' => AVATAR_STREAM_SIZE, + 'height' => AVATAR_STREAM_SIZE, + 'alt' => + ($this->group->fullname) ? $this->group->fullname : + $this->group->nickname)); $hasFN = ($this->group->fullname) ? 'nickname url uid' : 'fn org nickname url uid'; $this->out->elementStart('span', $hasFN); $this->out->raw($this->highlight($this->group->nickname)); @@ -164,7 +164,7 @@ class GroupList extends Widget $lf = new LeaveForm($this->out, $this->group); $lf->show(); } else { - $jf = new JoinForm(); + $jf = new JoinForm($this->out, $this->group); $jf->show(); } } |