X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Ftheme%2Fdiabook%2Ftheme.php;h=4acb058e54113084396910ce5038c1c886b5ec88;hb=d52dad3826ebed717dc7a9d24ac670cdd33e16f8;hp=e4af9d3f3cab683770a9a471389cc2d47bf39f65;hpb=579c4f3079b9d1912cab6f70a9d95ebab1ca8743;p=friendica.git diff --git a/view/theme/diabook/theme.php b/view/theme/diabook/theme.php index e4af9d3f3c..4acb058e54 100755 --- a/view/theme/diabook/theme.php +++ b/view/theme/diabook/theme.php @@ -3,13 +3,14 @@ /* * Name: Diabook * Description: Diabook: report bugs and request here: http://pad.toktan.org/p/diabook or contact me : thomas_bierey@friendica.eu - * Version: + * Version: (Version: 1.016) * Author: */ -$a->theme_info = array( - //'extends' => 'diabook', //it's diabook, don't need to extend himself... -); + +//print diabook-version for debugging +$diabook_version = "Diabook (Version: 1.016)"; +$a->page['htmlhead'] .= sprintf('', $diabook_version); //change css on network and profilepages $cssFile = null; @@ -142,16 +143,38 @@ function diabook_community_info(){ $aside['$fostitJS'] = $fostitJS; + //right_aside FIND FRIENDS + if(local_user()) { + $nv = array(); + $nv['title'] = Array("", t('Find Friends'), "", ""); + $nv['directory'] = Array('directory', t('Local Directory'), "", ""); + $nv['global_directory'] = Array('http://dir.friendica.com/', t('Global Directory'), "", ""); + $nv['match'] = Array('match', t('Similar Interests'), "", ""); + $nv['suggest'] = Array('suggest', t('Friend Suggestions'), "", ""); + $nv['invite'] = Array('invite', t('Invite Friends'), "", ""); + + $nv['search'] = '