1
#extends prewikka.templates.ClassicLayout
6
<div id="fieldset_page" style="width: 430px;">
8
<form action="?" method="post">
10
<input type="hidden" name="view" value="user_settings_modify"/>
12
<input type="hidden" name="view" value="user_settings_add"/>
15
<input type="hidden" name="login" value="$user.login"/>
17
<fieldset class="fieldset_heading">
18
<legend>$_("Account informations")</legend>
23
<th style="vertical-align: middle;">$_("Login:")</th>
24
<td style="text-align:right; vertical-align: middle;">
25
<h2 style="vertical-align: middle; padding:0px; margin:0px;"><b>$user.login</b></h2>
32
<td colspan=2><font style="color: red;">$errmsg</font></td>
38
<td style="text-align: right;"><input type="text" name="login"/></td>
43
#set $row_classes = ("table_row_even", "table_row_odd")
45
<tr class="nodash" style="padding:0; margin:0;">
46
<th class="nodash">$_("Permissions:")</th>
47
<td class="nodash"></td>
50
<tr style="padding:0; margin:0;">
60
#set $disabled = "disabled=\"disabled\""
63
#for $perm, $value in $user.permissions
64
<tr class="$row_classes[$cnt%2]">
65
<td style="text-align: left;">$perm</td>
66
<td style="text-align: right;">
68
#set $checked_cnt += 1
69
#set $checked = "checked=\"checked\""
73
<input class="checkbox" type="checkbox" name="permissions" value="$perm" $checked $disabled />
79
<td class="nodash"> </td>
81
#if $cnt == $checked_cnt
82
#set $checked = "checked=\"checked\""
87
<td class="nodash"style="text-align: right;"><b>Check All</b>
88
<input $checked $disabled class="checkbox" type="checkbox" id="allbox" onclick="checkBoxByName('permissions', document.forms[0].allbox.checked);"/>
99
#if $can_change_password
101
<legend>$_("Change password")</legend>
103
#if $ask_current_password
105
<th>$_("Current password:")</th>
106
<td><input type="password" name="password_current"/></td>
110
<th>$_("New password:")</th>
111
<td><input type="password" name="password_new"/></td>
114
<th>$_("Confirm new password:")</th>
115
<td><input type="password" name="password_new_confirmation"/></td>
122
<input type="submit" value="$_("Submit Changes")"/>
128
#end block main_content