aboutsummaryrefslogtreecommitdiffstats
path: root/template/default/profile.tpl
blob: 500b100667482594f3b9fcf349400bd9769e8d26 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
<!-- BEGIN errors -->
<div class="errors">
  <ul>
    <!-- BEGIN error -->
    <li>{errors.error.ERROR}</li>
    <!-- END error -->
  </ul>
</div>
<!-- END errors -->

<!-- BEGIN add_user -->
<div class="admin">{L_GROUP_ADD_USER}</div>
<form method="post" name="post" action="{add_user.F_ACTION}">
  {L_USERNAME} <input type="text" name="login" maxlength="50" size="20" />
  {L_PASSWORD} <input type="text" name="password" />
  <input type="submit" name="submit_add" value="{L_SUBMIT}" class="bouton" />
</form>
<!-- END add_user -->

<!-- BEGIN select_user -->
<div class="admin">{L_SELECT_USERNAME}</div>
<form method="post" name="post" action="{F_SEARCH_USER_ACTION}">
  <input type="text" name="username" maxlength="50" size="20" />
  <input type="submit" name="submituser" value="{L_LOOKUP_USER}" class="bouton" /> 
  <input type="submit" name="usersubmit" value="{L_FIND_USERNAME}" class="bouton" onClick="window.open('{U_SEARCH_USER}', '_phpwgsearch', 'HEIGHT=250,resizable=yes,WIDTH=400');return false;" />
</form>

<div class="admin">{L_USERS_LIST}</div>
<form method="get" action="{F_ORDER_ACTION}">
<input type="hidden" name="page" value="profile" />
<div style="text-align:center">
  {L_ORDER_BY}
  <select name="order_by">
    <!-- BEGIN order_by -->
    <option value="{select_user.order_by.VALUE}" {select_user.order_by.SELECTED} >{select_user.order_by.CONTENT}</option>
    <!-- END order_by -->
  </select>
  <select name="direction">
    <!-- BEGIN direction -->
    <option value="{select_user.direction.VALUE}" {select_user.direction.SELECTED} >{select_user.direction.CONTENT}</option>
    <!-- END direction -->
  </select>
  <input type="submit" value="{L_SUBMIT}" class="bouton" />
</div>
</form>

<table style="width:100%;" >
  <tr class="throw">
    <th style="width:20%;">{L_USERNAME}</th>
    <th style="width:20%;">{L_STATUS}</th>
    <th style="width:30%;">{L_EMAIL}</th>
    <th style="width:30%;">{L_GROUPS}</th>
    <th style="width:1%;">{L_ACTIONS}</th>
  </tr>
  <!-- BEGIN user -->
  <tr>
    <td><a href="{select_user.user.U_MOD}">{select_user.user.USERNAME}</a></td>
    <td>{select_user.user.STATUS}</td>
    <td>{select_user.user.EMAIL}</td>
    <td>{select_user.user.GROUPS}</td>
<!-- [<a href="{select_user.user.U_MOD}">{L_MODIFY}</a>] -->
    <td>[<a href="{select_user.user.U_PERM}">{L_PERMISSIONS}</a>]</td>
  </tr>
  <!-- END user -->
