Commit | Line | Data |
---|---|---|
158bd3ca TD |
1 | {include file='header'} |
2 | ||
fdd8b4b6 | 3 | <header class="mainHeading"> |
158bd3ca | 4 | <img src="{@RELATIVE_WCF_DIR}icon/usersL.png" alt="" /> |
fdd8b4b6 L |
5 | <hgroup> |
6 | <h1>{lang}wcf.acp.user.assignToGroup{/lang}</h1> | |
7 | </hgroup> | |
8 | </header> | |
158bd3ca TD |
9 | |
10 | {if $errorField} | |
11 | <p class="error">{lang}wcf.global.form.error{/lang}</p> | |
12 | {/if} | |
13 | ||
14 | <form method="post" action="index.php?form=UserAssignToGroup"> | |
15 | ||
16 | <div class="border content"> | |
17 | <div class="container-1"> | |
18 | <fieldset> | |
19 | <legend>{lang}wcf.acp.user.assignToGroup.markedUsers{/lang}</legend> | |
20 | ||
21 | <div> | |
22 | {implode from=$users item=$user}<a href="index.php?form=UserEdit&userID={@$user->userID}{@SID_ARG_2ND}">{$user}</a>{/implode} | |
23 | </div> | |
24 | </fieldset> | |
25 | ||
26 | <fieldset> | |
27 | <legend>{lang}wcf.acp.user.groups{/lang}</legend> | |
28 | ||
29 | <div> | |
30 | <div class="formField{if $errorField == 'groupIDs'} formError{/if}"> | |
31 | {htmlCheckboxes options=$groups name=groupIDs selected=$groupIDs} | |
32 | {if $errorField == 'groupIDs'} | |
379c782e L |
33 | <p class="innerError"> |
34 | {if $errorType == 'empty'}{lang}wcf.global.error.empty{/lang}{/if} | |
35 | </p> | |
158bd3ca TD |
36 | {/if} |
37 | </div> | |
38 | </div> | |
39 | </fieldset> | |
40 | </div> | |
41 | </div> | |
42 | ||
43 | <div class="formSubmit"> | |
3852f864 L |
44 | <input type="reset" value="{lang}wcf.global.button.reset{/lang}" accesskey="r" /> |
45 | <input type="submit" value="{lang}wcf.global.button.submit{/lang}" accesskey="s" /> | |
158bd3ca TD |
46 | {@SID_INPUT_TAG} |
47 | <input type="hidden" name="userIDs" value="{@$userIDs}" /> | |
48 | </div> | |
49 | </form> | |
50 | ||
fdd8b4b6 | 51 | {include file='footer'} |