several little nits in the hcard template output which could affect parsers

This commit is contained in:
friendica 2011-11-12 12:28:21 -08:00
parent 9ec4f6e0c9
commit 02b11c5d59
4 changed files with 7 additions and 4 deletions

View File

@ -9,7 +9,7 @@ require_once('include/nav.php');
require_once('include/cache.php'); require_once('include/cache.php');
define ( 'FRIENDIKA_PLATFORM', 'Friendica'); define ( 'FRIENDIKA_PLATFORM', 'Friendica');
define ( 'FRIENDIKA_VERSION', '2.3.1162' ); define ( 'FRIENDIKA_VERSION', '2.3.1163' );
define ( 'DFRN_PROTOCOL_VERSION', '2.22' ); define ( 'DFRN_PROTOCOL_VERSION', '2.22' );
define ( 'DB_UPDATE_VERSION', 1103 ); define ( 'DB_UPDATE_VERSION', 1103 );
@ -955,7 +955,7 @@ function profile_sidebar($profile, $block = 0) {
$diaspora = array( $diaspora = array(
'podloc' => $a->get_baseurl(), 'podloc' => $a->get_baseurl(),
'searchable' => (($profile['publish'] && $profile['net-publish']) ? 'true' : 'false' ), 'searchable' => (($profile['publish'] && $profile['net-publish']) ? 'true' : 'false' ),
'nickname ' => $profile['nickname'], 'nickname' => $profile['nickname'],
'fullname' => $profile['name'], 'fullname' => $profile['name'],
'firstname' => $firstname, 'firstname' => $firstname,
'lastname' => $lastname, 'lastname' => $lastname,

View File

@ -180,9 +180,11 @@ function nav_set_selected($item){
'introductions' => null, 'introductions' => null,
'notifications' => null, 'notifications' => null,
'messages' => null, 'messages' => null,
'directory' => null, 'directory' => null,
'settings' => null, 'settings' => null,
'contacts' => null, 'contacts' => null,
'manage' => null,
'register' => null,
); );
$a->nav_sel[$item] = 'selected'; $a->nav_sel[$item] = 'selected';
} }

View File

@ -133,6 +133,7 @@ if($install)
else else
check_config($a); check_config($a);
nav_set_selected('nothing');
$arr = array('app_menu' => $a->apps); $arr = array('app_menu' => $a->apps);

View File

@ -2,7 +2,7 @@
<dl class='entity_nickname'> <dl class='entity_nickname'>
<dt>Nickname</dt> <dt>Nickname</dt>
<dd> <dd>
<a class="nickname url uid" href="$podloc/" rel="me">$diaspora.nickname</a> <a class="nickname url uid" href="$diaspora.podloc/" rel="me">$diaspora.nickname</a>
</dd> </dd>
</dl> </dl>
<dl class='entity_fn'> <dl class='entity_fn'>