mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-17 05:48:49 +00:00
Fixed parser errors
Signed-off-by: Roland Häder <roland@mxchange.org>
This commit is contained in:
parent
49422583cc
commit
ac46a91a2c
3 changed files with 3 additions and 5 deletions
|
@ -40,7 +40,6 @@ function fromgplus_uninstall() {
|
|||
}
|
||||
|
||||
function fromgplus_addon_settings(App $a, $s) {
|
||||
|
||||
if(! local_user())
|
||||
return;
|
||||
|
||||
|
@ -302,7 +301,7 @@ function fromgplus_cleanupgoogleproxy($fullImage, $image) {
|
|||
$cleaned["full"] = $fullImage;
|
||||
}
|
||||
|
||||
if ($cleaned["full"] == "" && exif_imagetype($image) != 0)
|
||||
if ($cleaned["full"] == "" && exif_imagetype($image) != 0) {
|
||||
$cleaned["full"] = $image;
|
||||
}
|
||||
|
||||
|
|
|
@ -27,12 +27,11 @@ function googlemaps_uninstall()
|
|||
|
||||
function googlemaps_location(App $a, array &$item)
|
||||
{
|
||||
|
||||
if (! (strlen($item['location']) || strlen($item['coord']))) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (isset($item['coord']) {
|
||||
if (isset($item['coord'])) {
|
||||
$target = "http://maps.google.com/?q=".urlencode($item['coord']);
|
||||
} else {
|
||||
$target = "http://maps.google.com/?q=".urlencode($item['location']);
|
||||
|
|
|
@ -29,7 +29,7 @@ function smileybutton_uninstall() {
|
|||
function show_button(App $a, &$b) {
|
||||
// Disable if theme is quattro
|
||||
// TODO add style for quattro
|
||||
if ($a->getCurrentTheme() == 'quattro')
|
||||
if ($a->getCurrentTheme() == 'quattro') {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue