'license' =>
array('url' => 'http://creativecommons.org/licenses/by/3.0/',
'title' => 'Creative Commons Attribution 3.0',
- 'image' => 'http://i.creativecommons.org/l/by/3.0/88x31.png'),
- 'avatar' =>
- array('default' =>
- array('profile' => 'theme/default/image/default-avatar-profile.png',
- 'stream' => 'theme/default/image/default-avatar-stream.png',
- 'mini' => 'theme/default/image/default-avatar-mini.png')));
+ 'image' => 'http://i.creativecommons.org/l/by/3.0/88x31.png'));
$config['db'] = &PEAR::getStaticProperty('DB_DataObject','options');
static $sizenames = array(AVATAR_PROFILE_SIZE => 'profile',
AVATAR_STREAM_SIZE => 'stream',
AVATAR_MINI_SIZE => 'mini');
- global $config;
-
- return common_path($config['avatar']['default'][$sizenames[$size]]);
+ return theme_path('default-avatar-'.$sizenames[$size].'.png');
}
function common_local_url($action, $args=NULL) {