From f8a34c737d312ca3102ccacb737b59ff712b4612 Mon Sep 17 00:00:00 2001 From: marijus Date: Mon, 11 Nov 2013 16:50:43 +0100 Subject: [PATCH 1/2] change spacing to fit other widgets --- view/tpl/peoplefind.tpl | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/view/tpl/peoplefind.tpl b/view/tpl/peoplefind.tpl index c3cbb064b..aef341d41 100755 --- a/view/tpl/peoplefind.tpl +++ b/view/tpl/peoplefind.tpl @@ -1,16 +1,14 @@

{{$findpeople}}

-
{{$desc}}
+ {{$desc}}
- + +
- {{if $similar}} - - {{/if}} - - - {{if $inv}} - - {{/if}} +
+ {{if $similar}}{{$similar}}
{{/if}} + {{$suggest}}
+ {{$random}}
+ {{if $inv}}{{$inv}}{{/if}}
From c06dd4b589885f2577210543345c15da9ed23c4e Mon Sep 17 00:00:00 2001 From: marijus Date: Mon, 11 Nov 2013 18:44:23 +0100 Subject: [PATCH 2/2] looks more structured this way --- include/oembed.php | 1 + 1 file changed, 1 insertion(+) diff --git a/include/oembed.php b/include/oembed.php index 04a40f6ee..5da842170 100755 --- a/include/oembed.php +++ b/include/oembed.php @@ -123,6 +123,7 @@ function oembed_format_object($j){ if ( $j->type!='rich' || !strpos($j->html,$embedurl) ){ $embedlink = (isset($j->title))?$j->title:$embedurl; $ret .= "$embedlink"; + $ret .= "
"; if (isset($j->author_name)) $ret.=" by ".$j->author_name; if (isset($j->provider_name)) $ret.=" on ".$j->provider_name; } else {