Browse Source

In the profiles the remote connect field was missing

pull/1143/head
Michael Vogel 8 years ago
parent
commit
f9bec79a2c
  1. 2
      mod/noscrape.php
  2. 8
      view/templates/profile_vcard.tpl
  3. 8
      view/theme/duepuntozero/templates/profile_vcard.tpl
  4. 8
      view/theme/quattro/templates/profile_vcard.tpl
  5. 2
      view/theme/vier/theme.php

2
mod/noscrape.php

@ -48,4 +48,4 @@ function noscrape_init(&$a) {
echo json_encode($json_info);
exit;
}
}

8
view/templates/profile_vcard.tpl

@ -40,8 +40,12 @@
<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}}

8
view/theme/duepuntozero/templates/profile_vcard.tpl

@ -38,8 +38,12 @@
<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}}

8
view/theme/quattro/templates/profile_vcard.tpl

@ -61,8 +61,12 @@
<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}}

2
view/theme/vier/theme.php

@ -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'] .= <<< EOT
<script>
<script type="text/javascript">
function collapseHeight(elems) {
var elemName = '.wall-item-body:not(.divmore)';

Loading…
Cancel
Save