profile_sidebar hook ignored the updated html content
This commit is contained in:
parent
80ec92ce8d
commit
7acb068590
@ -1196,7 +1196,8 @@ function profile_sidebar($profile, $block = 0, $show_connect = true, $zcard = fa
|
||||
|
||||
call_hooks('profile_sidebar', $arr);
|
||||
|
||||
return $o;
|
||||
return $arr['entry'];
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
@ -1,69 +0,0 @@
|
||||
<div style="display:none;">
|
||||
<dl class="entity_uid">
|
||||
<dt>Uid</dt>
|
||||
<dd>
|
||||
<span class="uid p-uid">{{$diaspora.guid}}</span>
|
||||
</dd>
|
||||
</dl>
|
||||
<dl class='entity_nickname'>
|
||||
<dt>Nickname</dt>
|
||||
<dd>
|
||||
<span class="nickname p-nickname">{{$diaspora.nickname}}</span>
|
||||
</dd>
|
||||
</dl>
|
||||
<dl class='entity_full_name'>
|
||||
<dt>Full name</dt>
|
||||
<dd>
|
||||
<span class='fn p-name'>{{$diaspora.fullname}}</span>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<dl class='entity_first_name'>
|
||||
<dt>First name</dt>
|
||||
<dd>
|
||||
<span class='given_name p-given-name'>{{$diaspora.firstname}}</span>
|
||||
</dd>
|
||||
</dl>
|
||||
<dl class='entity_family_name'>
|
||||
<dt>Family name</dt>
|
||||
<dd>
|
||||
<span class='family_name p-family-name'>{{$diaspora.lastname}}</span>
|
||||
</dd>
|
||||
</dl>
|
||||
<dl class="entity_url">
|
||||
<dt>URL</dt>
|
||||
<dd>
|
||||
<a href="{{$diaspora.podloc}}/" id="pod_location" class="url" rel="me" >{{$diaspora.podloc}}/</a>
|
||||
</dd>
|
||||
</dl>
|
||||
<dl class="entity_photo">
|
||||
<dt>Photo</dt>
|
||||
<dd>
|
||||
<img class="photo u-photo avatar" height="300" width="300" src="{{$diaspora.photo300}}" />
|
||||
</dd>
|
||||
</dl>
|
||||
<dl class="entity_photo_medium">
|
||||
<dt>Photo</dt>
|
||||
<dd>
|
||||
<img class="photo u-photo avatar" height="100" width="100" src="{{$diaspora.photo100}}" />
|
||||
</dd>
|
||||
</dl>
|
||||
<dl class="entity_photo_small">
|
||||
<dt>Photo</dt>
|
||||
<dd>
|
||||
<img class="photo u-photo avatar" height="50" width="50" src="{{$diaspora.photo50}}" />
|
||||
</dd>
|
||||
</dl>
|
||||
<dl class="entity_searchable">
|
||||
<dt>Searchable</dt>
|
||||
<dd>
|
||||
<span class="searchable">{{$diaspora.searchable}}</span>
|
||||
</dd>
|
||||
</dl>
|
||||
<dl class="entity_key">
|
||||
<dt>Key</dt>
|
||||
<dd>
|
||||
<pre class="key">{{$diaspora.pubkey}}</pre>
|
||||
</dd>
|
||||
</dl>
|
||||
</div>
|
Reference in New Issue
Block a user