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.

52 lines
1.6 KiB

  1. <h3>{{$header}}</h3>
  2. {{if $parent_user}}
  3. <h4>{{$parent_header}}</h4>
  4. <div id="delegate-parent-desc" class="delegate-parent-desc">{{$parent_desc}}</div>
  5. <div id="delegate-parent" class="delegate-parent">
  6. <form action="settings/delegation" method="post">
  7. <input type='hidden' name='form_security_token' value='{{$form_security_token}}'>
  8. {{include file="field_select.tpl" field=$parent_user}}
  9. {{include file="field_password.tpl" field=$parent_password}}
  10. <div class="submit"><input type="submit" name="delegate" value="{{$submit}}"/></div>
  11. </form>
  12. </div>
  13. {{else}}
  14. <h4>{{$account_header}}</h4>
  15. <div id="add-account-desc" class="add-account-desc">{{$account_desc}}</div>
  16. <a href='register'>{{$add_account}}</a>
  17. {{/if}}
  18. <h4>{{$delegates_header}}</h4>
  19. <div id="delegate-desc" class="delegate-desc">{{$desc nofilter}}</div>
  20. <h4>{{$head_delegates}}</h4>
  21. {{if $delegates}}
  22. {{foreach $delegates as $x}}
  23. <div class="contact-block-div">
  24. <a class="contact-block-link" href="settings/delegation/remove/{{$x.uid}}">
  25. <img class="contact-block-img" src="photo/thumb/{{$x.uid}}" title="{{$x.username}} ({{$x.nickname}})">
  26. </a>
  27. </div>
  28. {{/foreach}}
  29. <div class="clear"></div>
  30. {{else}}
  31. {{$none}}
  32. {{/if}}
  33. <hr/>
  34. <h4>{{$head_potentials}}</h4>
  35. {{if $potentials}}
  36. {{foreach $potentials as $x}}
  37. <div class="contact-block-div">
  38. <a class="contact-block-link" href="settings/delegation/add/{{$x.uid}}">
  39. <img class="contact-block-img" src="photo/thumb/{{$x.uid}}" title="{{$x.username}} ({{$x.nickname}})">
  40. </a>
  41. </div>
  42. {{/foreach}}
  43. <div class="clear"></div>
  44. {{else}}
  45. {{$none}}
  46. {{/if}}