]> git.mxchange.org Git - friendica.git/blob - view/templates/delegate.tpl
Separate default config values between file-only and admin settings
[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 {{include file="field_password.tpl" field=$parent_password}}
11 <div class="submit"><input type="submit" name="delegate" value="{{$submit|escape:'html'}}" /></div>
12 </form>
13 </div>
14 {{/if}}
15
16 <h4>{{$delegates_header}}</h4>
17
18 <div id="delegate-desc" class="delegate-desc">{{$desc}}</div>
19
20 <h4>{{$head_delegates}}</h4>
21
22 {{if $delegates}}
23 {{foreach $delegates as $x}}
24
25 <div class="contact-block-div">
26 <a class="contact-block-link" href="{{$base}}/delegate/remove/{{$x.uid}}" >
27 <img class="contact-block-img" src="{{$base}}/photo/thumb/{{$x.uid}}" title="{{$x.username}} ({{$x.nickname}})" />
28 </a>
29 </div>
30
31 {{/foreach}}
32 <div class="clear"></div>
33 {{else}}
34 {{$none}}
35 {{/if}}
36 <hr />
37
38
39 <h4>{{$head_potentials}}</h4>
40 {{if $potentials}}
41 {{foreach $potentials as $x}}
42
43 <div class="contact-block-div">
44 <a class="contact-block-link" href="{{$base}}/delegate/add/{{$x.uid}}" >
45 <img class="contact-block-img" src="{{$base}}/photo/thumb/{{$x.uid}}" title="{{$x.username}} ({{$x.nickname}})" />
46 </a>
47 </div>
48
49 {{/foreach}}
50 <div class="clear"></div>
51 {{else}}
52 {{$none}}
53 {{/if}}
54 <hr />
55