diaspora vcard updates
This commit is contained in:
parent
de455e4cd0
commit
3338f3c5b2
@ -1069,6 +1069,7 @@ function profile_sidebar($profile, $block = 0, $show_connect = true, $zcard = fa
|
|||||||
$diaspora = array(
|
$diaspora = array(
|
||||||
'podloc' => z_root(),
|
'podloc' => z_root(),
|
||||||
'guid' => $profile['channel_guid'] . str_replace('.','',App::get_hostname()),
|
'guid' => $profile['channel_guid'] . str_replace('.','',App::get_hostname()),
|
||||||
|
'pubkey' => pemtorsa($profile['channel_pubkey']),
|
||||||
'searchable' => (($block) ? 'false' : 'true'),
|
'searchable' => (($block) ? 'false' : 'true'),
|
||||||
'nickname' => $profile['channel_address'],
|
'nickname' => $profile['channel_address'],
|
||||||
'fullname' => $profile['channel_name'],
|
'fullname' => $profile['channel_name'],
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
<dl class='entity_nickname'>
|
<dl class='entity_nickname'>
|
||||||
<dt>Nickname</dt>
|
<dt>Nickname</dt>
|
||||||
<dd>
|
<dd>
|
||||||
<a class="nickname p-nickname">{{$diaspora.nickname}}</a>
|
<span class="nickname p-nickname">{{$diaspora.nickname}}</span>
|
||||||
</dd>
|
</dd>
|
||||||
</dl>
|
</dl>
|
||||||
<dl class='entity_full_name'>
|
<dl class='entity_full_name'>
|
||||||
@ -33,25 +33,25 @@
|
|||||||
<dl class="entity_url">
|
<dl class="entity_url">
|
||||||
<dt>URL</dt>
|
<dt>URL</dt>
|
||||||
<dd>
|
<dd>
|
||||||
<a href="{{$diaspora.podloc}}/" id="pod_location" >{{$diaspora.podloc}}/</a>
|
<a href="{{$diaspora.podloc}}/" id="pod_location" class="url" rel="me" >{{$diaspora.podloc}}/</a>
|
||||||
</dd>
|
</dd>
|
||||||
</dl>
|
</dl>
|
||||||
<dl class="entity_photo">
|
<dl class="entity_photo">
|
||||||
<dt>Photo</dt>
|
<dt>Photo</dt>
|
||||||
<dd>
|
<dd>
|
||||||
<img class="photo u-photo avatar" height="300" width="300" src="{{$diaspora.photo300}}">
|
<img class="photo u-photo avatar" height="300" width="300" src="{{$diaspora.photo300}}" />
|
||||||
</dd>
|
</dd>
|
||||||
</dl>
|
</dl>
|
||||||
<dl class="entity_photo_medium">
|
<dl class="entity_photo_medium">
|
||||||
<dt>Photo</dt>
|
<dt>Photo</dt>
|
||||||
<dd>
|
<dd>
|
||||||
<img class="photo u-photo avatar" height="100" width="100" src="{{$diaspora.photo100}}">
|
<img class="photo u-photo avatar" height="100" width="100" src="{{$diaspora.photo100}}" />
|
||||||
</dd>
|
</dd>
|
||||||
</dl>
|
</dl>
|
||||||
<dl class="entity_photo_small">
|
<dl class="entity_photo_small">
|
||||||
<dt>Photo</dt>
|
<dt>Photo</dt>
|
||||||
<dd>
|
<dd>
|
||||||
<img class="photo u-photo avatar" height="50" width="50" src="{{$diaspora.photo50}}">
|
<img class="photo u-photo avatar" height="50" width="50" src="{{$diaspora.photo50}}" />
|
||||||
</dd>
|
</dd>
|
||||||
</dl>
|
</dl>
|
||||||
<dl class="entity_searchable">
|
<dl class="entity_searchable">
|
||||||
@ -60,4 +60,10 @@
|
|||||||
<span class="searchable">{{$diaspora.searchable}}</span>
|
<span class="searchable">{{$diaspora.searchable}}</span>
|
||||||
</dd>
|
</dd>
|
||||||
</dl>
|
</dl>
|
||||||
|
<dl class="entity_key">
|
||||||
|
<dt>Key</dt>
|
||||||
|
<dd>
|
||||||
|
<pre class="key">{{$diaspora.pubkey}}</pre>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
</div>
|
</div>
|
||||||
|
Reference in New Issue
Block a user