1 <div id="delegation" class="generic-page-wrapper">
2 <h2>{{$l10n.header}}</h2>
5 <h3>{{$l10n.account_header}}</h3>
6 <div id="add-account-desc" class="add-account-desc"><p>{{$l10n.account_desc}}</p></div>
7 <p><a href="register">{{$l10n.add_account}}</a></p>
11 <h3>{{$l10n.parent_header}}</h3>
12 <div id="delegate-parent-desc" class="delegate-parent-desc"><p>{{$l10n.parent_desc}}</p></div>
13 <div id="delegate-parent" class="delegate-parent">
14 <form action="settings/delegation" method="post">
15 <input type="hidden" name='form_security_token' value="{{$form_security_token}}">
16 {{include file="field_select.tpl" field=$parent_user}}
17 {{include file="field_password.tpl" field=$parent_password}}
19 <button type="submit" name="delegate" value="{{$l10n.submit}}">{{$l10n.submit}}</button>
25 <h3>{{$l10n.delegates_header}}</h3>
27 <div id="delegate-desc" class="delegate-desc"><p>{{$l10n.desc}}</p></div>
29 <h4>{{$l10n.head_delegates}}</h4>
31 {{foreach $delegates as $delegate}}
32 <div class="contact-block-div">
33 <a class="contact-block-link" href="settings/delegation/remove/{{$delegate.uid}}">
34 <img class="contact-block-img" src="photo/thumb/{{$delegate.uid}}" title="{{$delegate.username}} ({{$delegate.nickname}})">
38 <div class="clear"></div>
43 <h4>{{$l10n.head_potentials}}</h4>
45 {{foreach $potentials as $potential}}
46 <div class="contact-block-div">
47 <a class="contact-block-link" href="settings/delegation/add/{{$potential.uid}}">
48 <img class="contact-block-img" src="photo/thumb/{{$potential.uid}}" title="{{$potential.username}} ({{$potential.nickname}})">
52 <div class="clear"></div>