aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-11-11 12:13:04 -0800
committerfriendica <info@friendica.com>2013-11-11 12:13:04 -0800
commitedc1a94f7b26db27319407a431052d9f6eb90b4e (patch)
treea0ceea3df326c7fb63163e56f3b52e63f961963c
parentb5bc04799c9f2fec82bbd0e9823a384118ea14c1 (diff)
parentc06dd4b589885f2577210543345c15da9ed23c4e (diff)
downloadvolse-hubzilla-edc1a94f7b26db27319407a431052d9f6eb90b4e.tar.gz
volse-hubzilla-edc1a94f7b26db27319407a431052d9f6eb90b4e.tar.bz2
volse-hubzilla-edc1a94f7b26db27319407a431052d9f6eb90b4e.zip
Merge pull request #196 from git-marijus/master
change spacing to fit other widgets
-rwxr-xr-xinclude/oembed.php1
-rwxr-xr-xview/tpl/peoplefind.tpl18
2 files changed, 9 insertions, 10 deletions
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 .= "<a href='$embedurl' rel='oembed'>$embedlink</a>";
+ $ret .= "<br>";
if (isset($j->author_name)) $ret.=" by ".$j->author_name;
if (isset($j->provider_name)) $ret.=" on ".$j->provider_name;
} else {
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 @@
<div id="peoplefind-sidebar" class="widget">
<h3>{{$findpeople}}</h3>
- <div id="peoplefind-desc">{{$desc}}</div>
+ {{$desc}}
<form action="directory" method="post" />
- <input id="side-peoplefind-url" type="text" name="search" size="24" title="{{$hint}}" /><input id="side-peoplefind-submit" type="submit" name="submit" value="{{$findthem}}" />
+ <input class="icon-search" id="side-peoplefind-url" type="text" name="search" size="24" title="{{$hint}}" placeholder="&#xf002;"/>
+ <input id="side-peoplefind-submit" type="submit" name="submit" value="{{$findthem}}" />
</form>
- {{if $similar}}
- <div class="side-link" id="side-match-link"><a href="match" >{{$similar}}</a></div>
- {{/if}}
- <div class="side-link" id="side-suggest-link"><a href="suggest" >{{$suggest}}</a></div>
- <div class="side-link" id="side-random-profile-link" ><a href="randprof" >{{$random}}</a></div>
- {{if $inv}}
- <div class="side-link" id="side-invite-link" ><a href="invite" >{{$inv}}</a></div>
- {{/if}}
+ <br />
+ {{if $similar}}<a href="match" >{{$similar}}</a><br />{{/if}}
+ <a href="suggest" >{{$suggest}}</a><br />
+ <a href="randprof" >{{$random}}</a><br />
+ {{if $inv}}<a href="invite" >{{$inv}}</a>{{/if}}
</div>