Marius Cramer
2014-02-17 ebbe6374fc9c308daf729d2ad1b2f8007ed771ce
commit | author | age
532ae5 1 <h2><tmpl_var name="list_head_txt"></h2>
L 2 <p><tmpl_var name="list_desc_txt"></p>
3
4 <div class="panel panel_shell_user">
5
0e2694 6     <div class="pnl_formsarea">
C 7         <fieldset class="inlineLabels">
8             <div class="ctrlHolder">
9                 <tmpl_if name="edit_disabled">
10                     <label for="parent_domain_id">{tmpl_var name='parent_domain_id_txt'}</label>
11                     <select name="parent_domain_id" id="parent_domain_id" class="selectInput" disabled="disabled">
12                         {tmpl_var name='parent_domain_id'}
13                     </select>
14                     <input type="hidden" name="parent_domain_id" value="{tmpl_var name='parent_domain_id_value'}" />
15                 <tmpl_else>
16                         <label for="parent_domain_id">{tmpl_var name='parent_domain_id_txt'}</label>
17                         <select name="parent_domain_id" id="parent_domain_id" class="selectInput">
18                             {tmpl_var name='parent_domain_id'}
19                         </select>
20                 </tmpl_if>
21             </div>
22             <div class="ctrlHolder">
23                 <label for="username">{tmpl_var name='username_txt'}</label>
24                 <p class="prefix">{tmpl_var name='username_prefix'} </p>
25                 <input name="username" id="username" value="{tmpl_var name='username'}" size="30" maxlength="255" type="text" class="textInput formLengthFourth"/>
26             </div>
27             <div class="ctrlHolder">
28                 <label for="password">{tmpl_var name='password_txt'}</label>
a01d1a 29                 <input name="password" id="password" value="{tmpl_var name='password'}" size="30" maxlength="255" type="password" class="textInput" autocomplete="off" onkeyup="pass_check(this.value);checkPassMatch('password','repeat_password');"/>&nbsp;<a href="javascript:void(0);" onclick="generatePassword('password','repeat_password');">{tmpl_var name='generate_password_txt'}</a>
0e2694 30             </div>
C 31             <div class="ctrlHolder">
32                 <p class="label">{tmpl_var name='password_strength_txt'}</p>
33                 <div id="passBar"></div>
34                 <p class="formHint"><span id="passText">&nbsp;</span></p>
35             </div>
36             <div class="ctrlHolder">
37                 <label for="repeat_password">{tmpl_var name='repeat_password_txt'}</label>
a01d1a 38                 <input name="repeat_password" id="repeat_password" value="" size="15" maxlength="100" type="password" class="textInput" style="width:100px;" autocomplete="off" onkeyup="checkPassMatch('password','repeat_password');" />
0e2694 39             </div>
C 40             <div id="confirmpasswordError" style="display:none;" class="confirmpassworderror">{tmpl_var name='password_mismatch_txt'}</div>
41             <div id="confirmpasswordOK" style="display:none;" class="confirmpasswordok">{tmpl_var name='password_match_txt'}</div>
42             <div class="ctrlHolder">
43                 <label for="chroot">{tmpl_var name='chroot_txt'}</label>
44                 <select name="chroot" id="chroot" class="selectInput formLengthHalf">
45                     {tmpl_var name='chroot'}
46                 </select>
47             </div>
48             <div class="ctrlHolder">
49                 <label for="quota_size">{tmpl_var name='quota_size_txt'}</label>
c1a195 50                 <input name="quota_size" id="quota_size" value="{tmpl_var name='quota_size'}" size="7" maxlength="7" type="text" class="textInput formLengthLimit" /><p class="label">MB</p>
0e2694 51             </div>
C 52             <div class="ctrlHolder">
53                 <label for="ssh_rsa">{tmpl_var name='ssh_rsa_txt'}</label>
54                 <textarea name="ssh_rsa" id="ssh_rsa" rows="10" cols="30">{tmpl_var name='ssh_rsa'}</textarea>
55             </div>
56             <div class="ctrlHolder">
57                 <p class="label">{tmpl_var name='active_txt'}</p>
58                 <div class="multiField">
59                     {tmpl_var name='active'}
60                 </div>
61             </div>
62         </fieldset>
532ae5 63
0e2694 64         <input type="hidden" name="id" value="{tmpl_var name='id'}">
532ae5 65
0e2694 66         <div class="buttonHolder buttons">
e27086 67             <button class="positive iconstxt icoPositive" type="button" value="{tmpl_var name='btn_save_txt'}" onclick="submitForm('pageForm','sites/shell_user_edit.php');"><span>{tmpl_var name='btn_save_txt'}</span></button>
M 68             <button class="negative iconstxt icoNegative" type="button" value="{tmpl_var name='btn_cancel_txt'}" onclick="loadContent('sites/shell_user_list.php');"><span>{tmpl_var name='btn_cancel_txt'}</span></button>
0e2694 69         </div>
532ae5 70     </div>
0e2694 71
C 72 </div>