diff options
author | mrjive <mrjive@mrjive.it> | 2016-01-28 23:19:13 +0100 |
---|---|---|
committer | mrjive <mrjive@mrjive.it> | 2016-01-28 23:19:13 +0100 |
commit | 28943af494eae225b256b9771a5699a1b05d7a2f (patch) | |
tree | 1f135da64c0935053f468281f8353e8279a18448 /include/text.php | |
parent | c49e4f52ae83441c4a1dcf52e433dded8d767679 (diff) | |
parent | 5f1eb18da4d6380b64e83e0eeda6f1037de2fec9 (diff) | |
download | volse-hubzilla-28943af494eae225b256b9771a5699a1b05d7a2f.tar.gz volse-hubzilla-28943af494eae225b256b9771a5699a1b05d7a2f.tar.bz2 volse-hubzilla-28943af494eae225b256b9771a5699a1b05d7a2f.zip |
Merge pull request #19 from redmatrix/master
updating from original codebase
Diffstat (limited to 'include/text.php')
-rw-r--r-- | include/text.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/text.php b/include/text.php index 6f7297bb0..0b5ad9c72 100644 --- a/include/text.php +++ b/include/text.php @@ -812,7 +812,7 @@ function contact_block() { ); if(count($r)) { - $contacts = sprintf( tt('%d Connection','%d Connections', $total),$total); + $contacts = t('Connections'); $micropro = Array(); foreach($r as $rr) { $rr['archived'] = (intval($rr['abook_archived']) ? true : false); @@ -825,7 +825,7 @@ function contact_block() { $o = replace_macros($tpl, array( '$contacts' => $contacts, '$nickname' => $a->profile['channel_address'], - '$viewconnections' => t('View Connections'), + '$viewconnections' => (($total > $shown) ? sprintf(t('View all %s connections'),$total) : ''), '$micropro' => $micropro, )); @@ -2716,5 +2716,7 @@ function item_url_replace($channel,&$item,$old,$new) { $item['sig'] = base64url_encode(rsa_sign($item['body'],$channel['channel_prvkey'])); $item['item_verified'] = 1; } + + // @fixme item['plink'] and item['llink'] } |