Security: You have to enter the password of the parent to delegate to this account
This commit is contained in:
parent
0e6ada2462
commit
eaf4fdefac
2 changed files with 20 additions and 33 deletions
|
@ -7,6 +7,7 @@
|
|||
<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}}
|
||||
{{include file="field_password.tpl" field=$parent_password}}
|
||||
<div class="submit"><input type="submit" name="delegate" value="{{$submit|escape:'html'}}" /></div>
|
||||
</form>
|
||||
</div>
|
||||
|
@ -16,23 +17,6 @@
|
|||
|
||||
<div id="delegate-desc" class="delegate-desc">{{$desc}}</div>
|
||||
|
||||
{{if $managers}}
|
||||
<h4>{{$head_managers}}</h4>
|
||||
|
||||
{{foreach $managers as $x}}
|
||||
|
||||
<div class="contact-block-div">
|
||||
<a class="contact-block-link" href="#" >
|
||||
<img class="contact-block-img" src="{{$base}}/photo/thumb/{{$x.uid}}" title="{{$x.username}} ({{$x.nickname}})" />
|
||||
</a>
|
||||
</div>
|
||||
|
||||
{{/foreach}}
|
||||
<div class="clear"></div>
|
||||
<hr />
|
||||
{{/if}}
|
||||
|
||||
|
||||
<h4>{{$head_delegates}}</h4>
|
||||
|
||||
{{if $delegates}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue