1
|
<!-- BEGIN main_block -->
|
2
|
|
3
|
<script type="text/javascript">
|
4
|
function toggle_radio(radio_on, radio_off) {
|
5
|
document.getElementById(radio_on).checked = true;
|
6
|
document.getElementById(radio_off).checked = true;
|
7
|
}
|
8
|
</script>
|
9
|
<div class="account">
|
10
|
|
11
|
<h2 class="left" style="{DISPLAY_EXTRA}">{HEADING_MODIFY_USER}</h2>
|
12
|
|
13
|
<form name="user" action="{ACTION_URL}" method="post" class="{DISPLAY_ADD} left settings_table">
|
14
|
<input type="hidden" name="user_id" value="{USER_ID}" />
|
15
|
<input type="hidden" name="username_fieldname" value="{USERNAME_FIELDNAME}" />
|
16
|
{FTAN}
|
17
|
<table>
|
18
|
<!-- BEGIN show_modify_loginname_block -->
|
19
|
<tr>
|
20
|
<td class="right">{TEXT_USERNAME}:</td>
|
21
|
<td class="value_input">
|
22
|
<input type="hidden" name="{USERNAME_FIELDNAME}" value="{USERNAME}" />
|
23
|
<input class="button" type="button" value="{USERNAME}" disabled="disabled" readonly="readonly" />
|
24
|
</td>
|
25
|
</tr>
|
26
|
<!-- END show_modify_loginname_block -->
|
27
|
<!-- BEGIN show_add_loginname_block -->
|
28
|
<tr>
|
29
|
<td class="right">{TEXT_USERNAME}:</td>
|
30
|
<td class="value_input">
|
31
|
<input type="text" name="{USERNAME_FIELDNAME}" maxlength="30" value="{USERNAME}" />
|
32
|
</td>
|
33
|
</tr>
|
34
|
<!-- END show_add_loginname_block -->
|
35
|
<tr>
|
36
|
<td class="right">{TEXT_PASSWORD}:</td>
|
37
|
<td class="value_input">
|
38
|
<input type="password" name="password" value="" maxlength="30" />
|
39
|
</td>
|
40
|
</tr>
|
41
|
<tr>
|
42
|
<td class="right">{TEXT_RETYPE_PASSWORD}:</td>
|
43
|
<td class="value_input">
|
44
|
<input type="password" name="password2" value="" maxlength="30" />
|
45
|
</td>
|
46
|
</tr>
|
47
|
<tr style="{DISPLAY_EXTRA}">
|
48
|
<td colspan="2" style="">
|
49
|
<div class="warning value_input" style="max-width:700px; margin-right: 20%; float: right;">{CHANGING_PASSWORD}</div>
|
50
|
</td>
|
51
|
</tr>
|
52
|
<tr>
|
53
|
<td class="right">{TEXT_DISPLAY_NAME}:</td>
|
54
|
<td class="value_input">
|
55
|
<input type="text" name="display_name" maxlength="255" value="{DISPLAY_NAME}" />
|
56
|
</td>
|
57
|
</tr>
|
58
|
<tr>
|
59
|
<td class="right">{TEXT_EMAIL}:</td>
|
60
|
<td class="value_input">
|
61
|
<input type="text" name="email" maxlength="255" value="{EMAIL}" />
|
62
|
</td>
|
63
|
</tr>
|
64
|
<tr style="{DISPLAY_HOME_FOLDERS}">
|
65
|
<td class="right">{TEXT_HOME_FOLDER}:</td>
|
66
|
<td class="value_input">
|
67
|
<select name="home_folder">
|
68
|
<option value="">{TEXT_NONE}</option>
|
69
|
<!-- BEGIN folder_list_block -->
|
70
|
<option value="{FOLDER}"{SELECTED}>{NAME}</option>
|
71
|
<!-- END folder_list_block -->
|
72
|
</select>
|
73
|
</td>
|
74
|
</tr>
|
75
|
<tr>
|
76
|
<td class="rightTop">{TEXT_GROUP}:</td>
|
77
|
<td class="value_input">
|
78
|
<select name="groups[]" multiple="multiple" size="5">
|
79
|
<!-- BEGIN group_list_block -->
|
80
|
<option value="{ID}" {SELECTED}>{NAME}</option>
|
81
|
<!-- END group_list_block -->
|
82
|
</select>
|
83
|
</td>
|
84
|
</tr>
|
85
|
<tr>
|
86
|
<td class="right"> </td>
|
87
|
<td>
|
88
|
<input type="radio" name="active[]" id="active" value="1" {ACTIVE_CHECKED} />
|
89
|
<label for="active">{TEXT_ACTIVE}</label>
|
90
|
<input type="radio" name="active[]" id="disabled" value="0" {DISABLED_CHECKED} />
|
91
|
<label for="disabled">{TEXT_DISABLED}</label>
|
92
|
</td>
|
93
|
</tr>
|
94
|
<tr>
|
95
|
<td colspan="2" class="center">
|
96
|
<input type="submit" name="submit" value="{SUBMIT_TITLE}" />
|
97
|
<input type="reset" name="reset" value="{TEXT_RESET}" />
|
98
|
<input type="button" style="width: 100px; margin-top: 5px;" onclick="javascript:window.location='index.php';" value="{TEXT_CANCEL}" />
|
99
|
</td>
|
100
|
</tr>
|
101
|
</table>
|
102
|
|
103
|
</form>
|
104
|
</div>
|
105
|
<script type="text/javascript">
|
106
|
<!--
|
107
|
$(document).ready(function(){
|
108
|
var passwordField = $('input[name=password]');
|
109
|
passwordField.attr('autocomplete','off');
|
110
|
passwordField.val('');
|
111
|
var DisplayNameField = $('input[name=display_name]');
|
112
|
DisplayNameField.focus();
|
113
|
});
|
114
|
-->
|
115
|
</script>
|
116
|
<!-- END main_block -->
|