summaryrefslogtreecommitdiff
path: root/lib/groupminilist.php
diff options
context:
space:
mode:
authorRobin Millette <millette@controlyourself.ca>2009-04-14 23:03:31 +0000
committerRobin Millette <millette@controlyourself.ca>2009-04-14 23:03:31 +0000
commit533a463879e574f53fb84dd977e9d72a75023451 (patch)
treeac6caa220b15d50664beab5507e1a56b030839f2 /lib/groupminilist.php
parent20394664957a202cc86cc48ee2d115032e82c58a (diff)
parent9f2e2e4b2c1b428a1892c57c7194fbc5ede5b125 (diff)
Merge branch '0.7.x' of git@gitorious.org:laconica/dev into 0.7.x
Diffstat (limited to 'lib/groupminilist.php')
-rw-r--r--lib/groupminilist.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/groupminilist.php b/lib/groupminilist.php
index fe38d0340..ae2d237f1 100644
--- a/lib/groupminilist.php
+++ b/lib/groupminilist.php
@@ -33,7 +33,7 @@ if (!defined('LACONICA')) {
require_once INSTALLDIR.'/lib/grouplist.php';
-define('GROUPS_PER_MINILIST', 80);
+define('GROUPS_PER_MINILIST', 27);
/**
* Widget to show a list of groups, good for sidebar
@@ -75,8 +75,9 @@ class GroupMiniList extends GroupList
'href' => $this->group->homeUrl(),
'rel' => 'contact group',
'class' => 'url'));
- $logo = ($this->group->stream_logo) ?
- $this->group->stream_logo : User_group::defaultLogo(AVATAR_STREAM_SIZE);
+
+ $logo = ($this->group->mini_logo) ?
+ $this->group->mini_logo : User_group::defaultLogo(AVATAR_MINI_SIZE);
$this->out->element('img', array('src' => $logo,
'width' => AVATAR_MINI_SIZE,