</table>
<div class="navigationBar">{NAVBAR}</div>
<!-- END select_user -->
<!-- BEGIN modify -->
<!-- BEGIN profile -->
<div class="titrePage">{L_TITLE}</div>
<!-- END profile -->
<form method="post" action="{F_ACTION}">
<table width="70%" align="center">
  <tr class="admin">
    <th colspan="2">{L_REGISTRATION_INFO}</th>
  </tr>
	<tr>
	  <td width="50%">{L_USERNAME}</td>
	  <td><input type="text" name="username" value="{USERNAME}" />
		<input type="hidden" name="userid" value="{USERID}" /></td>
  </tr>
	<tr>
	  <td>{L_EMAIL}</td>
	  <td><input type="text" name="mail_address" value="{EMAIL}" /></td>
  </tr>
	<!-- BEGIN profile -->
  <tr>
	<td>{L_CURRENT_PASSWORD} : <br /><span class="small">{L_CURRENT_PASSWORD_HINT}</span></td>
	<td><input type="password" name="password" value="" /></td>
  </tr>
	<!-- END profile -->
	<tr>
	<td>{L_NEW_PASSWORD} : <br /><span class="small">{L_NEW_PASSWORD_HINT}</span></td>
	<td><input type="password" name="use_new_pwd" value="" /></td>
  </tr>
  <tr>
	<td>{L_CONFIRM_PASSWORD} : <br /><span class="small">{L_CONFIRM_PASSWORD_HINT}</span></td>
	<td><input type="password" name="passwordConf" value="" /></td>
  </tr>
  <tr class="admin">
    <th colspan="2">{L_PREFERENCES}</th>
  </tr>
  <tr>
    <td width="60%">{L_NB_IMAGE_LINE}</td>
	<td width="40%"><input type="text" size="3" maxlength="2" name="nb_image_line" value="{NB_IMAGE_LINE}" /></td>
  </tr>
  <tr>
    <td>{L_NB_ROW_PAGE}</td>
	<td><input type="text" size="3" maxlength="2" name="nb_line_page" value="{NB_ROW_PAGE}" /></td>
  </tr>
  <tr>
    <td>{L_STYLE_SELECT}</td>
	<td>{STYLE_SELECT}</td>
  </tr>
  <tr>
    <td>{L_LANG_SELECT}</td>
	<td>{LANG_SELECT}</td>
  </tr>
   <tr>
    <td>{L_RECENT_PERIOD}</td>
	<td><input type="text" size="3" maxlength="2" name="recent_period" value="{RECENT_PERIOD}" /></td>
  </tr>
  <tr>
    <td>{L_EXPAND_TREE}</td>
	<td><input type="radio" class="radio" name="expand" value="true" {EXPAND_TREE_YES} />{L_YES}&nbsp;&nbsp;
	<input type="radio" class="radio" name="expand" value="false" {EXPAND_TREE_NO} />{L_NO}</td>
  </tr>
  <tr>
    <td>{L_NB_COMMENTS}</td>
	<td><input type="radio" class="radio" name="show_nb_comments" value="true" {NB_COMMENTS_YES} />{L_YES}&nbsp;&nbsp;
	<input type="radio" class="radio" name="show_nb_comments" value="false" {NB_COMMENTS_NO} />{L_NO}</td>
  </tr>
	<tr>
    <td>{L_MAXWIDTH}</td>
	<td><input type="text" size="4" maxlength="4" name="maxwidth" value="{MAXWIDTH}" />
	</td>
  </tr>
	<tr>
    <td>{L_MAXHEIGHT}</td>
	<td><input type="text" size="4" maxlength="4" name="maxheight" value="{MAXHEIGHT}" />
	</td>
  </tr>
<!-- BEGIN admin -->
	<tr class="admin">
    <th colspan="2">{modify.admin.L_ADMIN_USER}</th>
  </tr>
	<tr>
    <td>{modify.admin.L_STATUS}</td>
	<td>{modify.admin.STATUS}
	</td>
  </tr>
	<tr>
    <td>{modify.admin.L_DELETE}<br />
		<span class="small">{modify.admin.L_DELETE_HINT}</span></td>
	<td><input name="user_delete" type="checkbox" value="1">
	</td>
  </tr>
<!-- END admin -->
<tr>
	<td colspan="2" align="center">
	  <input type="submit" name="submit" value="{L_SUBMIT}" class="bouton" />
          <input type="reset" name="reset" value="{L_RESET}" class="bouton" />
	</td>
  </tr>
</table>
</form>
<!-- BEGIN profile -->
<div style="text-align:center;margin:5px;">
<a href="{U_RETURN}" title="{L_RETURN_HINT}">[{L_RETURN}]</a>
</div>
<!-- END profile -->
<!-- END modify -->