X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Ftheme%2Fdiabook-blue%2Ftheme.php;h=435ecaf92613f7d34e72f4e3471c3a0ffce2578f;hb=a1d5026abf129fc520327881a293d17c1ab21eff;hp=a5f4490bac12d6c614ba0d72f623b5a48fc06da4;hpb=629a66793c245d39ca47523a6fbc790fae0cbe3b;p=friendica.git diff --git a/view/theme/diabook-blue/theme.php b/view/theme/diabook-blue/theme.php index a5f4490bac..435ecaf926 100755 --- a/view/theme/diabook-blue/theme.php +++ b/view/theme/diabook-blue/theme.php @@ -3,13 +3,14 @@ /* * Name: Diabook-blue * Description: Diabook-blue: 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', -); + +//print diabook-version for debugging +$diabook_version = "Diabook-blue (Version: 1.016)"; +$a->page['htmlhead'] .= sprintf('', $diabook_version); //change css on network and profilepages $cssFile = null; @@ -138,17 +139,38 @@ function diabook_blue_community_info(){ else {a_funct()}})()" ; $aside['$fostitJS'] = $fostitJS; + + //nav 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'] = '