echo json_encode($json_info);
exit;
-}
\ No newline at end of file
+}
<div id="profile-extra-links">
<ul>
{{if $connect}}
- <li><a id="dfrn-request-link" href="dfrn_request/{{$profile.nickname}}">{{$connect}}</a></li>
- {{/if}}
+ {{if $remoteconnect}}
+ <li><a id="dfrn-request-link" href="{{$remoteconnect}}">{{$connect}}</a></li>
+ {{else}}
+ <li><a id="dfrn-request-link" href="dfrn_request/{{$profile.nickname}}">{{$connect}}</a></li>
+ {{/if}}
+ {{/if}}
{{if $wallmessage}}
<li><a id="wallmessage-link" href="wallmessage/{{$profile.nickname}}">{{$wallmessage}}</a></li>
{{/if}}
<div id="profile-extra-links">
<ul>
{{if $connect}}
- <li><a id="dfrn-request-link" href="dfrn_request/{{$profile.nickname}}">{{$connect}}</a></li>
- {{/if}}
+ {{if $remoteconnect}}
+ <li><a id="dfrn-request-link" href="{{$remoteconnect}}">{{$connect}}</a></li>
+ {{else}}
+ <li><a id="dfrn-request-link" href="dfrn_request/{{$profile.nickname}}">{{$connect}}</a></li>
+ {{/if}}
+ {{/if}}
{{if $wallmessage}}
<li><a id="wallmessage-link" href="wallmessage/{{$profile.nickname}}">{{$wallmessage}}</a></li>
{{/if}}
<div id="profile-extra-links">
<ul>
{{if $connect}}
- <li><a id="dfrn-request-link" href="dfrn_request/{{$profile.nickname}}">{{$connect}}</a></li>
- {{/if}}
+ {{if $remoteconnect}}
+ <li><a id="dfrn-request-link" href="{{$remoteconnect}}">{{$connect}}</a></li>
+ {{else}}
+ <li><a id="dfrn-request-link" href="dfrn_request/{{$profile.nickname}}">{{$connect}}</a></li>
+ {{/if}}
+ {{/if}}
{{if $wallmessage}}
<li><a id="wallmessage-link" href="wallmessage/{{$profile.nickname}}">{{$wallmessage}}</a></li>
{{/if}}
$a->page['htmlhead'] .= '<link rel="stylesheet" href="view/theme/vier/plus.css" type="text/css" media="screen"/>'."\n";
$a->page['htmlhead'] .= <<< EOT
-<script>
+<script type="text/javascript">
function collapseHeight(elems) {
var elemName = '.wall-item-body:not(.divmore)';