aboutsummaryrefslogtreecommitdiff
path: root/mod
diff options
context:
space:
mode:
authorEvan Winslow <evan@elgg.org>2012-03-26 00:09:39 -0700
committerEvan Winslow <evan@elgg.org>2012-03-26 00:09:39 -0700
commit65e8fcbb38357979067cda757257d71ef261d6d4 (patch)
tree35c450cdfcc33f96c7eed3e32b0dd341a923c503 /mod
parentc0579df990de69dd7b6bec5bd56ef34c6c0fdb8a (diff)
parentea5219e5da8c99dee97b3ee074bb34e604821245 (diff)
downloadelgg-65e8fcbb38357979067cda757257d71ef261d6d4.tar.gz
elgg-65e8fcbb38357979067cda757257d71ef261d6d4.tar.bz2
Merge pull request #177 from ewinslow/icon-fixes
Icon fixes
Diffstat (limited to 'mod')
-rw-r--r--mod/pages/start.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/mod/pages/start.php b/mod/pages/start.php
index 4b230a93d..834e98870 100644
--- a/mod/pages/start.php
+++ b/mod/pages/start.php
@@ -189,10 +189,12 @@ function pages_icon_url_override($hook, $type, $returnvalue, $params) {
if (elgg_instanceof($entity, 'object', 'page_top') ||
elgg_instanceof($entity, 'object', 'page')) {
switch ($params['size']) {
+ case 'topbar':
+ case 'tiny':
case 'small':
return 'mod/pages/images/pages.gif';
break;
- case 'medium':
+ default:
return 'mod/pages/images/pages_lrg.gif';
break;
}