X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=view%2Ftheme%2Fdiabook-blue%2Ftheme.php;h=435ecaf92613f7d34e72f4e3471c3a0ffce2578f;hb=a1d5026abf129fc520327881a293d17c1ab21eff;hp=2c878e6f055693156e4a23fe092b5da81c17f61a;hpb=7ab117fd31c31cba4880cfcc63fc940531850455;p=friendica.git diff --git a/view/theme/diabook-blue/theme.php b/view/theme/diabook-blue/theme.php index 2c878e6f05..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; @@ -18,7 +19,7 @@ $cssFile = null; /** * prints last community activity */ -function diabook_community_info(){ +function diabook_blue_community_info(){ $a = get_app(); //right_aside at networkpages @@ -138,17 +139,38 @@ function diabook_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'] = '