]> git.mxchange.org Git - friendica.git/blob - view/templates/delegate.tpl
2f791c48a3348a513ceaacf3694746eb2f581e19
[friendica.git] / view / templates / delegate.tpl
1 <h3>{{$header}}</h3>
2
3 {{if $parent_user}}
4 <h4>{{$parent_header}}</h4>
5 <div id="delegate-parent-desc" class="delegate-parent-desc">{{$parent_desc}}</div>
6 <div id="delegate-parent" class="delegate-parent">
7 <form action="{{$baseurl}}/delegate" method="post">
8 <input type='hidden' name='form_security_token' value='{{$form_security_token}}'>
9 {{include file="field_select.tpl" field=$parent_user}}
10 <div class="submit"><input type="submit" name="delegate" value="{{$submit|escape:'html'}}" /></div>
11 </form>
12 </div>
13 {{/if}}
14
15 <h4>{{$delegates_header}}</h4>
16
17 <div id="delegate-desc" class="delegate-desc">{{$desc}}</div>
18
19 {{if $managers}}
20 <h4>{{$head_managers}}</h4>
21
22 {{foreach $managers as $x}}
23
24 <div class="contact-block-div">
25 <a class="contact-block-link" href="#" >
26 <img class="contact-block-img" src="{{$base}}/photo/thumb/{{$x.uid}}" title="{{$x.username}} ({{$x.nickname}})" />
27 </a>
28 </div>
29
30 {{/foreach}}
31 <div class="clear"></div>
32 <hr />
33 {{/if}}
34
35
36 <h4>{{$head_delegates}}</h4>
37
38 {{if $delegates}}
39 {{foreach $delegates as $x}}
40
41 <div class="contact-block-div">
42 <a class="contact-block-link" href="{{$base}}/delegate/remove/{{$x.uid}}" >
43 <img class="contact-block-img" src="{{$base}}/photo/thumb/{{$x.uid}}" title="{{$x.username}} ({{$x.nickname}})" />
44 </a>
45 </div>
46
47 {{/foreach}}
48 <div class="clear"></div>
49 {{else}}
50 {{$none}}
51 {{/if}}
52 <hr />
53
54
55 <h4>{{$head_potentials}}</h4>
56 {{if $potentials}}
57 {{foreach $potentials as $x}}
58
59 <div class="contact-block-div">
60 <a class="contact-block-link" href="{{$base}}/delegate/add/{{$x.uid}}" >
61 <img class="contact-block-img" src="{{$base}}/photo/thumb/{{$x.uid}}" title="{{$x.username}} ({{$x.nickname}})" />
62 </a>
63 </div>
64
65 {{/foreach}}
66 <div class="clear"></div>
67 {{else}}
68 {{$none}}
69 {{/if}}
70 <hr />
71