2013-04-23 13:47:57 +02:00
|
|
|
<h3>{{$header}}</h3>
|
|
|
|
|
2018-02-18 14:19:47 +01:00
|
|
|
{{if $parent_user}}
|
|
|
|
<h4>{{$parent_header}}</h4>
|
|
|
|
<div id="delegate-parent-desc" class="delegate-parent-desc">{{$parent_desc}}</div>
|
|
|
|
<div id="delegate-parent" class="delegate-parent">
|
|
|
|
<form action="{{$baseurl}}/delegate" method="post">
|
|
|
|
<input type='hidden' name='form_security_token' value='{{$form_security_token}}'>
|
|
|
|
{{include file="field_select.tpl" field=$parent_user}}
|
2018-03-11 14:12:15 +01:00
|
|
|
{{include file="field_password.tpl" field=$parent_password}}
|
2018-12-14 04:28:12 +01:00
|
|
|
<div class="submit"><input type="submit" name="delegate" value="{{$submit}}" /></div>
|
2018-02-18 14:19:47 +01:00
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
{{/if}}
|
|
|
|
|
|
|
|
<h4>{{$delegates_header}}</h4>
|
|
|
|
|
2013-04-23 13:47:57 +02:00
|
|
|
<div id="delegate-desc" class="delegate-desc">{{$desc}}</div>
|
|
|
|
|
2018-02-18 14:19:47 +01:00
|
|
|
<h4>{{$head_delegates}}</h4>
|
2013-04-23 13:47:57 +02:00
|
|
|
|
|
|
|
{{if $delegates}}
|
|
|
|
{{foreach $delegates as $x}}
|
|
|
|
|
|
|
|
<div class="contact-block-div">
|
|
|
|
<a class="contact-block-link" href="{{$base}}/delegate/remove/{{$x.uid}}" >
|
|
|
|
<img class="contact-block-img" src="{{$base}}/photo/thumb/{{$x.uid}}" title="{{$x.username}} ({{$x.nickname}})" />
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
{{/foreach}}
|
|
|
|
<div class="clear"></div>
|
|
|
|
{{else}}
|
|
|
|
{{$none}}
|
|
|
|
{{/if}}
|
|
|
|
<hr />
|
|
|
|
|
|
|
|
|
2018-02-18 14:19:47 +01:00
|
|
|
<h4>{{$head_potentials}}</h4>
|
2013-04-23 13:47:57 +02:00
|
|
|
{{if $potentials}}
|
|
|
|
{{foreach $potentials as $x}}
|
|
|
|
|
|
|
|
<div class="contact-block-div">
|
|
|
|
<a class="contact-block-link" href="{{$base}}/delegate/add/{{$x.uid}}" >
|
|
|
|
<img class="contact-block-img" src="{{$base}}/photo/thumb/{{$x.uid}}" title="{{$x.username}} ({{$x.nickname}})" />
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
{{/foreach}}
|
|
|
|
<div class="clear"></div>
|
|
|
|
{{else}}
|
|
|
|
{{$none}}
|
|
|
|
{{/if}}
|
|
|
|
<hr />
|
|
|
|
|