mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-09 16:44:26 +02:00
lots of formatting, bug fixes on profile updates, i18n
This commit is contained in:
parent
e15265be3c
commit
2e5fb9c37e
14 changed files with 141 additions and 100 deletions
|
@ -125,18 +125,22 @@ function group_side($every="contacts",$each="group") {
|
|||
|
||||
if(! local_user())
|
||||
return;
|
||||
|
||||
$createtext = t('Create a new group');
|
||||
$linktext= t('Everybody');
|
||||
|
||||
$o .= <<< EOT
|
||||
|
||||
<div id="group-sidebar">
|
||||
<h3>Groups</h3>
|
||||
|
||||
<div id="sidebar-new-group">
|
||||
<a href="group/new">Create a new group</a>
|
||||
<a href="group/new">$createtext</a>
|
||||
</div>
|
||||
|
||||
<div id="sidebar-group-list">
|
||||
<ul id="sidebar-group-ul">
|
||||
<li class="sidebar-group-li" ><a href="$every">Everybody</a></li>
|
||||
<li class="sidebar-group-li" ><a href="$every" >$linktext</a></li>
|
||||
|
||||
EOT;
|
||||
|
||||
|
|
|
@ -110,7 +110,7 @@ function get_feed_for(&$a,$dfrn_id,$owner_id,$last_update) {
|
|||
'$owner_profile_page' => xmlify($item['owner-link']),
|
||||
'$owner_thumb' => xmlify($item['owner-avatar']),
|
||||
'$item_id' => xmlify($item['uri']),
|
||||
'$title' => xmlify($item['name']),
|
||||
'$title' => xmlify($item['title']),
|
||||
'$published' => xmlify(datetime_convert('UTC', 'UTC', $item['created'] . '+00:00' , 'Y-m-d\TH:i:s\Z')),
|
||||
'$updated' => xmlify(datetime_convert('UTC', 'UTC', $item['edited'] . '+00:00' , 'Y-m-d\TH:i:s\Z')),
|
||||
'$content' =>xmlify($item['body']),
|
||||
|
|
|
@ -163,7 +163,7 @@ if($argc < 3)
|
|||
'$owner_profile_page' => xmlify($item['owner-link']),
|
||||
'$owner_thumb' => xmlify($item['owner-avatar']),
|
||||
'$item_id' => xmlify($item['uri']),
|
||||
'$title' => xmlify($contact['name']),
|
||||
'$title' => xmlify($item['title']),
|
||||
'$published' => xmlify(datetime_convert('UTC', 'UTC',
|
||||
$item['created'] . '+00:00' , 'Y-m-d\TH:i:s\Z')),
|
||||
'$updated' => xmlify(datetime_convert('UTC', 'UTC',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue