From 02b11c5d59a3fda8d7c8092dbcb9c782230c1d55 Mon Sep 17 00:00:00 2001 From: friendica Date: Sat, 12 Nov 2011 12:28:21 -0800 Subject: [PATCH] several little nits in the hcard template output which could affect parsers --- boot.php | 4 ++-- include/nav.php | 4 +++- index.php | 1 + view/diaspora_vcard.tpl | 2 +- 4 files changed, 7 insertions(+), 4 deletions(-) diff --git a/boot.php b/boot.php index 05da3bba9..be33594e4 100644 --- a/boot.php +++ b/boot.php @@ -9,7 +9,7 @@ require_once('include/nav.php'); require_once('include/cache.php'); define ( 'FRIENDIKA_PLATFORM', 'Friendica'); -define ( 'FRIENDIKA_VERSION', '2.3.1162' ); +define ( 'FRIENDIKA_VERSION', '2.3.1163' ); define ( 'DFRN_PROTOCOL_VERSION', '2.22' ); define ( 'DB_UPDATE_VERSION', 1103 ); @@ -955,7 +955,7 @@ function profile_sidebar($profile, $block = 0) { $diaspora = array( 'podloc' => $a->get_baseurl(), 'searchable' => (($profile['publish'] && $profile['net-publish']) ? 'true' : 'false' ), - 'nickname ' => $profile['nickname'], + 'nickname' => $profile['nickname'], 'fullname' => $profile['name'], 'firstname' => $firstname, 'lastname' => $lastname, diff --git a/include/nav.php b/include/nav.php index f7165fd0d..4c75a495b 100644 --- a/include/nav.php +++ b/include/nav.php @@ -180,9 +180,11 @@ function nav_set_selected($item){ 'introductions' => null, 'notifications' => null, 'messages' => null, - 'directory' => null, + 'directory' => null, 'settings' => null, 'contacts' => null, + 'manage' => null, + 'register' => null, ); $a->nav_sel[$item] = 'selected'; } diff --git a/index.php b/index.php index e72bbd14f..78ceb6d77 100644 --- a/index.php +++ b/index.php @@ -133,6 +133,7 @@ if($install) else check_config($a); +nav_set_selected('nothing'); $arr = array('app_menu' => $a->apps); diff --git a/view/diaspora_vcard.tpl b/view/diaspora_vcard.tpl index e71fc33ef..de3981a94 100644 --- a/view/diaspora_vcard.tpl +++ b/view/diaspora_vcard.tpl @@ -2,7 +2,7 @@
Nickname
- $diaspora.nickname + $diaspora.nickname