1
0
Fork 0

Merge pull request #1944 from annando/1510-proxy-picture-size

Picture size and bugfix for contact names with "<" and ">"
This commit is contained in:
Tobias Diekershoff 2015-10-08 08:03:42 +02:00
commit 26983bafff
24 changed files with 141 additions and 93 deletions

View file

@ -84,7 +84,8 @@ function cmtBbClose(id) {
EOT;
// Hide the left menu bar
if (($a->page['aside'] == "") AND in_array($a->argv[0], array("community", "events", "help", "manage", "notifications", "probe", "webfinger", "login")))
if (($a->page['aside'] == "") AND in_array($a->argv[0], array("community", "events", "help", "manage", "notifications",
"probe", "webfinger", "login", "invite")))
$a->page['htmlhead'] .= "<link rel='stylesheet' href='view/theme/vier/hide.css' />";
}
@ -132,7 +133,7 @@ function vier_community_info() {
'$id' => $rr['id'],
//'$profile_link' => zrl($rr['url']),
'$profile_link' => $a->get_baseurl().'/follow/?url='.urlencode($rr['url']),
'$photo' => proxy_url($rr['photo']),
'$photo' => proxy_url($rr['photo'], false, PROXY_SIZE_MICRO),
'$alt_text' => $rr['name'],
));
$aside['$comunity_profiles_items'][] = $entry;