In the profiles the remote connect field was missing
This commit is contained in:
parent
c8482ae19e
commit
f9bec79a2c
5 changed files with 20 additions and 8 deletions
|
@ -48,4 +48,4 @@ function noscrape_init(&$a) {
|
||||||
echo json_encode($json_info);
|
echo json_encode($json_info);
|
||||||
exit;
|
exit;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -40,8 +40,12 @@
|
||||||
<div id="profile-extra-links">
|
<div id="profile-extra-links">
|
||||||
<ul>
|
<ul>
|
||||||
{{if $connect}}
|
{{if $connect}}
|
||||||
<li><a id="dfrn-request-link" href="dfrn_request/{{$profile.nickname}}">{{$connect}}</a></li>
|
{{if $remoteconnect}}
|
||||||
{{/if}}
|
<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}}
|
{{if $wallmessage}}
|
||||||
<li><a id="wallmessage-link" href="wallmessage/{{$profile.nickname}}">{{$wallmessage}}</a></li>
|
<li><a id="wallmessage-link" href="wallmessage/{{$profile.nickname}}">{{$wallmessage}}</a></li>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
|
@ -38,8 +38,12 @@
|
||||||
<div id="profile-extra-links">
|
<div id="profile-extra-links">
|
||||||
<ul>
|
<ul>
|
||||||
{{if $connect}}
|
{{if $connect}}
|
||||||
<li><a id="dfrn-request-link" href="dfrn_request/{{$profile.nickname}}">{{$connect}}</a></li>
|
{{if $remoteconnect}}
|
||||||
{{/if}}
|
<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}}
|
{{if $wallmessage}}
|
||||||
<li><a id="wallmessage-link" href="wallmessage/{{$profile.nickname}}">{{$wallmessage}}</a></li>
|
<li><a id="wallmessage-link" href="wallmessage/{{$profile.nickname}}">{{$wallmessage}}</a></li>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
|
@ -61,8 +61,12 @@
|
||||||
<div id="profile-extra-links">
|
<div id="profile-extra-links">
|
||||||
<ul>
|
<ul>
|
||||||
{{if $connect}}
|
{{if $connect}}
|
||||||
<li><a id="dfrn-request-link" href="dfrn_request/{{$profile.nickname}}">{{$connect}}</a></li>
|
{{if $remoteconnect}}
|
||||||
{{/if}}
|
<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}}
|
{{if $wallmessage}}
|
||||||
<li><a id="wallmessage-link" href="wallmessage/{{$profile.nickname}}">{{$wallmessage}}</a></li>
|
<li><a id="wallmessage-link" href="wallmessage/{{$profile.nickname}}">{{$wallmessage}}</a></li>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
|
@ -30,7 +30,7 @@ else if ($style == "plus")
|
||||||
$a->page['htmlhead'] .= '<link rel="stylesheet" href="view/theme/vier/plus.css" type="text/css" media="screen"/>'."\n";
|
$a->page['htmlhead'] .= '<link rel="stylesheet" href="view/theme/vier/plus.css" type="text/css" media="screen"/>'."\n";
|
||||||
|
|
||||||
$a->page['htmlhead'] .= <<< EOT
|
$a->page['htmlhead'] .= <<< EOT
|
||||||
<script>
|
<script type="text/javascript">
|
||||||
|
|
||||||
function collapseHeight(elems) {
|
function collapseHeight(elems) {
|
||||||
var elemName = '.wall-item-body:not(.divmore)';
|
var elemName = '.wall-item-body:not(.divmore)';
|
||||||
|
|
Loading…
Reference in a new issue