Friendica Communications Platform (please note that this is a clone of the repository at github, issues are handled there) https://friendi.ca
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

86 lines
2.9 KiB

  1. <div class="vcard">
  2. <div class="tool">
  3. <div class="fn label">{{$profile.name}}</div>
  4. {{if $profile.edit}}
  5. <div class="action">
  6. <a class="icon s16 edit ttright" href="#" rel="#profiles-menu" title="{{$profile.edit.3}}"><span>{{$profile.edit.1}}</span></a>
  7. <ul id="profiles-menu" class="menu-popup">
  8. {{if $profile.menu.entries}}
  9. {{foreach $profile.menu.entries as $e}}
  10. <li>
  11. <a href="profiles/{{$e.id}}"><img src='{{$e.photo}}'>{{$e.profile_name}}</a>
  12. </li>
  13. {{/foreach}}
  14. {{else}}
  15. <li>
  16. <a href="{{$profile.edit.0}}">{{$profile.edit.1}}</a>
  17. </li>
  18. {{/if}}
  19. <li><a href="profile_photo" >{{$profile.menu.chg_photo}}</a></li>
  20. {{if $profile.menu.cr_new }}
  21. <li><a href="profiles/new" id="profile-listing-new-link">{{$profile.menu.cr_new}}</a></li>
  22. {{/if}}
  23. </ul>
  24. </div>
  25. {{/if}}
  26. </div>
  27. {{if $profile.faddr}}<div class="p-faddr">{{$profile.faddr}}</div>{{/if}}
  28. {{if $pdesc}}<div class="title">{{$profile.pdesc}}</div>{{/if}}
  29. <div id="profile-photo-wrapper"><img class="photo" width="175" height="175" src="{{$profile.photo}}?rev={{$profile.picdate}}" alt="{{$profile.name}}" /></div>
  30. {{if $location}}
  31. <dl class="location"><dt class="location-label">{{$location}}</dt>
  32. <dd class="adr">
  33. {{if $profile.address}}<div class="street-address">{{$profile.address}}</div>{{/if}}
  34. <span class="city-state-zip">
  35. <span class="locality">{{$profile.locality}}</span>{{if $profile.locality}}, {{/if}}
  36. <span class="region">{{$profile.region}}</span>
  37. <span class="postal-code">{{$profile.postal_code}}</span>
  38. </span>
  39. {{if $profile.country_name}}<span class="country-name">{{$profile.country_name}}</span>{{/if}}
  40. </dd>
  41. </dl>
  42. {{/if}}
  43. {{if $gender}}<dl class="mf"><dt class="gender-label">{{$gender}}</dt> <dd class="x-gender">{{$profile.gender}}</dd></dl>{{/if}}
  44. {{if $profile.pubkey}}<div class="key" style="display:none;">{{$profile.pubkey}}</div>{{/if}}
  45. {{if $marital}}<dl class="marital"><dt class="marital-label"><span class="heart">&hearts;</span>{{$marital}}</dt><dd class="marital-text">{{$profile.marital}}</dd></dl>{{/if}}
  46. {{if $homepage}}
  47. <dl class="homepage"><dt class="homepage-label">{{$homepage}}</dt>
  48. <dd class="homepage-url"><a href="{{$profile.homepage}}" target="external-link">{{$profile.homepage}}</a></dd>
  49. </dl>
  50. {{/if}}
  51. {{include file="diaspora_vcard.tpl"}}
  52. <div id="profile-extra-links">
  53. <ul>
  54. {{if $connect}}
  55. {{if $remoteconnect}}
  56. <li><a id="dfrn-request-link" href="{{$remoteconnect}}">{{$connect}}</a></li>
  57. {{else}}
  58. <li><a id="dfrn-request-link" href="dfrn_request/{{$profile.nickname}}">{{$connect}}</a></li>
  59. {{/if}}
  60. {{/if}}
  61. {{if $wallmessage}}
  62. <li><a id="wallmessage-link" href="wallmessage/{{$profile.nickname}}">{{$wallmessage}}</a></li>
  63. {{/if}}
  64. {{if $subscribe_feed}}
  65. <li><a id="subscribe-feed-link" href="dfrn_poll/{{$profile.nickname}}">{{$subscribe_feed}}</a></li>
  66. {{/if}}
  67. </ul>
  68. </div>
  69. </div>
  70. {{$contact_block}}