X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Ftheme%2Fdiabook%2Ftheme.php;h=4acb058e54113084396910ce5038c1c886b5ec88;hb=d52dad3826ebed717dc7a9d24ac670cdd33e16f8;hp=798eef42237f082fc76cd242482fb0c1f0658338;hpb=286c230fa858b7b1fead9c3ff722f6b1b9478d01;p=friendica.git diff --git a/view/theme/diabook/theme.php b/view/theme/diabook/theme.php index 798eef4223..4acb058e54 100755 --- a/view/theme/diabook/theme.php +++ b/view/theme/diabook/theme.php @@ -3,11 +3,15 @@ /* * 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: */ +//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; @@ -139,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'] = '