]> git.mxchange.org Git - friendica.git/commitdiff
several little nits in the hcard template output which could affect parsers
authorfriendica <info@friendica.com>
Sat, 12 Nov 2011 20:28:21 +0000 (12:28 -0800)
committerfriendica <info@friendica.com>
Sat, 12 Nov 2011 20:28:21 +0000 (12:28 -0800)
boot.php
include/nav.php
index.php
view/diaspora_vcard.tpl

index 05da3bba93295401ffe898d70b2cda1249167515..be33594e4df5f5785ddd8dfbc19999169ef65219 100644 (file)
--- 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,
index f7165fd0dbe6b2b7303021757b9a92b0d48ad882..4c75a495b3925d1ee0fe0153e5e983535d93a675 100644 (file)
@@ -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';
 }
index e72bbd14f1a21dd9bbfebfabe05659052e53ce19..78ceb6d770018c1587d6909cb50236a1e31a1919 100644 (file)
--- 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);
 
index e71fc33ef2456ddffbc3b3f91a93ea4ce8a5639f..de3981a94ba24e1b610ca5ed3c1b32c5e199fdd2 100644 (file)
@@ -2,7 +2,7 @@
        <dl class='entity_nickname'>
                <dt>Nickname</dt>
                <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>
        </dl>
        <dl class='entity_fn'>